hi
I would like to add pause in Applescript that can be a few seconds, it should not be very difficult, but I have not found any way I would actually launch an application but nothing works can any one help me ?
thank you
hi
I would like to add pause in Applescript that can be a few seconds, it should not be very difficult, but I have not found any way I would actually launch an application but nothing works can any one help me ?
thank you
i have Applescript which can launch automatically as a login item, wait for 6 minutes then restart the Mac without any problem
delay 400
tell application "System Events"
restart
end tell
This script will either pause or resume the current track in Spotify, and then hide the window
robjwells.comtell application "Spotify" to activate
tell application "System Events"
tell process "Spotify"
click menu item 1 of menu 1 of menu bar item 5 of menu bar 1
tell application "System Events" to set visible of process ¬
"Spotify" to false
end tell
end tell
Bookmarks