GB223
5 discussion posts
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?
GB223
5 discussion posts
and also, how can I add a 5 second delay before it clicks the leftbutton on the desired location to make sure the app is fully loaded?
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