Problems with *path* specifications under Mac OS Xs
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.