Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
Llama3
1 discussion post
I've attached a screenshot of the settings for my trigger/macro, and a screenshot of an example of me using it. Notice how it combines the word from the end of one line with the word at the beginning of the next line. Is there a way to put a space between these words as part of this tigger/macro? (Sorry if I'm not using the words trigger or macro correctly, I'm new to this).
• Attachment: Example Text.PNG [10,122 bytes]
Example Text.PNG
Example Text.PNG
• Attachment: Settings.PNG [41,573 bytes]
Settings.PNG
Settings.PNG
3 days ago  • #1
User Image
C# Clouseau
91 discussion posts
Instead of a trigger, you can use the macro attached to this reply. You have to import the macro. Copy your text to the clipboard, open the clipboard history manager, select your copied text by a right mouse click (context menu is shown) and select [Run macro >] using the attached and imported macro. You can also put the macro in your trigger if this is what you want always. Otherwise you can assign a hotkey to this macro.
• Attachment: RemoveLinebreaksAndWhitespace.cfmacro [13,498 bytes]
1 day ago  • #2
User Image
C# Clouseau
91 discussion posts
.... and if you remove this line (21) of code in the macro, it will keep single linebreaks.

.Replace("\r"," "); // remaining returns by space only

The semicolon to be placed in the code line above (20), thus:

.Replace("\r\r","\r"); // duplicate return by one return only
1 day ago  • #3
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)