Posts Tagged ‘Lion’
Apple Mac mini dual-core Intel Core i5 i5 2.5GHz, 4GB RAM, 500GB Hard Drive, Intel HD Graphics 4000, OS X Mountain Lion
Mac mini Dual-Core Intel Core i5 2.5GHz (Turbo Boost up to 3.1GHz), 4GB DDR3 memory, 500GB SATA hard drive, Intel HD Graphics 4000 processor, 802.11n Wi-Fi, Bluetooth, Gigabit Ethernet, HDMI, SDXC card slot, Thunderbolt, Audio in/out, IR receiver List Price: 599.0 Price: 587.98Related Posts:
Apple iMac (21.5-inch Mid 2010) 3.06 GHz Intel Core i3 4GB RAM MC508LL/A $699.00End Date: Sunday Jun-2-2013 18:15:23 PDTBuy It Now for only: $699.00Buy It Now | Add to watch list Apple iMac 15" Desktop (M6498, 2003) - Customized OS 10.5.8, 768 MB RAM $48.00 (3 Bids)End Date: Sunday May-26-2013 14:24:30 PDTBid now | Add to watch list Apple Mac Mini MD387LL/A Desktop (NEWEST) 2.5GHz Intel Core i5/8GB RAM/500GB HDD $580.00End Date: Thursday May-30-2013 20:49:02 PDTBuy It Now for only: $580.00Buy It Now | Add to watch listRelated Posts:
Apple MacBook Air 13.3" Laptop - MC965LL/A (July, 2011) $530.00 (17 Bids)End Date: Sunday May-26-2013 5:24:13 PDTBid now | Add to watch list APPLE MACBOOK PRO MD102LL/A 13.3" 2.9GHz i7 4MB 8GB $1,300.00End Date: Monday Jun-24-2013 17:41:08 PDTBuy It Now for only: $1,300.00Buy It Now | Add to watch list UPGRADED - Apple MacBook Pro 15.4" Laptop - (February, 2008) with 4 GB ram $405.00 (3 Bids)End Date: Sunday May-26-2013 6:06:32 PDTBid now | Add to watch listRelated Posts:
USED - Apple MacBook Pro 13.3" Laptop - MD101LL/A (June, 2012) $510.00 (23 Bids)End Date: Sunday May-26-2013 6:14:53 PDTBid now | Add to watch list Apple MacBook Pro 15.4" Laptop (October, 2011) - Customized $670.00 (5 Bids)End Date: Sunday May-26-2013 6:16:10 PDTBid now | Add to watch list Apple MacBook MC240LL/A 13" Laptop Core 2 Duo 2.13 GHz 2 GB 160 GB GG0443 $197.00End Date: Tuesday May-28-2013 9:36:37 PDTBuy It Now for only: $197.00Buy It Now | Add to watch listRelated Posts:
Apple MacBook Pro 13.3" Laptop - Adobe CS 6 Master Collection $625.00 (0 Bids)End Date: Sunday May-26-2013 6:30:07 PDTBuy It Now for only: $1,000.00Buy It Now | Bid now | Add to watch list Apple MacBook Pro Core 2 Duo Unibody 2.66GHz 4GB 320GB 15" MC026LL/A $749.99End Date: Friday May-31-2013 6:14:08 PDTBuy It Now for only: $749.99Buy It Now | Add to watch list Apple MacBook Air 11.6" Laptop - MC969LL/A (July, 2011) $405.00 (24 Bids)End Date: Sunday May-26-2013 6:30:19 PDTBid now | Add to watch listIncoming search terms:
- a1226 mountain lion
- macbook pro a1226 run mountain lion
Apple 2008 Aluminum 20" Imac 2.4GHz Intel Core 2 Duo A1224 250GB HD 2GB Memory $450.00End Date: Sunday Jun-23-2013 10:37:43 PDTBuy It Now for only: $450.00Buy It Now | Add to watch list Apple iMac 24" Desktop $400.00 (1 Bid)End Date: Sunday May-26-2013 15:57:18 PDTBid now | Add to watch list Apple iMac 27" Desktop - MC813LL/A (May, 2011) 2.7GHZ Quad Core 8GB RAM 1 TB HD $1,300.00End Date: Thursday Jun-20-2013 14:50:56 PDTBuy It Now for only: $1,300.00Buy It Now | Add to watch listRelated Posts:
AppleScripts are great tools for increasing your daily productivity. They’re even better when they can be set to run unattended, at night, on weekends, or during downtime. In Lion, iCal included a handy option for attaching a script to a calendar event. Just create an event, add a Run Script alarm, point it to the desired script and you’re good to go. Things changed in Mountain Lion, though. Presumably for security reasons, the Run Script alarm option was removed from the Calendar app. Despite its removal, however, there are still some ways you can trigger scripts from Calendar events.
iCal event alarm choices in OS X 10.7 Lion
Calendar event alarm choices in OS X 10.8 Mountain Lion
Use Automator to Trigger Your AppleScript
Although Apple removed the Run Script alarm option in the Calendar app, Automator’s ability to save Calendar Alarm workflows wasn’t removed. And, since Automator workflows can trigger AppleScripts, they offer a quick and easy workaround for scheduling scripts. Start by launching Automator and creating a new Calendar Alarm workflow.
To schedule an Automator workflow, choose the Calendar Alarm template.
To Trigger an AppleScript App
If your script is an app, you just need to set the workflow to launch it. Add the Launch Application action to the workflow. From the application popup menu, choose Other… and navigate to your saved AppleScript app.
The Launch Application action can be used to launch an AppleScript app.
To Trigger AppleScript Code
If you’d rather not create an app (an app + your Automator workflow means more files to manage), you can embed compiled AppleScript code right within your workflow. Find the Run AppleScript action and drag it to the workflow. Then, insert the desired script code into the action.
The Run AppleScript action can be set to run code embedded in your Automator workflow.
To Schedule the Script
Once you’ve got your workflow configured, go ahead and save it. Automator automatically adds it to an Automator calendar (which is created if it doesn’t exist yet) in the Calendars app. An Open File alarm is added to the event and set to run the workflow. Now, adjust the start date of the event as needed, put it on a repeating schedule, etc.
Open File alarms are used to trigger Automator Calendar Alarm workflows.
Use AppleScript to Create a Scheduled Event
If you create an event in the Calendars app and add an Open File alarm, you should find that you’re unable to select a saved AppleScript app. You can select a compiled AppleScript file, but this is essentially useless because when the event triggers, the Open File alarm simply causes the compiled script to open in AppleScript editor. Not what you need. What you really need is to open a saved script app. AppleScript to the rescue. To work around the limitation, just run the following script. It asks you to select a saved AppleScript app. It then creates an event at the current date and time on an AppleScripts calendar, which it creates if it doesn’t exist already. The script then adds an Open File alarm to the newly created event and sets it to open your selected script app. Yep, that’s right. Although you can’t manually set an event to open a saved AppleScript app, you can script the process.
NOTE: You can download the complete script below here.
So, there you go. A number of workarounds for triggering scripts from Calendar events in Mountain Lion. So, schedule away! Happy Scripting!
Triggering AppleScripts from Calendar Alerts in Mountain Lion originally appeared on TUAW – The Unofficial Apple Weblog on Mon, 18 Mar 2013 14:00:00 EST. Please see our terms for use of feeds.
Apple MacBook Core2Duo White Computer 2.1ghz 13" MB402LL/A -- FREE SHIPPING $309.94End Date: Thursday Jun-13-2013 22:00:05 PDTBuy It Now for only: $309.94Buy It Now | Add to watch list Apple MacBook 13.3" Laptop - MB061LL/A (May, 2007) $39.00 (12 Bids)End Date: Sunday May-26-2013 7:08:01 PDTBid now | Add to watch list Apple MacBook Pro 15.4" Laptop with Retina Display - ME665LL/A (February,... $2,275.00 (48 Bids)End Date: Sunday May-26-2013 7:08:13 PDTBid now | Add to watch listRelated Posts: