The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Send command to unfocused window
#1
Normally when I want to automate an application, I send a Quick Macros command to grab a handle to a window and then activate it to send the command. Some applications have built in functionality that allow for them to be controlled without focusing the window. For instance, VLC Player has what is called global hotkeys which send keypresses to the application weather or not it is focused. My question is can Quick Macros do this to an application that does not have this functionality. In Adobe Premiere I would like to send the play/pause command without bringing the applications to the front (focusing). I show the code that accomplishes this via focusing the window. Thanks
 
Code:
Copy      Help
Macro
int w1=win("" "Premiere Pro")

act w1

'V            ;; Space


Messages In This Thread
Send command to unfocused window - by pctechtv - 10-16-2019, 07:03 PM
RE: Send command to unfocused window - by Kevin - 10-16-2019, 07:25 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)