Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

keystroke onClick()

Status
Not open for further replies.

BennySHS

Programmer
Mar 15, 2005
32
DE
Hi there,

I want to do the following:
When a form is submitted, I need a function which provokes a keystroke, for instance F11.

Is this possible to do with javascript ?
Thx a lot,
greets ben
 
No. It's not possible.

What are you attempting to do? f11 sets my screen to "full screen" when in Firefox on Windows... do you want to make the browser fit the screen? Wouldn't it be easier to just resize the window?

Cheers,
Jeff

[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]
 
hi!

the f11 was a bad example...it doesn't matter which key is the hotkey.

What I want to do:

I work on an php-based backoffice-software and need this functionality:
A user got a touchscreen and in the backoffice-software is an javaapplet where you can paint something.
The user should be able to write somethign with his pen and send this written info as a message.
For that I need to make a screenshot and send this via form to the server. (On the client a little delphi-tool is installed which make screenshots and safe it to disk on a definable hotkey)

In short: I want to execute this little screenshot-tool per shorcut via javascript.

Hope you understand my problem,
thx & greets ben
 
Maybe there is a solution with an ActiveX control. You certainly cannot do what you want using Javascript alone.

A ActiveX solution (should one exist) will only work on IE for Windows. A little out of my scope I'm afraid.

Cheers,
Jeff

[tt]Jeff's Page [/tt][tt]@[/tt][tt] Code Couch
[/tt]
 
Hi Ben,

Maybe a flash application is a better solution for your project.

Have a go in the Macromedia: Flash Forum = forum250

Best Regards


Jakob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top