Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
csdci
10 discussion posts
I am running a registered trial version of DisplayFusion. I have a Windows 10 PC with eight different monitors connected to it. They're all showing up correctly in layout by number and position in Windows and in DisplayFusion.
I have a Powershell script (executed with a desktop shortcut) that opens multiple Microsoft Edge browser windows. This script functions successfully. The windows open - each in its own Microsoft Edge browser window.
Example of portion of script that opens Edge windows:

Code

Start-Process -FilePath msedge -ArgumentList '--new-window www.google.com'
Start-Process -FilePath msedge -ArgumentList '--new-window www.bing.com'

Here's my problem: I want each window, identified by the WINDOW TITLE (usually html 4 title tag) of the browser page, to go to a specific monitor, in maximized mode, by monitor NUMBER. No relative positioning. No spanning. No split screen stuff. Simply by monitor number and the window name.
DisplayFusion seems to support these types of actions. I have triggers set up based on executable (Edge) and the title of the HTML page (as shown in the tab). Note, there are NOT multiple tabs per window - only one in each.
For the life of me I can't seem to get it to work. I run the powershell script. The windows open. However, they do not maximize and they do not appear on their assigned monitors as defined by DisplayFusion triggers. I've spent hours on this so far, trying variations of the window titles (the title of the html page as shown in the browser tab), using (and not using) the Edge executable as defined by the options in DisplayFusion GUI. They USUALLY open on an a single individual monitor. If I close a window and open it up on a different monitor (by hand), it MAY or may not show up on that same monitor when I run the script again, but DisplayFusion doesn't seem to be involved at all in that decision, it seems to be a Windows random thing. I have tried using the little target drags in DisplayFusion to identifiy particular windows. I have even tried clearing out all cache, permission and history in Edge before running the Powershell script. This made no positive difference in behavior.
Help!! ???
Jun 2, 2022 (modified Jun 2, 2022)  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Sometimes the Trigger fires before the page has loaded, so when it checks the Window Text, it's not there. Could you try setting something like 3000 (that's 3 seconds) in the "Delay before checking match conditions" setting in the Trigger rule?
Jun 3, 2022  • #2
User Image
csdci
10 discussion posts
Okay, I tried using this delay function - up to five thousand ms (5 sec) after the windows are launched. They actually draw much faster than this but I wanted to give it plenty of time for trigger to fire correctly.
The windows both popped on monitor four (they did not change positions afterward), and one was configured for monitor two, while the other was configured for monitor three. Various iternations of re-saving the monitor profiles, start/stopping displayfusion, clearing browser cache had no effect.
Can I upload some sort of diagnostic data you can examine?
Jun 6, 2022 (modified Jun 6, 2022)  • #3
User Image
csdci
10 discussion posts
Help help! :)
Jun 7, 2022  • #4
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Could you attach screenshots of your Trigger rules?
Jun 7, 2022  • #5
User Image
csdci
10 discussion posts
I have attached three screenshots for you. Two are triggers, the other is the screen layout.
• Attachment [protected]: layout.jpg [459,591 bytes]
• Attachment [protected]: trigger1.jpg [188,384 bytes]
• Attachment [protected]: trigger2.jpg [414,619 bytes]
Jun 8, 2022 (modified Jun 8, 2022)  • #6
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks! The "AND" operator isn't valid in this case, you'll want to use a + instead, like this:

"Term 1" +"Term 2" +"Term 3"

Could you give that a try and let me know how it works out? Also the delay looks to be set to 5ms, could you try 5000ms (that would be 5 seconds)
Jun 8, 2022 (modified Jun 8, 2022)  • #7
User Image
csdci
10 discussion posts
Keith - thank you. I made these changes and they worked.

We'll be buying now. :)
Jun 8, 2022  • #8
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Glad to hear it, thanks in advance for your purchase!
Jun 10, 2022  • #9
pauler's profile on WallpaperFusion.com
Quote:
I am running a registered trial version of DisplayFusion. I have a Windows 10 PC with eight different monitors connected to it. They're all showing up correctly in layout by number and position in Windows and in DisplayFusion.
I have a Powershell script (executed with a desktop shortcut) that opens multiple Microsoft Edge browser windows. This script functions successfully. The windows open - each in its own Microsoft Edge browser window.
Example of portion of script that opens Edge windows:

Code

Start-Process -FilePath msedge -ArgumentList '--new-window www.google.com'
Start-Process -FilePath msedge -ArgumentList '--new-window www.bing.com'

Here's my problem: I want each window, identified by the WINDOW TITLE (usually html 4 title tag) of the browser page, to go to a specific monitor, in maximized mode, by monitor NUMBER. No relative positioning. No spanning. No split screen stuff. Simply by monitor number and the window name.
DisplayFusion seems to support these types of actions. I have triggers set up based on executable (Edge) and the title of the HTML page (as shown in the tab). Note, there are NOT multiple tabs per window - only one in each.
For the life of me I can't seem to get it to work. I run the powershell script. The windows open. However, they do not maximize and they do not appear on their assigned monitors as defined by DisplayFusion triggers. I've spent hours on this so far, trying variations of the window titles (the title of the html page as shown in the browser tab), using (and not using) the Edge executable as defined by the options in DisplayFusion GUI. They USUALLY open on an a single individual monitor. If I close a window and open it up on a different monitor (by hand), it MAY or may not show up on that same monitor when I run the script again, but DisplayFusion doesn't seem to be involved at all in that decision, it seems to be a Windows random thing. I have tried using the little target drags in DisplayFusion to identifiy particular windows. I have even tried clearing out all cache, permission and history in Edge before running the Powershell script. This made no positive difference in behavior.
Help!! ???


I realize this thread is a bit old, but I'd like to learn more about what you've set up. I have multiple profiles with Edge I like to use in different ways and have created some batch scripts. If I could use displayfusion for the same thing that would be great!

I disabled most of the features and killed startup because of the lack of support for Windows 11 vdesktops.
Jun 13, 2022  • #10
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)