|
|
Non-GUI approach (shorter too)
The "click menu item" steps in your script require the user to have GUI scripting turned on (System Preferences, Universal Access, Enable access for assistive devices). That's not the way Macs are set up out of the box. Better not to rely on the user's machine being set up a certain way. Generally speaking, try to avoid GUI scripting except as a last resort.
Here is a general script that opens Safari windows and fills them in with various sites, taken from a list. I like the sites being in their own windows because I occasionally make the mistake of clicking a close button in a Safari window that has tabs, closing who knows how many tabbed sites with it. It's nice to be able to resize the windows via JavaScript-- very fast. Of course, this depends on JavaScript being available, but this is the default for Safari.
|
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.15 seconds |
|