alfredpleb Posted August 27, 2018 Share Posted August 27, 2018 I'm creating a workflow that opens an application which is set to automatically update other things (add-ons for a game, in this case, it's Twitch). This usually takes just a few seconds. So I'm wondering if there's a way to open the app and then close it after a few seconds? Link to comment
vitor Posted August 28, 2018 Share Posted August 28, 2018 1 hour ago, alfredpleb said: So I'm wondering if there's a way to open the app and then close it after a few seconds? Yes. Run Script Action with /usr/bin/osascript (AS) as the Language: tell application "Twitch" activate -- Open the app or bring to front if already open delay 5 -- In seconds quit end tell alfredpleb 1 Link to comment
alfredpleb Posted August 28, 2018 Author Share Posted August 28, 2018 Thank you Vitor! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now