Re: Make New Window scripting problem
Re: Make New Window scripting problem
- Subject: Re: Make New Window scripting problem
- From: Axel Luttgens <email@hidden>
- Date: Thu, 29 Jan 2004 22:48:49 +0100
Michelle Steiner wrote:
tell application "TextEdit" to make new window
--> "TextEdit got an error: NSArgumentsWrongScriptError"
TE seems to be more document-oriented than window-oriented, as if a
windows were just there to display documents.
Well, after all, why not?
But it also likes the "at somewhere"... ;-)
So, this works:
tell application "TextEdit" to make new document at beginning
Same error with script editor, mail, and safari.
The same applies to SE and Safari, and even without the "at somewhere";
for example:
tell application "Safari" to make new document
As far as Mail is concerned, I couldn't guess :-(
It works with BBEdit 6.5
-- Michelle
Axel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.