{ "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\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}\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" }