Makro on startup

Programmierung der FHZ-Zentralen mit contronics homeputer Standard / homeputer Studio & WEB-Server

Moderator: Co-Administratoren

Antworten
miserden
Beiträge: 2
Registriert: 25.09.2009, 02:39

Makro on startup

Beitrag von miserden » 15.10.2009, 09:19

I am trying to run a macro once on startup of homeputer studio in order to activate the web server and set some variables but can not get it to work. I have named the macro INIT as indicated in the web server documentation.

What am I doing wrong? ?

leknilk0815
Beiträge: 6693
Registriert: 19.03.2007, 08:21
Danksagung erhalten: 2 Mal

Re: Makro on startup

Beitrag von leknilk0815 » 16.10.2009, 10:43

Hi,
if your want to start the webserver with the makro "*INIT", so you must add following line on the end of the makro:
"STARTWIN("C:\Program Files\contronics\WEBServer HE\WEBServer.exe")"
It works...

(maybe you have to change the path...)
Gruß - Toni

KS300 + Sonnendauer + Windrichtung, KS888, HM-CC-TC/HM-CC-VD, FHT80b, und etwas FS20-xx, Keymatic, EM1000, CCU2 und FHZ2000 sowie HP Studio, HPCL + Upgrade für FHZ

leknilk0815
Beiträge: 6693
Registriert: 19.03.2007, 08:21
Danksagung erhalten: 2 Mal

Re: Makro on startup

Beitrag von leknilk0815 » 16.10.2009, 10:58

miserden hat geschrieben:named the macro INIT
The name "INIT" is wrong, it must be "*INIT"
Gruß - Toni

KS300 + Sonnendauer + Windrichtung, KS888, HM-CC-TC/HM-CC-VD, FHT80b, und etwas FS20-xx, Keymatic, EM1000, CCU2 und FHZ2000 sowie HP Studio, HPCL + Upgrade für FHZ

Antworten

Zurück zu „homeputer Studio / Standard: Programmierbeispiele“