-
Notifications
You must be signed in to change notification settings - Fork 6
/
15a-remote-quicktime_applescript.pd
52 lines (52 loc) · 1.62 KB
/
15a-remote-quicktime_applescript.pd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#N canvas 617 103 569 540 10;
#X declare -lib zexy;
#X declare -lib motex;
#X obj 414 31 import GEM;
#X obj 20 15 cnv 15 480 60 empty empty QuickTime_Player+AppleScript
20 30 0 20 -262130 -99865 0;
#X obj 46 405 zexy/list2symbol;
#X obj 46 383 list;
#X obj 29 455 motex/system;
#X msg 46 429 osascript -e 'tell application "QuickTime Player" to
\$1' &;
#N canvas 0 83 231 126 init 0;
#X obj 44 27 declare -lib zexy;
#X obj 43 49 declare -lib motex;
#X restore 451 119 pd init;
#X obj 46 226 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 46 246 openpanel;
#X msg 214 260 play document 1;
#X msg 29 174 osascript -e 'tell application "Finder" to open application
file "QuickTime Player.app" of folder "Applications" of startup disk'
&;
#X obj 46 267 zexy/symbol2list /;
#X obj 46 287 zexy/list2symbol :;
#X msg 46 308 open file "\$1";
#X msg 214 310 stop document 1;
#X msg 214 283 pause document 1;
#X msg 214 337 present document 1;
#X text 328 259 Play;
#X text 334 284 Pause;
#X text 332 306 Stop;
#X text 350 338 Play fullscreen;
#X text 67 225 Open QuickTime document;
#X text 393 187 open QuickTime application;
#X text 31 125 In OS X you may control QuickTime from within Pure Data
through AppleScript.;
#X text 29 88 Sometimes you may simply want to trigger a playback of
a video with Pure Data.;
#X text 35 499 Max Neupert - Bauhaus-Universität Weimar 2011;
#X connect 2 0 5 0;
#X connect 3 0 2 0;
#X connect 5 0 4 0;
#X connect 7 0 8 0;
#X connect 8 0 11 0;
#X connect 9 0 3 0;
#X connect 10 0 4 0;
#X connect 11 0 12 0;
#X connect 12 0 13 0;
#X connect 13 0 3 0;
#X connect 14 0 3 0;
#X connect 15 0 3 0;
#X connect 16 0 3 0;