Re: Safari 3 beta, tab object and AppleScript
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