Re: Safari tabs stacking, not separate
Re: Safari tabs stacking, not separate
- Subject: Re: Safari tabs stacking, not separate
- From: "Mark J. Reed" <email@hidden>
- Date: Mon, 19 Jun 2006 17:06:24 -0400
When you "run it directly", how are you doing it? If not via
osascript in a terminal window (I assume you're using osascript to run
it from cron), then you have two incomparable situations.
It could be that opening new tabs in Safari falls under the "no user
interaction permitted" proviso of osascript.
Supplying the actual script (with URLs deleted if you like) would be helpful.
On 6/19/06, Ed Rush <email@hidden> wrote:
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:
This email sent to email@hidden
--
Mark J. Reed <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:
This email sent to email@hidden