Re: Deploy compiled AppleScript not work
Re: Deploy compiled AppleScript not work
- Subject: Re: Deploy compiled AppleScript not work
- From: Gary Bielby <email@hidden>
- Date: Fri, 02 Jun 2006 13:11:21 +0100
Oh but change the file id "MSIE" to your “Microsoft Word” one ;-)
Gary.
Gary Bielby wrote:
Hi Chen,
If you are trying to run scripts with the application installed in
different places you can get around it like so:
OS9 way:
try
tell application "Finder"
set appName to name of application file id "MSIE"
end tell
on error errMsg
display dialog (errMsg) as string
end try
Then you can ref that application like:
tell appName
// do something
end tell
And if you add a
on run
end run
around the code you don't even need to compile it... just save as text
and do something like
run script file (filename)
Regards, Gary.
**
Rob Stott wrote:
On 31 May 2006, at 22:21, Chen Wang wrote:
it keeps asking me where is the application “Microsoft Word”
Hi Chen,
At the risk of stating the obvious, you did remember to reinstall
Microsoft Word, didn't you?
r.
---
Rob Stott
Systems Developer
Trident UK
Connaught Road, Kingswood, England HU7 3AP
Switchboard: +44 1482 828100
Fax: +44 1482 710600
This email message and all documents which accompany it are intended
only for the use of the individual or entity to which addressed, and
may contain privileged or confidential information. Any unauthorised
disclosure or distribution of this email message is prohibited. If
you have received this email message in error, please notify the
sender and delete this from all computers.
------------------------------------------------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
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:
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:
This email sent to email@hidden