Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
Igor Itkin
18 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!
Jun 25, 2020  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
This could be possible with a Scripted Function. Are the monitor IDs 1 and 2?
Jul 2, 2020  • #2
User Image
Igor Itkin
18 discussion posts
Yes, 1 and 2.
Jul 3, 2020  • #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]
Jul 9, 2020  • #4
User Image
Igor Itkin
18 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.
Jul 9, 2020  • #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!
Jul 10, 2020  • #6
User Image
Igor Itkin
18 discussion posts
Quote:
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!


I think I can learn to get along with it.
Thank you for your help!
Jul 15, 2020  • #7
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(1)  Login to Vote(-)