Forums > Jitter

send message to jit qt grab or jit qt movie

April 21, 2008 | 4:10 pm

I would like to associate preset to jit qt.movie or to jit.qt.grab if preset is saved, jit qtgrab record movie and if preset is read jit qt movie play video.

max v2;
#N vpatcher 3 25 1031 771;
#P origin 0 -13;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 793 606 47 9109513 tosymbol;
#P newex 536 652 27 9109513 i;
#P newex 393 574 44 9109513 del 500;
#P newex 420 618 27 9109513 i;
#P newex 416 655 90 9109513 s set_menu_videos;
#P number 433 471 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 848 522 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 867 449 27 9109513 i;
#P newex 866 479 27 9109513 + 1;
#P newex 162 490 57 9109513 route done;
#P newex 207 519 57 9109513 unpack 0 s;
#P newex 207 549 32 9109513 print;
#P button 538 572 15 0;
#P newex 423 537 50 9109513 del 1000;
#P newex 743 502 64 9109513 fromsymbol;
#P newex 742 481 69 9109513 route symbol;
#P message 159 183 81 9109513 getslotnamelist;
#P newex 599 663 32 9109513 print;
#P button 624 485 15 0;
#P newex 589 404 115 9109513 route new save presett;
#P number 749 91 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 732 162 94 9109513 store $1 undefined;
#P button 587 490 15 0;
#P newex 742 460 107 9109513 dialog preset_number;
#P newex 589 385 99 9109513 r save_preset_videos;
#P newex 599 514 27 9109513 i;
#P newex 628 615 72 9109513 s to_ps_videos;
#P number 743 524 35 9 0 0 0 139 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 599 553 100 9109513 sprintf store %i %s;
#P newex 641 460 97 9109513 dialog preset_name;
#B color 5;
#P button 589 430 15 0;
#P newex 21 183 50 9109513 del 1500;
#P newex 20 138 221 9109513 route read write writeagain slotnames refresh;
#P newex 20 116 124 9109513 r preset_commands_videos;
#P message 75 320 14 9109513 1;
#P button 119 235 15 0;
#P message 68 28 97 9109513 slotname 0 Presets;
#P newex 206 455 99 9109513 s preset-menu-videos;
#P message 158 232 88 9109513 getslotnamelist 1;
#P message 146 111 61 9109513 store 1 Init;
#P window linecount 2;
#P comment 319 85 362 9109513 For convenience , slotnames may be added to unused slots (useful for adding labels , etc.). However , slotnames will be deleted when the associated slot is.;
#P window linecount 1;
#P newex 266 349 21 9109513 t 0;
#P newex 311 349 55 9109513 unpack 0 s;
#P newex 356 370 75 9109513 prepend append;
#P user ubumenu 338 412 134 9109513 0 1 1 0;
#X add (undefined);
#X add vvdsf;
#X add < (unnamed)>;
#X add ttzett;
#X add vsfg;
#X add vsfg;
#X add opppp;
#X add koou;
#X add cqdfqd;
#X add video&1;
#X add video&1;
#X add video&1;
#X prefix_set 0 0 0;
#P newex 146 256 48 9109513 t 1 clear;
#P newex 266 327 55 9109513 route done;
#P newex 339 391 27 9109513 gate;
#P newex 266 304 55 9109513 r slotname;
#P window linecount 2;
#P comment 319 59 352 9109513 slotnames move with their data. operations like "insert" , "remove" , "copy" , etc. adjust the position of slotnames , as well.;
#P window linecount 3;
#P comment 253 251 378 9109513 if the slot doesn’t exist , the slotname argument will be (undefined) ; If the slot exists , but has no name , the slotname argument will be < (unnamed)> , these names facilitate the use of slotnames with the ubumenu object.;
#P window linecount 4;
#P comment 254 200 443 9109513 retrieve all slotnames as a series of messages in the format "slotname [slotnum] [slotname]" ; The message "slotname done" is output after the final slotname has been reported ; All slots from 0-(max slot used) are output , even if they are undefined , unless an optional non-zero argument is given , in which case only used slots are output.;
#P window linecount 1;
#P message 138 207 81 9109513 getslotnamelist;
#P window linecount 3;
#P comment 227 150 378 9109513 if the slot doesn’t exist , the slotname argument will be (undefined) ; If the slot exists , but has no name , the slotname argument will be < (unnamed)> ; these names facilitate the use of slotnames with the ubumenu object.;
#P window linecount 1;
#P message 160 165 75 9109513 getslotname 1;
#P window linecount 2;
#P comment 239 59 77 9109513 remove the name of slot 1;
#P window linecount 1;
#P message 239 86 60 9109513 slotname 1;
#P message 147 86 84 9109513 slotname 1 slot1;
#P newex 126 348 72 9109513 s to_ps_videos;
#P window linecount 2;
#P comment 429 21 264 9109513 slots may be assigned names , useful for preset displays. slot names cannot be used for storage or recall.;
#P comment 146 59 65 9109513 set the name of slot 1;
#P window linecount 1;
#P comment 228 136 310 9109513 retrieve a slotname in the format "slotname [slotnum] [slotname]";
#P comment 216 113 243 9109513 slotnames may also be added while storing a preset;
#P user panel 123 197 579 97;
#X brgb 191 191 191;
#X frgb 0 0 0;
#X border 0;
#X rounded 0;
#X shadow 0;
#X done;
#P user panel 123 57 568 77;
#X brgb 191 191 191;
#X frgb 0 0 0;
#X border 0;
#X rounded 0;
#X shadow 0;
#X done;
#P connect 31 0 32 0;
#P connect 29 0 30 0;
#P connect 12 0 29 0;
#P fasten 12 0 6 0 143 250 131 250;
#P connect 48 0 6 0;
#P connect 30 0 6 0;
#P connect 43 0 6 0;
#P fasten 8 0 6 0 244 105 131 105;
#P fasten 10 0 6 0 165 174 131 174;
#P fasten 7 0 6 0 152 105 131 105;
#P fasten 25 0 6 0 151 130 131 130;
#P fasten 28 0 6 0 131 347;
#P connect 20 0 6 0;
#P fasten 26 0 6 0 163 250 131 250;
#P connect 33 0 12 0;
#P connect 32 3 12 0;
#P connect 12 0 19 0;
#P fasten 26 0 19 0 163 250 151 250;
#P connect 48 0 19 0;
#P connect 51 0 48 0;
#P connect 32 4 48 0;
#P connect 16 0 55 0;
#P connect 19 1 27 0;
#P connect 17 0 27 0;
#P connect 55 1 54 0;
#P connect 54 0 53 0;
#P connect 16 0 18 0;
#P connect 18 0 23 0;
#P connect 18 1 22 0;
#P fasten 19 1 20 0 189 411 343 411;
#P connect 17 0 20 0;
#P fasten 19 0 17 0 151 319 253 319 253 385 344 385;
#P fasten 23 0 17 0 271 385 344 385;
#P connect 22 1 21 0;
#P connect 21 0 17 1;
#P connect 51 0 62 0;
#P connect 61 0 60 0;
#P connect 62 0 61 0;
#P connect 52 0 51 0;
#P connect 22 0 59 0;
#P connect 39 0 61 1;
#P connect 58 0 61 1;
#P connect 36 0 52 0;
#P connect 35 0 42 0;
#P connect 40 0 45 0;
#P connect 45 0 34 0;
#P connect 46 0 39 0;
#P connect 42 0 39 0;
#P connect 39 0 36 0;
#P connect 36 0 47 0;
#P connect 56 0 39 1;
#P connect 37 0 39 1;
#P connect 45 1 46 0;
#P connect 36 0 38 0;
#P fasten 34 0 35 0 594 451 646 451;
#P connect 45 3 36 1;
#P connect 35 0 36 1;
#P connect 44 0 43 0;
#P connect 41 0 49 0;
#P connect 49 0 50 0;
#P connect 50 0 37 0;
#P connect 45 2 37 0;
#P connect 56 0 58 0;
#P connect 57 0 56 0;
#P connect 34 0 57 0;
#P connect 22 0 57 1;
#P pop;


Viewing 1 post (of 1 total)