I have the folowing code to get the path of a filedialog...
[code]
if( win.match(han,"filedialog") == 1 || win.match(han,"c=bosa_sdm*") ==1 )do
myString = repeat("A",1025)
len = win.SendMessageStrRemote(han,0x0400+102,1000,myString)
win.debug(len)
for( local _i = 1; _i < len ; _i = _i +1)
win.debug("<"++myString.select(_i,_i+1)++">")
endfor
win.debug("<"++myString++">")
[/code]
it seems that only the first char of the buffer is returned.... message seems
to be correctly received as the correct number of char is returned (len)
ex "C:\PPro\script\" should be returned with len = 15, i got :
myString = C
len = 15
If i select another drive, i got only the first character.
Do you have any clue ??