Existing users, log in.  New users, create a free account.  Lost password?

Mac OS X  |  Widgets  |  Other Widgets  |  ColorSafe  |  The new line in the copied text

ColorSafe

ColorSafe

web-safe color picker widget

Version:  1.0.1

   [ Views: 612 ]

The new line in the copied text

Feedback Type:  Usage Tip

Contributed by: Jaseone Saturday, July 16 2005 @ 10:44 PM PDT

Product Platform: MacOSX

Used Product For: Less than a month

Recommend Product: YES

You can get rid of the new line from the text that gets copied to the pasteboard by adding the -n command line parameter to the echo call as below:


if (window.widget) widget.system("/bin/echo -n '"+hex+"' | /usr/bin/pbcopy", null);   

Rate this Usage Tip

Was this Usage Tip helpful? Yes | No

Comments

1 comments |

The new line in the copied text - Yadda Yadda

Yep, I just updated ColorSafe to take advantage of this. No more trailing newlines!

Reply to This

Thursday, October 20 2005 @ 10:39 PM PDT