This content has been marked as final. Show 5 replies
How do you press Ctrl-Shift-f11 if there's no keyboard?
Create a variable to be a set value when the CTRL down, SHIFT down, and F11 down- in whatever order you want.
> How do I write my script to allow a button to do this?
What is this virtual keyboard? Presumably an on-screen picture of a
keyboard with keys you click with the mouse? Is it something _you_ have
created, or an external application you are trying to interact with from
We just got done with a Flash kiosk that required a floating virtual keyboard that was called up whenever a text input field was touched and dismissed on “Enter”. We considered (very briefly) using the Windows Vista virtual keyboard (also available on XP) but decided the keys were too small, didn't look organic to the project, and as you pointed out, you have little or no control over the keyboard. Buddy API’s window functions might give you some control but frankly I think it’s just easier to layout your own keyboard. In Flash we used an MC, in Director an MIAW or maybe an LDM would probably be the best approach.
> How do you press Ctrl-Shift-f11 if there's no keyboard?
Reminds me of one of the old haiku error messages:
No keyboard error
Hit F1 to continue
Anyhow, I agree with others that making your own virtual keyboard is
infinitely preferable to trying to use the built-in Windows one, and not
even all that difficult. (Plus, making your own allows you to control WHICH
keys are allowed, for example, not allowing CTRL-ALT-DEL or other such
things, which you probably don't want on a kiosk. A simplified keyboard
with just letters, numbers, and whatever other characters you choose to
allow, and maybe a spacebar, backspace, enter, etc., is just much safer all
around, especially in a kiosk situation where you don't want people to be
able to break out of the program.