EXEC_SEND_KEY

You have a question or need an advice about how to do something? Ask it here!
Post Reply
djbony
Posts: 260
Joined: 13 May 2014 08:11
EXEC_SEND_KEY

Post by djbony »

Hello Bernd,
how can I send the key combination CTRL+0. I can't figure it out. Thank you.
User avatar
radio42
Site Admin
Posts: 8350
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: EXEC_SEND_KEY

Post by radio42 »

See here for a complete documentation: https://learn.microsoft.com/en-us/dotne ... mework-4.8

For your example you should specify: ^0
djbony
Posts: 260
Joined: 13 May 2014 08:11
Re: EXEC_SEND_KEY

Post by djbony »

It doesn't work... I want to use it to change a track from a MIDI controller so that I don't have to use the keyboard, but associate a shortcut with a button on the console....
User avatar
radio42
Site Admin
Posts: 8350
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: EXEC_SEND_KEY

Post by radio42 »

It does actually work, but the issue might be that the related control need to have the focus at that time.
And CTRL+0 is a key combo which is only available in the playlist window - so if that playlist window doesn't have the focus at that time it would not work.

But I just added a new v4.4.2.2, to which I added a new dedicated-control command called PLS_CURRENT_REPLACE_WITHALTERNATIVE.
This command will actually execute the CTRL+0 command internally.
djbony
Posts: 260
Joined: 13 May 2014 08:11
Re: EXEC_SEND_KEY

Post by djbony »

Supeeeer :) Thank you and happy new year!

Post Reply