Search found 3 matches

by ttocsic
08 Nov 2019, 22:05
Forum: HOW-TOs and documentation
Topic: Scripting AppActivate
Replies: 4
Views: 8001

Re: Scripting AppActivate

FOUND IT!!
viewtopic.php?f=5&t=28

my new script is

Code: Select all

hidmacros.sendkeysslow "#3 ", 200 
works consistently so far. The only glitch is if the window is already in focus, #3 will toggle it to the background.
Will do more experimenting with the appactivate method.
by ttocsic
08 Nov 2019, 15:34
Forum: HOW-TOs and documentation
Topic: Scripting AppActivate
Replies: 4
Views: 8001

Re: Scripting AppActivate

I made a little workaround by pinning spotify in the 3rd position on the task bar. Windows lets you activate task bar items with windows key and the position number (i.e. #3). So my new script reads: sendkeys "#3" sleep (200) sendkeys " " Except now I've learned about the (already documented) Sleep ...
by ttocsic
07 Nov 2019, 16:16
Forum: HOW-TOs and documentation
Topic: Scripting AppActivate
Replies: 4
Views: 8001

Scripting AppActivate

Hello. Thanks for this great piece of software. I'm a little new to scripting but i'm a power google user so bear with me. I'm attempting to create a macro that switches windows to Spotify and sends the space bar which should pause/play. Spotify doesn't support global hotkeys so the window must be i...