• 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
Re: set VolumeList
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set VolumeList


  • Subject: Re: set VolumeList
  • From: Emmanuel <email@hidden>
  • Date: Mon, 17 Jan 2005 15:35:58 +0100

At 7:19 AM -0700 1/17/05, Robert Poland wrote:
Scripters,

Comments,

set VolumeList to do shell script "ls /volumes"
VolumeList
--> "iMac HD"

set VolumeList to list disks
VolumeList
--> {"iMac HD", "Network"}

I've got one, too, that I would love explained.

1024 * (find text ".*\\r[^ ]+ +[0-9]+[^0-9]+[0-9]+[^0-9]+([0-9]+)" in (do shell script "df -k") using "\\1" with regexp and string result)
-- 1.024585728E+9


tell application "Finder" to get free space of startup disk
  --  1.286729728E+9

Emmanuel
_______________________________________________
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


  • Follow-Ups:
    • Re: set VolumeList
      • From: Bill Briggs <email@hidden>
References: 
 >set VolumeList (From: Robert Poland <email@hidden>)

  • Prev by Date: set VolumeList
  • Next by Date: Re: X, Classic, or 9?
  • Previous by thread: set VolumeList
  • Next by thread: Re: set VolumeList
  • Index(es):
    • Date
    • Thread