<< DiscussionsReply

New user: want to strip all tabs if the first character is a tab (and then force to plain text)

Chris Johnson411336
1 discussion post
I've just installed ClipboardFusion and need help getting started. I have a specific use case where I copy one or more lines of text from an editor to a timesheeting app. If the first character of the first line is a tab (not the first character of any line), I want to strip out all tabs and force the clipboard to plain text. Is this something I can do? I tried using the regex ^/t*, but that appears to trigger when the first character of any line is a tab.
I'm also happy for this to be a macro with a hotkey that processes the clipboard and pastes, and not worry about detection, because I have plenty of ways to set up quick hotkey access.
24 days ago  • #1
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Hi Chris,

Give this script a shot. You can import it using the ClipboardFusion Settings > Macros > Import button. You can attach a key combination to it, and it should wipe any tabs from your last copied text.

Let me know how that works!
• Attachment: Tab Replace.cfmacro [6,016 bytes]
21 days ago  • #2
Was this helpful?    
<< DiscussionsReply