View Full Version : Is it Possible to create a LOOP command.
Mark F
October 13th, 2002, 12:55 PM
The multi-group is a list of commands that are executed one after another. Build the multi-group and learn an event (button) for it.
Ingo
October 13th, 2002, 12:55 PM
Hi giova,
last time I tried to use button mode, it didn't work for more than one button at all... it was probably fixed, but I don't know.
You could try to use a timer. First hit would start the timer, the second would stop it. The timer itself would call a command each n ms.
Good luck :wink:
Ingo
October 13th, 2002, 12:55 PM
Hi giova,
The Wait comand include only 5 parameters:
X/Wait lenght
Y
Mouse pos
Target
Wait for windows
ah, you've found the wrong thing. I was talking about the Alarm Timer plugin. It has an 'on start', 'on cancel' and an 'on end' paramter which can call a command, and it has a 'repeat' thing. I never used it, but it probably does what you're looking for... (but don't ask me how to stop a repeating timer, I never tried that one. (just an idea: you could set the same timer ID again in a new command without the repeat checkbox set....))
giova
October 13th, 2002, 12:55 PM
Hi.
I would like that a command is launched, then launched, then launched again, until the button is unpressed.
Is it possible?
I've seen a goto command, perhaps the solution to my Pb !
It is for Volume buttons :wink:
thanks by advance
giova
October 13th, 2002, 12:55 PM
ok, i ve found
ButtonMode pluggins, that must do what i want.
But it doesn't work properly:
In the Readme file, autor say that there is a "release timeout" parameter specified, but it's not present inside the pluggin.also
there is a timeout parameter inside the plugin that is not specified inside the readme file.
Anyway, it does not works. commmand is well sent once, but that's all folks.
here values i've set on each params:
timeout :5000 (i've try so many values)
Held action delay : 300
On first press : NULL
On Release : NULL
Not Held : uncheked
While held done : the IR command to send
repeat : checked
SO if someone can help me, it would be very nice, thank you by advance.
<font size=-1>[ This Message was edited by: giova on 2001-11-08 15:24 ]</font>
giova
October 13th, 2002, 12:55 PM
well my tries with that pluggin was with only one button, and it was with the version 1.2 of the pluggin.
OK i try with the wait, and will feed back results here...
giova
October 13th, 2002, 12:55 PM
Hmmm
Got a little PB:
The Wait comand include only 5 parameters:
X/Wait lenght
Y
Mouse pos
Target
Wait for windows
But there is not any Browse parameter.
so how can i specify my command???
with target parameter????
also, how to stop timer ???
Other question :
How to make a sequence, a script, many commands launched one after one, with only one button ???????????????????????????
thank u again.
<font size=-1>[ This Message was edited by: giova on 2001-11-07 22:56 ]</font>
<font size=-1>[ This Message was edited by: giova on 2001-11-07 23:01 ]</font>
giova
October 13th, 2002, 12:55 PM
Thank u very mutch between my new question and your answer, i ve found this pluggin, but it does work.
Please every one, try it any way, because i got problem with my OS, so perhaps it is OK...
Any way i will reinstall my OS (W2K) that is still running 24H/24 since 1 year, then try again.
If someone succeed to goal this objectif, please tell to other your experience.
Thank you for everythink
<font size=-1>[ This Message was edited by: giova on 2001-11-08 00:11 ]</font>
giova
October 13th, 2002, 12:55 PM
YES YES YES, I've found IT.
Ok, because AlarmTimer repeat option, doesn't work, i simply use this pluggin differently. My solution could not work with all remote. The remote must contains 2 IR Frames per buttons (It send a code when pressing button, and an other code when release button, it is very important)
Ok let's say that the commannd that will use AlarmTimer pluggin, and will be called "LVol+", this is this command that will be Launch When we press VOLUME + button of our remote.
We want while the remote button is maintain down, that LVol+ make a loop, and call a command (or group command like in my case) named : "Vol+"
And now here parameters of LVol+ :
-ID : 1
-Repeat : unchecked (we don't mind of this param that doesn't work)
-TimeOut : 300 (It will launch Vol+ 3 times per sec)
-On start : Vol+
-On Cancel : Null
-On End : LVol+ (here is the solution, LVol+ call himself :wink:
Now we create a new command, that we'll name : "Vol+Stop"
Vol+ Stop must have those paramter's values:
-ID : 1
-Repeat : unchecked (we don't mind of this param that doesn't work)
-TimeOut : 300 (we don't mind of this param here)
-On start : Null
-On Cancel : Null
-On End : Null
Ok, and now Press and maintain down on ur remote, the VOLUME+ Button, Click on Learn Event from Vol+Stop parameterbox, then release the remote button. Now, the software had stored the code when u release VOLUME+ button.
Learn Vol+ IR Code to LVol+, and that's all.
It must work now.
U can change the time out, if u want to change the frequency of the loop.
Personnaly Vol+ Command, is a MultiGroupCommand, that Display Volume level, and Increase Volume, so it look really like if i was in front of a TV, very nice.
hope i've been clear enough
<font size=-1>[ This Message was edited by: giova on 2001-11-08 16:07 ]</font>
vynce
October 13th, 2002, 12:55 PM
You should have a look at the Time Server plugin (http://www.girder.nl/downloadn.php?Link=29). With it you can execute events every x seconds (or minutes, hours, days, specific times, etc).
windtrader
October 13th, 2002, 12:55 PM
>>> "Ok, because AlarmTimer repeat option, doesn't work,"<<<
I am having trouble using AlarmTImer to have Girder repeat a command every x seconds. I checked the repeat box and it does not seem to work. I entered the command I wanted repeated in the On Start box, nothing in the On Cancel or On End box.
When I execute this command it call s the command once but does not seem to repeat. I could not find any other documentation on the plugin, could not find the most current version on the download plugin page, nor could I find an answer here in the forum that worked for me.
I must be doing something wrong so a little shove in the right direction would be great.
Thanks,
Don
windtrader
October 13th, 2002, 12:55 PM
vynce,
Thanks. It does exactly what I need plus a lot more. The interface to the plugin is different than the other Girder plugins that I have used. Once I figured out how to set the command timer settings, it is great.
Thanks,
Don
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.