Save up to 50% in our Spring Sale!
Save up to 50% off any of our desktop apps in our Spring Sale, including DisplayFusion,
ClipboardFusion, FileSeek, iTunesFusion, LogFusion, TrayStatus, and VoiceBot!

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

16 days ago  • #1
Avatar from Gravatar.com
AlanBes
4 discussion posts
After an all-nighter I managed to solve this

Code

15 days ago  • #2
Was this helpful?  Login to Vote  Login to Vote
<< DiscussionsReply