Clipboard ô my Clipboard

Features wanted...
Post Reply
jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Clipboard ô my Clipboard

Post by jacky »

So you've added Drop-Text-To-File, pretty cool thing for sure! :) But I was wondering if you were planning of adding, in the same way, a Paste-Text-To-File feature?

Because whenever I got some text or w/e I wanna use later, put in a file, etc I have to admit I always go with the clipboard. Because dragging isn't always available (eg. you mention dragging from PDF, I can't seem to do that with Foxit...), because it can be easier (plus I'm used to it), etc so since it should be pretty much the same way of doing it (I guess) I'd love to see it in the next versions :D

And since we're taling about the clipboard, a couple of things. Well, one mainly: in the properties tab we can dbl-click icons to copy them. It would be really awesome if we could do that on the preview tab aswell, especially since we could choose to copy the 128x128 icon (for example) and not be limited with the 16x16 or 32x32 ones!
Besides, since we can copy thumb/original pictures it'd make sense for icons aswell.

Speaking of which, if - on Thumbnails view - a dbl-click on a thumb would copy it that'd be great too! :)

..oh and, little bug it seems: when I tried to "Copy Original" on a JPG file, I got a RTerror 480: Can't create AutoRedraw image :?
No, not on all JPG of course, but on this one, yes, every single time!
Actually, on some other (large) image I can copy but not paste (Unable to get the data from the clipboard)... And on some XY crashes with a RTerror 7: out-of-memory.
Proud XYplorer Fanatic

ugus
Posts: 211
Joined: 02 Jun 2006 16:42

Re: Clipboard ô my Clipboard

Post by ugus »

jacky wrote:So you've added Drop-Text-To-File, pretty cool thing for sure! :) But I was wondering if you were planning of adding, in the same way, a Paste-Text-To-File feature?
That would be very cool :) I' ll vote for it.

/Ulrik

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

If this would be possible, it would make things easier for me also! 8)
As I often cut some text onto clipboard from various places (web page, email, etc), and then have to open Notepad/Wordpad to paste it, and then save it...and as I tend to have XY running most all the time, being able to create the file there would save some effort.

Now I realize that I can now drag-drop it, but as I'm SO used to doing things via clipboard, and in some cases, doing so allows me more flexability.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

lukescammell
Posts: 744
Joined: 28 Jul 2006 13:15
Location: Kent, UK
Contact:

Post by lukescammell »

I vote for this functionality as well, at least the text-paste part of it anyway.
Used to update to the latest beta every day. Now I have children instead…
Windows 10 Pro x64 (everywhere except phone…)

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

Bumping this, cause I would still love to get that "Paste Clipboard Into New Textfile". Honestly, even when I can I never think of d&d'ing text onto XY, always copy to clipboard.

And a Ctrl+Alt+V (for example) would be much faster than Ctrl+Shift+N, open Editpad, Ctrl+V, Ctrl+S, Exit Editpad....
Proud XYplorer Fanatic

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

So, it appears to be over one year so allow me to bump this, even though I'm aware you don't take wishes until v7

Plus, I'd also really like a script command for this "Paste Clipboard As New Textfile" feature, cause I have this thing where I often as to create new files, and they're pretty much always the same except for one thing, say one variable, being actually the same as the basename.
So I can't use "new" with a template alone, since I still need to open it in Editpad and modify things. But with scripting, I could use "input" for the name, and then it would all be done on its own using copytext and this new command pasteinfile or something !

That's only one way to use it, but one I'd use many times a week, that's why I'm ranting about it I guess ;)
Proud XYplorer Fanatic

admin
Site Admin
Posts: 66300
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

jacky wrote:So, it appears to be over one year so allow me to bump this, even though I'm aware you don't take wishes until v7

Plus, I'd also really like a script command for this "Paste Clipboard As New Textfile" feature, cause I have this thing where I often as to create new files, and they're pretty much always the same except for one thing, say one variable, being actually the same as the basename.
So I can't use "new" with a template alone, since I still need to open it in Editpad and modify things. But with scripting, I could use "input" for the name, and then it would all be done on its own using copytext and this new command pasteinfile or something !

That's only one way to use it, but one I'd use many times a week, that's why I'm ranting about it I guess ;)
I'll give you a glimpse on scripting 2.0 now:

read $x, "C:\mytemplate.txt";
replace $x, "old", "new";
write $x, "<curpath>\new.txt";

Okay? :wink:
Last edited by admin on 01 Mar 2008 16:37, edited 1 time in total.

Linkaday
Posts: 392
Joined: 06 Aug 2007 14:40
Location: Hamburg, Germany - Win 11 Home v25H2 x64 1920x1080 (100%)

Clipboard ô my Clipboard

Post by Linkaday »

Yippie! :D

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

admin wrote:I'll give you a glimpse on scripting 2.0 now:

read $x, "C:\mytemplate.txt";
replace $x, "old", "new";
write $x, "<curpath>\new.txt";

Okay? :wink:
:D :D
oh yeah, 200% okay !! :D I just need this scripting 2.0 now :mrgreen: ;)

ps: I still beleive adding "Paste Clipboard As New Textfile" would be nice, there's plenty of times you can't drag text, like Hints window in XY or To Clipboard-like features (no selection possible)

PPS: so, is scripting 2.0 there ? :P ;)

PPPS: will that "replace" command support regexp ? Too soon ? :wink:
Proud XYplorer Fanatic

admin
Site Admin
Posts: 66300
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

jacky wrote:Bumping this, cause I would still love to get that "Paste Clipboard Into New Textfile". Honestly, even when I can I never think of d&d'ing text onto XY, always copy to clipboard.

And a Ctrl+Alt+V (for example) would be much faster than Ctrl+Shift+N, open Editpad, Ctrl+V, Ctrl+S, Exit Editpad....
Okay, done. 8)

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

admin wrote:
jacky wrote:Bumping this, cause I would still love to get that "Paste Clipboard Into New Textfile". Honestly, even when I can I never think of d&d'ing text onto XY, always copy to clipboard.

And a Ctrl+Alt+V (for example) would be much faster than Ctrl+Shift+N, open Editpad, Ctrl+V, Ctrl+S, Exit Editpad....
Okay, done. 8)
:D
Thanks! /me likes :D
Proud XYplorer Fanatic

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

err, okay, so I will ask for more again :oops:

I'd like a new script command, pastetxt maybe, that would do the same but could take 2 optional parameters :
- filename : so the script can define the filename, no need to have rename mode trigered, etc (much like with new)
- content : so the script could even define the content right away, without the need to alter whatever curently is in the clipboard (yes, I could do "set $clipboard, <clipboard>; copytext $content; pastetxt $filename; copytext $clipboard;" but I'm lazy, and "pastetxt $filename, $content;" just seems less work for me ;))
Proud XYplorer Fanatic

admin
Site Admin
Posts: 66300
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

jacky wrote:err, okay, so I will ask for more again :oops:

I'd like a new script command, pastetxt maybe, that would do the same but could take 2 optional parameters :
- filename : so the script can define the filename, no need to have rename mode trigered, etc (much like with new)
- content : so the script could even define the content right away, without the need to alter whatever curently is in the clipboard (yes, I could do "set $clipboard, <clipboard>; copytext $content; pastetxt $filename; copytext $clipboard;" but I'm lazy, and "pastetxt $filename, $content;" just seems less work for me ;))
You want to write text to a file? Wait for the write command...

Post Reply