• 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: question on accessing a list of websites
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question on accessing a list of websites


  • Subject: Re: question on accessing a list of websites
  • From: Clint Hoxie <email@hidden>
  • Date: Mon, 17 Dec 2007 14:18:17 -0700

PS - The script I currently use is below.

-------------
set urlList to {"http://dogpile.com";, "http://www.newseum.org/todaysfrontpages/flash/default.asp "}


tell application "Safari"
	set win to (make new document at beginning) -- becomes window 1
end tell

repeat with i in urlList
	tell application "Safari"
		open location i
	end tell
end repeat
--------------

On Dec 17, 2007, at 1:38 PM, Clint Hoxie wrote:

Is there a way to call a list of URLs from another app into a script? Specifically, I'd like to be able to open all the URLs in a specific Safari bookmark folder based on an if clause that finds out what day of the week it is.

Right now, I have a working app that launches a list of URLs that I specify within the script. This means I have to edit the script every time a favorite changes.

Any suggestions?

Clint

PS - I use Safari as my browser. I know FireFox has this capability as an extension. I don't want to use FireFox. I like programming headaches.

_______________________________________________ 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
References: 
 >question on accessing a list of websites (From: Clint Hoxie <email@hidden>)

  • Prev by Date: Install / Enable GetMilliSec
  • Next by Date: Re: trouble with weekday names
  • Previous by thread: question on accessing a list of websites
  • Next by thread: Install / Enable GetMilliSec
  • Index(es):
    • Date
    • Thread