Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Store script as run only



7 apr 2006 kl. 19.16 skrev Jon Pugh:

At 1:12 PM +0200 4/7/06, Jens Eliasson wrote:
First to see if its possible to bring back the code from the runtime version, at least partly. I have found Jon's Commands and will see what it can do with its script coercion command.

The script coercion will not be able to reconstruct the script. You should indeed always save a copy, as the run only version has crucial information stripped out of it, making it essentially impossible to recover.

Thanks for your answer Jon. I saw as soon as I tried that the script to string coercion only works for script not saved as run only - logical.


As I wrote I feel really stupid about this and it is the first time I have made this error.

By opening the compiled script in a text editor I have been able to restore all defintions, properties and handlers (just definitions). I have a lot of the code in parts from the devlopment sketches and some fairly old backups, so its not to much work to recontruct it.

My main concern is really to make a nice script to make runtime scrips in a different and simple way. Because I don't want to risk this to happen again. So is there a way to shed the source code while resaving a script, preferably not scripting the SE?

/Jens
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden
References: 
 >Store script as run only (From: Jens Eliasson <email@hidden>)
 >Re: Store script as run only (From: Jon Pugh <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.