|
|
#1 |
|
Applescript alarm for iCal
Hey all, Im creating a script thatll integrate with ical, and as youll see itll be a pretty nice alarm. My problem that Im hoping I can get help fixing is that, although the command to hide pandora is their, it doesnt work when run from ical. I also need to bring the dialog to the front, since for some reason ical also neglects to do that as well. I will greatly appreciate your help.
![]() Note, volume is set low for testing purposes. And redundant code is their because Im a noob. ![]() set volume output volume 20 tell application "PandoraMan" to activate delay 3 tell application "Finder" to set visible of process "PandoraMan" to false delay 10 set question to display dialog "Good Morning, Snooze set to 30 min.!" buttons {"Snooze!!", "I'm Awake!!"} default button 2 set answer to button returned of question tell application "PandoraMan" to activate if answer is equal to "Snooze!!" then tell application "PandoraMan" to quit delay 1800 tell application "PandoraMan" to activate tell application "Finder" to set visible of process "PandoraMan" to false end if if answer is equal to "I'm Awake!!" then tell application "PandoraMan" to quit end if |
|
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| thread | Thread Starter | Forum | Replies | Last Post |
| Applescript to copy highlighted folder name to iCal ToDo List | inaka | Mac Programming | 0 | Sep 15, 2011 07:38 PM |
| Set up alarm for To-Do tasks | chogall | iPhone Tips, Help and Troubleshooting | 2 | Nov 18, 2010 09:38 AM |
| Alarms for iCal Subscriptions | faraz.yashar | Mac Applications and Mac App Store | 0 | Jun 7, 2010 04:29 AM |
| No Alarm on iCal on iMac, why does alarm go to iPhone? | ncc1701d | iPhone Tips, Help and Troubleshooting | 2 | Nov 18, 2008 05:59 PM |
| setting alarms for birthdays in iCal? | sir42 | Mac Applications and Mac App Store | 3 | May 14, 2007 10:32 AM |
All times are GMT -5. The time now is 10:28 AM.








Linear Mode

