
JohnGoldsmith
1 discussion post
Hi,
I’m using Windows 11 (25H2 26200.7623) and DisplayFusion (12.0.1) and I’m trying to automate the size and position of the undocked LINQPad Results window for LINQPad 5 (5.52.01) and LINQPad 9 (9.5.10).
What I’m trying to do
I have three monitors arranged horizontally. I usually keep the main LINQPad window snapped to the right half of my middle monitor. When I click Undock results, LINQPad opens the Results window on the right (laptop) monitor at a default size/position. I then manually move/resize it each time.
I want DisplayFusion to do this automatically when the Results window is created:
* Detect the undocked Results window (not the main LINQPad window)
* Move it to the same monitor as the main LINQPad window
* Resize and position it to fill the left half of that same middle monitor
What I’ve tried
I’ve tried a Trigger > Window Created with conditions like:
* Process: `LINQPad.exe` / `LINQPad9.exe` (depending on version)
* Window Title startswith: `LINQPad Results` (and other variations)
* Move Window to Specific Monitor
Problems I’m hitting:
* The above works perfectly for LINQPad 5, but not for LINQPad 9.
I believe the Process Filename is correct for both and I can fire a notification for LINQPad 9 if I uncheck Window text, so my assumption is that the Window Text condition does not find a match. I have also tried using the text found by using the drag control over the results window for an exact match (ie not using BOL) but no luck with this for LINQPad 9 either.
One difference between LINQPad 5 and 9 is that 5 uses Windows Forms, while 9 uses WPF.
Is there anything obvious I should be checking?
Attached are screenshots of the two triggers.
https://forum.linqpad.net/discussion/3015/set-results-window-default-size-and-position
Any guidance would be appreciated.
Thanks
John

LINQPad 5 Trigger.png

LINQPad 9 Trigger.png