- Posts: 443
- Thank you received: 36
Adding a pause to a macro?
- Nillaz
- Topic Author
- Away
- User
-
Less
More
2 years 5 months ago #692
by Nillaz
Adding a pause to a macro? was created by Nillaz
Can anyone tell me the proper syntax to add a pause between commands in a macro? I couldn't find anything about this in the documentation and searching for "Pause" or "Delay" in the command list didn't return any results.
Thanks in advance!
Thanks in advance!
Please Log in to join the conversation.
- bowlingbeeg
- Offline
- User
-
Less
More
- Posts: 248
- Thank you received: 33
2 years 5 months ago #693
by bowlingbeeg
Replied by bowlingbeeg on topic Adding a pause to a macro?
Pause|5!
The parameter is in seconds. You can also specify fractions of a second like 1.5 seconds.
The parameter is in seconds. You can also specify fractions of a second like 1.5 seconds.
The following user(s) said Thank You: Fattykidd, Nillaz
Please Log in to join the conversation.
- Nillaz
- Topic Author
- Away
- User
-
Less
More
- Posts: 443
- Thank you received: 36
2 years 5 months ago #698
by Nillaz
Replied by Nillaz on topic Adding a pause to a macro?
Thanks I appreciate it!
Please Log in to join the conversation.
- graydon@gdsamps.com
- Offline
- User
-
Less
More
- Posts: 60
- Thank you received: 2
2 years 5 months ago #703
by graydon@gdsamps.com
Replied by graydon@gdsamps.com on topic Adding a pause to a macro?
Perfect! Thanks./ I'll add that to my theatre shutdown macro to delay the lights turning off for a minute or so.
Please Log in to join the conversation.
- Fattykidd
- Offline
- User
-
Less
More
- Posts: 150
- Thank you received: 3
2 years 5 months ago #1111
by Fattykidd
Replied by Fattykidd on topic Adding a pause to a macro?
Perfect! Thanks./ I'll add that to my theatre shutdown macro to delay the lights turning off for a minute or so.
Hey Graydon,
Would you mind sharing more information on your theater shutdown macro?
Thank you,
Ivor.
Please Log in to join the conversation.
- graydon@gdsamps.com
- Offline
- User
-
Less
More
- Posts: 60
- Thank you received: 2
2 years 5 months ago #1112
by graydon@gdsamps.com
Replied by graydon@gdsamps.com on topic Adding a pause to a macro?
Sure. It is pretty simple at this point but the important thing to me is that it can be expanded quite simply by adding commands to this macro.
This macro turns off the projector (AV|9) and then turns off the main equipment rack and the subwoofer amp. Then it pauses for 60 seconds and then turns off the lights and starts up the fan and dehumidifier which are on Shelly Plugs
Here it is:
Macro|
// 144 is main rack!
// 146 is Subwoofer amp!
// 176 is Platform step!
// 249 is main column lights!
// 293 is Shellysw1 => fan!
// 294 is Shellysw2 => Dehumidifier!
AV|9~Power~off!
Lighting|144~Off!
Lighting|146~Off!
Pause|60!
Lighting|176~Off!
Lighting|249~Off!
Lighting|293~On!
Lighting|294~On!
//fini
This macro turns off the projector (AV|9) and then turns off the main equipment rack and the subwoofer amp. Then it pauses for 60 seconds and then turns off the lights and starts up the fan and dehumidifier which are on Shelly Plugs
Here it is:
Macro|
// 144 is main rack!
// 146 is Subwoofer amp!
// 176 is Platform step!
// 249 is main column lights!
// 293 is Shellysw1 => fan!
// 294 is Shellysw2 => Dehumidifier!
AV|9~Power~off!
Lighting|144~Off!
Lighting|146~Off!
Pause|60!
Lighting|176~Off!
Lighting|249~Off!
Lighting|293~On!
Lighting|294~On!
//fini
Please Log in to join the conversation.
Time to create page: 0.227 seconds