Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Easy pausing with iTunes' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Easy pausing with iTunes
Authored by: MattHaffner on Jun 25, '04 10:44:51AM

You can also right-click on the Dock, but you do have to navigate the menu.



[ Reply to This | # ]
Easy pausing with iTunes
Authored by: Graff on Jun 26, '04 01:57:39AM

You can get around the menu by doing this:

  1. Open Script Editor (located in /Applications/AppleScript/)
  2. Enter this into the new window:
    tell application "iTunes"
    	if player state is not playing then
    		play
    	else
    		pause
    	end if
    end tell
  3. Go to the menu item File->Save
  4. Select Application as the File Format
  5. Make sure none of the Options are checked
  6. Name it something like "Toggle iTunes.app"
  7. Hit the Save button
  8. Drag the application from wherever you saved it to the Dock.

Now just click the new item in the dock to toggle iTunes between playing and paused. It will even launch iTunes and start if playing if it is not already running.

- Graff



[ Reply to This | # ]
Use Applescript WAS:Easy pausing with iTunes
Authored by: dubmaster on Jun 28, '04 07:28:03PM

Open a new Script Editor window,
type or paste the following:

tell application "iTunes"
playpause
end tell

Save it as an application, stick it somewhere, maybe in ~/Library/Scripts and next drag it into the dock. just click it when you want to play or pause iTunes.

---
DubMaster
--
Rehab is for quitters!



[ Reply to This | # ]