Page 1 of 3

Can i make buttons that trigger shortcuts commands?

Posted: 21 Aug 2014 16:06
by indijinouz
Hey can i trigger shortcut commands from lemur? If so how?

Re: Can i make buttons that trigger shortcuts commands?

Posted: 22 Aug 2014 10:31
by eccecello
i do a workaround for this, download the wonderful app quickeys, thanks to it you can write any shortcut for automating any task in your computer, then quickeys allows you also to assign a midi binding to that shortcut.

quickeys takes half an hour to be learned.

you would simply select the incoming midi note or cc from lemur into quickeys, and assign it to desired shortcut.

Re: Can i make buttons that trigger shortcuts commands?

Posted: 22 Aug 2014 11:05
by Softcore
Lemur manual page 131

keycomboout(target,ctrl,alt,shift,key) : outputs a simultaneous key strokes combination to
the defined KbMouse Target.

Syntax example of keycombo ctrl+shift+A on keyboard target 0

Code: Select all

keycomboout(0,1,0,1,65);

keyout(target,key,state) : outputs a single key stroke to the defined KbMouse
Target.

Syntax example of a key "H" pressed

Code: Select all

keyout(0, 72, 1);
of key "H" released

Code: Select all

keyout(0,72,0);

How did I find the numbers that relate to keys A and H?

Here you are!
ASCII table.zip
(694 Bytes) Downloaded 211 times

Re: Can i make buttons that trigger shortcuts commands?

Posted: 22 Aug 2014 15:46
by eccecello
:O

it seems this lemur can do every trick out there!
and you know them all... i couldn't even imagine this one.

but, is there a way to focus on a given app if it is not in front? that would be great.

Re: Can i make buttons that trigger shortcuts commands?

Posted: 02 Sep 2014 18:12
by midimockup
Softcore,
Are you using kbmouse targets successfully? Since I started using Lemur (about 1.5 years now) I have never been able to get the Lemur Daemon to connect to a kbmouse target on either my Mac or PC, even on a totally new clean install, on both my iPad first gen and iPad second gen, Firewall on or off. The Daemon just hangs when I press connect.
Thanks!

Re: Can i make buttons that trigger shortcuts commands?

Posted: 03 Sep 2014 15:24
by Phil999
it works well, although I haven't used it for months. There are a few templates with keycomboout(target,ctrl,alt,shift,key), a general keyboard, one for Gimp. The connection has to be done in the Daemon.

If you fail to connect to the Daemon, try with static IP's on each device (computer and iPad).

Re: Can i make buttons that trigger shortcuts commands?

Posted: 03 Sep 2014 16:02
by midimockup
HI Phil999,
Thanks. Yes I am using static IPs on both devices. Not sure what to say, I've tried everything under the sun. But if you are indeed using it successfully, that at least gives me hope, although I have no idea what to try.

Re: Can i make buttons that trigger shortcuts commands?

Posted: 03 Sep 2014 18:01
by Softcore
Sorry for not replying earlier....I can confirm working perfectly in two windows machines, both Windows 7, one 32bit and one 64bit

Re: Can i make buttons that trigger shortcuts commands?

Posted: 03 Sep 2014 20:06
by Phil999
thank you Softcore.

midimockup, you may have to try again or send us more details. It should work. Does any other Daemon connection work at all, or not? I am using iPads2 for this kind of tasks.

Re: Can i make buttons that trigger shortcuts commands?

Posted: 03 Sep 2014 20:21
by midimockup
Nope, no problems connecting/receiving MIDI from Lemur Daemon via wifi or direct via iConnect midi 4+, or any combination of both.

Steps:
1) Open Lemur Daemon
2) Click Add
3) Open disclosure triangle, Daemon Kbmouse Out
4) Double Click: Mouse and Keyboard
3) Highlight "My iPad v5.03 (169.254.1.11:8001)"
4) Click Connect: nothing happens