• 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
tell app <script> to handler(a,b) doesn't work
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tell app <script> to handler(a,b) doesn't work


  • Subject: tell app <script> to handler(a,b) doesn't work
  • From: christian vick <email@hidden>
  • Date: Tue, 22 Oct 2002 17:11:55 +0200

From a script i try to call another script's handler with parameters:

tell app MyScriptApp to doSomething(a,b)

This errors with: "MyScriptApp got an error: some object doesn't match the
parameters {} for ." The parameters do match, of course.


If i call a handler with a single parameter it errors in:
"MyScriptApp got an error: The variable some object is not defined."


If i call a handler without parameters it works:
tell app MyScriptApp to doSomething()



Has anyone better results?
OS 10.2.1
AS 1.9



Greetings
Christian Vick
_______________________________________________
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: tell app <script> to handler(a,b) doesn't work (ahem)
      • From: christian vick <email@hidden>
  • Prev by Date: RE: Exists statements
  • Next by Date: Skip current repeat iteration
  • Previous by thread: RE: Exists statements
  • Next by thread: Re: tell app <script> to handler(a,b) doesn't work (ahem)
  • Index(es):
    • Date
    • Thread