Hello Raveen,
I have found the problem.
Code:
Move (FindWindow("#32770","Browse For Folder")) to hWnd
I have my operating system configured in spanish, so the caption of the dialog is "Buscar carpeta", not "Browse For Folder".
Knowing this I tried to parameterize the caption, but no luck.
I have changed
Code:
Get BrowseDialogEx sPath sTitle "" (BIF_RETURNONLYFSDIRS ior BIF_NEWDIALOGSTYLE) to sPath
to
Code:
Get BrowseDialogEx sPath sTitle "MyCaption" (BIF_RETURNONLYFSDIRS ior BIF_NEWDIALOGSTYLE) to sPath
and obviously the conditional
Code:
Move (FindWindow("#32770","MyCaption")) to hWnd
It seems that the caption can't be setup because it still shows "Buscar carpeta" after this change.
Regards.