Re: osacompile decompile
Re: osacompile decompile
- Subject: Re: osacompile decompile
- From: "Gary (Lists)" <email@hidden>
- Date: Wed, 13 Jul 2005 13:31:14 -0400
"Laine Lee" wrote:
> 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.)
set f to choose file
--> alias
get (script of file f) -- alias ok
class of the result
--> string (styled)
set fstr to "" & f
class of the result
--> string
get (script of file fstr) -- string ok
class of the result
--> string (styled)
get (script of file f) as Unicode text
class of the result
--> Unicode text (not styled)
get (script of file f) as text
class of the result
--> string (not styled)
> (Apologies, I can't seem to trust anybody with path formats any more.)
:) Yeah, mailing lists are especially good at giving us 11 answers instead
of a healthy 3 to choose from.
Path formats, text files and the associated issues of 'encoding' and
'character set' and whatever else have very quickly turned web production
scripting into a nightmare. I have no idea anymore whether my files should
be in ISO-KLINGON-4476 or something else.
It used to be easy. BBEdit and AppleScript, toss in some Unix line endings.
No problem. Now it's chaos.
Who knows? Everyone and no one, I think.
--
Gary
_______________________________________________
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