HP Forums
PrimeMon: Tiny helper for coding in the Virtual Prime - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: PrimeMon: Tiny helper for coding in the Virtual Prime (/thread-7948.html)



PrimeMon: Tiny helper for coding in the Virtual Prime - eried - 03-14-2017 10:24 PM

Hi,

I made a little helper that monitors a file for changes and sends actions to the Virtual Prime. I hope it is useful for someone Smile

[Image: GYf-rhaQn2.PNG]

Instructions:
1) Open Primemon
2) Drag the hpprgm file to the drop zone
3) Edit your program and Save it to invoke the actions in the Virtual Prime

Demo:
[Image: 9UwPnZIKSn.gif]

Source:
https://github.com/eried/PrimeComm/tree/master/PrimeMon

Changelog:
  • 1.0: First version
  • 1.1: OnTop option
  • 1.2: Save settings and enable/disable monitoring
  • 1.3: New option to restore focus. Compatibility with Ctrl+S. Cosmetical fixes

Old versions (not recommended): [attachment=4582] [attachment=4587] [attachment=4600]

Download current version:
[attachment=4601]


RE: Primemon: Tiny helper for coding in the Virtual Prime - Carlos295pz - 03-14-2017 11:17 PM

Great alternative!!


RE: Primemon: Tiny helper for coding in the Virtual Prime - compsystems - 03-15-2017 02:44 AM

+1
Thanks ERWIN

Hello, the synchronization of the program editor of the HPP-CK with the program editor of virtual calculator is fatal, hence your prg is very useful,

when a compilation error occurs, it leaves the current prg edition view, and the error message is displayed most of the time in the history view "Syntax error in program line x", now with PrimeMonitor, I open a program remotely, without needing to look again in the program catalog view.

Idea

To make the program even more useful (when you want to monitor n programs), another option to load automatic all programs, is to read the WORKING FOLDER to display a list of programs on PrimeMon, where all the programs are stored, in the latest versions of hp-prime connectivity kit, edit/preferences, The storage path is configured, which should also be added in your program


RE: Primemon: Tiny helper for coding in the Virtual Prime - Carlos295pz - 03-15-2017 07:55 AM

(03-15-2017 02:44 AM)compsystems Wrote:  +1
Idea

To make the program even more useful (when you want to monitor n programs), another option to load automatic all programs, is to read the WORKING FOLDER to display a list of programs on PrimeMon, where all the programs are stored, in the latest versions of hp-prime connectivity kit, edit/preferences, The storage path is configured, which should also be added in your program

I think the current flow is suitable


RE: PrimeMon: Tiny helper for coding in the Virtual Prime - eried - 03-15-2017 10:22 AM

(03-15-2017 07:55 AM)Carlos295pz Wrote:  I think the current flow is suitable

I think that too. Also you get the error line number, so you can just forget touching the Virtual Prime. In any case, the code is freely available in github (part of the dead PrimeComm code Smile )


RE: PrimeMon: Tiny helper for coding in the Virtual Prime - Carlos295pz - 03-21-2017 05:31 PM

Very useful, I would like an option to pause monitoring, also that the window is located where it was left before closing.


RE: PrimeMon: Tiny helper for coding in the Virtual Prime - eried - 03-21-2017 08:46 PM

(03-21-2017 05:31 PM)Carlos295pz Wrote:  Very useful, I would like an option to pause monitoring, also that the window is located where it was left before closing.

Sounds convenient, new version uploaded.


RE: PrimeMon: Tiny helper for coding in the Virtual Prime - Carlos295pz - 03-21-2017 09:12 PM

(03-21-2017 08:46 PM)eried Wrote:  Sounds convenient, new version uploaded.

Excellent!! Many thanks Erwin, the flow of programming is now almost complete.


RE: PrimeMon: Tiny helper for coding in the Virtual Prime - compsystems - 03-22-2017 04:19 PM

Another simple improvement, then better, instead of looking for all files (program) in the working directory, please adhere a recent menu of dragged files, the next time the application starts, it will be easier to locate


RE: PrimeMon: Tiny helper for coding in the Virtual Prime - Han - 03-22-2017 04:25 PM

Does this support apps, too? Or just programs?


RE: PrimeMon: Tiny helper for coding in the Virtual Prime - eried - 03-22-2017 05:17 PM

(03-22-2017 04:19 PM)compsystems Wrote:  Another simple improvement, then better, instead of looking for all files (program) in the working directory, please adhere a recent menu of dragged files, the next time the application starts, it will be easier to locate

The program has to exist and use the same name to work, I think you are trying to over complicate the tool. Maybe I can remember the last one "if still exists".

(03-22-2017 04:25 PM)Han Wrote:  Does this support apps, too? Or just programs?

Only programs. I am not sure how to switch via keystrokes to another App to support Apps. Also the F1 key is used by the Help and Apps in the emulator Sad


RE: PrimeMon: Tiny helper for coding in the Virtual Prime - compsystems - 03-23-2017 03:07 PM

I use the list editor and matrix editor of the HPP-CK because it is larger and easy than the editor of the calculator, but HPP-CK does not update every time you press [SAVE] and even displays the history screen. And manually I have to go to the list editor and matrices again

I think it's important to monitor changes (list & matrices) with PrimeMon

[Image: HPPrimeConnectivityKit_listAndMatrixEditor_image00.png]


RE: PrimeMon: Tiny helper for coding in the Virtual Prime - eried - 03-23-2017 09:04 PM

It is easy to get to each program with keystrokes, it is quite reliable as you can see in PrimeMon.

If you can do keystroke sequences for other files, list them here and I can add support for these files.


RE: PrimeMon: Tiny helper for coding in the Virtual Prime - compsystems - 03-24-2017 03:43 PM

PrimeCom Has an option to configure the sequence to the simulator, I think it would be very useful to reincorporate it in primeMon

The character menu is also important (instead of inserting as in PrimeCom copying to the clipboard), because the HPP-CK editor does not have a table for inserts,


RE: PrimeMon: Tiny helper for coding in the Virtual Prime - bikeraqp - 09-16-2018 09:38 PM

Great Program it just improve my speed when debugging Smile Thanks Eried Again...
so any plan to make PrimeCom work again?


RE: PrimeMon: Tiny helper for coding in the Virtual Prime - eried - 09-21-2018 02:10 PM

(09-16-2018 09:38 PM)bikeraqp Wrote:  so any plan to make PrimeCom work again?

Not really. ConnKit is actually quite usable already. I do miss the quick reference, auto format and auto-completion though :/