On Sun, 09 Sep 2007 11:30:29 -0000, "f.doerr" <[EMAIL PROTECTED]> wrote:
>i'm trying to create a script that starts Explorer.exe after >doubleclicking on the Desktop. > >I got as Key/Mouse action set to. >Key/Mouse: "left double anywhere" >Enter command: .DesktopDoubleClick > >----.DesktopDoubleClick.powerpro--------- >if(Win.MainHandleFromPoint(xmouse,ymouse).class == "Progman") Do >Exec cmd.exe This line should not have Exec and should just be cmd.exe >EndIf >Quit >--------- >(cmd.exe is just used for testing) > >Would be great if someone could help me to get this thing working. dleidinger's method is better. Your method will eat all the left double clicks and run the script for each one. It's better to have PowerPro check if you left double clicked on the desktop. Your caption filter can be Program Manager or it can be c=progman. -- Carroll Robbins
