On Nov 12, 2006, at 9:55 PM, [EMAIL PROTECTED] wrote:
// Pastes the clipboard content while converting to a string
literal.
Dim s As String = Clipboard
s = ReplaceAll( s, """", """""" )
SelText = """" + s + """"
Save this in your IDE Scripts folder as "Paste as String Literal", and
now at least you have a way to do it. I'd still prefer to access it
from the Edit menu under Paste Special, but until then, maybe you'll
find this useful.
Thanks, Joe! This is really handy!
P.S. Anybody have any other generally useful IDE scripts to share?
I hope so. :) I have a couple ideas, but I haven't had time to mess
with them yet. I think IDE Scripts are really powerful and currently
woefully underused. Thanks again for sharing this one.
--
Brad Rhine
[EMAIL PROTECTED]
http://bradrhine.com
Tangelo: Web Publishing... With A Twist!
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>