• 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
Problems with *path* specifications under Mac OS X
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with *path* specifications under Mac OS X


  • Subject: Problems with *path* specifications under Mac OS X
  • From: Joan SÃnchez Sabà <email@hidden>
  • Date: Wed, 16 Jul 2003 20:19:56 +0200

If I run the follwing Script:

property MyDisk : "Produccis"
property MyFolder : "Scripts"

tell application "Finder"
get exists of disk MyDisk
get exists of folder MyFolder of disk MyDisk
get exists of folder (MyDisk & ":" & MyFolder)
end tell

I get the following results:

tell application "Finder"
exists disk "Produccis"
--> true
exists folder "Scripts" of disk "Produccis"
--> true
exists folder "Produccis:Scripts"
--> false
end tell

Question: Why is the last result false? (when the second is not)

It does NOT happen if I run the same script under Mac OS 9.

Regards
_______________________________________________
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: Problems with *path* specifications under Mac OS X
      • From: Gerd Wilmer <email@hidden>
  • Prev by Date: Re: Finder window toolbar
  • Next by Date: Re: upgraded Applescript in Panther
  • Previous by thread: Re: slideshow
  • Next by thread: Re: Problems with *path* specifications under Mac OS X
  • Index(es):
    • Date
    • Thread