Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
Blake McCorkle
6 discussion posts
I use notion as my dev documentation, so while I am using that portrait monitor with some splits for my main editors, I want to be able to hotkey and open/move Notion to that window and maximize it, ignoring splits.

I found multiple BFS scripts for this, but when I try to move it with the monitors id, it either doesn't work, or requires that I use the monitor selector. I tried checking the log and it returns a value of 2- granted, Display Fusion calls those monitors 2.1 and 2.2 (it instead maximizes the app on my primary monitor)

And since 2.1/2.2 are not an uint, I can't use them as a parameter in the move to monitor.

Can someone please point me in the right direction? Thank you very much
Feb 13, 2023  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
For the uint you can replace the . with a 0, so 201, or 202.

Something like this should do what you're looking for:

Code

BFS.Window.MoveToMonitor(201, windowHandle);
BFS.DisplayFusion.RunFunctionWithWindowHandle("Maximize Window (ignore monitor splits)", windowHandle);


Hope that helps!
Feb 15, 2023  • #2
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)