Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Safari tabs stacking, not separate



I wrote a script for Safari to open several URLs in tabs. I have a delay command to give it time to load each URL before it moves on to the next one. When I run this app directly, it works just fine. However, when I have cron run it in the wee hours before I wake up, it nearly always neglects to create the new tabs; it "stacks" the URLs, as if I had just entered each URL sequentially in the same window. This problem cropped up when I installed the first Tiger release, and persists today.

I thought maybe the problem had to do with the screen saver, so I added 

tell application "ScreenSaverEngine" to quit

at the top and 


tell application "ScreenSaverEngine" to activate


at the end. It does turn off and on the screen saver, but I still get the stacked URLs when cron runs it.


Can anyone here tell me why it skips the tab creation when cron runs it? And how to get around that problem? 


-*"*-.,,.-*"*-.,,.-*"*-.,,.-*"*-.,,.-*"*-.,,.-*"*-.,,.-*"*—

Ed Rush

Boise, Idaho

email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.