a command for.....

Discuss Lemur and share techniques.
digitalson
Regular
Posts: 143
Joined: 21 Mar 2015 02:26

a command for.....

Post by digitalson »

is there a way to impliment standard ascii keyboard commands in lemur,,1 reason when opening some windows i would like to close them with a command instead of mouse x ,alt+f4 closes windows ,can this be done in lemur?,,marker window for ex ,but the pool window closes when u hit it again,,,,,anybody?
MrCorba
Regular
Posts: 142
Joined: 02 Sep 2013 20:17
Location: Netherlands

Re: a command for.....

Post by MrCorba »

According to the manual this should be easy:
keycomboout(target,ctrl,alt,shift,key) :
outputs a simultaneous key strokes combination to the defined KbMouse Target.
keyout(target,key,state) :
outputs a single key stroke to the defined KbMouse Target.
"Having no silence in music is like having no black or white in a painting" - Brian Eno
https://soundcloud.com/mrcorba
digitalson
Regular
Posts: 143
Joined: 21 Mar 2015 02:26

Re: a command for.....

Post by digitalson »

im sorry but can u provide examples for alt+f4 to close a window as well as enter for dialogs all using buttons....thanks
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: a command for.....

Post by Softcore »

q 81
w 87
e 69
r 82
t 84
y 89
u 85
i 73
o 79
p 80
[ 219
] 221
\ 220
a 65
s 83
d 68
f 70
g 71
h 72
j 74
k 75
l 76
; 186
' 222
z 90
x 88
c 67
v 86
b 66
n 78
m 77
, 188
. 190
/ 191
up 38
down 40
left 37
right 39
space 32
Win 91
capslock 20
tab 9
enter 13
backspace 8
'(?) 129
1 49
2 50
3 51
4 52
5 53
6 54
7 55
8 56
9 57
0 48
- 189
= 187
num+ 107
num- 109
PgUp 33
PgDn 34
ins 45
del 46
home 36
end 35
F1 112
F2 113
F3 114
F4 115
F5 116
F6 117
F7 118
F8 119
F9 120
F10 121
F11 122
F12 123
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: a command for.....

Post by Softcore »

For alt + F4

this

keycomboout(target,ctrl,alt,shift,key);

will be:

keycomboout(target,0,1,0,115);
digitalson
Regular
Posts: 143
Joined: 21 Mar 2015 02:26

Re: a command for.....

Post by digitalson »

are those note nums or cc's,,,,ill figure it out or maybe u can give ma an example on how to make a button not a pad do alt+f4 to close a window and enter to input something,,,,btw u are so helpful to many people ,,,my project is almost done,what daw are u using? mine is for cubase pro 8,and thanks to it kicks lots of ass,,the transport section alone with 2" of ipad space does like 48 or 52 commands alone,how cool is that,,,ill send more pics when close..thanks for your advavced skills in programing ,without we would all be lost
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: a command for.....

Post by Softcore »

No not CCs....its the values you are supposed to put in the script in the place of "key" value.
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: a command for.....

Post by Softcore »

Here's an example
Attachments
alt+f4.jzml
(2.61 KiB) Downloaded 113 times
digitalson
Regular
Posts: 143
Joined: 21 Mar 2015 02:26

Re: a command for.....

Post by digitalson »

u are the man,,,,what daw do u use?
Softcore
Regular
Posts: 1613
Joined: 04 Nov 2012 08:34

Re: a command for.....

Post by Softcore »

Not Cubase - but dont worry. Im sure many other Lemur-Cubase users will appreciate your template. ;)
Post Reply