Re: set VolumeList
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