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

Re: extending an command


  • Subject: Re: extending an command
  • From: Ed Stockly <email@hidden>
  • Date: Sat, 8 Nov 2008 12:57:02 -0800

This is a difficult question to answer for a few reasons.

First, it sounds like you're mixing up the terms Dictionary and Library.

Second you haven't let us know which application you're scripting

Third, you haven't provided an example that may help us diagnose the issue. (keep it short but give us enough to go on).

Something like:

Tell application XXXX

 open myDocument ....

end tell

HTH,

ES




On Nov 8, 2008, at 11:51 AM, Mahesh Vyas wrote:

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 (applescript- email@hidden)
Help/Unsubscribe/Update your Subscription:
40aol.com
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden

_______________________________________________ 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: "Mahesh Vyas" <email@hidden>
References: 
 >extending an command (From: "Mahesh Vyas" <email@hidden>)

  • Prev by Date: extending an command
  • Next by Date: RE: extending an command
  • Previous by thread: extending an command
  • Next by thread: RE: extending an command
  • Index(es):
    • Date
    • Thread