image
image

Go Back   macosx.com > Mac Help Forums > HOWTO & FAQs

Reply
 
LinkBack Thread Tools
  #1  
Old March 6th, 2003, 06:44 AM
profx's Avatar
ill never 4get watsisname
 
Join Date: May 2001
Location: Auckland New Zealand
Posts: 386
Thanks: 0
Thanked 0 Times in 0 Posts
profx is on a distinguished road
[HOW TO] Autoplay itunes on wake

Go download and install this (its freeware):
Sleep Watcher: http://www.versiontracker.com/morein...d=17579&db=mac




Open termainal and type (replace USER with your username)

Code:
echo osascript /Users/USER/Library/Scripts/itunesWake.scpt >>.wakeup
chmod +x .wakeup
then put iTunesWake.scpt in
~/Library/Scripts
__________________
| PowerBook G4 550 - 10.4 - 512Mb - 20Gb | 30Gb iPod Photo | 40x12x48 Fantom Drives CDRW (firewire) | Logitech Cordless Mouse MX700 | xBox with XBMC for movies and music in the lounge

Last edited by profx; March 6th, 2003 at 06:01 PM.
Reply With Quote
  #2  
Old March 6th, 2003, 06:03 PM
profx's Avatar
ill never 4get watsisname
 
Join Date: May 2001
Location: Auckland New Zealand
Posts: 386
Thanks: 0
Thanked 0 Times in 0 Posts
profx is on a distinguished road
here is the applescript
open script editor and paste this in, save it as iTunesWake.scpt (compiled script)

Code:
tell application "Finder"
	if processes contains {process "iTunes"} then
		-- iTunes is running
		tell application "iTunes"
			set vol to sound volume as number
			set sound volume to 0
			back track
			play
			repeat with i from 1 to vol
				set sound volume to i
				set i to i + 1
				delay 0.4
			end repeat
		end tell
	end if
end tell
__________________
| PowerBook G4 550 - 10.4 - 512Mb - 20Gb | 30Gb iPod Photo | 40x12x48 Fantom Drives CDRW (firewire) | Logitech Cordless Mouse MX700 | xBox with XBMC for movies and music in the lounge
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iTunes autoplay on wake - AppleScript help profx Unix & X11 4 March 17th, 2003 05:49 AM
[how to] get my file working!!!!!!!!! popothemailman Mac OS X System & Mac Software 3 February 24th, 2003 07:56 PM
[HOW TO] - Setup QTSS on Jaguar owaters HOWTO & FAQs 1 February 23rd, 2003 12:19 PM
[HOW TO] Preserve a custom shell $PATH after logout. michaelsanford HOWTO & FAQs 2 February 21st, 2003 11:35 AM
iTunes 2 is going nuts! Bloated Temp Files! GadgetLover Mac OS X System & Mac Software 8 April 11th, 2002 05:45 PM


All times are GMT -5. The time now is 05:48 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.