UpsilonNumworks / Upsilon

Upsilon, an OS forked from Omega for your Numworks calculator
https://getupsilon.web.app/
Other
201 stars 58 forks source link

Add python functions for clipboard #345

Open theodorechle opened 11 months ago

theodorechle commented 11 months ago

Is your feature request related to a problem? Please describe. I'd like to be able to use the clipboard in a python program.

Describe the solution you'd like Can you add python functions to read and write the clipboard ?

Yaya-Cout commented 11 months ago

That would be possible, but why would you want to do that ?

theodorechle commented 11 months ago

If you have a program who is running some graphic things, it can be easier to copy a value directly in the clipboard than to print it and to find it in the console, especially if you are printing other things who can erase it. I think it will also be better for users to directly copy and paste. In addition, in a text program, you can't go to last values to copy them without stopping the program, who can be really annoying.

Yaya-Cout commented 11 months ago

You can't use the clipboard without leaving the program anyway

theodorechle commented 11 months ago

In a graphic program, I would prefer to paste a value than to have to write it manually or to have to stop the graphic part to do an input. Or to write it directly in the program.

theodorechle commented 11 months ago

Maybe it can be good to add a parameter for each program like for executing in console but for allowing to use clipboard, to prevent deletion of anything who can be copied. Also, if you do that, you may add a constant to know if it's locked or not.

0x4c756e61 commented 8 months ago

My fork of upsilon provides basic python bindings for escher's clipboard functions. It may assist you while a solution is implemented in Upsilon.

theodorechle commented 8 months ago

Thanks, I will see it later, I can't for now.