Easy language to write hotkey problems? Easy language registration hotkey problem

Updated on technology 2024-02-09
10 answers
  1. Anonymous users2024-02-05

    Hotkey. Registration (Tab 1.)Take the window handle ()0, F1, > register F1

    Hotkey. Registration (Tab 1.)Take the window handle ()4, F1, & register alt+f1

    Hotkey. Registration (Tab 1.)Take the window handle ()1, F1, > register Ctrl+F1

    Hotkey. Registration (Tab 1.)Take the window handle ()2, F1, > Register, Shift+F1

    Hotkey. Registration (Tab 1.)Take the window handle ()3, F1, > register shift+ctrl+f1

    Hotkey. Registration (Tab 1.)Take the window handle ()5, F1, > register alt+ctrl+f1

    Hotkey. Registration (Tab 1.)Take the window handle ()6, F1, > register Alt+Shift+F1

    Hotkey. Registration (Tab 1.)Take the window handle ()7, F1, > register alt+ctrl+shift+f1

    The following is for reading*****===

    Call format: integer registration hotkey (integer window handle, integer label handle, integer function key, integer main hotkey) - extended function support library one-> hotkey function.

    English name: reghotkey

    Registers a system hotkey, returns a hotkey identifier, and returns 0 if it fails. This command is primary.

    The name of parameter <1> is "Window Handle" and the type is "Integer (int)". Window handle.

    The name of the parameter <2> is "Label Handle" and the type is "Integer (int)". The first parameter in the feedback event is the hotkey identifier and the second parameter is invalid.

    The name of parameter <3> is Function Key, the type is integer (int), and the initial value is 0. It can be: 0-no function key; 1-ctrl key state; 2-shift key state; 4-Alt key state or the sum of the state values of each key.

    The name of the parameter <4> is "Main Hotkey" and the type is "Integer (int)". key, you can use the key constant in the easy language.

  2. Anonymous users2024-02-04

    Register hotkey (fetch window handle () tab 1Take the window handle ()4, F1).

  3. Anonymous users2024-02-03

    I think you should have pressed the F1 Start button to be clicked, and F2 to the Stop button to be clicked. I made an example that you can refer to. Here we want to insert a label. ** Below:

    Assemblies Window Assembly 1

    Assembly variable f1, integer.

    Assembly variable f2, integer.

    The subroutine Startup Window is created.

    F1 registration hotkey ( Launches the window. Take the window handle () tab 1Take the window handle ()0, F1).

    F2 registration hotkey ( Launches the window. Take the window handle () tab 1Take the window handle ()0, F2).

    Subroutine tab 1 Feedback event, integer.

    Parameter Parameter one, integer.

    Parameter Parameter 2, integer type.

    If true (parameter one f1).

    The Start button is clicked ().

    If it's really over.

    If true (parameter one f2).

    The stop button is clicked ().

  4. Anonymous users2024-02-02

    Load the super module.

    Use the register hotkey() command.

  5. Anonymous users2024-02-01

    Make a subprogram, call it directly, and it will naturally be simplified.

  6. Anonymous users2024-01-31

    .Version 2

    Support for the library shellex

    Assemblies Window Assembly 1

    Assembly variables hotkey identifier, integer type, , hotkey identifier returned by calling the registration hotkey.

    The subroutine Startup Window is created.

    Local variables Startup window handle, integer.

    Local variable label handle, integer.

    Label 1Visually false'You don't need to use tag 1, you can remove the tag handle from his visual tag 1Take the window handle ().'The window handle can be used directly as a parameter, such as Launch Window.

    Take the window handle (), but to improve readability, I'll do it.

    Startup Window Handle Startup window. Take the window handle () hotkey to identify the registration hotkey (start window handle, label handle, ctrl key state, key 1).'Implement.

    Subroutine tab 1 Feedback event, integer.

    Parameter Parameter one, integer.

    Parameter Parameter 2, integer type.

    End ().

  7. Anonymous users2024-01-30

    .Version 2

    Support for the library shellex

    Assemblies Window Assembly 1

    Assembly variables Hotkey kid, integer.

    Subroutine Window 1 is created.

    Hotkeykid Register hotkey (Fetch window handle () tab 1Take the window handle ()1, key 1).

    Subroutine tab 1 Feedback event, integer.

    Parameter Parameter one, integer.

    Parameter Parameter 2, integer type.

    If true (parameter one hotkey kid).

    End ().

  8. Anonymous users2024-01-29

    Note that the monitoring hotkey ( f7 key, a, ,a should be a subprogram. If you don't understand, send me a private message.

  9. Anonymous users2024-01-28

    Yours ** is fine, try to see if other programs are taking up these 2 hotkeys.

    You can see the return value of the registration hotkey() by debugging the output(), if it returns 0 it means the registration failed, if it is not 0 it means the registration hotkey was successful.

    Or you can try registering other hotkeys, such as home end, etc.

  10. Anonymous users2024-01-27

    Write the registration hotkey in the window activation event and the revocation hotkey in the deactivation event. Hope.

Related questions
6 answers2024-02-09

Agree with the upstairs statement that shelling is a good way to do it. As for this tool, you can take a look, but you need to know that it is very likely to be killed and poisoned after packing. It's not very difficult to add shelling, some of them are foolish, just do it all at once or get some sinister tricks, I'll give you an idea. >>>More

13 answers2024-02-09

Requires a component, tab 1 a! Copy:Version 2

Support library shellexSupport library eapiAssemblies Window Assembly 1 >>>More

13 answers2024-02-09

Stack errors are usually used because of a function called cdecl with stdcall. >>>More

13 answers2024-02-09

Explosive takes a handle ("crossfire").

Subroutines Explosive Handle, Integer, Public, Explosive Exhaustive Window Handle, shall not be used for it. (Window handle is returned for success, -1 is returned for failure). >>>More

13 answers2024-02-09

Write to file command depends on how to use the command Space to collect disciples.