• 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 commands
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Path To commands


  • Subject: Path To commands
  • From: Philippe Gruchet <email@hidden>
  • Date: Tue, 7 Jan 2003 06:33:13 +0100

From Gary Lists : And a general note about Path To commands that is still very useful to remember:

A number of users have reported that the Path To command in the Standard Additions scripting addition has problems when invoked inside a Finder tell block, at least with respect to the Startup Disk special folder. Workarounds include moving the Path To command outside the Finder tell block and using the Finder's own command for obtaining the path to the startup disk.

Should we consider this tell block [no break] below concerned by the "respect to the Startup Disk special folder" ?

tell application "Finder" to make at (path to "docs" as alias) with properties {name:{"foo"}, file type:"ttro", file creator:"ttxt"} new file

What do you think about this line?


Regards,
Philippe Gruchet/SVM Mac
VNU Publications France
http://svmmac.vnunet.fr
_______________________________________________
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: Path To commands
      • From: Gary Lists <email@hidden>
  • Prev by Date: Re: Folder.h codes
  • Next by Date: Timeout waiting for server process
  • Previous by thread: Re: Folder.h codes
  • Next by thread: Re: Path To commands
  • Index(es):
    • Date
    • Thread