• 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
Open Safari and Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Open Safari and Script


  • Subject: Open Safari and Script
  • From: John Koch <email@hidden>
  • Date: Sat, 29 Dec 2007 12:28:55 -0800

Hello,

With all the help I have got so far this is what I have come up with, but it still is giving me the error "cant make class document" does anyone know why or how to fix, it runs perfectly in script editor but when I switch it to a app. it doesnt so ya

tell application "Script Editor"
activate
make new document
end tell

tell application "Safari"
activate
make new document at end
set URL of document 1 to "http://www.macscripter.net/"
end tell
 _______________________________________________
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: Open Safari and Script
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Account Mail Question
  • Next by Date: Re: Leopard and "new file"
  • Previous by thread: Re: Open Safari and Script
  • Next by thread: Re: Open Safari and Script
  • Index(es):
    • Date
    • Thread