|
|
Programmatically change URLs for Opera Speed Dial links
to do this in applescript, use the following code (please test on a backed-up version or copy first - I don't have Opera, so I haven't tested this myself):
to run this daily via launchd, save the following text as whateveryoulike.plist and put it in ~/Library/LaunchAgents/ or /Library/LaunchAgents/, then load it via launchctl on the command line or by restarting the machine.
horribly complicated, I know...
Programmatically change URLs for Opera Speed Dial links
Yeah, launchd may be a little bit more work up front, since you have to craft an XML file (and that's not even true if you use something like Lingon), but the flexibility of loading/unloading agents, and the added criterion for triggering your scripts other than just date and time are well worth it, IMO.
Programmatically change URLs for Opera Speed Dial links
like most things programming-ish, there's a trade off between compactness and accessibility. cron is more compact notation, launchd is (arguably) more accessible, but both take about the same mental overhead to get things done. I can write launchd plists in the blink of an eye, whereas it would take me ages to figure out all the fiddly little symbolic nuances of cron. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|