bugGNU Octave - Bugs: bug #57699, [Feature Request] 'clipboard'...

 
 

bug #57699: [Feature Request] 'clipboard' function to interact with clipboard contents

Submitted by:  None
Submitted on:  Thu 30 Jan 2020 03:23:22 PM UTC  
 
Category:  Octave Function Severity:  1 - Wish
Priority:  3 - Low Item Group:  Feature Request
Status:  Confirmed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  dev
Operating System:  Any

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 15 Feb 2020 04:37:26 AM UTC, comment #2: 

Are you willing to rely on a Java-enabled build to support this? Implementing this using Java Standard Library classes is pretty easy.

Andrew Janke <apjanke>
Thu 30 Jan 2020 10:25:25 PM UTC, comment #1: 

I agree that an Octave implementation of the clipboard function would be useful, updating bug summary and status, and adding to wiki short projects list.

Mike Miller <mtmiller>
Project Administrator
Thu 30 Jan 2020 03:23:22 PM UTC, original submission:  

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. 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 :)

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by apjanke (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-01-30 mtmiller Severity3 - Normal => 1 - Wish
        Priority5 - Normal => 3 - Low
        StatusNone => Confirmed
        SummaryFunction for user to interact with clipboard contents => [Feature Request] 'clipboard' function to interact with clipboard contents

    Back to the top


    Powered by Savane 3.5