Re: osacompile decompile
Re: osacompile decompile
- Subject: Re: osacompile decompile
- From: Laine Lee <email@hidden>
- Date: Wed, 13 Jul 2005 12:01:19 -0500
On 7/13/05 11:07 AM, "Emmanuel" <email@hidden> wrote:
>
> If using Smile can be part of the solution, I think the following works.
>
> tell application "Smile" to get (script of file the_file)
>
> This returns the formatted source as styled text. Say "as text" or
> "as Unicode text" if you don't want the styles. Note that the command
> is "script of file" (not just "script of".)
Thanks, Emmanuel. I'm certainly grateful to have it.
I'm assuming file thefile would be a colon delimited hfs file path, right?
(Apologies, I can't seem to trust anybody with path formats any more.)
I would, of course, rather find a simple change to perform on my original
command instead of having to construct a new method. Maybe a new data type
that means text although it's not described by the 4 character code "TEXT"?
My goodness, why, I've become as cynical as Mr. Delacour!
Yours 'til I'm not,
Laine
_______________________________________________
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