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

Problems with *path* specifications under Mac OS Xs


  • Subject: Problems with *path* specifications under Mac OS Xs
  • From: Joan Sánchez Sabé - interempresas <email@hidden>
  • Date: Sat, 19 Jul 2003 15:31:04 +0200

If I use the following script

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

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

------

and execute it under Mac OS X 10.2.6 (AppleScript E1-1.9 (Spanish)), 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

------

if I execute it then under Mac OS 9.2.1 (AppleScript E1-1.6 (Spanish)), I
get "what I am accustomed to"


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

------
Can anyone tell me why the Finder of Mac OS X does not find the folder when
you specify it by its "path"?

I seem to have a similar problem when telling FileMaker 6 to "set cell xxx
to file yyy" (it worked with Mac OS 9, it doesn't with Mac OS X).

Thanks
_______________________________________________
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 Xs
      • From: Paul Berkowitz <email@hidden>
    • Re: Problems with *path* specifications under Mac OS Xs
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: Ethan's kneecaps
  • Next by Date: Re: Problems with *path* specifications under Mac OS Xs
  • Previous by thread: Re: numeric date
  • Next by thread: Re: Problems with *path* specifications under Mac OS Xs
  • Index(es):
    • Date
    • Thread