On 2006-11-13, at 19:25, Brad Rhine wrote:

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!


Useful! (at least for me!)
http://www.truenorthsoftware.com/Realbasic/FindUnused.html

This RB IDE script will scan the currently selected tab (class or module) for unused local variables. If it finds any, it will create a report and place the output on the clipboard.


Sven E
-----------------------
REALbasic2006R4 OS X 10.4.8 Intel and 10.4.6 PPC
SEEdit Maxi THE XHTML EDITOR FOR MACINTOSH
http://www.seedit.info



_______________________________________________
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>

Reply via email to