• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Safari tabs stacking, not separate
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Safari tabs stacking, not separate (From: Ed Rush <email@hidden>)

  • Prev by Date: Safari tabs stacking, not separate
  • Next by Date: Re: Dot files
  • Previous by thread: Safari tabs stacking, not separate
  • Next by thread: Down grading from 10.3.9 to 10.2.8
  • Index(es):
    • Date
    • Thread