Re: What happened to "file"?
Re: What happened to "file"?
- Subject: Re: What happened to "file"?
- From: Paul Berkowitz <email@hidden>
- Date: Tue, 07 May 2002 11:42:10 -0700
On 5/7/02 11:32 AM, "Paul Berkowitz" <email@hidden> wrote:
>
Hey! I just found a way! It's sort of nuts:
>
>
POSIX file "/Users/berkowit/Documents/Pascal/Contacts Export EvX.txt"
>
>
>
compiles to
>
>
file "OS X HD:Users:berkowit:Documents:Pascal:Contacts Export EvX.txt"
>
>
>
but this time it has the same Gargantuan Geneva 12 font that 'alias' forms
>
compile to, not the usual string font. NOW, when you run it, it doesn't error!
>
>
Who would have thought that the whole thing depended on what font you used?
>
What exactly is AppleScript up to here?
So, in a roundabout, even nuttier way, if you've got the colon AppleScript
path to begin with, you can do:
POSIX file (POSIX path of "OS X
HD:Users:berkowit:Documents:Pascal:Contacts Export EvX.txt")
Run it (with a real file path on your machine), and the result is:
file "OS X HD:Users:berkowit:Documents:Pascal:Contacts Export
EvX.txt"
in regular string (or result) font! But you can't then recompile that
result.
--
Paul Berkowitz
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.