XWidgetSoft Forum https://www.bbs.xwidget.com/ |
|
Button Function https://www.bbs.xwidget.com/viewtopic.php?f=8&t=3286 |
Page 1 of 1 |
Author: | Ankur [ June 20th, 2013, 10:53 pm ] |
Post subject: | Button Function |
I have created a button in Xwidget and I want that when I click it, it should perform same function which is performed when you press [Start]+[Tab] on the keyboard...... |
Author: | Tony [ June 25th, 2013, 5:30 am ] |
Post subject: | Re: Button Function |
Hi, You can sent key with script ,etc: Code: var WshShell = new ActiveXObject('WScript.Shell')
WshShell.SendKeys('{F1}'); |
Author: | Ankur [ June 25th, 2013, 7:42 am ] |
Post subject: | Re: Button Function |
Thanks, it works well for function keys but it did not work for start, tab, Ctrl,Alt buttons etc... |
Author: | masha [ July 5th, 2013, 12:13 am ] |
Post subject: | Re: Button Function |
Hello. I have the same problem. Would you, please, tell me how to set the hotkeys "Win+B+Enter" on a button correctly? I need a script or is it possible to do via suggested? !KeyInput=91 (just winkey) processed correctly, but I need a combination. Alternatively, does anybody know how to derive corresponding functions from user32.dll set them to buttons? |
Author: | hamid [ December 4th, 2013, 2:28 am ] |
Post subject: | Re: Button Function |
Ankur wrote: Thanks, it works well for function keys but it did not work for start, tab, Ctrl,Alt buttons etc... Sending Keystrokes to a Program: http://technet.microsoft.com/en-us/libr ... 56592.aspx it only doesn't work for [win-key] but it works for other keys. |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |