Re: OSA script error
Re: OSA script error
- Subject: Re: OSA script error
- From: Jay Louvion <email@hidden>
- Date: Mon, 11 Sep 2006 08:06:43 +0200
- Thread-topic: OSA script error
Title: Re: OSA script error
On 10.9.2006 16:14, "Luther Fuller" <email@hidden> spake thus:
> On Sep 9, 2006, at 5:37 PM, Jay Louvion wrote:
>> I am scripting Toast Titanium and ran into an out of memory error,
>> which prompted me to save the script as an app. This script also
>> uses 24u appearance osax for better dialogs. Switching to an app
>> resolved my out of memory issue, but once the script is done, an
>> error is returned stating “changes to this script could not be
>> saved because of an OSA script error”.
>
> I think I encountered something like this once. I've forgotten the
> details, so I did some experimenting. Bundled applications created by
> Script Editor have the permissions for Group and Others set to Read
> Only for the files:
> /Contents/Resources /MacOS/applet (or droplet)
> /Contents/Resources/Scripts/main.scpt
> (Smile seems not to have this problem.)
>
> Try manually setting the permissions of /Contents/Resources/Scripts/
> main.scpt to Read & Write and report what happens.
>
>
Well I really don’t know what to think. When saved as a simple app (as it had been), there is obviously no content such as described in your message; so I followed the suggestion and saved my script as an app bundle, changed the perms on the aforementionned file and... It returned me the error “Out of memory” (the precise one I had tried to get rid of in the first place) just before the end of the operation and even better, instead of an english OSA script error, I now get the Klingon version.
Though I notice that I could easily learn Klingon in the same way Champollion translated Hieroglyphics from Coptic using the Rosetta stone, since the error number remains the same. I am now trying to empty lists once they are no longer required and will post back to say if that helped. Any additionnal ideas or funny experiences with strange messages greatly appreciated ;).
Till later,
j.
Jay Louvion
Studio Casagrande
3, rue Müller-Brun
1208 Geneva
T+4122 840 3272
F+4122 840 3271
skypeme:
jaylouvion
www.studiocasagrande.com
P Please consider the environment before printing this email.
Attachment:
klingon_errmssg.png
Description: Binary data
_______________________________________________
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