Scripting question

Discuss Lemur and share techniques.
Post Reply
Bishbo2000
Newbie
Posts: 9
Joined: 16 Jan 2012 09:32

Scripting question

Post by Bishbo2000 »

Just trying to understand the manual here...

in the keycomboout(target,ctrl,alt,shift,key) script what values do i use if,
i want to output a key command ctrl+9 on expression x
does the ctrl refer to ctrl on the keyboard or a controller value


my script is

keycomboout(0,1,0,0,9); because midi target is 0, ctrl is 1 as in yes, 0 for alt, 0 for shift, and key 9)

how am i doing, am i completely lost??

cheers
Bishbo2000
Newbie
Posts: 9
Joined: 16 Jan 2012 09:32

Re: Scripting question

Post by Bishbo2000 »

Hello............hello..........hell................hel.........he...........h............

mighty spacious in here...
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: Scripting question

Post by Macciza »

Sorry,
With so little happening on the internet these days I don't know how I missed this . . . ;)

Have you tried 57 in place of the 9 ?
Just asciing :ugeek: . . .

Cheers
MM
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Bishbo2000
Newbie
Posts: 9
Joined: 16 Jan 2012 09:32

Re: Scripting question

Post by Bishbo2000 »

yeah ....nah.......that doesn't help.

i am completely lost with what the script is supposed to look like, anyone have an example they can show me?
kraftf
Regular
Posts: 124
Joined: 14 Dec 2011 06:36

Re: Scripting question

Post by kraftf »

Take a look at my alphanumeric keyboard and you'll find most of the code Nos that correspond to characters.

http://liine.net/forum/viewtopic.php?f= ... eric#p3030
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: Scripting question

Post by Macciza »

Hi
Forgot about this one - Bishbo , the '57' solution works - it's ascii for 9 . . .
Check out Krafts keyboard project or get an ascii table . . ,

Cheers
MM
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
Post Reply