• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: What happened to "file"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: What happened to "file"?
      • From: Paul Skinner <email@hidden>
References: 
 >Re: What happened to "file"? (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: What happened to "file"?
  • Next by Date: Re: Accessing Dictionary of Palm Desktop on OS 9.1
  • Previous by thread: Re: What happened to "file"?
  • Next by thread: Re: What happened to "file"?
  • Index(es):
    • Date
    • Thread