Hi.

--- In [email protected], "hhoq8x54b" <[EMAIL PROTECTED]> wrote:
> > dll.call("FindWindowEx|ui[2] s s!", win.handle("filedialog"), 
> > 0, "SHELLDLL_DefView", "").sendMessage(0x111, 28716, 0)
> > (all in one line)
> > You can place this in the command list that runs when new windows 
> > open, with an entry of "filedialog" and it will sort all 
filedialogs.

> Thanks for the help, but I cannot get this to work. Could you go into
> a bit more detail setting this up? I tried to do as said, but the
> files are not sorted differently in the run window and I get 2 error
> windows that popup after closing the window.

For the command above to work you need the dll-plugin (file-section, 
plugins and addons). Do you have that installed?

This command should work without dll-plugin, though:
win.handle("filedialog", "FolderView").parent.sendMessage(0x111, 
28716, 0)
(all in one line)

Did you define a command list that runs when new windows open?
If not, create a new command-list, add an entry with:
Name: filedialog
Left command: win.handle("filedialog", "FolderView").parent.sendMessage
(0x111, 28716, 0)
Then in command list dialog click "setup". Under the tab "Special 
Lists" is a combo-box for "Open: ...". Choose the command-list that 
you created. That should do.

Mockey




Reply via email to