Page 1 of 2

a command for.....

Posted: 18 May 2015 05:01
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?

Re: a command for.....

Posted: 18 May 2015 09:12
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.

Re: a command for.....

Posted: 18 May 2015 17:15
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

Re: a command for.....

Posted: 19 May 2015 21:23
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

Re: a command for.....

Posted: 19 May 2015 21:25
by Softcore
For alt + F4

this

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

will be:

keycomboout(target,0,1,0,115);

Re: a command for.....

Posted: 22 May 2015 17:07
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

Re: a command for.....

Posted: 22 May 2015 20:54
by Softcore
No not CCs....its the values you are supposed to put in the script in the place of "key" value.

Re: a command for.....

Posted: 22 May 2015 20:57
by Softcore
Here's an example

Re: a command for.....

Posted: 22 May 2015 21:07
by digitalson
u are the man,,,,what daw do u use?

Re: a command for.....

Posted: 22 May 2015 21:27
by Softcore
Not Cubase - but dont worry. Im sure many other Lemur-Cubase users will appreciate your template. ;)