Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: ,

Sponsored Links


Apple script to pause

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 03-09-2009
Members
 
Join Date: Apr 2009
Posts: 32
Apple script to pause

Sponsored Links
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

Reply With Quote
  #2  
Old 03-09-2009
Member
 
Join Date: Feb 2009
Posts: 117
Re: Apple script to pause

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
Reply With Quote
  #3  
Old 03-09-2009
Member
 
Join Date: Aug 2007
Posts: 1,098
Re: Apple script to pause

This script will either pause or resume the current track in Spotify, and then hide the window

Quote:
tell 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
robjwells.com
Reply With Quote
Reply

  TechArena Community > Software > Software Development


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Apple script to pause"
Thread Thread Starter Forum Replies Last Post
How can I pause the smartware? VictoriouZ Windows Software 4 21-07-2011 04:03 PM
Airtune speaker with Apple Script Moon Walker Software Development 4 11-11-2010 12:07 AM
Word 2008 + bibfuse: no script in script menu deval4u Software Development 5 06-04-2009 12:53 PM
Problem with script in order to open another script in an extra window Samsher Software Development 2 14-01-2009 12:25 PM
The computer does not restart after pause Bigga Lexx Hardware Peripherals 8 24-11-2008 05:58 PM


All times are GMT +5.5. The time now is 11:59 PM.