Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
C# Clouseau
80 discussion posts
See attached doc (screenshots) and settings backup (db and reg). In my trigger/replace I want a whitespace scrub and in addition several text replacements: 6 spaces by 1 space, 5 spaces by 1, 4 spaces by 1 and so on. The same for six \n, five \n etc for each \n only. The \n-replacement is not in the doc, but doesn't work either. To keep it simple, let's look at the spaces. No idea what is going on.
• Attachment [protected]: ClipboardFusion Backup (2023-02-02 @ 18-24, 5.9.99.105, LENOVO, SettingsWindow).db [237,568 bytes]
• Attachment [protected]: ClipboardFusion Backup (2023-02-02 @ 18-24, 5.9.99.105, LENOVO, SettingsWindow).reg [616,662 bytes]
• Attachment [protected]: Trigger_Replace.docx [142,643 bytes]
Feb 2, 2023  • #1
User Image
C# Clouseau
80 discussion posts
And this .png for showing a double ctrl-c in a Word document and the result in ClipboardFusion, nothing replaced :(
• Attachment [protected]: Trigger_replace.png [296,260 bytes]
Feb 2, 2023  • #2
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Try out this macro. It's slightly modified from the one that's in the script repository.

You can import the attached macro on the Settings > Macros tab, apply the settings, then have your Trigger rule run that macro.

I've tested it with Word and it seems to work well :)
• Attachment: Whitespace concatenator.cfmacro [16,514 bytes]
Feb 7, 2023  • #3
User Image
C# Clouseau
80 discussion posts
Of course, running a macro could do the job, but within a trigger text replace should do the trick. In version 5 it did, but in beta 5 not anymore.
Feb 7, 2023  • #4
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I've setup my text replace the same as yours and it's actually working fine for me with 6.0 Beta 5. Can you send me a debug log for this?

Could you send me a debug log?
  • On the ClipboardFusion Settings > Troubleshooting tab, change the Logging drop-down to "L1: Log Minimal" and click Apply
  • Reproduce the issue and note the time so we'll know where to check in the log file
  • Click the "Export Info to File" button on the Settings > Troubleshooting tab
  • Reply with the file attached
  • Disable debug logging after sending the log
Feb 9, 2023  • #5
User Image
C# Clouseau
80 discussion posts
See attached docs Keith.
• Attachment [protected]: Action Text replace in Trigger.docx [191,383 bytes]
• Attachment [protected]: ClipboardFusionDebugInfo.zip [40,759 bytes]
Feb 10, 2023  • #6
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks! I've passed the logs over to our developers to have a look at and we'll keep you posted on what we find out.
Feb 10, 2023  • #7
User Image
C# Clouseau
80 discussion posts
In beta 6 solved. Great job, all my other issues are solved as well.
Feb 25, 2023  • #8
pennypacker's profile on WallpaperFusion.com
Quote:
I've setup my text replace the same as yours and it's actually working fine for me with 6.0 Beta 5. Can you send me a debug log for this?

Could you send me a debug log?
  • On the ClipboardFusion Settings > Troubleshooting tab, change the Logging drop-down to "L1: Log Minimal" and click Apply
  • Reproduce the issue and note the time so we'll know where to check in the log file
  • Click the "Export Info to File" button on the Settings > Troubleshooting tab
  • Reply with the file attached
  • Disable debug logging after sending the log


Hi there Keith. I was directed to this thread by C# Clouseau. I have a similar issue - the trigger doesn't successfully run on double-copy, but does for single-copy. Can you please have a look over at my thread over here?

https://www.clipboardfusion.com/Discussions/View/run-trigger-on-double-copy-not-working/?ID=03925d69-ad49-4ec4-a521-604e75d8370b

I've attached the debug log for you.
Apr 1, 2023  • #9
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)