• 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
Script for Safari open with Script editor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Script for Safari open with Script editor


  • Subject: Script for Safari open with Script editor
  • From: John Koch <email@hidden>
  • Date: Fri, 28 Dec 2007 20:59:07 -0800


Michelle Steiner message:
it makes a new window.

tell application "Safari"
make new document
tell window 1
set new_tab to (make new tab)
set current tab to new_tab
end tell
tell new_tab to set URL to "http://www.macscripter.net/"
end tell

Well I tried inputing this and this it what it gives me

 2 windows of Safari and one with 2 tabs in it. And the one script running (which is what I want)



So I want to make it clear is what I want is  : when I run this script that it will open a blank script and one window with -macscripter.com in it

Thanks

John 
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: Script for Safari open with Script editor
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: Modifying incoming mail subject
  • Next by Date: Mail: Create New Message script broken on Leopard
  • Previous by thread: Re: Newbie stuff
  • Next by thread: Re: Script for Safari open with Script editor
  • Index(es):
    • Date
    • Thread