Re: Latest HP Prime "emulator" software available :) Message #20 Posted by Andy B (Australia) on 7 Aug 2013, 10:37 p.m., in response to message #16 by Tim Wessman
Quote:
p455 in the user guide. However, *sigh* looks like the table has been left incomplete. :-(
The easiest way to do it is to use the little "Create user key" tool found in the program editor menu button. Press the menu key and select it. It asks you to press a key. Press your key combo, and it returns a stub such as
Well now that I've found the manuals in the "c:\Program Files\Hewlett Packard\HP Prime Virtual Calculator" directory that's going to help a lot. Though, I cannot find the "Create user key" tool you refer to. Its not a menu item within the program editor, nor when looking at the list of programs.
Anyway, I was finally able to re-define a key to the Sin key position by defining a program (weird approach, but hey, let's go with it):
KEY K_Sin()
BEGIN
return "fred()";
END
where fred is one of my programs that takes a single parameter. So, In normal textbook mode, fred() gets emitted with the cursor inside the brackets. I then type the value for the parameter and hit Enter, and yey - it works.
But what about running my fred program on an existing value in the stack? I guess I have to not return "fred()" and instead just return "fred" and ensure the cursor is positioned before the value in the stack input area (copying that previous value into the stack input area if needed), then hit the user key, which inserts "fred" before my value. Then I have to manually add the opening bracket, move to the end of the line, add the closing bracket, then hit Enter. Phew. That sounds like a lot of work compared to the one click consumption of a stack parameter in traditional hp calculators. Am I on the right track here?
So I switch to rpn mode, and hit my user defined function key, and "fred()" gets squirted out. I hit Enter and yes, that works. Much faster approach - but still, I have to hit Enter - an extra step after hitting any custom key. Normally in the past, one click was all that was needed.
Quote:
Note that you can not only have key assignments in global program files, but they can be in a specific app's program file. You can thus have key assignments that only apply when that specific application is active.
Will have to read the manual some more re this, but it sounds great. However I'm looking at those blank 'soft key' areas on the screen and wondering how to have user custom programs launched from there whilst in normal global mode (not using an app). Can't see anything obvious in the manual, but will read more carefully tonight. After all, these soft key areas have been the traditional 'soft custom keys' in previous hp models, and it would be nice to be able customise those as we have done in the past.
And the popup view menu looks like another interesting customisation, will have to figure out how that relates to key customisation.
Quote:
No. I think all, or nearly all the "program" commands are there, but the math functions and things reside in the normal location.
After you told me this, I realised that I can actually bring up all the functions available in the calculator whilst in the editor - yey! Just pressing the 'toolbox' key brings up lists of commands and selecting them causes the text to be inserted in the editor - very nice. I thought that toolbox button (sorry, I know there is a proper name for it in the manual but it has a toolbox icon on it so that's what I'm calling it for now...;) would throw me out of the program editor - but it doesn't, which is great.
|