If anyone got bored, try the following one. It'll work only with PP's
FileDialog's because of the thread problem.
After saving the script as FileDialog.PowerPro, execute the following
as a script in PP's note.
event.createms(20,1,"exec.browserun")
wait.until(3000,anywindow "FileDialog")
.FileDialog(pprofolder)
------------------- FileDialog.PowerPro ------------------------------
Function FileDialog(sPath)
local psb,pidl,hRes,xPath
dll.call("MultiByteToWideChar|ui ui s+ i s520 i";;+
,0,0,"sPath",-1,"xPath",260)
dll.call("shell32|SHParseDisplayName|s+ ui ui* ui ui";;+
,"xPath",0,"pidl",0,0)
// WM_GETISHELLBROWSER
psb=win.handle("FileDialog,&,=PowerPro").SendMessage(0x407)
if(psb)do
hRes=dll.call(dll.dereference(dll.dereference(psb)+4*11);;+
++"|ui ui ui",psb,pidl,0)
endif
----------------------------------------------------------------------
Sean