03-08-2015, 07:08 AM
Macro Macro2521
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