Jump to content

Recommended Posts

Posted

image.thumb.png.fbae9a7ec4d6db70285de9279c9890f7.png

As shown in the figure,

I've to right click on selected window which further opens a menu In which I've to select print option.

I've reached till selecting the window but unable to code the part further,

could someone help me out in this.

Local $hWn = WinWaitActive("[CLASS:MMCMainFrame]")
ControlTreeView($hWn, "", "SysTreeView321", "Expand", "#0|#2")
ControlTreeView($hWn, "", "SysTreeView321", "Expand", "#0|#2|#1")
ControlTreeView($hWn, "", "SysTreeView321", "Expand", "#0|#2|#1|#1")
local $a = ControlTreeView($hWn, "", "SysTreeView321", "GetItemCount", "#0|#2|#1|#1")

ControlTreeView($hWn, "", "SysTreeView321", "Select", "#0|#2|#1|#1|#1")

 

This is the part which I've coded.

  • Jos locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...