Title

Message

Confirm

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

Open application where the mouse is NOT

Avatar from Gravatar.com
Igor Itkin
9 discussion posts
Hi, I have two Monitors, can I trigger an application that it should open on the second monitor where the mouse is NOT, means on the other one and not on the monitor where the mouse is?

Thank you very much!
17 days ago  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
This could be possible with a Scripted Function. Are the monitor IDs 1 and 2?
10 days ago  • #2
Avatar from Gravatar.com
Igor Itkin
9 discussion posts
Yes, 1 and 2.
9 days ago  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, here we go!

  • Save the attached script to your computer.
  • On the Settings > Functions tab, click Scripted Function > Import Scripted, and choose the attached script.
  • Click Apply in the Settings window.
  • On the Settings > Triggers tab, create a new rule for your application, and in the actions, click Add > Run Function, and choose the "Move Window to Opposite Monitor" function.
  • Apply the Settings again.

Hope that helps!
• Attachment: Move Window to Opposite Monitor.dfscript [1,238 bytes]
3 days ago  • #4
Avatar from Gravatar.com
Igor Itkin
9 discussion posts
Hi Keith, the script seems to work but I still have some problems. If I set the event to "window created" than the application opens correctly on the opposite monitor. But with this option, when the application is in the background and I open it, the script is not working. When I set the event to "window focused" then each time when the application is out of focus and I click on it, it jumps to the other monitor. Is there a solution for it? The application is called "Goldendict" its a dictionary and it has a look up hotkey. When I click on the word with the hotkey the Goldendict opens a pop-up window and shows me the translation.
3 days ago  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
There isn't really anything you can do there. Window Focused is supposed to behave that way, and Window Created only fires when the window is actually created, not if it's hidden and then shown again.

Sorry!
2 days ago  • #6
Was this helpful?  Login to Vote  Login to Vote
<< DiscussionsReply