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?
If you are experiencing any issues with your desktop wallpaper or taskbar buttons
please download and install the latest DisplayFusion beta version before contacting support.

User Image
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
• Attachment: LINQPad 5 Trigger.png [43,180 bytes]
LINQPad 5 Trigger.png
LINQPad 5 Trigger.png
• Attachment: LINQPad 9 Trigger.png [43,293 bytes]
LINQPad 9 Trigger.png
LINQPad 9 Trigger.png
10 hours ago  • #1
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)