[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #57699] Function for user to interact with cli
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #57699] Function for user to interact with clipboard contents |
Date: |
Thu, 30 Jan 2020 10:23:24 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0 |
URL:
<https://savannah.gnu.org/bugs/?57699>
Summary: Function for user to interact with clipboard
contents
Project: GNU Octave
Submitted by: None
Submitted on: Thu 30 Jan 2020 03:23:22 PM UTC
Category: Octave Function
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Feature Request
Status: None
Assigned to: None
Originator Name:
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
Hello everyone, I'd like to request a feature that would allow the user to
copy to / paste from the clipboard automatically.
In Matlab there is a clipboard.m, which uses some Java Objects as far as I can
see. However in Octave, that function is still missing. I've searched the
mailing list archives and of course this forum, and there doesn't even seem to
be the need for it (?).
The issue for me came up when I tried to edit a UItable - you currently can't
copy/paste on multiple selected cells, you can only copy/paste a single cell.
It would also be useful to have a function that simply read from / writes to
the current clipboard. Somewhere in the Octave GUI handling there has to be
something like this already since you can copy/paste for example in the
variable editor. But currently that functionality is inaccessible for simple
front-end users like myself...
For the sake of documentation: there are currently multiple workarounds for
this issue, including one that uses xclip or clip.exe depending on the OS
<https://stackoverflow.com/questions/21452952/write-octave-matlab-output-to-clipboard>.
What's so frustrating is how to implement a paste option in Windows, since
clip.exe only works in one direction, some available paste.exe requires a
higher .NET-Framework than I currently have and want, and calling the Windows
Powershell - where commands like Get-Clipboard and Set-Clipboard are available
- to output a text file completely messes up the format when I use system() to
do that (and ONLY then). Personally, I'll try a different workaround now
and/or make use of a Java robot, but it would still be nice to have a
clipboard.m-like function in the future :)
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57699>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #57699] Function for user to interact with clipboard contents,
anonymous <=