{ "name": "Open Chrome Top and Bottom on Monitor 1", "language": 0, "code": "using System;\r\nusing System.Drawing;\r\n\r\npublic static class DisplayFusionFunction\r\n{\r\n\tpublic static void Run(IntPtr windowHandle)\r\n\t{\r\n\t\t// Set the website URLs here\r\n\t\tstring urlTop = \"https://www.displayfusion.com\";\r\n\t\tstring urlBottom = \"https://www.voicebot.net\";\r\n\t\tstring urlMaximized = \"https://www.fileseek.ca\";\r\n\t\t\r\n\t\t// Set the target monitor ID here\r\n\t\tuint monitorID = 1;\r\n\t\t\r\n\t\t// Open the top window and position it\r\n\t\tIntPtr windowTop = BFS.Web.OpenUrlNewWindow(urlTop);\r\n\t\tBFS.Window.MoveToMonitor(monitorID, windowTop);\r\n\t\tBFS.Window.MoveToTopMonitorHalf(windowTop);\r\n\t\t\r\n\t\t// Open the bottom window and position it\r\n\t\tIntPtr windowBottom = BFS.Web.OpenUrlNewWindow(urlBottom);\r\n\t\tBFS.Window.MoveToMonitor(monitorID, windowBottom);\r\n\t\tBFS.Window.MoveToBottomMonitorHalf(windowBottom);\r\n\t\t\r\n\t\t// Open the maximized window and move it to monitor 2\r\n\t\tIntPtr windowMaximized = BFS.Web.OpenUrlNewWindow(urlMaximized);\r\n\t\tBFS.Window.MoveToMonitorMaximized(2, windowMaximized);\r\n\t}\r\n}", "description": "", "references": "System.Core.dll|System.Data.dll|System.dll|System.Drawing.dll|System.Management.dll|System.Web.dll|System.Windows.Forms.dll|System.Xml.dll" }