• 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
extending an command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

extending an command


  • Subject: extending an command
  • From: "Mahesh Vyas" <email@hidden>
  • Date: Sun, 9 Nov 2008 01:21:23 +0530
  • Thread-topic: extending an command

I am getting error while compiling a script if command (with parameters) defined in application is also defined in library loaded with application.

"open" command is defined in Application, same command can also be executed with parameter
Now if library loaded dynamically also defines "open" command (with parameter ).

If we write a script and use "open" without parameters, it compiles and executes properly.
If use "open" as parameters then script doesnt compile and gives error at the parameter of open.

If we do not load the library, the "open" command works fine with parameter

Let me know if I need to correct at library end.

one more query, I have noticed that if we define "yes" and "no" at application end, we cannot define it at library end. script will not compile properly.

Is their any way we can scope the definition.



Thanx
Mahesh Vyas

<<winmail.dat>>

 _______________________________________________
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

  • Follow-Ups:
    • Re: extending an command
      • From: Ed Stockly <email@hidden>
  • Prev by Date: Re: Mail.app help
  • Next by Date: Re: extending an command
  • Previous by thread: Re: Mail.app help
  • Next by thread: Re: extending an command
  • Index(es):
    • Date
    • Thread