mlloz Posted July 20, 2007 Share Posted July 20, 2007 whats wrong with this code? $title = 'Device Manager' Run(@SystemDir & '\mmc.exe ' & @SystemDir & '\devmgmt.msc', @SystemDir) ProcessWait('mmc.exe') WinActivate($title) WinWaitActive($title) WinMove($title, '', 50, 20, @DesktopWidth - 100, @DesktopHeight - 100) Sleep(2000) Send('!vw{TAB}*{TAB}{HOME}') its working but the asterisk doesnt, why? Link to comment Share on other sites More sharing options...
DW1 Posted July 20, 2007 Share Posted July 20, 2007 Send("*", 1) AutoIt3 Online Help Link to comment Share on other sites More sharing options...
mlloz Posted July 20, 2007 Author Share Posted July 20, 2007 still not working.. Link to comment Share on other sites More sharing options...
DW1 Posted July 20, 2007 Share Posted July 20, 2007 what version are you running, that worked for me just fine ( I tested it ) AutoIt3 Online Help Link to comment Share on other sites More sharing options...
mlloz Posted July 20, 2007 Author Share Posted July 20, 2007 v3.2.4.9 Link to comment Share on other sites More sharing options...
mikehunt114 Posted July 20, 2007 Share Posted July 20, 2007 Try: Send("!vw{TAB}{*}{TAB}{HOME}", 1) IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font] Link to comment Share on other sites More sharing options...
mlloz Posted July 20, 2007 Author Share Posted July 20, 2007 lol the send command doesn't work at all.. Link to comment Share on other sites More sharing options...
DW1 Posted July 20, 2007 Share Posted July 20, 2007 (edited) LOL, You should not have said "its working but the asterisk doesnt, why?" then What is this script supposed to do? EDIT: Where do you want to send the text? Edited July 20, 2007 by danwilli AutoIt3 Online Help Link to comment Share on other sites More sharing options...
mlloz Posted July 20, 2007 Author Share Posted July 20, 2007 $title = 'Device Manager' at 'Device Manager' window, to expand the devices list.. Link to comment Share on other sites More sharing options...
DW1 Posted July 20, 2007 Share Posted July 20, 2007 what is the "w" for? after you goto the View menu via Alt-v AutoIt3 Online Help Link to comment Share on other sites More sharing options...
mlloz Posted July 20, 2007 Author Share Posted July 20, 2007 w: show hidden devices.. the problem just in asterisk everything else is working good.. Link to comment Share on other sites More sharing options...
DW1 Posted July 20, 2007 Share Posted July 20, 2007 (edited) $title = 'Device Manager' Run(@SystemDir & '\mmc.exe ' & @SystemDir & '\devmgmt.msc', @SystemDir) ProcessWait('mmc.exe') WinActivate($title) WinWaitActive($title) WinMove($title, '', 50, 20, @DesktopWidth - 100, @DesktopHeight - 100) Sleep(2000) Send('!vw{tab}') For $times = 1 to 20 Send("{Down}") Next For $times = 1 to 20 Send("{Right}{Up}") Next Works EDIT: What is the "*" for then Edited July 20, 2007 by danwilli AutoIt3 Online Help Link to comment Share on other sites More sharing options...
mlloz Posted July 20, 2007 Author Share Posted July 20, 2007 well, it takes time to complete.. really why it doesn't work with '*' Link to comment Share on other sites More sharing options...
DW1 Posted July 20, 2007 Share Posted July 20, 2007 (edited) Got it $title = 'Device Manager' Run(@SystemDir & '\mmc.exe ' & @SystemDir & '\devmgmt.msc', @SystemDir) ProcessWait('mmc.exe') WinActivate($title) WinWaitActive($title) WinMove($title, '', 50, 20, @DesktopWidth - 100, @DesktopHeight - 100) Sleep(2000) Send('!vw{tab}{NUMPADMULT}') ; "*" will not work because the key you are looking for is "multiply" EDIT: * = shift 8 Edited July 20, 2007 by danwilli AutoIt3 Online Help Link to comment Share on other sites More sharing options...
mlloz Posted July 20, 2007 Author Share Posted July 20, 2007 yes, its working now, thanks alot Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now