- Posts: 133
- Thank you received: 5
Timed action
- Sat32
- Topic Author
- Offline
- User
-
Less
More
1 year 10 months ago #3224
by Sat32
Timed action was created by Sat32
Whats the best way to perform a action after specific action has not occured for set amount of time.
IE overlay opens when volume button is pushed and stays open while volume is adjusted up or down then after no changes happen for 3 seconds the overlay is closed?
Thanks
IE overlay opens when volume button is pushed and stays open while volume is adjusted up or down then after no changes happen for 3 seconds the overlay is closed?
Thanks
Please Log in to join the conversation.
- bowlingbeeg
- Offline
- User
-
Less
More
- Posts: 248
- Thank you received: 33
1 year 10 months ago #3226
by bowlingbeeg
Replied by bowlingbeeg on topic Timed action
That isn't going to be real easy to do. You could set some variable with the current time when the overly is first shown and then use an automation to close the overly if three seconds have passed. The hard/annoying part is going to be changing every button on the overly to update that variable so that it stays open while you're "using" the overlay.
Please Log in to join the conversation.
- Sat32
- Topic Author
- Offline
- User
-
Less
More
- Posts: 133
- Thank you received: 5
1 year 10 months ago #3227
by Sat32
Replied by Sat32 on topic Timed action
Yeah I know thats why i hoped someone had found a good working solution.
In the command builder there is a "WaitUntil" command listed but no documention on how to use it. I've asked here once or twice so far dave or david haven't answered.
Thanks
In the command builder there is a "WaitUntil" command listed but no documention on how to use it. I've asked here once or twice so far dave or david haven't answered.
Thanks
Please Log in to join the conversation.
- Nillaz
- Offline
- User
-
Less
More
- Posts: 443
- Thank you received: 36
1 year 10 months ago #3229
by Nillaz
You don't really have to worry about configuring the buttons in the overlay. If you have no commands in the overlay's hard buttons section it just references the global hard button commands. Basically the overlay will start the countdown to close it once you are no longer pressing a volume button, but the countdown will reset itself if you press a volume key again.
Replied by Nillaz on topic Timed action
This is exactly how I do it. You have to add a variable or two, modify your volume macros a bit to reference those variables, and create a basic automation. After that it just kind of works and it's easy to modify the overlay duration time just by changing a value in the volume macro.That isn't going to be real easy to do. You could set some variable with the current time when the overly is first shown and then use an automation to close the overly if three seconds have passed. The hard/annoying part is going to be changing every button on the overly to update that variable so that it stays open while you're "using" the overlay.
You don't really have to worry about configuring the buttons in the overlay. If you have no commands in the overlay's hard buttons section it just references the global hard button commands. Basically the overlay will start the countdown to close it once you are no longer pressing a volume button, but the countdown will reset itself if you press a volume key again.
Please Log in to join the conversation.
- Sat32
- Topic Author
- Offline
- User
-
Less
More
- Posts: 133
- Thank you received: 5
1 year 10 months ago #3231
by Sat32
Replied by Sat32 on topic Timed action
I saw some of your posts on doing volume I'll have to go back and look at them a little closer.
Thinking about how to do this was wondering is there a way to call a macro from a macro??
Thanks
Thinking about how to do this was wondering is there a way to call a macro from a macro??
Thanks
Please Log in to join the conversation.
- Nillaz
- Offline
- User
-
Less
More
- Posts: 443
- Thank you received: 36
1 year 10 months ago #3232
by Nillaz
Replied by Nillaz on topic Timed action
You don't have to waste your time on the research. I just got home so give me just a little bit to get settled in for the evening and I'll try to get you some screenshots and basic instructions. Your configuration might be somewhat different from mine but you can probably adapt what I do to work with your setup without too much hassle.I saw some of your posts on doing volume I'll have to go back and look at them a little closer.
Thinking about how to do this was wondering is there a way to call a macro from a macro??
Thanks
Please Log in to join the conversation.
Time to create page: 0.186 seconds