Jump to content

Location Of Mouse In The Viewer


thekenny

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...