EdDyreen 0 Posted March 16, 2011 I have a function named 'Func Process_List_Properties ( $process = "", $sComputer = "." )' it uses this command: $oWMI.ExecQuery I looked it up in the help but it isn't listed there ? Why isn't this command listed in autoit help & what does it do ? I would like to include this VBSCRIPT: dim objShell set objShell = CreateObject ( "Shell.Application" ) objShell.ControlPanelItem ( "main.cpl @0,2" ) So far, this is what i have: $objShell = ObjCreate("shell.application") I am using au3 in a virtual machine so i need to enable mousetrails otherwise mouse won't work ! Any suggestions ? • Any number images • Images of any size • Any number of URLs • Any number of lines Share this post Link to post Share on other sites
wakillon 403 Posted March 16, 2011 You can open mouse properties withRun ( "rundll32.exe shell32.dll,Control_RunDLL main.cpl,@0,2" )but Mouse settings can be done via registry...RegWrite ( 'HKEY_CURRENT_USER\Control Panel\Mouse', 'MouseTrails', "REG_SZ", 1 ) RunWait ( "Rundll32.exe user32.dll,UpdatePerUserSystemParameters" ) AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Share this post Link to post Share on other sites
Juvigy 49 Posted March 17, 2011 $oWMI.ExecQuery is a WMI windows function. You can find the details for WMI via google. It is not an native AutoIt function. Share this post Link to post Share on other sites
EdDyreen 0 Posted March 19, 2011 GREAT :-) • Any number images • Images of any size • Any number of URLs • Any number of lines Share this post Link to post Share on other sites
Andreik 66 Posted March 19, 2011 Check function using WMI object to get process list informations. When the words fail... music speaks Share this post Link to post Share on other sites
EdDyreen 0 Posted March 19, 2011 but Mouse settings can be done via registry... RegWrite ( 'HKEY_CURRENT_USER\Control Panel\Mouse', 'MouseTrails', "REG_SZ", 1 ) RunWait ( "Rundll32.exe user32.dll,UpdatePerUserSystemParameters" ) That seems to work, that is i can see the mouseclicks happenning but where is the mouse ??? If i use 'rundll32.exe shell32.dll,Control_RunDLL Main.cpl' to enable mousetrails the mouse won't vanish. That's weird • Any number images • Images of any size • Any number of URLs • Any number of lines Share this post Link to post Share on other sites