Title

Message

Confirm

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

Only Run macro is an app has focus

Avatar from Gravatar.com
AlanBes
4 discussion posts
Simple script in ClipboardFusion to replace text.
But I need the macro to only run if Chrome is the focused application.
Had a look at GetMainFileByWindow and other functions but can't get them implemented into the code.
Here's a sample of the current code, and help to add a statement if a window (chrome) is the focused app will be appreciated.

Code

May 6, 2019  • #1
Avatar from Gravatar.com
AlanBes
4 discussion posts
After an all-nighter I managed to solve this

Code

May 7, 2019  • #2
Was this helpful?  Login to Vote  Login to Vote
<< DiscussionsReply