thekenny Posted September 22, 2006 Share Posted September 22, 2006 Anyone know how to determine what the location of your mouse is in respect to a viewer pane? I'm wondering if we can script hudsliders to be plunked down just below the cursor location and then turn them off quickly. I know we can do the creation and the rest with hudsliders.. pomscript tells you how. I'm not sure about getting the location right. thoughts. -k Quote Link to comment Share on other sites More sharing options...
Jason Posted September 23, 2006 Share Posted September 23, 2006 Hmm, I wonder if there are any HDK functions to do it? I kinda doubt it... Sounds like a useful idea what with the instantaneous HUDsliders though Perhaps there is a way to script use the Channel List selection + "j" key feature to do the equivalent thing? Although I'll bet the Channel List features are not very scriptable either. You'd also have to have a Channel List present to do it, I suppose. Quote Link to comment Share on other sites More sharing options...
edward Posted September 23, 2006 Share Posted September 23, 2006 Try exhelp mouse. That may give you the path to the viewer that you need to create your handles. I don't think you can get the x,y position. Quote Link to comment Share on other sites More sharing options...
Jason Posted September 24, 2006 Share Posted September 24, 2006 Try exhelp mouse. That may give you the path to the viewer that you need to create your handles. I don't think you can get the x,y position. Not knowing what the RE class is all about, I spotted some mouse position functions in the RE_GenWindow class. Edward, do you know if these can be used somehow? Quote Link to comment Share on other sites More sharing options...
edward Posted September 24, 2006 Share Posted September 24, 2006 I don't see any mouse functions there? Anyhow, if you wanted raw mouse co-ordinates then the Mouse CHOP can be used. That's not the problem though, there's no way to convert the mouse co-ordinates into a suitable numbers relative to the viewer pane. Quote Link to comment Share on other sites More sharing options...
Jason Posted September 24, 2006 Share Posted September 24, 2006 I don't see any mouse functions there? Anyhow, if you wanted raw mouse co-ordinates then the Mouse CHOP can be used. That's not the problem though, there's no way to convert the mouse co-ordinates into a suitable numbers relative to the viewer pane. Ah you're right. Too bad. The quick search just showed some mousex and mousey matches and I just assumed... As for the other alternate idea to script ChannelListPane parameter selection, it doesn't seem like the chanlist or parmlist hscript functions support the selection of any parameters - which it probably should. Quote Link to comment Share on other sites More sharing options...
michael Posted September 25, 2006 Share Posted September 25, 2006 there must be something in there since when you RMB and select some of the options the new window pops up directly under the mouse... though this stuff might not be exposed.... stupid animators and their silly requests.... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.