Issue With Rules

Tags:
0
0

For the past few weeks I’ve been trying to set up a function that makes it so if my mouse is in a certain part of my screen, it skips the outgoing action of moving to a part of my screen that I’ve assigned with the mouse position action. However, I haven’t been able to figure it out. Can someone tell me what im doing wrong here?

Attachments:
Marked as spam
Posted by (Q&A Forum: 1, Answers: 0)
July 30, 2018 3:03 am
16 views
0
Private answer

Hi, in your incoming preset change translator, you are setting the location of the mouse to position to gx,gy, but I don’t see where you have assigned these two global variables any values. Global variables will have a default value of 0 (zero) if not set, so you mouse position should move to location 0,0 on you primary monitor upon activation of that preset? Is this not working? Position 0,0 would be the top left corner of your primary monitor.

For the note-on translator, you are using the value of pp (which is a local variable) for determining whether to move the mouse or not.  Local variables are “undefined” unless you set them so it will just depend on what the undefined value of pp happens to be at the time the translator detects the incoming note. You can assign a value of pp based on the note number channel or velocity of you would like, however the value of pp will be only 0-15 if channel, or 0-127 if note number of velocity. Some controllers only put out a fixed velocity of 127 for note-on and  0 for note-off. However it looks like you really don’t care of the value of the incoming note for setting the mouse position so I’m not quite sure why you have conditions defined here.

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz

 

 

Marked as spam
Posted by (Q&A Forum: 36, Answers: 2763)
July 30, 2018 1:25 pm
Votes
Answers
Topic
0
votes
1
answer
asked 7 months ago by
updated 7 months ago by
Tags:
0
votes
1
answer
asked 1 year ago by
updated 1 year ago by
0
votes
1
answer
asked 1 year ago by
updated 1 year ago by
0
votes
2
answers
asked 1 year ago by
updated 1 year ago by
1
vote
2
answers
asked 2 years ago by
updated 2 years ago by