Search found 9 matches

by datroubler
Tue Jul 16, 2013 6:53 pm
Forum: General Discussion
Topic: Service Status not set
Replies: 1
Views: 7775

Service Status not set

I would like to get the status of a service and if the service is not running he should be started. The output looks like this: tv.PNG My impression is that the variable is not set correctly in the first step. netset.PNG This is the whole script: Get status of TeamViewer8 service...zip I hope I prov...
by datroubler
Sat Oct 20, 2012 9:08 am
Forum: General Discussion
Topic: Close Service if programm is closed
Replies: 15
Views: 41990

Close Service if programm is closed

Found a solution:Task 1 enables Task 2 and if vpnui.exe is not running anymare, the service is closed and task 2 is disabled.
by datroubler
Fri Oct 19, 2012 6:47 pm
Forum: General Discussion
Topic: Close Service if programm is closed
Replies: 15
Views: 41990

Close Service if programm is closed

Why do you want to start both tasks together?Yes this is I would like to do. But isn't the second task running all the time?
by datroubler
Fri Oct 19, 2012 3:15 pm
Forum: General Discussion
Topic: Close Service if programm is closed
Replies: 15
Views: 41990

Close Service if programm is closed

What about starting the second task with the forst one and then close it if srvice is closed?
by datroubler
Fri Oct 19, 2012 11:25 am
Forum: General Discussion
Topic: Close Service if programm is closed
Replies: 15
Views: 41990

Close Service if programm is closed

Wow thanks a lot, works fine. But one question to the second task: Is it running since windows started? I have several programms in which i would like to use this algorithm. Isn't it a prolem for the performance if it checks every 15 seconds if the process is running?Wouldn't it be better so start t...
by datroubler
Fri Oct 19, 2012 7:00 am
Forum: General Discussion
Topic: Close Service if programm is closed
Replies: 15
Views: 41990

Close Service if programm is closed

Ok but still the question:where to put the code?And how to start both tasks with one click?
by datroubler
Fri Oct 19, 2012 6:26 am
Forum: General Discussion
Topic: Close Service if programm is closed
Replies: 15
Views: 41990

Close Service if programm is closed

Yes you got it right.So I can't integrate this function in the already running task?The question sounds stupid but where can I add the code?
by datroubler
Fri Oct 19, 2012 6:00 am
Forum: General Discussion
Topic: Close Service if programm is closed
Replies: 15
Views: 41990

Close Service if programm is closed

I managed to first start the service and then start the programm.I know a bit about programming (java) but i dont know where to add the code which you wrote.
by datroubler
Thu Oct 18, 2012 9:02 am
Forum: General Discussion
Topic: Close Service if programm is closed
Replies: 15
Views: 41990

Close Service if programm is closed

What I like to do is that RoboTask checks if an application ( in this case Cisco AnyConnect) is still running (symbol is shown besides the clock) and if it isn't running anymore the service should be shut down. How can i realise that?