Yuraj Posted September 29, 2006 Share Posted September 29, 2006 (edited) It's a possible create in menu this (Hotkey):Thanks for help! Edited September 29, 2006 by Yuraj ShellExecute("http://www.yuraj.ucoz.com")ProcessClose(@AutoItPID) Link to comment Share on other sites More sharing options...
Xenobiologist Posted September 29, 2006 Share Posted September 29, 2006 HI, sure why not? I ve done that in my Yahtzee (see sig.) Make a HotkeySet ... and write the hotkey in the label. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Yuraj Posted September 29, 2006 Author Share Posted September 29, 2006 Make a HotkeySet ... and write the hotkey in the label.Ok, i can, well ,,write the hotkey'' is not correctly.The problem is align of the hotkey text... ShellExecute("http://www.yuraj.ucoz.com")ProcessClose(@AutoItPID) Link to comment Share on other sites More sharing options...
dabus Posted September 29, 2006 Share Posted September 29, 2006 You want to set hokeys "on the fly"? Like you can do in gimp? Link to comment Share on other sites More sharing options...
Yuraj Posted September 29, 2006 Author Share Posted September 29, 2006 You want to set hokeys "on the fly"?Like you can do in gimp? Sorry, I don't understand. What is hotkey "on the fly"? :"> ShellExecute("http://www.yuraj.ucoz.com")ProcessClose(@AutoItPID) Link to comment Share on other sites More sharing options...
Xenobiologist Posted September 29, 2006 Share Posted September 29, 2006 Hi, I think he means that the user can define which hotkeys causes what in your script. But I do not get your problem. Creating the hotkey is not the prob? What the hell is it? So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
Yuraj Posted September 29, 2006 Author Share Posted September 29, 2006 (edited) The e.g. $MenuItem4 include this text ,,New CTRL+N'' and i requiere this text (hotkey) CTRL+N align exactly to right. It's a possible? Ok, here is source code: #include <GUIConstants.au3> $Form1 = GUICreate("AForm1", 633, 447, 193, 115) $MenuItem2 = GUICtrlCreateMenu("Menu") $MenuItem4 = GUICtrlCreateMenuItem("New CTRL+N", $MenuItem2) ;The CTRL+N is not exactly align to right $MenuItem3 = GUICtrlCreateMenuItem("Open CTRL+O", $MenuItem2) ;The CTRL+O is not exactly align to right $MenuItem1 = GUICtrlCreateMenuItem("Save CTRL+S", $MenuItem2) ;The CTRL+S is not exactly align to right GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Yuraj Edited September 29, 2006 by Yuraj ShellExecute("http://www.yuraj.ucoz.com")ProcessClose(@AutoItPID) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now