Greets,
Is it possible to have the same hot key trigger a different macro depending on what application is in the foreground? Thanks for any answer, yea or nea.
rgds
jim
Same Hot Key / Different Macro?
Moderators: Dorian (MJT support), JRL
Hi,
Yes. Have one controlling macro which is assigned the hotkey and have this macro check to see what the foreground app is and act accordingly. As it happens this is in the FAQ:
http://www.mjtnet.com/msfaq14.htm
Yes. Have one controlling macro which is assigned the hotkey and have this macro check to see what the foreground app is and act accordingly. As it happens this is in the FAQ:
http://www.mjtnet.com/msfaq14.htm
MJT Net Support
[email protected]
[email protected]
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
In the macro(s) called by the hot key, you can add a few lines at beginning to check for active window name and execute or quit depending on window name.
(Edited comment: I posted this while the previous response was being submitted by support. I did not their similar response before I wrote this one).
(Edited comment: I posted this while the previous response was being submitted by support. I did not their similar response before I wrote this one).
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!
Hi,
Is there not something in the title that doesn't change so that you could use the wildcard character?
Is there not something in the title that doesn't change so that you could use the wildcard character?
MJT Net Support
[email protected]
[email protected]
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact: