I'm trying to do the following:
On Press CNTRL+K
1. Launch or Focus Facebook's Messenger app ) (window title Messenger )
2. Send CNTRL+K (this is the app's native kb shortcut that put focus on the Search bar)
- of course if Messenger already in focus then Fastkeys doesnt need to do anything (let Messenger receive the inputs directly)
Thanks
How to do the following (open or focus and then send Keys)
Similar solution was posted here (you need to adjust application names):
viewtopic.php?t=1063
Then introduce a small pause to allow the software to load.
viewtopic.php?t=1063
Then introduce a small pause to allow the software to load.
im a total noob but i tried to follow..
here's what i got so far
https://i.imgur.com/vrBF2Td.jpeg
Seems i got most of it working but the problem is if the Messenger window is already in focus, and i send the CNTRL K key to it, FastKey keeps intercepting it
The issue is since i need to use the global hotkey CNTRL K which is also a native hotkey of the Messenger application .. is there a way for the script not to run or intercept the CNTRL K key if Messenger is already active and in focus? like a configuration to RUN SCRIPT ONLY IF MESSENGER IS NOT IN FOCUS - i can't seem to figure this one out.. again i can certainly do this with command script but by then it's too late the CNTRL K has already been intercepted
here's what i got so far
https://i.imgur.com/vrBF2Td.jpeg
Seems i got most of it working but the problem is if the Messenger window is already in focus, and i send the CNTRL K key to it, FastKey keeps intercepting it
The issue is since i need to use the global hotkey CNTRL K which is also a native hotkey of the Messenger application .. is there a way for the script not to run or intercept the CNTRL K key if Messenger is already active and in focus? like a configuration to RUN SCRIPT ONLY IF MESSENGER IS NOT IN FOCUS - i can't seem to figure this one out.. again i can certainly do this with command script but by then it's too late the CNTRL K has already been intercepted
Why can't you use another shortcut?
Alternatively try adding a (~)Native option to the shortcut (click on ... button for Advanced options).
Alternatively try adding a (~)Native option to the shortcut (click on ... button for Advanced options).