--- In [email protected], "Sheri" <sheri...@...> wrote: > > > --- In [email protected], "majesticartz" <majesticartz@> > wrote: > > > > Objective: Hotkey to switch file dialogs display to thumbnails. > > > > The following command is tied to a hotkey defined for all filedialog > windows. (save as, file open, etc.) > > > > window postmessage wm_command 28717 active. > > > > Why does it not work? > > > > You're missing an argument for one thing. > > window postmessage wm_command 28717 0 active > > For another, "active" is likely not the right window. Following should > work. > > window > postmessage > wm_command 28717 0 &(win.parent(win.handle("filedialog","FolderView"))) > > Regards, > Sheri >
Try sendmessage if that doesn't work you are emulating a menu selection which I believe is given to programs via sendmessage.
