[VERSION] save version=110 usine version=HH4-full date usine=201213 [PA-INFO] thumbnail image=89504E470D0A1A0A0000000D49484452000000640000005B080600000085CE202C000000017352474200AECE1CE90000000467414D410000B18F0BFC61050000030749444154785EEDD8BF6B13611CC7F14F0AD52222E21482843A9DC441088814A4EB7549103248FE80C421A364BF3D74CC92FE015D25C1216B972081808860264BA02193A8D4AA88ADCF73F7A43DDA839C3F829FCAE705699A6FEE1E92BCEF72B49942A17002A1B1E2EE858482905190255A5DFBF5AB4142101F41A706CF3DFA73BFB3DE827D3CEF2FBEBEE5296E7DC1A32787B899FDE1268B5DC233C443ED5915EBEE11BBDB77BF63EBE9A7D4614E8378B50EBADD2EBA9D0A72E767E616F86EE807A966A9D78B49DAC70FA2EDC39BDDC9AFA2942DA2E1CEA0456BB2481BC605F1517D3044B35C46797B188DE2B372130795C04CCC5749036887B33650B11FCAB95923DA2EDD7A7149FB78D8DFB5DB476B8F727978FD5DF46623B4EB3B182F5C934F3CCCF55BC76E7A260AE2E5919B4ECC1B34C6134CE7B36C09ADF0E86B99A33287BC6F66A301FAF679F333B01F8ADD2E361B8CDC7669D68B5F08925E8379345E9F9F7D0D14C359CCA235491DBE5FC1C1DB557CFE907193335110FB01D8A3CFFE6EDFE47C36EBB9A3CFDEEAD8E99B5971C31D85EEC26BB78BCD368A534CEC7669D60B3F7D27E9357835743606D1F6CD1E667616B7684D3236C4CBE7D7F0A27D03EF5E5DC5C9F1C520A77FA9DBEFE256290BCC66E68D0FB16D8E7ECC6721F335510ED0B7D78B4674AC8EDA6504F6D44898A55ECF3DB22EEEB387CD8E3DF2CD93E66B6A64EE06F50030D79546CE8448B1E6BFF4F0F111EEDCFF168678B3B786FDD7571223C4E95F274B746FF32B8E3E6652859853103297F0EF90FF9B82905110320A424641C82808190521A3206414848C82905110320A424641C82808190521A3206414848C82905110320A424641C82808190521A3206414848C82905110320A424641C82808190521A3206414848C82905110320A424641C82808190521A3206414848C82905110320A424641C82808190521A3206414848C82905110320A424641C82808190521A3206414848C82905110320A424641C82808190521A3206414848C82905110320A424641C82808190521A3206414848C82905110320A424641C8280815E02731844ABF7B18613C0000000049454E44AE426082 usine version=Usine-full 4.1.201213 WIN64 date usine=201213 patch version=110 filename=C:\Users\creal\Desktop\decode date.pat description= [PA-] UID=6551728800150128197 PRESETUID=2700866512740484687 PATCHTYPE=0 ORIGINDEVICE= NBPG=3 OFFSETX=239.199981689453 OFFSETY=226.399963378906 QIDX1NEW0=0 QIDX2NEW0=0 ID0=355 L0=87.3999633789063 T0=106.800018310547 QIDX1NEW1=0 QIDX2NEW1=0 ID1=355 L1=256 T1=121.199996948242 QIDX1NEW2=0 QIDX2NEW2=0 ID2=355 L2=514.599975585937 T2=125.600006103516 NBCO=0 [PA-PASE] where=0 name=decode date saved in preset=1 show when active on grid=1 can be randomized=1 can be reset=1 fast graphic render=0 undo enabled=1 presets panel=0 also visible in IB=0 enabled=1 on top=0 opacity=1 zoom scale=1 left=1 top=92 width=110 height=100 resize grip enabled=1 IB left=0 IB top=0 IB width=100000 IB height=100000 location left=100000 location top=100000 location width=100000 location height=100000 memo minimized in IB=0 memo minimized=0 memo reduced=0 transparent=0 background color=$FF2A2A2A hilited color=$FF434343 frames count=1 frames alignment=0 fit size=1 show border=0 border color=$FF373737 border width=0 round size=0 don't draw selection border=0 show caption=1 caption font color=$FFDDDDDD caption font size factor=0.600000023841858 caption align=1 caption V align=0 caption font name=Arial caption font bold=0 caption font italic=0 caption font underline=0 show header=1 header height=20 header color=$FF2A2A2A show toolbar=1 toolbar size=16 minimized=0 HeightBeforeMinimize=0 WidthBeforeMinimize=0 snap to grid=1 grid size=2 auto resize=1 auto resize margin=2 [PA-PRESETS] UID=6978079150390350551 PRESETUID=4416571525618176734 VISIBLE=0 MINIMIZED=0 VERSION=110 NBPRESETS=0 CURRENT NUM=0 [PA-PRESETSSE] UID=6978079150390350551 PRESETUID=4416571525618176734 also visible in IB=0 visible=0 zoom scale=1 left=2 top=0 width=161 height=33 resize grip enabled=1 IB width=32768 IB height=32768 location left=32768 location top=32768 location width=32768 location height=32768 memo minimized in IB=0 memo minimized=0 selected=0 fade duration=0 scope=0 [PA-PRESETSSTORENEWBTNnewSE] UID=5161819951418696122 PRESETUID=3481533839331156420 active mode=0 inverse=0 quantize=0 mode=0 channel=1 control type=0 control num=0 motorized=0 mackie mode=0 soft take over=0 short cut=0 time code=0 osc tag order=1 osc mode=0 dmx universe=0 dmx channel=0 [PA-PRESETSREWRITEBTNwriteSE] UID=8949884920698107043 PRESETUID=3599060074583422128 [PA-PRESETSNEXTBTNnext buttonSE] UID=8299707426342841122 PRESETUID=8284685327253515055 active mode=0 inverse=0 mode=0 channel=1 control type=0 control num=0 motorized=0 mackie mode=0 soft take over=0 short cut=0 time code=0 osc tag order=1 osc mode=0 dmx universe=0 dmx channel=0 [PA-PRESETSPREVIOUSBTNprevious buttonSE] UID=1937130485215276148 PRESETUID=6137156116092955774 active mode=0 inverse=0 mode=0 channel=1 control type=0 control num=0 motorized=0 mackie mode=0 soft take over=0 short cut=0 time code=0 osc tag order=1 osc mode=0 dmx universe=0 dmx channel=0 [PA-PRESETSLISTPRESETCBpresetsSE] UID=776759986898732918 PRESETUID=6281154197590509444 [PA-PRESETSLISTPRESETCB] INDEXpresets=0 [PA-0] FNAME=D:\MAO\Usine\Usine 4.1.201213 (creal)\Resources\Modules\File\File Write Text File.fastscript UID=1527612560064122619 PRESETUID=8594607785340833555 script source=//////////////////////////,// write text File ,/////////////////////////,// declaration , ,,const filenameDefault : string = 'usine.txt';,"var fname,input,save,folder : Tparameter;",var st : TStringList; ,,// save ,procedure SaveToTextFile;,begin , st.create; , st.setcommaText(input.asString); , st.SaveToFile(folder.asString+pathdelim+fname.asString);, st.free; ,end; ,,// Callback,procedure callBack(n:integer); ,begin, if n = 3 , then SaveToTextFile;,end; ,,// initialisation : create parameters ,procedure init;,var i : integer;,begin , ," Input := CreateParam('comma text in',ptTextField,pioInput);"," folder := CreateParam('folder',ptChooseFolder,pioInput);"," fname := CreateParam('file name',ptTextField,pioInput); ", fname.asString('usine.txt'); , , ," save := CreateParam('save',ptButton,pioInput);", ModuleColor($FF27AE61); ,,end;,,, show script in module=0 background color=$FF27AE61 Tfile name=usine.txt COLLAPS=0 [PA-0comma text inSE] UID=7650244921204547637 PRESETUID=7991752524122169413 [PA-0folderSE] UID=7284109385253658870 PRESETUID=8614636579348160766 [PA-0file nameSE] UID=351770749882736942 PRESETUID=4367109368238448949 [PA-0saveSE] UID=393297687008649625 PRESETUID=7768172866895487392 [PA-1] FNAME=D:\MAO\Usine\Usine 4.1.201213 (creal)\Resources\Templates\\Scripts\Empty Script.fastscript UID=8415562973090434181 PRESETUID=8983364482914602137 script source=//////////////////////////,// Decode date ,/////////////////////////,// declaration ,,,"var year,month,day : Tparameter; ",,// decode ,procedure DecodeDate; ,begin ," output:=CreateParam('year',ptDataFader,pioOutput); ",end; , ,"DecodeDate(DateTime: TDateTime; var Year, Month, Day: UInt16); " show script in module=0 background color=$FF8E44AD Vin=0 Vout=0 USERNAME=Decode date COLLAPS=0 [PA-1inSE] UID=939411744957356082 PRESETUID=2793903147909863488 [PA-1outSE] UID=3642321987457734963 PRESETUID=736307459551091002 [PA-2] FNAME=D:\MAO\Usine\Usine 4.1.201213 (creal)\Resources\Templates\\Scripts\Empty Script.fastscript UID=7125827960411425264 PRESETUID=8175681876390742529 script source=//GLOBAL VARIABLES AND TPARAMETER DECLARATIONS,var input :TParameter; ,var output :TParameter; ,,//PROCESS ,PROCEDURE PROCESS();,BEGIN , output.asFloat(input.asFloat),END; ,,//INIT PROCEDURE,PROCEDURE INIT();, ,BEGIN ," input:=CreateParam('in',ptDataFader,pioInput);"," output:=CreateParam('out',ptDataFader,pioOutput); ", ModuleColor($FF8E44AD); ,END; ,,//CALLBACK ,PROCEDURE CALLBACK(N:INTEGER);,BEGIN, CASE N OF, input: Begin ,, End;, End;//END MAIN CASE ,END; , show script in module=0 background color=$FF8E44AD Vin=0 Vout=0 COLLAPS=0 [PA-2inSE] UID=2247063934020721354 PRESETUID=243401659678825176 [PA-2outSE] UID=8807915622301539228 PRESETUID=1984654508263054244 [PA-CPSE] where=0 also visible in IB=0 enabled=1 on top=0 opacity=1 zoom scale=1 left=1 top=92 width=110 height=100 resize grip enabled=1 IB width=100000 IB height=100000 location left=100000 location top=100000 location width=100000 location height=100000 memo minimized in IB=0 memo minimized=0 transparent=0 background color=$FF2A2A2A hilited color=$FF434343 frames count=1 frames alignment=0 fit size=1 show border=0 border color=$FF373737 border width=0 round size=0 don't draw selection border=0 show caption=1 caption font color=$FFDDDDDD caption font size factor=0.600000023841858 caption align=1 caption V align=0 caption font name=Arial caption font bold=0 caption font italic=0 caption font underline=0 show header=1 header height=20 header color=$FF2A2A2A show toolbar=1 toolbar size=16 minimized=0 HeightBeforeMinimize=0 WidthBeforeMinimize=0 snap to grid=1 grid size=2 auto resize=1 auto resize margin=2 name=decode date saved in preset=1 show when active on grid=1 can be randomized=1 can be reset=1 fast graphic render=0 undo enabled=1 presets panel=0 [PA-CPTOOLBARTBENABLESE] UID=1501884924709684021 PRESETUID=7738517526897083197 [PA-CPTOOLBARTBMINIMIZESE] UID=2979426162844222360 PRESETUID=3311657426676466592 [PA-CPTOOLBARTBREDUCESE] UID=5435686558920725140 PRESETUID=8589145465693786785 [PA-CPTOOLBARTBPRESETSE] UID=2835505551819261160 PRESETUID=6868784437548926195 active mode=0 inverse=0 mode=2 channel=1 control type=0 control num=0 motorized=0 mackie mode=0 soft take over=0 short cut=0 key mode=1 mouse mode=1 time code ON=0 time code OFF=0 osc tag order=1 osc mode=0 dmx universe=0 dmx channel=0 [PA-MODULARWIRES] CNT=0