1 | #! perl |
1 | #! perl |
|
|
2 | |
|
|
3 | =head1 NAME |
|
|
4 | |
|
|
5 | overlay-osc - implement OSC to manage overlays |
|
|
6 | |
|
|
7 | =head1 DESCRIPTION |
|
|
8 | |
|
|
9 | This extension implements some OSC commands to display timed popups on the |
|
|
10 | screen - useful for status displays from within scripts. You have to read |
|
|
11 | the sources for more info. |
|
|
12 | |
|
|
13 | =cut |
2 | |
14 | |
3 | # allows programs to open popups |
15 | # allows programs to open popups |
4 | # printf "\033]777;overlay;action;args\007" |
16 | # printf "\033]777;overlay;action;args\007" |
5 | # |
17 | # |
6 | # action "simple;<id>;<timeout>;<x>;<y>;<h|t>;<text>" |
18 | # action "simple;<id>;<timeout>;<x>;<y>;<h|t>;<text>" |
7 | # printf "\033]777;overlay;simple;ov1;0;0;t;test\007" |
19 | # printf "\033]777;overlay;simple;ov1;5;0;0;t;test\007" |
8 | # |
20 | # |
9 | |
21 | |
10 | # action "timeout;<id>;<seconds>" |
22 | # action "timeout;<id>;<seconds>" |
11 | # printf "\033]777;overlay;timeout;ov1;6\007" |
23 | # printf "\033]777;overlay;timeout;ov1;6\007" |
12 | |
24 | |