stillec.blogg.se

Itunes alarm clock for macbook
Itunes alarm clock for macbook





itunes alarm clock for macbook

This AppleScript has some features which are deactivated at the moment. I'm currently using it with iCal where I've alarms which start this script. It also checks if the playlist is existent and if not creates one. I've also written an AppleScript, which invokes iTunes and a special playlist.

itunes alarm clock for macbook

If ((sysVol / 100) * 7) < 1 then set volume 1 Set sysVol to output volume of the result Set is_home to (proximity state of terminal 1 is within proximity) If one uses Salling Clicker (remove if not used) Set fileContent to (read open_target_file) Set the open_target_file to open for access file target_file Set the target_file to the theFile as text Set theFile to alias ((path to library folder from user domain as text) & "iApps:is_home") as text If one uses Blue Phone Elite (remove if not used) It could probably be even more slicker, but this works for me. Finally it fades in the currently paused track (or the first track in the playlist, if I've forgotten to set some nice wake up-music before going to bed). If I'm home, the script checks the system volume and the iTunes ditto so that it's all loud enough to wake me up. I've told BluePhone Elite to print 'false' to a file when I go out of range and print 'true' when I return. The device I use since a few weeks ago, a Nokia 6280, is not fully supported by Clicker, but instead by BluePhone Elite. If one uses Clicker and if Clicker supports proximity for the device, it's an easy task. Sometimes I more or less accidently sleep elsewhere or I just went out before the alarm is triggered, and I don't wan't to have my neighbours to listen to some crapy bad music all day if I'm not at home. The script first checks with Salling Clicker or BluePhone Elite that I'm actually at home (if my phone is at home, I probably am as well). I usually have it set to 8:00 am but I can change the time individually for any day I want. I have a repeating event in iTunes that invokes an AppleScript every weekday morning. If not this, it sure would be nice if you could at least have different wake times for different days.Ī few ideas, for those who may find it interesting: If it's possible to communicate with iCal through Applescript, it should be possible to write a program that will check to see what the next iCal alarm is and wake the computer so that whatever the alert is occurs at the appropriate time instead of the next time you manually wake the computer.

itunes alarm clock for macbook

All I need is for a cordless phone/microwave incident to switch things back to computer speakers and I've got a nasty phone call from home right in the middle of work. Yes, I can use the remote to turn off the speakers, but that eventually will lead to me leaving music running with the speakers muted. I suppose I could use the desktop to send music through Airtunes to the speakers in my room, setting it to never go to sleep, but that's going to be torture if I need to walk into an entirely different room to turn the music off.

#Itunes alarm clock for macbook portable

I can make one repeating event that only applies to certain days of the week and it's not a problem that my computer wakes up when there really isn't an alarm to play as it will simply go back to sleep in a few minutes, but what are you supposed to do if you have a later or earlier wake-up time a couple days a week? It would be nice if iCal could wake my portable as long as the screen was up. One thing does still bother me about using iCal this way. I liked the idea of using iCal, but it was easy enough to use automator to get the same results without having to worry about how many tracks are in the playlist and changing the script every time I add tracks.







Itunes alarm clock for macbook