Jump to content


Mario's Simple Itune's Sleeper

  • Please log in to reply
No replies to this topic

#1 Mario


    Verto Venatus Deus!

  • Moderators
  • 913 posts
  • Location:Missoula, MT

  • United States

Posted 25 January 2008 - 06:23 AM

Okay, I probably could suggest to yall stupid little freeware programs to do this, but as an Unix/Linux fan and digging through stuff that makes mac's tick, is.. well.. Fun!

So, here's the scoop.

AppleScript - This program is bundled with OS X which lets you record and run actions. Or make script-based programs.

Well, This is what you do. Open AppleScript

Go File, Save As

In the "save as:" area put something like "itunes sleep timer"
Where: wherever you want, so you can run it easy
File format: application
Options: uncheck all

hit save.

Paste the following in:

tell application "iTunes"
    delay 3600
end tell

Hit "compile" then hit save, then close it. When you run it, it will run as a blank program, no window nothing, but after the "delay" expires, it will close iTunes.

The great thing about this is where it says "delay 3600" you can change the delay to however many seconds you want the program to run. I have 1 hour (takes bout 30 minz of sitting for me to pass out).

You can also customize the application to make a timer for whatever app you'd like.

I'm Back!

Certifications: MCSA, MCSE & A+
General Information Technology & Support.
Ex-Owner & Operator of Hackers(dot)Com
Owner & Operator of Ace Technologies & Securities Inc. (currently spending a year dead for tax purposes)
Proficient with Multiple Forum Communities in providing layman Tech Support & Solution Solving.

Next Scheduled Attending Event: SpoCon Spokane, WA

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users