{ "name": "Launch Helios and CareUEyes", "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// Launch Helios\r\n\t\tBFS.Dialog.ShowTrayMessage(\"Launching Helios...\");\r\n\t\tBFS.Application.Start(@\"C:\\Program Files\\Helios Display Management\\HeliosDisplayManagement.exe\", \"-a SwitchProfile -p \\\"{bd033197-4549-4083-8b24-9452d7f5dfa3}\\\"\");\r\n\t\t\r\n\t\t// Wait 2 minutes\r\n\t\tBFS.General.ThreadWait(120000);\r\r\n // Launch CareUEyes\r\n BFS.Dialog.ShowTrayMessage(\"Launching CareUEyes...\");\r\n uint appID = BFS.Application.Start(@\"F:\\Programs\\Installations\\Programs (Portable)\\CareUEyes\\CareUEyesPortable.exe\");\r\n \r\n // Wait 5 seconds, then minimize CareUEyes\r\n BFS.Window.Minimize(BFS.Application.GetMainWindowByAppID(appID));\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" }