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?