Hello,
I was trying to use
#F18::send, {LWIN down}{TAB}{LWIN up}
Return
to make F18 open the Windows task view. But it only works when the script window is selected. As soon as I minimize the script window or change to another window, it doesn't do anything.
Any ideas how I could change that? Any help much appreciated
AutoHotkey only working when script window is open Topic is solved
Re: AutoHotkey only working when script window is open
Which windows version do you use?
Why did you write #F18?
If you only want to use F18, then you might try it out with the #.
I don't understand why you have a script window anyway.
Normally you compile a script and when you start it, it's only visible in the task bar (which means it's running).
(You can hide the task bar icon, but this is not part of your code.)
Why did you write #F18?
If you only want to use F18, then you might try it out with the #.
I don't understand why you have a script window anyway.
Normally you compile a script and when you start it, it's only visible in the task bar (which means it's running).
(You can hide the task bar icon, but this is not part of your code.)
Re: AutoHotkey only working when script window is open Topic is solved
If you want F18 to do that on its own, you shouldn't have the # sign in front. That turns it into a Win+F18 hotkey, meaning that pressing F18 alone isn't enough to trigger it.