{ "name": "Rollup All Chrome Windows", "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 int x = 0;\r\n int y = 0;\r\n\t\r\n\t\t// Loop through all open windows\r\n\t\tforeach (IntPtr window in BFS.Window.GetAllWindowHandles())\r\n\t\t{\r\n // If it's a Chrome window, roll it up, and tile it\r\n if (BFS.Window.GetText(window).Contains(\"Chrome\"))\r\n {\r\n BFS.DisplayFusion.RunFunctionWithWindowHandle(\"Rollup Window to TitleBar\", window);\r\n BFS.Window.SetLocation(window, x, y);\r\n y = y + 80;\r\n }\r\n\t\t}\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" }