• 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: I've changed the name of a file (etc.)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I've changed the name of a file (etc.)


  • Subject: Re: I've changed the name of a file (etc.)
  • From: "Marc K. Myers" <email@hidden>
  • Date: Fri, 03 Nov 2000 15:26:40 -0500
  • Organization: [very little]

Michelle Steiner wrote:
>
> On 11/3/00 10:11 AM, Marc K. Myers <email@hidden> wrote
>
> >file (vPathName as text)
>
> --> Can't make some data into the expected type.
>
> --Michelle

Ooops. I neglected to mention that the file reference has to be in a
tell to the Finder:

set avar to alias "SETI RAM Disk:SETI@home Data:work_unit.sah";
tell application "Finder"
file (avar as text)
end tell

set theText to (alias "SETI RAM Disk:SETI@home Data:work_unit.sah";) as text
tell application "Finder"
set theFile to file theText
end tell


References: 
 >Re: I've changed the name of a file (etc.) (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: I've changed the name of a file...
  • Next by Date: Re: I've changed the name of a file (etc.)
  • Previous by thread: Re: I've changed the name of a file (etc.)
  • Next by thread: Re: I've changed the name of a file (etc.)
  • Index(es):
    • Date
    • Thread