• 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: Keeping a text-entry in the background, or a work-around
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Keeping a text-entry in the background, or a work-around


  • Subject: Re: Keeping a text-entry in the background, or a work-around
  • From: Clint Hoxie <email@hidden>
  • Date: Thu, 29 Nov 2007 17:41:02 -0700

Yes, it does. As i described, it opens a new window with the first tab set to homepage, then loads the list of URLs into following tabs.
Clint



On Nov 29, 2007, at 5:03 PM, Malcolm Fitzgerald wrote:


On 30/11/2007, at 10:48 AM, Clint Hoxie wrote:

I've now put together three tips and have gotten what I want, which is a new window, with all the URLs from my list populated into new tabs. It leaves a homepage tab as the first tab (so I get three tabs out of a list of 2), but I can live with that. Thanks, everyone.


Does the code below generate tabs in a single window for you?

For me it generates a new window with each step through the loop which is why we had to muck around with system events in older browsers.




----------

set urlList to {"http://dogpile.com";, "http://www.rediscovermt.com/"}


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
_______________________________________________
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


Malcolm Fitzgerald

T: 0403 972 660 E: email@hidden

FOR YOUR COMPUTER Customised software built to your specifications. Using Macs? Automate your workflow with AppleScript. FOR YOU Computer training, software installation + upgrades, computer setups. IN TIMES OF NEED Troubleshooting, maintenance + repairs.


That's Not Your Homework ABN 91 398 224 929

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


This email sent to 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: Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Keeping a text-entry in the background, or a work-around
      • From: Malcolm Fitzgerald <email@hidden>
References: 
 >How do I use UI scripting to click a button in a save dialog in TextEdit in Leopard? (From: Laine Lee <email@hidden>)
 >Keeping a text-entry in the background, or a work-around (From: Clint Hoxie <email@hidden>)
 >Re: Keeping a text-entry in the background, or a work-around (From: Peter Baxter <email@hidden>)
 >Re: Keeping a text-entry in the background, or a work-around (From: Clint Hoxie <email@hidden>)
 >Re: Keeping a text-entry in the background, or a work-around (From: Malcolm Fitzgerald <email@hidden>)

  • Prev by Date: Re: Keeping a text-entry in the background, or a work-around
  • Next by Date: Re: Keeping a text-entry in the background, or a work-around
  • Previous by thread: Re: Keeping a text-entry in the background, or a work-around
  • Next by thread: Re: Keeping a text-entry in the background, or a work-around
  • Index(es):
    • Date
    • Thread