RE: Deploy compiled AppleScript not work
RE: Deploy compiled AppleScript not work
- Subject: RE: Deploy compiled AppleScript not work
- From: "Chen Wang" <email@hidden>
- Date: Mon, 12 Jun 2006 10:46:45 -0400
- Thread-topic: Deploy compiled AppleScript not work
Sorry Laine, I'm afraid that I have a little bit different concern from
yours. My AppleScript is an embedded script in my application. Actually
my Cocoa application is responsible for dynamically finding Ms Word in
the system, and pass the right name as a parameter to my AppleScript.
Anyway, I used the following five attempts to find Ms Word in my
application, and I guess these five ways are all scriptable:
1) with full path and name
2) with bundle identifier
3) with application name by finder
4) with document extension (*.doc, *.rtf, *.dot ...)
5) open document by finder
- Chen
>OK, please let me see it. I want to see the script that opens Microsoft
Word
>in OS X if it exists on a local volume whatever the condition of the
system
>(within reason) or the location of Microsoft Word. Thanks.
--
>Laine Lee
>> Thank to Matt. Your book (chapter 19.2) finally leads me to a right
>> solution. With nested "using terms from application", the compiler
>> allows me to retrieve application name at run time, this makes the
>> compiled script deployable on all of my test systems. Thanks again.
Confidentiality Notice: This e-mail, including any attachments, is for the sole use of the intended recipient(s) and may contain private, confidential, and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient or this information has been inappropriately forwarded to you, please contact the sender by reply e-mail and destroy all copies of the original.
_______________________________________________
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