HomeGenie Forum

Automation Program Plugins and Wizard Scripting => Help => Topic started by: Boeky on August 21, 2015, 03:31:16 PM

Title: Program commands from another Program
Post by: Boeky on August 21, 2015, 03:31:16 PM
Hi,

Does anyone has any idea how to start, stop, restart,... a program (ex id 1001) form another program (ex id 1002)


Thanks,
Kind Regards,

Boeky
Title: Re: Program commands from another Program
Post by: mvdarend on August 21, 2015, 03:39:15 PM
You can start another program with the following, I'm not sure how to stop one though. I did see a thread about this a while ago, I'll see if I can dig it up.

C# example:
Code: [Select]
Program.Run("1039"); // Start program with id 1039
Title: Re: Program commands from another Program
Post by: mvdarend on August 21, 2015, 03:43:02 PM
Here is the thread I was talking about, see the last post:
http://www.homegenie.it/forum/index.php?topic=920.0 (http://www.homegenie.it/forum/index.php?topic=920.0)