Jump to content

vikrams

Members
  • Posts

    7
  • Joined

  • Last visited

vikrams's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. thanks Orbs about Devcon, actually i want to automatation on autoit. Please if you have any idea about what is wrong in the above code
  2. Hi All , I want to automate driver installation using device manager . I am able to get device manager windows pop up but i am not able to select root tree item . Please let me know i am missing something given below code #Include <GuiTreeView.au3> ShellExecute('devmgmt.msc') WinWaitActive("Device Manager") Global $hTree = ControlGetHandle("Device Manager", "", "[Class:SysTreeView32;Instance:1]") MsgBox(0, "ControlGetHandle Example", "The control handle of Edit1 is: " & $hTree) $hItem = _GUICtrlTreeView_FindItem($hTree, "Human Interface Device", True) _GUICtrlTreeView_SelectItem($hTree, $hItem, $TVGN_CARET) $next = _GUICtrlTreeView_GetNext($hTree, $hItem) ; Focus treeview and Send Enter ControlFocus("Device Manager", "", $hTree) ControlSend("Device Manager", "", $hItem, "{ENTER}") Exit Thanks and Regards, Vikram
  3. Please reply me soon
  4. Hello, I am able to open device manager but i am not able to select Device manager tree. i used {TAB} for selecting tree but it is not working Please let me know anything i am missing . Run( @comspec & " /c start devmgmt.msc","", @SW_HIDE) WinWait("Device Manager") WinActivate("Device Manager") Send("{TAB 2}") Send("+") Thanks and Regards, Vikram
  5. Please reply me as soon as possible
  6. Hello, I am able to open device manager but i am not able to select Device manager tree. i used {TAB} for selecting tree but it is not working Please let me know anything i am missing . code: Run( @comspec & " /c start devmgmt.msc","", @SW_HIDE) WinWait("Device Manager") WinActivate("Device Manager") Send("{TAB 2}") Send("+")
  7. Hello, I am able to open device manager but i am not able to select Device manager tree. i used {TAB} for selecting tree but it is not working Please let me know anything i am missing . code: Run( @comspec & " /c start devmgmt.msc","", @SW_HIDE) WinWait("Device Manager") WinActivate("Device Manager") Send("{TAB 2}") Send("+")
×
×
  • Create New...