Hi all,
I'm currently using the "Launch an Application and Move it to a Specific Location" script. I would like to add 2 more options to that script:
1) This should be simple I imagine: For some of the apps that launch with the script I would like to have them launched and then minimized. What command line should I add to do that?
2) This is probably more compilacated but I imagine it's still doable: For some programs that launch I would like to set up an option that auto clicks a certain button on the app interface so for example lets say I have Spotify as one of the apps to launch in my script so I would like to add a command that after it launches it waits 5 seconds to fully load and then I would like to have the play button auto-clicked. Is this something that can be done?
So I got the postion mouse and left click to work but for some reason I can't get the minimized function to work.
I'm guessing it's beacuse of the windowhandle. How can I find out what is the windowhandle of a certaion application?
Thanks for your patience
The windowHandle variable will be whatever window is currently focused, which should be the window you've just launched. Try adding a 1 or 2 second delay before the minimize line, maybe it's trying to run too quick