Sign in to follow this  
Followers 0
Yuraj

Hotkey in menu?

7 posts in this topic

#1 ·  Posted (edited)

It's a possible create in menu this (Hotkey):

Posted Image

Thanks for help!

Edited by Yuraj

ShellExecute("http://www.yuraj.ucoz.com")ProcessClose(@AutoItPID)

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

You want to set hokeys "on the fly"?

Like you can do in gimp?

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

#7 ·  Posted (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 by Yuraj

ShellExecute("http://www.yuraj.ucoz.com")ProcessClose(@AutoItPID)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0