• 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: Make New Window scripting problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make New Window scripting problem


  • Subject: Re: Make New Window scripting problem
  • From: Shane Stanley <email@hidden>
  • Date: Fri, 30 Jan 2004 08:33:22 +1100

On Jan 30, 2004, at 4:59 AM, Michelle Steiner wrote:

tell application "TextEdit" to make new window

--> "TextEdit got an error: NSArgumentsWrongScriptError"

Same error with script editor, mail, and safari.

It works with BBEdit 6.5

In the case of Mail, the dictionary says the "at" parameter is compulsory. I wouldn't be surprised if it was required by the others, too -- it certainly gets rid of the error in TextEdit.

--
Shane Stanley <email@hidden>
_______________________________________________
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.

  • Follow-Ups:
    • Re: Make New Window scripting problem
      • From: Michelle Steiner <email@hidden>
    • Re: Make New Window scripting problem
      • From: Deivy Petrescu <email@hidden>
References: 
 >Make New Window scripting problem (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Problems to cahnge font in AI 10
  • Next by Date: Re: Make New Window scripting problem
  • Previous by thread: Make New Window scripting problem
  • Next by thread: Re: Make New Window scripting problem
  • Index(es):
    • Date
    • Thread