HP Forums

Full Version: emu48 question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi. Is there a way to remap the copy hotkey to windows-c? The default method is awkward as hell. It's the only thing that prevents me from using it as my regular calculator.
Typically the UI can be modified by editing the KML script, but where did you find a Copy hotkey?
(01-16-2015 12:56 AM)Dave Frederickson Wrote: [ -> ]Typically the UI can be modified by editing the KML script, but where did you find a Copy hotkey?

I don't think it can. I think the copy command (and all other menu items) exists outside the scope of the KML, but I would love to be proven wrong!
(01-16-2015 12:37 AM)ball Wrote: [ -> ]Is there a way to remap the copy hotkey to windows-c?

Remap is not possible.

There're 3 (or 4) ways to execute "Edit/Copy Stack":

<Alt><E><C> access over menu
<Ctrl><C> windows standard for copy
<Ctrl><Ins> old windows standard for copy

There're 3 ways to execute "Edit/Paste Stack":

<Alt><E><P> access over menu
<Ctrl><V> windows standard for paste
<Shft><Ins> old windows standard for paste

In some Emu48 scripts the <Ctrl> key is used as single key, then the combinations <Ctrl><C> and so on aren't working any more.

Another method is to create an invisible button which is linked with the copy stack menu point. This button then can be called over KML Scancode definitions.

Example:
Code:

Button 200
    Type 0
    Size 0 0
    Offset 0 0
    NoHold
    OnUp
        MenuItem 19    # copy stack
    End
End

Scancode 91            # Window key
    Map 91 200
End

But when you try this example you will see that the windows key isn't a very good choice, the windows start menu is also called at button release.

For completeness, the fourth method is to pick up the Emu48 source and change the source code.
(01-16-2015 05:49 PM)Christoph Giesselink Wrote: [ -> ]
(01-16-2015 12:37 AM)ball Wrote: [ -> ]Is there a way to remap the copy hotkey to windows-c?

Remap is not possible.

There're 3 (or 4) ways to execute "Edit/Copy Stack":

<Alt><E><C> access over menu
<Ctrl><C> windows standard for copy
<Ctrl><Ins> old windows standard for copy

There're 3 ways to execute "Edit/Paste Stack":

<Alt><E><P> access over menu
<Ctrl><V> windows standard for paste
<Shft><Ins> old windows standard for paste

In some Emu48 scripts the <Ctrl> key is used as single key, then the combinations <Ctrl><C> and so on aren't working any more.

Another method is to create an invisible button which is linked with the copy stack menu point. This button then can be called over KML Scancode definitions.

Example:
Code:

Button 200
    Type 0
    Size 0 0
    Offset 0 0
    NoHold
    OnUp
        MenuItem 19    # copy stack
    End
End

Scancode 91            # Window key
    Map 91 200
End

But when you try this example you will see that the windows key isn't a very good choice, the windows start menu is also called at button release.

For completeness, the fourth method is to pick up the Emu48 source and change the source code.

The windows key doesn't popup the start menu if there is no start menu (using WINE)
Reference URL's