Valradica Vale
Registered User
Join date: 8 Oct 2006
Posts: 11
|
10-06-2009 15:20
Does anyone out there know how to feed the keyboard buffer from LSL? is there a channel somewhere I can send to that will allow me to manipulate, for example, the arrow keys or feed a tab character to Secondlife? This would be amazingly helpful if I could. ---Desperate in the Metaverse ---
|
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
10-06-2009 18:32
do you mean llTakeControls? http://www.lslwiki.net/lslwiki/wakka.php?wakka=llTakeControlsthat's only limited to a certain number of keys. however, you could make a set of gestures that each one is triggered by a different key and will say a command for a listen event, IE; the script could listen on a specified channel for commands from the owner by the name of the key for each gesture you could have like you say the tab key trigger a gesture, and the gesture can make you say "tab" on the specified channel
|
Valradica Vale
Registered User
Join date: 8 Oct 2006
Posts: 11
|
Keyboard antics
10-07-2009 03:44
No, what I am trying to do, is to be able to send characters to the keyboard buffer from scripts - so for example I want to be able to sen Ctrl-Alt-T (make transparent things visible) from a script or be able to send Tab-Tab-Tab to navigate a dialogue box. Sort of like the VB Sendkeys command.
|
Haravikk Mistral
Registered User
Join date: 8 Oct 2005
Posts: 2,482
|
10-07-2009 04:25
It isn't possible to directly manipulate a user's viewer in this way via script. There are some viewers out there though that have been edited to do things upon receiving a specific command via chat, but that seems overkill.
_____________________
Computer (Mac Pro): 2 x Quad Core 3.2ghz Xeon 10gb DDR2 800mhz FB-DIMMS 4 x 750gb, 32mb cache hard-drives (RAID-0/striped) NVidia GeForce 8800GT (512mb)
|
Vance Adder
Registered User
Join date: 29 Jan 2009
Posts: 402
|
10-07-2009 10:00
Depending on what you want to do, there may be alternate solutions, but there are some things that you just can't do.
|