list disk usage differences
list disk usage differences
- Subject: list disk usage differences
- From: Emile Schwarz <email@hidden>
- Date: Fri, 15 Apr 2005 14:36:12 +0200
Hi all,
Mac OS X 10.3.8
the following line alone in the Script Editor: return list disks
returns: {"Macintosh HD", "Network"}
The same list enclosed in the tell ... Finder block returns a different value:
Script:
tell application "Finder"
return list disks
end tell
Returned value:
{"Macintosh HD"}
Why ?
[of course I didn't change anything apart what I wrote above.
Emile
PS: the line "return list disks" is translated as follows in the log history pane:
tell current application
list disks
{"Macintosh HD", "Network"}
end tell
I got the same differences with:
tell current application to list disks
tell application "Finder" to list disks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden