Results 1 to 3 of 3

Thread: Apple script to pause

  1. #1
    Join Date
    Apr 2009
    Posts
    32

    Apple script to pause

    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

  2. #2
    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

  3. #3
    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

    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

Similar Threads

  1. How can I pause the smartware?
    By VictoriouZ in forum Windows Software
    Replies: 4
    Last Post: 21-07-2011, 04:03 PM
  2. Airtune speaker with Apple Script
    By Moon Walker in forum Software Development
    Replies: 4
    Last Post: 11-11-2010, 01:07 AM
  3. Word 2008 + bibfuse: no script in script menu
    By deval4u in forum Software Development
    Replies: 5
    Last Post: 06-04-2009, 12:53 PM
  4. Replies: 2
    Last Post: 14-01-2009, 01:25 PM
  5. Disabling Pause and sleep Key
    By Ramchandra in forum Operating Systems
    Replies: 1
    Last Post: 05-01-2009, 01:38 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,043,717.49205 seconds with 16 queries