Re: extending an command
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