• 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
Path to a file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Path to a file


  • Subject: Path to a file
  • From: giZm0 <email@hidden>
  • Date: Sat, 07 Apr 2001 11:43:49 -0400

Hi, I am trying to get a path to a file as string.
My script looks like that:

Tell app 3Finder2
set lalocation to (path to (file "mp3list.txt" of system folder)) as string
End tell

But I just keep getting error messages when I run the script... Can anyone
help ?
Ps: I cant just specify 3Macintosh HD:System Folder: mp3list.txt2... Since
my script will be used on several macs.

Thanks,
giZm0
email@hidden


  • Follow-Ups:
    • Re: Path to a file
      • From: Clark <email@hidden>
    • Re: Path to a file
      • From: Chris Nebel <email@hidden>
    • Re: Path to a file
      • From: hciR nellA <email@hidden>
    • Re: Path to a file
      • From: Devon and Cornwall <email@hidden>
  • Prev by Date: Re: Archive on Goggle
  • Next by Date: Re: Globals are considered harmful (was Re: Recursion script which doesn't?)
  • Previous by thread: Path to a file
  • Next by thread: Re: Path to a file
  • Index(es):
    • Date
    • Thread