• 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
list disk usage differences
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: organizing mails of this mailing list
  • Next by Date: Re: Localized Internals of AppleScript (date Class for example)
  • Previous by thread: Re: organizing mails of this mailing list
  • Next by thread: Re: list disk usage differences
  • Index(es):
    • Date
    • Thread