Save up to 50% in our 2020 summer sale!
Save up to 50% off any of our apps in our 2020 summer sale, including DisplayFusion,
ClipboardFusion, FileSeek, LogFusion, TrayStatus, and VoiceBot!

Title

Message

Confirm

Want to earn a free ClipboardFusion Pro license? We're looking for ClipboardFusion translators!
<< DiscussionsReply

Trigger Scrub/Replace from Macro

warthurton's profile on WallpaperFusion.com
I'd like my macro to trigger my scubs before it processes the text.

I cannot see a way to run the triggers from a macro unless I assign to a hotkey and send that key.

Is there something I'm missing?

Thanks

W
Oct 31, 2018  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Looks like you're right! There doesn't seem to be a scripting function for running Triggers. I'll put that on our list for the next version.

Thanks!
Nov 1, 2018  • #2
warthurton's profile on WallpaperFusion.com
What is the speed difference between a C# macro and the builtin trigger / replacements?

Does it have to JIT the scripts or are the compiled at save / initial launch?

Thanks

W
Nov 5, 2018  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
The macros are compiled the first time they run, then the compiled code is kept in memory for subsequent runs.
Nov 6, 2018  • #4
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Hello! We're looking at implementing this, but need some more info.
  • Do you just need it to scrub the text?
  • Do you need the macro to run multiple Trigger rules?
  • Could you attach a backup of your settings so that I can have a look at the Trigger rules?

Thanks!
Nov 7, 2019  • #5
warthurton's profile on WallpaperFusion.com
Hello,

When I trigger a macro using a hot key, I would like to trigger the scrubs the same way as when I do Copy Twice.

Triggering the entire scrub / replace list would be best, but even if it was a Event you could add. You can see in screenshot 26 that I disabled the 3 I was using and put into a fuction so I could trigger elsewhere. Screenshot 25 is just a general complex action that is easier in the Scrub/Replace than in code.

I will attach the setting in a separate message so I can protect.
• Attachment: sshot-25.png [170,163 bytes]
sshot-25.png
sshot-25.png
• Attachment: sshot-26.png [209,581 bytes]
sshot-26.png
sshot-26.png
Nov 14, 2019  • #6
warthurton's profile on WallpaperFusion.com
Settings Backup
Nov 14, 2019  • #7
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, thanks! We should be able to add a scripting function to run the Triggers on the current clipboard text. Note that if the Trigger has a Window Text, Window Class, or Process Filename condition configured, the Trigger won't fire, because the text on the clipboard will have come from ClipboardFusion.
Nov 18, 2019  • #8
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Just a quick heads up, in the latest beta, you can now use this in a Macro to run the Triggers:

Code



Hope that helps!
Dec 11, 2019  • #9
warthurton's profile on WallpaperFusion.com
i forgot to that you i have been using this quite consistantly
27 days ago  • #10
Keith Lammers (BFS)'s profile on WallpaperFusion.com
No worries, glad to hear it!
26 days ago  • #11
Was this helpful?  Login to Vote  Login to Vote
<< DiscussionsReply