Deploy compiled AppleScript not work
Deploy compiled AppleScript not work
- Subject: Deploy compiled AppleScript not work
- From: "Chen Wang" <email@hidden>
- Date: Wed, 31 May 2006 17:21:12 -0400
- Thread-topic: Deploy compiled AppleScript not work
Dear List,
Is it a usual case that a compiled run-only AppleScript can be
only run on the same system where it is compiled?
My test script is as simple as the following:
----------------------------------
tell application “Microsoft Word”
……
end tell
-----------------------------------
It was compiled into a *.scpt file, and the *.scpt worked well.
For whatever a reason, I erased my HD and completely reinstalled the
same system on the same computer. When I tried again to run the same *scpt, it keeps
asking me where is the application “Microsoft Word”, until I recompile
the original AppleScript text source (without any change), and the new *.scpt
file works again. I guess that the line ‘tell application “Microsoft
Word”’ is somehow hard-coded during the compilation process into a *.scpt
file. If so, how can I deploy a run-only *.scpt file which will be used on different
computers?
Thanks in advance.
Chen
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