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