• 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: Safari 3 beta, tab object and AppleScript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Safari 3 beta, tab object and AppleScript


  • Subject: Re: Safari 3 beta, tab object and AppleScript
  • From: "Jim DeVona" <email@hidden>
  • Date: Tue, 12 Jun 2007 16:55:39 -0400

On 6/12/07, Bill Briggs <email@hidden> wrote:

Well, I see that they added tabs to the object model for Safari, but so far I can't seem to get any syntax to work to make a new tab in an existing window. Anyone else try this yet?

I had noticed that there appeared to be improved scripting support for tabs in the Safari 3 beta, but I hadn't tried to create a new tab until I read your message. I find I am unable to do so as well. Here is a simple test case, to be run when a browser window with a single tab is already open:

tell application "Safari"
tell window 1
 make new tab
end tell
end tell

The "make new tab" line generates the following error message: "Safari
got an error: NSInternalScriptError"

Is this a usage error on my behalf, or is this indeed a bug?

Jim
_______________________________________________
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: Safari 3 beta, tab object and AppleScript
      • From: Bill Briggs <email@hidden>
References: 
 >Remove iTune album ? (From: "Rohit Makasana" <email@hidden>)

  • Prev by Date: Re: Safari 3 beta, tab object and AppleScript
  • Next by Date: Re: Safari 3 beta, tab object and AppleScript
  • Previous by thread: Re: Safari 3 beta, tab object and AppleScript
  • Next by thread: Re: Safari 3 beta, tab object and AppleScript
  • Index(es):
    • Date
    • Thread