Hello,
i need help with scripting right click menu navigation in Davinci Resolve. In previous version of resolve something like this worked for me:
and here is what I would achieve:
After I updated Resolve to new version it seems Acc.DoDefaultAction wouldn't navigate to submenu as I get error there. Adding delays also doesn't solve the problem. Is there any other solution to navigate to submenu?
I just found a workaround - I replaced Acc.DoDefaultAction with Acc.Mouse(1) and it works but it's not as fast as it was earlier. If anyone has a better solution for this I'll be happy to try it.
i need help with scripting right click menu navigation in Davinci Resolve. In previous version of resolve something like this worked for me:
POINT _m;
xm _m
rig
int w1=wait(15 WV win("Resolve" "Qt5152QWindowPopupDropShadowSaveBits"))
err
out "w1 not found"
end
out "w1 = %i" w1
Acc a.Find(w1 "MENUITEM" "Groups" "" 0x1000 0)
err
clo w1
out "Groups not found"
end
a.DoDefaultAction
Acc b.Find(w1 "MENUITEM" "Maniek 3" "" 0x1000 0)
err
out "Maniek 3 not found"
clo w1
end
b.DoDefaultAction
Acc c.Find(w1 "MENUITEM" "Assign to Group" "" 0x1000 0)
err
out "Assign to group not found"
clo w1
end
c.DoDefaultAction
clo w1
mou _m.x _m.y
and here is what I would achieve:
After I updated Resolve to new version it seems Acc.DoDefaultAction wouldn't navigate to submenu as I get error there. Adding delays also doesn't solve the problem. Is there any other solution to navigate to submenu?
I just found a workaround - I replaced Acc.DoDefaultAction with Acc.Mouse(1) and it works but it's not as fast as it was earlier. If anyone has a better solution for this I'll be happy to try it.