logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Papo  
#1 Posted : Wednesday, August 25, 2021 12:11:09 AM(UTC)
Papo

Rank: Advanced Member

Groups: Registered
Joined: 6/16/2020(UTC)
Posts: 77
Peru

Thanks: 8 times
Was thanked: 2 time(s) in 2 post(s)
Greetings I have not seen how you can use or how is the code to obtain the value of hover in a script, if it is allowed or not yet. Thank you.
Translated from Spanish to English by google
doggy  
#2 Posted : Wednesday, August 25, 2021 1:07:53 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,216
Belgium
Location: Belgium

Thanks: 291 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: Papo Go to Quoted Post
Greetings I have not seen how you can use or how is the code to obtain the value of hover in a script, if it is allowed or not yet. Thank you.
Translated from Spanish to English by google


What is the value supposed to be ?

Have you checked how the Hover option works within a shortcut ?
Papo  
#3 Posted : Wednesday, August 25, 2021 12:07:51 PM(UTC)
Papo

Rank: Advanced Member

Groups: Registered
Joined: 6/16/2020(UTC)
Posts: 77
Peru

Thanks: 8 times
Was thanked: 2 time(s) in 2 post(s)
the value is the input in this case its ID (key).
hover is referred to as an input, which is selected when the mouse pauses within the specific area around the preview (its thumbnail). to which you can apply the function that is required transition, overlay ...
Translated from Spanish to English by google
doggy  
#4 Posted : Wednesday, August 25, 2021 5:49:58 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,216
Belgium
Location: Belgium

Thanks: 291 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: Papo Go to Quoted Post
the value is the input in this case its ID (key).
hover is referred to as an input, which is selected when the mouse pauses within the specific area around the preview (its thumbnail). to which you can apply the function that is required transition, overlay ...
Translated from Spanish to English by google


Correct. a shortcut/function when called determines which input the mouse is currently over instead of specified name or number where input needs to be specified but i do not believe there is a way to extract which one that is within a script (not directly at least).
From what i understand you which to retrieve which thumbnail a mouse is currently over ?
Papo  
#5 Posted : Wednesday, August 25, 2021 11:11:18 PM(UTC)
Papo

Rank: Advanced Member

Groups: Registered
Joined: 6/16/2020(UTC)
Posts: 77
Peru

Thanks: 8 times
Was thanked: 2 time(s) in 2 post(s)
Thanks for your answer.
Hover is designed to work under a shortcut environment; Maybe I have been confused in the way this function works, personally imagine or hope that it was also another alternative to select inputs, and that for example in a script process when calling input.find ("Hover") (only as an example ) It gave me the reference to the entry in which the mouse is located and based on this information, carry out the processing.
Excuse me then, it was just a thought of mine that I could use a form of input selection to perform a process with a script.
thank you for your time
Translated from Spanish to English by google
doggy  
#6 Posted : Wednesday, August 25, 2021 11:23:23 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,216
Belgium
Location: Belgium

Thanks: 291 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: Papo Go to Quoted Post
it was just a thought of mine that I could use a form of input selection to perform a process with a script.


Positioning the cursor for a hover to work would technically be possible but not from within vMix directly.
Autohotkey can for example and one can check what is underneath it for may software but not for vMix as autohotkey can't distinguish the various underlaying input "windows" (have no unique name)

There are several wasy to do a input selection in a script within vMix. Question is what exactly you are trying to achieve
Papo  
#7 Posted : Thursday, August 26, 2021 12:43:17 AM(UTC)
Papo

Rank: Advanced Member

Groups: Registered
Joined: 6/16/2020(UTC)
Posts: 77
Peru

Thanks: 8 times
Was thanked: 2 time(s) in 2 post(s)
example:
I have an image input and 9 multiview layers in it.
I wanted that when hovering the mouse and pressing a key, call the script and distribute the layers so that the layer chosen in the hover is larger and the others smaller, this with an animation using the position and zoom functions.
Translated from Spanish to English by google
doggy  
#8 Posted : Thursday, August 26, 2021 2:03:38 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,216
Belgium
Location: Belgium

Thanks: 291 times
Was thanked: 955 time(s) in 790 post(s)
Originally Posted by: Papo Go to Quoted Post
example:
I have an image input and 9 multiview layers in it.
I wanted that when hovering the mouse and pressing a key, call the script and distribute the layers so that the layer chosen in the hover is larger and the others smaller, this with an animation using the position and zoom functions.
Translated from Spanish to English by google


I believe you are talking about the merge effect between various layouts with the exact same layers but different sizes and /or positions ( to keep it simple) . You could than use the hover effect to initiate them with your shortcut , no script neeed
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.