• 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: [late reply] Re: Parameters for "path to" Command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [late reply] Re: Parameters for "path to" Command


  • Subject: Re: [late reply] Re: Parameters for "path to" Command
  • From: Paul Berkowitz <email@hidden>
  • Date: Tue, 20 Aug 2002 01:44:16 -0700

On 8/20/02 1:31 AM, "Nigel Garvey" <email@hidden>
wrote:

> Apologies if that was wrong. On both my machines, I get the error 'Can't
> make ":" into a file specification'. Jon's has a 'string to file
> specification' coercion, ergo I assumed that to be responsible for the
> success of your line. (I've removed the coercions from my own copy of
> Jon's to prevent myself accidentally taking them as standard.) Did you do
> your tests after removing the OSAX *and* rebooting?
>
> What does work for me is:
>
> file ":" as file specification as string -- NB 'file'
>
> I've no idea if this works in 10.

It works in AS 1.8.3 here in OS X. It didn't work in some earlier versions,
I seem to recall.

But

alias ":" as string

now returns the name of your startup disk here, not the container path of
'me', presumably on the basis that ":" is equivalent to the POSIX path "/".

--
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: [late reply] Re: Parameters for "path to" Command
      • From: Christopher Nebel <email@hidden>
References: 
 >Re: [late reply] Re: Parameters for "path to" Command (From: Nigel Garvey <email@hidden>)

  • Prev by Date: Re: getting a file list in sorted order
  • Next by Date: QuickTime: presenting two movies
  • Previous by thread: Re: [late reply] Re: Parameters for "path to" Command
  • Next by thread: Re: [late reply] Re: Parameters for "path to" Command
  • Index(es):
    • Date
    • Thread