mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-05-09 08:25:44 +02:00
[GH-ISSUE #345] Add python functions for clipboard #159
Labels
No labels
bug
duplicate
easy
enhancement
enhancement
fixed
fixed
good first issue
hard
invalid
pull-request
wontfix
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Upsilon#159
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @theodorechle on GitHub (Oct 8, 2023).
Original GitHub issue: https://github.com/UpsilonNumworks/Upsilon/issues/345
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 on GitHub (Oct 8, 2023):
That would be possible, but why would you want to do that ?
@theodorechle commented on GitHub (Oct 8, 2023):
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 on GitHub (Oct 8, 2023):
You can't use the clipboard without leaving the program anyway
@theodorechle commented on GitHub (Oct 8, 2023):
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 on GitHub (Oct 8, 2023):
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 on GitHub (Jan 6, 2024):
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 on GitHub (Jan 6, 2024):
Thanks, I will see it later, I can't for now.