Make the pointer follow the movement of the up and down keys.

DanielMonteagudo

2019-10-05 04:35:27

How do I get the mouse arrow to follow the movement every time I press with the up or down keys? Here I share a video as an example of what I would like to do. (I did it by moving the mouse and the up and down arrow keys).


Attachments:

Sample Video.mp4

Steve-Bome Forum Moderator

2019-10-05 06:02:43

Hi, while you could in fact send mouse movement comments in conjunction with arrow up and down commands, there would be no way to guarantee that the pointer and mouse will stay aligned as Bome will have no knowledge of the true cursor position to send the proper mouse position. For instance you can use up and down arrow keys anywhere on the screen (not just the menu items and MT Pro would not know where it is.

Is there a reason you want to do this? Is the intent to click on the position of the cursor with intent on the mouse position being at the same place?

There may be a shortcut to achieve the intended result. (Like OPTION Enter).

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

dmonteagudo1234

2019-10-06 19:23:55

Sorry for delaying in responding. Answering your questions, I want to do this, because it is a simpler way to control Ableton, since I have a Xone K2 controller, at the time of making my productions, I can go through the Live browser freely without using the mouse. The intention is that when I go through the browser and find the file you are looking for, I managed to paste it in the Arrangement view, for this I made a command in Bome, such as CMD + C and CMD + V, but at the moment it works already I can\'t slide through the browser. I saw a solution for this, with a video tutorial from you, about how to use a MIDI controller to control the mouse pointer, so when you click on it, you return to the browser position, but not specifically in the file that was selected before, I hope you let me understand.

OPTION ENTER option, I did not understand how to use it.

Here is a video of a producer called Madeon, where he manages to do it with his Xone K2 controller (using the 360-degree rotating knob) and Bome Midi, the quality of the video is disastrous, but I hope you understand me, or maybe I\'m wrong.


Attachments:

Video Sample 2.mp4

Steve-Bome Forum Moderator

2019-10-07 17:13:12

In the video, he is just using enter to move the selection into the currently selected track. If you want to drag and drop the selection into a different track,  then you would have to do this with mouse movements (or simulated mouse movement on your Xone K2) and not keystrokes.

You would have to know both the starting and ending points on the screen you want for your drag and drop operation.  Then you could have set up a translator to go to the starting coordinates and press mouse down. The next translator would move to the ending coordinates (after some delay) and then issue mouse up action. Of course you would always need be sure the coordinates on your screen are always in the same place.  There is nothing in MT Pro that can detect the current coordinates from the operating system although if you capture them after a MT Pro mouse movement, you should be able to track all the movements that are done by MT Pro only in global variables. Of course if you move the real mouse then the coordinates would be off again.

If you are running on Windows PC, I have a program called MIDIBuddy to detect mouse coordinates and send this information to MT Pro.  But to me it looks like you are using Mac so that would not work.

If you want to use your Xone K2 is to use knobs to position the mouse pointer (not cursor) and buttons to generate click down and click up you would:

Move the mouse with knobs to the starting position and press the click down button. The move the mouse with your knobs to the ending position and then press the click up button to complete the drag and drop operation.

 

 

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

 

dmonteagudo1234

2019-10-10 04:17:14

Sorry for delaying in responding, I clearly understand your explanation, but when it comes to replicating it in Bome, it is difficult for me to achieve it. Would you be so kind as to give me a demonstration project on how to do it?

Steve-Bome Forum Moderator

2019-10-10 07:09:00

comment

I’ll try and get a simple sample for you tomorrow.

Steve-Bome Forum Moderator

2019-10-10 18:19:47

OK, try the attached

The lower left knob turn controls the horizontal mouse position

The lower right knob turn controls the vertical mouse position

I’ve set sensitivity to 10.

If also set a maximum mouse horizontal position to 1024 as global variable gc and the maximum vertical mouse position to 768 as global variable gd.  You can change this for your display resolution by changing the rules of translator 0.2 (Init global variables) and then saving and re-opening the project.

I set the movement resolution as 10 pixels which you can change in the value of pp for translators 1.0 and 1.1.

Pushing down on the left knob will send click down only.

Pushing down on the right knob will send click up only.

To drag, you need to position the cursor at the starting position (in the browser menu) and press the left knob.  Now you can move the cursor to where you want to drop it and press the right knob to release the mouse down button.

Let me know how it works out for you.

 


Attachments:

Xone-Mouse-Control-2019-10-10.bmtp

dmonteagudo1234

2019-10-10 23:01:13

It works perfectly, really thank you very much for your help!

Steve-Bome Forum Moderator

2019-10-10 23:33:49

comment

Glad to help! Could you please mark as resolved?