[Closed] Camera editor UI – mouse position in ms window?
Is there a way to get the mouse cursor position within a running maxscripted window?
The reason is that I’m thinking about how to make a camera editor UI like this:
So in order to be able to change the lengths of the clips I’m attempting to use buttons. I want the clip length to be changed when dragging the ‘<’ and ‘>’ buttons – but to do so, I need to find out how to get the position of the mouse pointer within the maxscript window.
If I can get this to work – the final script would properly work like Michael Comet’s Camera manager: http://www.comet-cartoons.com/toons/maxscript.cfm
Are there any other cam editors scripts for max I should check out?
So the question is how do I get the mouse cursor position within a running maxscripted window?
Zacky
Hi,
This should do what you need:
rollout new “”
(
on new mouseMove pos do print pos
)
createDialog new 300 200
Light
Thanks – that was what I was looking for!
What camera manager/editor scripts/plugins are you guys using?