-$sfile

$sfstate does not return "error" when accessing a reserved folder with $sfile

Code:
//echo -a $sfile(C:\windows\) -- $sfstate
Select the Fonts folder, $sfile() returns $null as expected but $sfstate is not set to "error".
$sfstate is correctly set to "cancel" if we cancel the dialog, though.


-$msfile

You never really replied to me in here https://forums.mirc.com/ubbthreads.php/topics/262220 but it looks like you implemented my suggestion. But:

Code:
//echo -a $msfile(c:\windows\) -- $sfstate -- $msfile(0) -- $msfile(1)


Select a file and then select the Fonts folder, this displays:

Quote:
1 - error -- 1 -- C:\Windows\bootstat.dat
is $sfstate returning "error" correct behavior (indicating that something else than filenames were selected perhaps)?

Last edited by Wims; 14/01/18 09:51 PM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel