[flood]ссылки оформляйте в теги [url][/url][/flood] ------------ Дoбавленo в 10.28:вот, если я вас правильно понял Add(StringTableMT,16512608,805,266) { Left=25 Top=10 Width=565 Height=290 Columns=#9:Video=350|8:Time=100| IconsCheck=[] MiscIcons=[] Icons=[] Point(doMT_Add) Point(doSelect) Point(Index) Point(onKeyDown) Point(Matrix) Point(Strings) link(onKeyDown,13264377:doCompare,[]) } Add(StyleXP,6279892,0,0) { } Add(DropFile,15377584,0,266) { Point(onStartDrop) link(onDropFile,418175:doAdd,[(90,272)(90,139)]) link(onEndDrop,550113:doWork2,[]) } Add(BlockFind,3744084,287,273) { IncludeBlock=1 StartBlock="Dulalion: " EndBlock="YTBM" link(onSearch,4833435:doEvent1,[]) } Add(WinExec,15663766,686,98) { FileName="FFMPEG.EXE" RunEvent=1 @IsLib=True Point(onConsoleResult) Point(doConsoleExec) Point(onConsoleError) Point(onConsoleTerminate) link(Params,274609:FString,[(699,86)(729,86)(729,158)(594,158)]) link(onConsoleResult,1907649:doWork2,[]) link(onConsoleError,8619860:doWork2,[]) } Add(FormatStr,7259663,161,273) { DataCount=1 Mask="-i "%1"" Point(FString) link(onFString,9901510:doConsoleExec,[]) } Add(Button,2734275,231,105) { Left=25 Top=341 Width=100 Height=60 Caption="Не стоит жать" Data=Integer(0) link(onClick,12392243:doEvent1,[]) AddHint(1,-40,21,13,Data) } Add(BlockFind,3588560,812,112) { @Hint=#3:лог| StartBlock="final ratefactor: " EndBlock=" " link(onSearch,333922:doCase,[]) } Add(Hub,14298367,770,105) { InCount=2 link(onEvent1,13150091:doText,[(798,111)(798,69)]) link(onEvent2,3588560:doSearch,[]) } Add(MainForm,15405649,98,0) { Width=891 Height=455 Caption="FFFFFF!!!" BorderStyle=1 Position=1 } Add(FormatStr,274609,588,112) { DataCount=4 Mask="-i "%1%2%3" -skip_frame none -strict experimental -y -acodec aac -aq 255 -ab 128k -ac 2 -ar 44100 -s 320:240 -vcodec libx264 -preset ultrafast -tune film -threads 8 -b 500k -vtag x264 -x264opts frameref=15:fast_pskip=0 "%4%2.mp4"" Point(FString) link(onFString,15663766:doConsoleExec,[]) link(Str1,13430085:Part,[(594,95)(579,95)(579,167)(440,167)]) link(Str2,1152484:Part,[(601,81)(565,81)(565,160)(489,160)]) link(Str3,9889696:Part,[(608,87)(571,87)(571,156)(531,156)]) link(Str4,14752967:Var2,[]) } Add(FilePartElm,13430085,434,112) { Mode=0 Point(Part) link(onPart,1152484:doPart,[]) link(FileName,2904678:Var2,[]) } Add(FilePartElm,1152484,483,112) { Mode=2 Point(Part) link(onPart,9889696:doPart,[]) link(FileName,14093670:Var2,[]) } Add(FilePartElm,9889696,525,112) { Mode=3 Point(Part) link(onPart,274609:doString,[]) link(FileName,14093670:Var3,[(531,93)]) } Add(Message,16775031,1260,70) { @Hint=#22:сообщение о готовности| Message="Готово" Caption="FFFFF!!" AddHint(-52,-56,141,13,@Hint) } Add(Button,16302830,497,28) { Left=490 Top=310 Width=50 link(onClick,11689050:doBrowse,[]) } Add(Browse,11689050,553,28) { Title="Место сохранения видео" NewStyle=0 link(onBrowse,5466809:doValue,[]) } Add(Memory,5466809,609,28) { link(onData,6281967:doText,[]) } Add(DoData,4399649,910,273) { link(onEventData,10882720:In,[]) link(Data,16512608:Index,[(916,261)(1000,261)(1000,354)(825,354)]) } Add(If_else,13264377,861,273) { Op2=Integer(46) link(onTrue,4399649:doData,[]) } Add(Edit,6281967,658,28) { Left=26 Top=308 Width=450 Text="Укажите папку для сохранения видео. По умолчанию выбрана папка программы." } Add(WinExec,9901510,217,259) { FileName="FFMPEG.EXE" RunEvent=1 Point(onConsoleResult) Point(doConsoleExec) Point(onConsoleError) Point(onConsoleTerminate) link(Params,7259663:FString,[(230,247)(202,247)(202,317)(167,317)]) link(onConsoleError,7650376:doEvent1,[]) link(onConsoleTerminate,7650376:doEvent2,[]) } Add(Hub,7650376,259,273) { InCount=2 OutCount=1 link(onEvent1,3744084:doSearch,[]) } Add(MT_AddData,7197298,693,301) { link(onAdd,16512608:doMT_Add,[]) link(Data1,15173444:Var,[]) link(Data2,13997154:Value,[]) } Add(Memory,13997154,700,252) { @Color=13421772 } Add(Label,8566414,42,0) { Left=235 Top=265 Width=129 Height=17 Color=16777215 Caption="Перетащите видео сюда" } Add(EventFromData,1495337,350,42) { link(onEvent,4643945:doSplit,[]) } Add(MultiStrData,4643945,413,42) { link(Str,7413573:Var,[]) link(onPart1,1495337:doData,[(457,48)(457,36)(338,36)(338,48)]) } Add(Memo,13150091,812,42) { @Hint=#7:Процесс| Left=605 Top=10 Width=235 Height=285 AddHint(-85,-26,59,13,@Hint) } Add(Button,6161539,420,525) { Left=140 Top=341 Width=130 Height=60 Caption="Конвертировать все" Data=Integer(1) link(onClick,3019665:doEvent1,[]) AddHint(1,73,21,13,Data) } Add(FilePartElm,10963106,826,539) { Mode=0 Point(Part) link(onPart,449675:doPart,[]) link(FileName,198006:Var2,[]) } Add(FilePartElm,449675,889,539) { Mode=2 Point(Part) link(onPart,8134174:doPart,[]) link(FileName,1587668:Var2,[]) } Add(FilePartElm,8134174,938,539) { Mode=3 Point(Part) link(onPart,10485809:doString,[]) link(FileName,1587668:Var3,[(944,516)]) } Add(FormatStr,10485809,1029,539) { DataCount=4 Mask="-i "%1%2%3" -skip_frame none -strict experimental -y -acodec aac -aq 255 -ab 128k -ac 2 -ar 44100 -s 320:240 -vcodec libx264 -preset ultrafast -tune film -threads 8 -b 500k -vtag x264 -x264opts frameref=15:fast_pskip=0 "%4%2.mp4"" Point(FString) link(onFString,1733496:doConsoleExec,[]) link(Str1,10963106:Part,[(1035,527)(873,527)(873,583)(832,583)]) link(Str2,449675:Part,[(1042,507)(928,507)(928,583)(895,583)]) link(Str3,8134174:Part,[(1049,514)(992,514)(992,583)(944,583)]) link(Str4,2510125:Var,[]) } Add(GetDataEx,14752967,609,70) { link(Data,5466809:Value,[]) } Add(WinExec,1733496,1106,525) { elink(15663766) Point(onConsoleResult) Point(doConsoleExec) Point(onConsoleError) Point(onConsoleTerminate) link(Params,10485809:FString,[(1119,513)(1070,513)(1070,583)(1035,583)]) link(onConsoleResult,13486529:In,[]) link(onConsoleError,15372391:In,[(1154,545)(1154,559)]) } Add(HubEx,1907649,749,105) { link(onEvent,14298367:doEvent1,[]) } Add(HubEx,8619860,735,112) { link(onEvent,14298367:doEvent2,[]) } Add(MultiStrPart,14879240,756,539) { link(onSplit,10963106:doPart,[]) link(Str,3939005:Item,[(762,527)(731,527)(731,585)(685,585)]) } Add(ArrayRW,3939005,679,539) { link(onRead,14879240:doSplit,[]) link(Array,9045652:Var,[]) link(Index,16521448:Var2,[]) } Add(CounterEx,11578844,686,385) { Point(doReset) link(onNext,1369756:doWork1,[(730,391)(730,369)(634,369)]) } Add(HubEx,1369756,630,539) { link(onEvent,3939005:doRead,[]) } Add(Memory,7615387,994,42) { Default=Integer(0) } Add(Hub,3019665,476,525) { OutCount=3 link(onEvent1,11578844:doReset,[(657,531)(657,398)]) link(onEvent2,6198355:In,[(497,538)(497,510)]) link(onEvent3,1369756:doWork2,[]) } Add(Hub,12392243,294,105) { link(onEvent1,3846914:In,[(315,111)(315,153)]) link(onEvent2,13430085:doPart,[]) } Add(IndexToChanel,6195024,1043,112) { link(onEvent1,389963:doWork2,[(1101,118)(1101,76)]) link(onEvent2,11852332:doCompare,[(1094,125)(1094,146)]) } Add(DoData,13065639,994,112) { link(onEventData,6195024:doEvent,[]) link(Data,7615387:Value,[]) } Add(If_else,11852332,1120,140) { link(onTrue,389963:doWork3,[(1187,146)]) link(onFalse,2785464:In,[]) link(Op1,16561705:reCalc,[]) link(Op2,12797802:Var,[]) } Add(GetDataEx,16521448,686,434) { link(Data,11578844:Count,[]) } Add(HubEx,389963,1183,70) { link(onEvent,14406372:doWork2,[]) } Add(MathParse,16561705,1113,84) { MathStr="%1 + 1" Point(reCalc) link(X1,10150462:Var,[]) } Add(Hub,8996391,658,252) { link(onEvent1,13997154:doValue,[]) link(onEvent2,7197298:doAdd,[(686,265)(686,307)]) } Add(StrList,418175,147,133) { @Hint=#13:очередь видео| AddHint(-38,-44,89,13,@Hint) } Add(ArrayRW,7001007,119,273) { link(onRead,7259663:doString,[]) link(Array,418175:Array,[(125,253)(167,253)]) link(Index,15628740:Var2,[]) } Add(Hub,4833435,350,273) { link(onEvent1,1291265:In,[(378,279)(378,258)]) link(onEvent2,7789818:doNext,[]) } Add(If_else,11796946,91,434) { link(onTrue,928168:doEvent1,[]) link(onFalse,550113:doWork3,[(142,447)(142,347)(81,347)]) link(Op1,15628740:Var1,[(97,243)]) link(Op2,12822206:Var,[]) } Add(HubEx,14406372,1218,70) { link(onEvent,16775031:doMessage,[]) } Add(Hub,928168,161,434) { OutCount=3 link(onEvent1,6870495:In,[(196,440)(196,426)]) link(onEvent2,5864456:In,[]) link(onEvent3,14495487:In,[(199,454)(199,468)]) } Add(Counter,7789818,406,280) { @Hint=#24:номер добавленного видео| Max=100000 link(onNext,13507013:In,[]) AddHint(59,41,154,13,@Hint) } Add(HubEx,550113,77,273) { link(onEvent,7001007:doRead,[]) } Add(LineBreak,10151722,812,413) { Caption="выбранная строка" Type=1 link(Data,16512608:Select,[]) Primary=[7413573,-399,-406] } Add(GetDataEx,2904678,434,88) { Angle=3 link(Data,1495337:GetData,[(356,93)]) } Add(GetDataEx,14093670,483,88) { Angle=3 link(Data,2904678:Var3,[]) } Add(LineBreak,15069950,182,203) { Caption="кол-во видео" Type=1 link(Data,418175:Count,[(188,191)(160,191)]) Primary=[12822206,-84,196] } Add(LineBreak,4168324,119,343) { Caption="текущий элемет" Type=1 link(Data,7001007:Item,[]) Primary=[15173444,574,-119] } Add(LineBreak,13711560,-7,434) { Caption="сравнение" link(Out,11796946:doCompare,[]) Primary=[13507013,462,-154] } Add(LineBreak,12117324,35,140) { Caption="очистка списка" link(Out,418175:doClear,[]) Primary=[5864456,182,301] } Add(LineBreak,10984244,532,385) { Caption="следующее видео" link(Out,11578844:doNext,[]) Primary=[2785464,658,-238] } Add(LineBreak,14709307,833,329) { Caption="доступ к массиву" Type=1 link(Data,16512608:Strings,[]) Primary=[9045652,-154,168] } Add(LineBreak,6936548,756,602) { Caption="файл видео" Type=1 link(Data,14879240:Part1,[]) Primary=[15809105,70,-119] } Add(GetDataEx,198006,826,511) { link(Data,15809105:Var,[]) } Add(GetDataEx,1587668,889,511) { Angle=3 link(Data,198006:Var3,[]) } Add(LineBreak,1550645,714,462) { Caption="индекс видео" Type=1 link(Data,16521448:Var1,[(720,439)]) Primary=[10150462,399,-441] } Add(LineBreak,12832531,763,364) { Caption="кол-во строк" Type=1 link(Data,16512608:Count,[(769,337)(811,337)]) Primary=[12797802,364,-315] } Add(LineBreak,5812393,658,168) { Caption="результат" link(Out,1907649:doWork3,[(753,174)]) Primary=[13486529,511,364] } Add(LineBreak,14309378,658,189) { Caption="ошибки" link(Out,8619860:doWork3,[(739,195)]) Primary=[15372391,511,364] } Add(LineBreak,9636276,861,42) { Caption="номер комманды" link(Out,8922190:doWork2,[]) Primary=[6198355,-357,462] } Add(LineBreak,3066944,854,21) { Caption="номер комманды+" link(Out,8922190:doWork1,[(984,27)]) Primary=[3846914,-532,126] } Add(HubEx,8922190,980,42) { link(onEvent,7615387:doValue,[]) } Add(Case,333922,903,112) { link(onNextCase,13065639:doData,[]) } Add(LineBreak,9858434,336,294) { Caption="сброс" link(Out,7789818:doReset,[]) Primary=[14495487,-119,168] } Add(LineBreak,15212863,1162,105) { Caption="готово" link(Out,14406372:doWork3,[(1222,111)]) Primary=[6870495,-945,315] } Add(LineBreak,2936256,588,252) { Caption="добавить" link(Out,8996391:doEvent1,[]) Primary=[1291265,-182,0] } Add(LineBreak,10140518,406,343) { Caption="номер" Type=1 link(Data,7789818:Count,[]) Primary=[16445394,-280,-133] } Add(GetDataEx,15628740,126,238) { link(Data,16445394:Var,[]) } Add(LineBreak,4716193,756,280) { Caption="del" link(Out,16512608:doDelete,[]) Primary=[10882720,203,-7] } Add(LineBreak,10622586,623,91) { Caption="save_dir" Type=1 link(Data,14752967:Var3,[(629,75)]) Primary=[2510125,427,385] }
почистил схему за вас [offtop]ваша кнопка "Не стоит жать" конвертирует выбранное видео из таблицы кнопка "Конвертировать все" поочередно конвертирует все видео[/offtop]
|