Page 1 of 1

Clipboard ô my Clipboard

Posted: 08 Oct 2006 19:17
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.

Re: Clipboard ô my Clipboard

Posted: 08 Oct 2006 21:43
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

Posted: 08 Oct 2006 22:09
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.

Posted: 09 Oct 2006 11:04
by lukescammell
I vote for this functionality as well, at least the text-paste part of it anyway.

Posted: 28 Jan 2007 22:50
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....

Posted: 01 Mar 2008 15:39
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 ;)

Posted: 01 Mar 2008 16:14
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:

Clipboard ô my Clipboard

Posted: 01 Mar 2008 16:26
by Linkaday
Yippie! :D

Posted: 01 Mar 2008 17:19
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:

Posted: 02 Mar 2008 12:02
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)

Posted: 02 Mar 2008 13:36
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

Posted: 16 Mar 2008 13:59
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 ;))

Posted: 16 Mar 2008 18:12
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...