• 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: AppleScript-Users Digest, Vol 4, Issue 654
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript-Users Digest, Vol 4, Issue 654


  • Subject: Re: AppleScript-Users Digest, Vol 4, Issue 654
  • From: "Stockly, Ed" <email@hidden>
  • Date: Mon, 17 Dec 2007 14:08:02 -0800
  • Thread-topic: AppleScript-Users Digest, Vol 4, Issue 654

Title: Re: AppleScript-Users Digest, Vol 4, Issue 654
Well, there is good news and bad news

The good news is that this works...

property webPageList : {"http://theguide.latimes.com/tv", "http://www.latimes.com", "http://www.latimes.com/sports"}
tell application "Safari"
    make new document
    repeat with thisURL in webPageList
        tell window 1
            make new tab
            set URL of last tab to thisURL
        end tell
    end repeat
end tell


The bad news is that Safari’s bookmarks aren’t scriptable.

I have a script in  the works that does something similar, though. In my script the user opens a window with several tabs, each tab opened to a URL to be added to the script. The script is launched and stores the list of URLs from the tabs in the webPageList property, which it remembers on subsequent runs.

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

This email sent to email@hidden

  • Prev by Date: Re: trouble with weekday names
  • Next by Date: Re: Install / Enable GetMilliSec
  • Previous by thread: Re: Parsing Strings
  • Next by thread: Bundle Content drawer - what's it good for?
  • Index(es):
    • Date
    • Thread