Hello McUsrII
What need to log the properties ?
The log window already display the result of the instruction
set volInfo to properties of disk (path to startup disk)
tell application "Finder"
path to startup disk
--> alias "Macintosh HD:"
get properties of disk (alias "Macintosh HD:")
--> {class:disk, name:"Macintosh HD", index:2, displayed name:"Macintosh HD", name extension:"", extension hidden:false, container:computer container, disk:startup disk, position:{-1, -1}, desktop position:{1871, 50}, bounds:{-33, -33, 31, 31}, kind:"Volume", label index:0, locked:false, description:missing value, comment:"", size:5.23262251008E+11, physical size:5.23262251008E+11, creation date:date "dimanche 19 août 2012 20:07:17", modification date:date "vendredi 12 avril 2013 19:07:41", icon:missing value, URL:"file://localhost/", owner:"système", group:"root", owner privileges:read write, group privileges:read only, everyones privileges:read only, container window:container window of startup disk, id:-100, capacity:9.99345127424E+11, free space:4.76082876416E+11, ejectable:false, startup:true, format:Mac OS Extended format, journaling enabled:true, local volume:true, ignore privileges:false}
(*class:disk, name:Macintosh HD, index:2, displayed name:Macintosh HD, name extension:, extension hidden:false, container:computer container, disk:startup disk, position:-1, -1, desktop position:1871, 50, bounds:-33, -33, 31, 31, kind:Volume, label index:0, locked:false, description:missing value, comment:, size:5.23262251008E+11, physical size:5.23262251008E+11, creation date:date dimanche 19 août 2012 20:07:17, modification date:date vendredi 12 avril 2013 19:07:41, icon:missing value, URL:file://localhost/, owner:système, group:root, owner privileges:read write, group privileges:read only, everyones privileges:read only, container window:container window of startup disk, id:-100, capacity:9.99345127424E+11, free space:4.76082876416E+11, ejectable:false, startup:true, format:Mac OS Extended format, journaling enabled:true, local volume:true, ignore privileges:false*)
end tell
I see no significant difference between the result and the logged value.
KOENIG Yvan (VALLAURIS, France) mardi 30 avril 2013 13:39:39