Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Select an Item in Windows Explorer Context Menu
#1
In Windows Explorer when I click one of the folders on the left panel, then I highlighted all of the items in that folder from the right panel. Next I right click on the selected files and see a pop-up menu come up.
My question is: Is there a way to select a chosen item in that pop-up menu context? Let's say in that context menu I have an item call PowerISO and I want to select this item using QM.
#2
Macro Macro2521
Code:
Copy      Help
str menuItemText="Properties"
;str menuItemText="PowerISO"

#region  delete this if you invoke the menu manually
int w=win("" "CabinetWClass"); if(!w) w=win("" "ExploreWClass")
act child("" "SysTreeView32" w)
key T Ca SF10   ;; Tab Ctrl+A Shift+F10
#endregion

int w2=wait(30 WV win("" "#32768")) ;;context menu
Acc a.Find(w2 "MENUITEM"  menuItemText "" 0x1000 3)
a.DoDefaultAction
#3
Works like a charm, thanks a lot.


Forum Jump:


Users browsing this thread: 1 Guest(s)