Search found 21 matches

by pfischer
Fri Sep 02, 2022 5:48 pm
Forum: Technical / Scripting
Topic: Question on Dialogs
Replies: 4
Views: 3649

Re: Question on Dialogs

Dear Dorian, I tried your script and it works well except for on issue. I made a small adaption in the code so that it shows a still appearing problem. In the adapted script i have included a HTML response which I get from an sensor. This response includes an 8 digit (10000000) string where each dig...
by pfischer
Fri Sep 02, 2022 5:18 pm
Forum: Technical / Scripting
Topic: Question on Dialogs
Replies: 4
Views: 3649

Re: Question on Dialogs

Deatr Dorian, thanks for the reply and the instructions for a modal button. It is not exactly what I need but it helps me to try out if I adapt this script to my needs. By the way. I use Version 14.# but found this kind of scripting in a forum to create modular buttons. Maybe this post was quite old...
by pfischer
Thu Sep 01, 2022 1:11 pm
Forum: Technical / Scripting
Topic: Question on Dialogs
Replies: 4
Views: 3649

Question on Dialogs

Dear all, I have a question with respect to Dialogs. The program I try to create contains a Dialog box, with which I can switch 24 relais. At the moment, each relais has an on button and an off button to switch the relais on ON or OFF mode. This works fine. I now want to implement a feature to combi...
by pfischer
Tue Aug 30, 2022 9:30 am
Forum: Technical / Scripting
Topic: Question on sending html strings to an address
Replies: 3
Views: 3183

Re: Question on sending html strings to an address

Thanks a lot Dorian, this worked. Didnt get the GET command.
by pfischer
Mon Aug 29, 2022 10:27 am
Forum: Technical / Scripting
Topic: Question on sending html strings to an address
Replies: 3
Views: 3183

Re: Question on sending html strings to an address

I forgot to say that the HTML Response is "Unknown protocol".
by pfischer
Mon Aug 29, 2022 10:20 am
Forum: Technical / Scripting
Topic: Question on sending html strings to an address
Replies: 3
Views: 3183

Question on sending html strings to an address

Dear all, I have a simple problem but do not find a solution. To switch an IP relais on (or off) I have to send the following command to the ip switch. 172.30.2.20/io.cgi?DOA2=0 (to switch it on) resp. 172.30.2.20/io.cgi?DOA2=1 (to switch it off) When I paste this lines ion my browser it all works f...
by pfischer
Tue May 29, 2018 8:36 pm
Forum: Technical / Scripting
Topic: JSONParse - JSONPath help
Replies: 4
Views: 5723

Re: JSONParse - JSONPath help

Dear Marcus, I just found this post from some years ago with respet to a json output. However, I really do not get it. My JSON output is exactly like the output from tbrahmer: [{"usr_uid":"000","usr_name":"admin"},{"usr_uid":"127","usr_name":"bot"},{"usr_uid":"269","usr_name":"fred"}] In your reply ...
by pfischer
Mon Apr 17, 2017 12:05 pm
Forum: Technical / Scripting
Topic: Running Macro when sheduled time was missed.
Replies: 6
Views: 5090

Re: Running Macro when sheduled time was missed.

Dear mightycps and Dorian, yesterday I wrote that the solution for checking if a script is out of time by reading the sheduled time in the macro12.dat file is the solution for my problem. Even though this is still the case, I now face another problem with the file macro12.dat itself. This file seems...
by pfischer
Sat Apr 15, 2017 12:34 pm
Forum: Technical / Scripting
Topic: Running Macro when sheduled time was missed.
Replies: 6
Views: 5090

Re: Running Macro when sheduled time was missed.

Dear mightycpa your idea to read out the sheduled start time of a certain scripts from the macros12.dat file was excellent. I created a small macro which runs every 15 min and looks in the macro12.dat file and extracts the scheduled run time of the script I want to check. I then compare if this shed...
by pfischer
Fri Apr 14, 2017 7:00 am
Forum: Technical / Scripting
Topic: Running Macro when sheduled time was missed.
Replies: 6
Views: 5090

Re: Running Macro when sheduled time was missed.

Dear mightycps and Dorian, thanks for your reply. Dorian, your solution works if the script only runs one time a day. My scripts run every hour and therefore, if the time was missed, wait until the next day. So this solution will not work for my applications. Anyway thanks a lot. Mightycpa, I alread...
by pfischer
Sat Apr 08, 2017 7:18 am
Forum: Technical / Scripting
Topic: Running Macro when sheduled time was missed.
Replies: 6
Views: 5090

Running Macro when sheduled time was missed.

Dear forum, I have an apparently simple question to which I however do not find a solution. In my scripting, it happens from time to time that a script does not run properly run and stops in executing due to external issues. When I then go in the program and solve the problem, I sometimes forget to ...
by pfischer
Tue Dec 13, 2016 3:07 pm
Forum: Technical / Scripting
Topic: Question on AutoLogon
Replies: 1
Views: 5352

Question on AutoLogon

Dear Forum, I have a simple question to the AutoLogon function in MacroScheduler version 12.#. Basically it works pretty fine and does all what it is supposed to do. At the moment however, I have to run a larger script regularily (every 60 min) from which I call several other scripts by the command ...
by pfischer
Tue Nov 29, 2016 5:34 pm
Forum: Technical / Scripting
Topic: How to avoid a screen lock
Replies: 1
Views: 2459

How to avoid a screen lock

Hi all, I have a problem with a macro (version 12.#) which used screen functions. The macro runs every hour on a virtual machine and this VM is accessed by VNC or Remote Desktop. All runs fine as long as I am logged but refuses to work when I logg out from the VNC session. The reason is most certain...
by pfischer
Sun Jun 05, 2016 12:03 pm
Forum: Technical / Scripting
Topic: VBScripting Problem
Replies: 4
Views: 4715

Re: VBScripting Problem

Dear Marco, thanks for the fast reply. It get even more curious with this script. I figured out that the problem only occurred when my AddTime value is 4 seconds. There is no problem in switching days when I use 1, 3, 5 or 10 sec. Only with 4 sec the problem occurs every time I run the script. I now...
by pfischer
Sun Jun 05, 2016 12:02 pm
Forum: Technical / Scripting
Topic: VBScripting Problem
Replies: 4
Views: 4715

Re: VBScripting Problem

Dear Marco, thanks for the fast reply. It get even more curious with this script. I figured out that the problem only occurred when my AddTime value is 4 seconds. There is no problem in switching days when I use 1, 3, 5 or 10 sec. Only with 4 sec the problem occurs every time I run the script. I now...
Sign up to our newsletter for free automation tips, tricks & discounts