Re: Converting "scpt" resource to text
Re: Converting "scpt" resource to text
- Subject: Re: Converting "scpt" resource to text
- From: Bryan <email@hidden>
- Date: Mon, 30 Jul 2001 13:33:49 -0400
- Organization: Apex Radiology
I have not seen a convertor of 'scpt' resources.
I've thought about writing one, but the time is not available.
I have used ResEdit to copy the resource to a text file.
Then, to extract the events, I created separate sections for each of the
items which are surrounded by << >>; which are the event codes.
Then I use OSAXen DB to look up the event codes to get the command
names.
I do this by selecting Find mode in the DB and command/paste the event
codes
into the DB's event code field; and viola... commands and syntax at my
fingertips.
Usually, at this point, the logic of the script becomes pretty obvious,
unless the authors have done something very clever or non intuitive.
I haven't posted an export of the records I've accumulated in the DB,
but I have most of them.
I would be happy to provide it to anyone who would like to import it
into another DB,
I would only ask that I get a copy of the new DB back to provide to
others.
I can provide the DB's operational scripts to anybody that would like to
develop another
version on another DB. I've thought about doing this in 4D, Valentina,
and a few others;
but the time eludes me.
I would be very happy to work with anyone who is interested in pursuing
this.
Bryan Kaufman
Douglas Wagner wrote:
>
Hello:
>
>
I've extracted a "scpt" resource from a FaceSpan project using
>
Latenight's "Resource IO". I believe the result is a binary.
>
>
Can anyone tell me how I might convert this to a readable form,
>
within Applescript, or by using a Scripting Addition?
>
>
Thanks: Douglas Wagner
>
_______________________________________________
>
applescript-users mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/applescript-users