THis is what I came up with.. semi hidden...
#include <Array.au3>
#include <File.au3>
Opt("WinTitleMatchMode", 2)
Dim $array
Run("explorer.exe f:\", "", @SW_HIDE)
WinWaitActive("Usrvol")
Send("{APPSKEY}")
Send("r")
WinWaitActive("Properties")
Send("{SHIFTDOWN}")
Send("{tab}")
Send("{SHIFTUP}")
Send("{RIGHT}")
WinWaitActive("Properties", "LONG")
$text = WinGetText("Properties")
Send("!{F4}")
$file = "c:\test.txt"
_FileCreate ( $file )
FileOpen($file, 2)
FileWrite($file, $text)
FileClose($file)
_FileReadToArray($file, $array)
$i = 1
Do
$check = $array[$i]
$i = $i + 1
Until $check = "Space Available:"
$space = $array[$i]
$error = WinClose("Usrvol")
ConsoleWrite($error & @LF)
ConsoleWrite($space & @LF)
MsgBox(0, "Space available", $space)
I'm sure there is a better way to make text with linefeeds -> one line... But this one works...
Matz