HP Forums
emu48 question - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: emu48 question (/thread-2865.html)



emu48 question - ball - 01-16-2015 12:37 AM

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.


RE: emu48 question - Dave Frederickson - 01-16-2015 12:56 AM

Typically the UI can be modified by editing the KML script, but where did you find a Copy hotkey?


RE: emu48 question - ball - 01-16-2015 04:32 AM

(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!


RE: emu48 question - Christoph Giesselink - 01-16-2015 05:49 PM

(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.


RE: emu48 question - ball - 01-17-2015 03:50 AM

(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)