{ "name": "Launch Multiple Applications", "language": 0, "code": "using System;\r\nusing System.Drawing;\r\n\r\n// The 'windowHandle' parameter will contain the window handle for the:\r\n// - Active window when run by hotkey\r\n// - Trigger target when run by a Trigger rule\r\n// - TitleBar Button owner when run by a TitleBar Button\r\n// - Jump List owner when run from a Taskbar Jump List\r\n// - Currently focused window if none of these match\r\npublic static class DisplayFusionFunction\r\n{\r\n\tpublic static void Run(IntPtr windowHandle)\r\n\t{\r\n\t\t// Setup the list of applications here\r\n\t\tstring[] applicationPaths = {\r\n @\"C:\\path\\to\\program1.exe\",\r\n @\"C:\\path\\to\\program2.exe\",\r\n @\"C:\\path\\to\\program3.exe\"\r\n };\r\n \r\n foreach (string application in applicationPaths)\r\n {\r\n BFS.Application.Start(application);\r\n }\r\n\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" }