liamrichards
asked on
autohotkey 'alt tab' macro
Hi there
Basically i need a macro to switch between two application.
I'm a total newbie, and have found a macro recorder called autohotkey. I'm wondering if it is possible or advice on how to record the alt-tab feature in windows xp.
Ultimately this macro will be used on other machines with only two application ever running on it, but the applications may be different
Alternatively if autohotkey is the wrong way to go about my solution, any information in guiding me in the right direction would be greatly appreciated.
Basically i need a macro to switch between two application.
I'm a total newbie, and have found a macro recorder called autohotkey. I'm wondering if it is possible or advice on how to record the alt-tab feature in windows xp.
Ultimately this macro will be used on other machines with only two application ever running on it, but the applications may be different
Alternatively if autohotkey is the wrong way to go about my solution, any information in guiding me in the right direction would be greatly appreciated.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
There is also a Autohotkey command called "WinActivate" which will give focus to any programme window that may be in the background, but you need to know the programme name while writing the macro. Which does not seem to apply to your project.
Is this the continuation of :
https://www.experts-exchange.com/questions/25026523/Simulate-keyboard-command-in-batch-file.html
??
I am unsure what you are trying to do here ....
To switch between the applications you use ALT TAB key combination.
But you want a batch file,if I remember correctly....
How would a batch or a script shorten the switching
between applications ? You need to click on batch to execute...
Is not ALT TAB better ?
Could you enlighten me in point of all this ?
https://www.experts-exchange.com/questions/25026523/Simulate-keyboard-command-in-batch-file.html
??
I am unsure what you are trying to do here ....
To switch between the applications you use ALT TAB key combination.
But you want a batch file,if I remember correctly....
How would a batch or a script shorten the switching
between applications ? You need to click on batch to execute...
Is not ALT TAB better ?
Could you enlighten me in point of all this ?
Send !{TAB}
Put these commands into a new text file, call it "test.ahk" and save.
If Autohotkey is running on the system, you could now call this macro in a batch file via:
start test.ahk