г. ость писал(а): А где схема-то? На какое ростение нам exe нужен?! Схема в голове
------------ Дoбавленo в 13.01:
Add(MainForm,2953706,161,105) { Width=1006 Height=617 Caption="Поиск иконок" BorderStyle=3 Icon=[ZIP7E04000078DAA593316BC25014855FA173910E154A870E92041D821602D2A5200403A22E8A5320B874105D2493BFA48B7FC5C1C545902282145C2498B943376FEF7926E5611F25D22B47EFBB5F4EF2CE0B0A71C59F5C4EF0F7A378BD16E24E0861B178C493D31CF5C26C7E73925258DDB2F2ACFB8CCA271E781F58F342A170B46D3BAA542A916559479E2D584F89161A3E4FBCA8CF46A3416118D2783CA65EAF4798297B947C381CD26432D1F167D6A15C2E53B55A053B24B3AC1CB56F369BE4FB3EF85EFCAEBFF88CF311E723CE479C0FD7CC2EE03B4DFE2FD334A507BD26FF4EF17FD4EB751A8D46D4EFF7A9DD6E139ED7ED76693018C81E1C7BC7FDC1E151FCDB73BF611894E645AFF16F15FFE6DC8F8CA91FBDC6BF51FCEBF3FCA552E967FFE835F9D78A7FCA19633EABD8F33C3C2FE6D93B9F9F9CA107775D17E71F277CAA79C7AB4EA7837BAF2E64F2EFC5927BC56FB2CEC2D25AB65A2D993F08025CB3CCC8D27A2B168B51AD568B1CC789B0CEC8FE55DFB1C508F2] link(onCreate,16708624:doWork1,[]) } Add(Hub,12216784,140,217) { OutCount=4 link(onEvent1,12576097:doWork2,[(217,223)(217,167)]) link(onEvent2,16424606:doEvent2,[(294,230)(294,223)]) link(onEvent3,5157967:doWork1,[]) link(onEvent4,11558479:In,[]) } Add(MultiElement,5157967,301,231) { link(onEvent1,13636654:doWork2,[]) link(onEvent2,58346:In,[]) link(onEvent3,16754801:doData,[]) link(Data1,5892806:Var2,[]) } BEGIN_SDK Add(EditMulti,15549525,21,21) { EventCount=3 WorkCount=2 DataCount=1 VarCount=1 Width=895 Height=417 HOffset=300 link(doWork1,15600393:doEvent1,[(69,27)(69,188)]) link(doWork2,9694609:doEvent1,[(123,34)(123,62)]) link(Var1,6601412:Var,[]) } Add(Convertor,11207051,371,287) { Mode=11 link(onResult,14624997:doSearch,[]) } Add(Memory,8618621,322,224) { link(onData,16063181:doDownload,[(366,230)(366,265)(310,265)(310,286)]) } Add(HTTP_Get,16063181,322,280) { Wait=0 link(onDownload,11207051:doConvert,[]) link(URL,8618621:Value,[]) } Add(BlockFind,14624997,413,287) { StartBlock="<div class="icon" id="icon_" EndBlock="">" link(onSearch,11124856:doSearch,[]) } Add(BlockFind,11124856,455,287) { StartBlock="_" EndBlock="">" link(onSearch,6189436:doDelete,[]) } Add(Delete,10855749,539,287) { Count=2 Direction=1 link(onDelete,517012:doReplace,[]) } Add(Delete,6189436,497,287) { Count=1 link(onDelete,10855749:doDelete,[]) } Add(Replace,517012,581,287) { SubStr="_" DestStr=";" link(onReplace,4958197:doReplace,[]) } Add(FormatStr,6841909,672,287) { DataCount=1 Mask="http://www.iconsearch.ru/ajax/download.php?icon_%1" link(onFString,582813:doReplace,[]) } Add(Replace,582813,721,287) { SubStr="_" DestStr="_id=" link(onReplace,1919847:doString,[]) } Add(FormatStr,1919847,763,287) { DataCount=1 Mask="%1&format=png" link(onFString,11192206:doEvent1,[(806,293)(806,277)(380,277)(380,251)]) } Add(Memory,7997228,280,63) { link(onData,14146827:doWork1,[(323,69)(323,185)(235,185)]) } Add(BlockFind,1691158,427,329) { StartBlock="<h2>Показаны результаты с" EndBlock="для" link(onSearch,7103732:doDelete,[]) } Add(Delete,7103732,469,329) { Count=37 link(onDelete,9581161:doReplace,[]) } Add(Replace,9581161,511,329) { SubStr=" для" link(onReplace,1098951:doOperation,[]) } Add(Math,1098951,553,329) { OpType=3 Op2=24 ResultType=0 link(onResult,4106682:doCompare,[]) } Add(StrList,13230241,448,42) { Point(doGetString) Point(onGetString) link(onGetString,14497657:doDownload,[]) } Add(LineBreak,5004768,497,189) { Caption="stop" link(Out,10391474:doEvent1,[]) Primary=[14377036,49,-119] } Add(StrList,3382346,735,329) { } Add(ArrayEnum,667205,749,392) { link(onItem,15549525:onEvent2,[(819,398)(819,34)]) link(onEndEnum,12850180:In,[]) link(Array,3382346:Array,[]) } Add(MultiElement,15445582,637,329) { link(onEvent1,3382346:doAdd,[]) link(onEvent2,667205:doEnum,[(681,342)(681,398)]) } BEGIN_SDK Add(EditMulti,2803045,21,21) { EventCount=2 WorkCount=1 Width=370 Height=109 link(doWork1,3283379:doEvent1,[(35,27)(35,62)]) } Add(CounterEx,11989166,245,49) { Max=0 Point(doMax) Point(doReset) link(onNext,6777599:doStrCat,[]) } Add(Hub,3283379,77,56) { OutCount=3 link(onEvent1,11989166:doMax,[]) link(onEvent2,5163135:doAutoStop,[(116,69)(116,104)]) link(onEvent3,5163135:doTimer,[(105,76)(105,90)]) } Add(Timer,5163135,133,84) { Interval=1 Enable=1 Point(doAutoStop) Point(onStop) link(onTimer,13943315:In,[]) link(onStop,5334266:doEvent1,[]) } Add(StrCat,6777599,301,49) { Str1="Страница " link(onStrCat,2803045:onEvent1,[(362,55)(362,27)]) link(Str2,11989166:Count,[(314,34)(284,34)(284,93)(251,93)]) } Add(LineBreak,7306096,196,49) { Caption="tick" link(Out,11989166:doNext,[]) Primary=[13943315,0,35] } Add(Hub,5334266,175,91) { link(onEvent1,11989166:doReset,[(234,97)(234,69)]) link(onEvent2,2803045:onEvent2,[(370,104)(370,34)]) } END_SDK Add(FormatStr,872235,273,224) { Mask="http://www.iconsearch.ru/search/?q=%1&page=%2" link(onFString,8618621:doValue,[]) link(Str1,2301491:Var,[]) link(Str2,8527999:Var2,[]) } Add(Memory,9125757,322,322) { link(onData,4755369:doDownload,[(358,328)(358,363)(309,363)(309,377)]) } Add(HTTP_Get,4755369,322,371) { Point(PostData) link(onDownload,8217444:doConvert,[(362,384)(362,335)]) link(URL,9125757:Value,[]) } Add(FormatStr,5722584,259,350) { Mask="http://www.iconsearch.ru/search/?q=%1&page=%2" link(onFString,9125757:doValue,[(307,356)(307,328)]) link(Str1,2394755:Var,[]) link(Str2,8527999:Var1,[(272,215)]) } Add(Convertor,8217444,371,329) { Mode=11 link(onResult,1691158:doSearch,[]) } Add(Hub,15600393,133,182) { OutCount=4 link(onEvent1,4305723:doData,[(154,188)(154,125)]) link(onEvent2,4457982:doEvent2,[(193,195)(193,174)]) link(onEvent3,14146827:doWork2,[]) link(onEvent4,5722584:doString,[(203,209)(203,356)]) } Add(HubEx,14146827,231,196) { link(onEvent,872235:doString,[(255,202)(255,230)]) } Add(Replace,4958197,623,287) { SubStr=";" DestStr="&size=" link(onReplace,6841909:doString,[]) } Add(HTTP_Get,14497657,497,49) { link(onDownload,15549525:onEvent1,[(545,62)(545,27)]) link(onStop,14377036:In,[]) } Add(LineBreak,14450743,378,84) { Caption="getSting" link(Out,13230241:doGetString,[]) Primary=[1805650,350,112] } Add(LineBreak,13638827,399,49) { Caption="clean" link(Out,13230241:doClear,[]) Primary=[9408555,-126,112] } Add(Hub,11192206,392,245) { OutCount=3 link(onEvent1,13230241:doAdd,[(433,251)(433,221)(378,221)(378,48)]) link(onEvent2,12090230:doData,[(439,258)(439,209)]) link(onEvent3,14159820:doTimer,[(445,265)(445,244)]) } Add(CounterEx,9163828,644,196) { Max=0 Default=-1 Point(doMax) Point(doReset) link(onNext,1805650:In,[]) } Add(DoData,12090230,455,203) { link(onEventData,4726216:In,[]) link(Data,2346442:Data1,[]) } Add(If_else,5160587,581,189) { link(onTrue,15549525:onEvent3,[(825,195)(825,41)]) link(onFalse,9163828:doNext,[]) link(Op1,6613464:Var,[]) link(Op2,2346442:Data2,[(594,179)(468,179)]) } Add(Timer,14159820,455,238) { Enable=1 AutoStop=1 link(onTimer,10391474:doEvent2,[(535,244)(535,202)]) } Add(LineBreak,11211222,644,245) { Caption="count" Type=1 link(Data,9163828:Count,[]) Primary=[6613464,-63,-91] } Add(GetData,2346442,455,105) { Count=3 link(Data,13230241:Count,[]) } Add(LineBreak,10219041,574,224) { Caption="max" link(Out,9163828:doMax,[(619,230)(619,209)]) Primary=[4726216,-77,-21] } Add(LineBreak,13002716,574,231) { Caption="reset" link(Out,9163828:doReset,[(627,237)(627,216)]) Primary=[9117092,-301,-63] } Add(Hub,10391474,553,189) { InCount=2 OutCount=1 link(onEvent1,5160587:doCompare,[]) } Add(Hub,4457982,238,161) { InCount=2 link(onEvent1,9408555:In,[]) link(onEvent2,9117092:In,[]) } Add(GetData,14830587,328,49) { link(Data,15549525:Data1,[(334,35)(327,35)]) } Add(LineBreak,14464469,335,98) { Caption="string" Type=1 link(Data,14830587:Data2,[(341,90)(341,90)]) Primary=[2394755,-76,224] } Add(LineBreak,9776729,328,112) { Caption="string" Type=1 link(Data,14830587:Data1,[(334,96)(334,96)]) Primary=[2301491,-55,84] } Add(Hub,9694609,161,56) { link(onEvent1,4457982:doEvent1,[(250,62)(250,114)(226,114)(226,167)]) link(onEvent2,9890927:doWork2,[]) } Add(LineBreak,14210591,686,336) { Caption="clean" link(Out,3382346:doClear,[]) Primary=[12850180,105,63] } Add(LineBreak,15232771,469,161) { Caption="count" Type=1 link(Data,2346442:Data3,[]) Primary=[6601412,-148,245] } Add(GetDataEx,8527999,280,210) { link(Data,7997228:Value,[]) } Add(DoData,4305723,161,119) { link(onEventData,9890927:doWork3,[(214,125)]) } Add(HubEx,9890927,210,63) { link(onEvent,7997228:doValue,[]) } Add(If_else,4106682,595,329) { Op2=Integer(0) link(onFalse,15445582:doWork1,[(632,342)(632,335)]) } END_SDK Add(ChildGroupBox,13636654,546,224) { link(Data1,5892806:Var3,[(552,208)]) } BEGIN_SDK Add(EditMulti,2404391,21,21) { WorkCount=2 DataCount=1 Width=153 Height=88 HOffset=50 link(doWork1,1071421:doWork2,[(53,27)(53,69)]) link(doWork2,1071421:doWork1,[(53,34)(53,62)]) } Add(GroupBox,7214682,126,56) { Left=355 Top=5 Width=641 Height=569 Caption="Иконки в формате png" } Add(ChildScrollBox,1071421,84,56) { link(Data1,2404391:Data1,[(90,38)(77,38)]) } BEGIN_SDK Add(EditMulti,4475638,21,21) { WorkCount=2 DataCount=1 Width=244 Height=137 HOffset=100 link(doWork1,1552950:doEvent1,[(78,27)(78,90)]) link(doWork2,14627325:##clear,[(72,34)(72,104)]) } Add(ScrollBox,11799828,203,28) { Left=5 Top=15 Width=623 Height=545 } Add(GridLayout,11564006,217,84) { Name="grid" Rows=6 Cols=4 } Add(ChildPanelEx,14627325,161,84) { Mode=1 link(onChange,11564006:doResize,[]) link(FileName,14627325:##eventIndex,[(167,73)(148,73)(148,128)(167,128)]) link(Str1,4475638:Data1,[(174,49)(127,49)]) } BEGIN_SDK Add(EditMultiEx,11312352,21,21) { WorkCount=#5:##add|10:doDownload|7:##clear| EventCount=#8:onChange| VarCount=#12:##eventIndex| DataCount=#8:FileName|4:Str1| Width=552 Height=284 HOffset=300 Point(##add) Point(##clear) Point(##eventIndex) link(##add,11312352:onChange,[]) link(doDownload,11147110:doEvent1,[(115,34)(115,230)]) } Add(Panel,1990032,287,252) { Left=5 Top=5 Width=150 Height=108 Layout="parent.grid" } Add(PNG,6398818,462,210) { Transparent=0 Point(doLoadFromStream) Point(doBitmap) Point(FileName) link(onBitmap,13233627:doLoad,[]) link(FileName,2374574:Result,[(468,200)(510,200)]) } Add(Hub,11147110,210,224) { link(onEvent1,6398818:doLoadFromStream,[]) link(onEvent2,6398818:doBitmap,[]) } Add(Image,13233627,511,210) { Left=2 Top=2 Width=146 Height=77 Align=5 AutoSize=0 ViewStyle=0 } Add(ChildPanel,9472538,301,140) { link(onEvent1,14251522:doStrCat,[]) } BEGIN_SDK Add(EditMulti,2447355,21,21) { EventCount=1 } Add(Panel,15509543,35,105) { Left=2 Top=99 Width=151 Height=27 Align=4 } Add(CheckBox,9573000,253,21) { Left=2 Top=2 Width=147 Height=23 Align=5 Caption="Сохранить изображение" link(onCheck,2447355:onEvent1,[]) } END_SDK Add(StrCat,14251522,406,140) { link(onStrCat,10565413:doStrCat,[]) link(Str1,2377034:CurrentDir,[]) link(Str2,11312352:Str1,[(419,91)(334,91)]) } Add(Dir,2377034,406,91) { } Add(StrCat,10565413,462,140) { link(onStrCat,2374574:doStrCat,[]) link(Str1,14251522:Result,[(468,128)(447,128)(447,184)(412,184)]) link(Str2,11312352:FileName,[(475,80)(327,80)]) } Add(StrCat,2374574,504,140) { Str2=".png" link(onStrCat,6398818:doSave,[(548,146)(548,191)(450,191)(450,223)]) link(Str1,10565413:Result,[(510,128)(497,128)(497,185)(468,185)]) } END_SDK Add(Hub,1552950,112,84) { link(onEvent1,14627325:##add,[]) link(onEvent2,14627325:doDownload,[]) } END_SDK END_SDK Add(Hub,12417957,476,154) { OutCount=3 link(onEvent1,9458294:In,[]) link(onEvent2,13461871:In,[]) link(onEvent3,4892068:doWork2,[]) } Add(LineBreak,8871303,315,154) { Caption="add" link(Out,12576097:doWork1,[]) Primary=[58346,35,84] } Add(LineBreak,1203939,385,210) { Caption="clean" link(Out,16424606:doEvent1,[]) Primary=[9458294,133,-56] } Add(Hub,16424606,448,210) { InCount=2 OutCount=1 link(onEvent1,13636654:doWork1,[(475,216)(475,230)]) } Add(LineBreak,4365090,245,238) { Caption="click" link(Out,5157967:doWork2,[]) Primary=[13461871,273,-77] } Add(DoData,16754801,476,245) { Data=Integer(1) link(onEventData,1396014:doEvent1,[]) } Add(DoData,1500882,518,168) { Data=Integer(0) link(onEventData,7412691:doEvent1,[]) } Add(LineBreak,12690335,315,182) { Caption="enabled" link(Out,8868126:doWork3,[(403,188)]) Primary=[10885547,315,63] } Add(LineBreak,3221095,315,168) { Caption="enabled" link(Out,8868126:doWork2,[]) Primary=[11553086,294,0] } Add(HubEx,4892068,497,168) { link(onEvent,1500882:doData,[]) } Add(LineBreak,5225967,406,189) { Caption="enabled" link(Out,4892068:doWork3,[(501,195)]) Primary=[11558479,-224,49] } Add(ChildGroupBox,16708624,301,119) { link(onEvent1,16038204:doEvent1,[]) } BEGIN_SDK Add(EditMulti,16185557,21,21) { EventCount=1 WorkCount=2 VarCount=1 Width=496 Height=130 link(doWork1,10811667:doWork1,[]) link(doWork2,10050667:doWork2,[(34,34)(34,69)]) link(Var1,3364786:Var1,[(27,89)]) } Add(GroupBox,3796388,224,35) { Left=7 Top=5 Width=237 Height=569 Caption="Иконки с тегом" } Add(ListBox,7527458,294,21) { Left=3 Top=16 Width=230 Height=520 Font=[MS Sans Serif,8,1,0,1] Point(String) Point(doEnabled) Point(doSelectString) link(onChange,14301487:doData,[]) link(onClick,1237523:doEvent1,[(338,34)(338,62)]) } Add(Label,7740479,399,28) { Left=9 Top=245 Width=222 Height=17 Color=-16777207 Font=[MS Sans Serif,8,1,255,1] Caption="Подождите идет загрузка данных...." Point(doVisible) } Add(Button,2491300,147,91) { Left=174 Top=540 Width=60 Enabled=1 Caption="Поиск" Point(doEnabled) link(onClick,14068092:doData,[]) } Add(Edit,5839555,98,28) { Left=4 Top=540 Width=165 Text="" link(onChange,1028520:In,[]) } Add(MultiElement,10811667,49,21) { link(onEvent1,7527458:doAdd,[]) } BEGIN_SDK Add(EditMulti,8450824,21,21) { EventCount=1 WorkCount=1 Width=335 Height=116 link(doWork1,13243061:doDownload,[]) } Add(HTTP_Get,13243061,42,21) { URL="http://www.iconsearch.ru/tags/" link(onDownload,10790013:doConvert,[]) link(onStop,1718679:doSearch,[(96,48)(96,97)]) } Add(Convertor,10790013,105,28) { Mode=11 link(onResult,6263317:doValue,[]) } Add(BlockFind,1718679,154,91) { StartBlock="<a style="font-size:" EndBlock="</a>" link(onSearch,11230484:doSearch,[]) link(Text,6263317:Value,[]) } Add(BlockFind,11230484,203,91) { StartBlock="">" EndBlock="</a>" link(onSearch,12491658:doReplace,[]) } Add(Replace,12491658,252,91) { SubStr="">" link(onReplace,2663658:doReplace,[]) } Add(Replace,2663658,294,91) { SubStr="</a>" link(onReplace,8450824:onEvent1,[(338,97)(338,27)]) } Add(Memory,6263317,154,28) { } END_SDK Add(DoData,14301487,350,21) { Data=Integer(0) link(onEventData,7740479:doVisible,[(390,27)(390,41)]) } Add(DoData,14068092,203,91) { link(onEventData,8563967:doEvent1,[]) link(Data,13224937:Var3,[(209,68)]) } Add(If_else,10576324,308,98) { link(onFalse,13954635:doMessage,[]) link(Op2,3364786:Var2,[]) } Add(Hub,8563967,259,91) { link(onEvent1,7527458:doSelectString,[(283,97)(283,76)]) link(onEvent2,10576324:doCompare,[]) } Add(Message,13954635,364,105) { Message="Искомый вами запрос не найден!!!" Caption="Внимание!!!" Icon=4 } Add(VTest,14791290,98,91) { DataCount=1 link(onTest,2491300:doEnabled,[]) link(Data1,13224937:Var2,[]) } Add(GetDataEx,13224937,98,63) { link(Data,5839555:Text,[]) } Add(LineBreak,14829731,21,91) { Caption="Проверка" link(Out,14791290:doTestV,[]) Primary=[1028520,126,-63] } Add(GetDataEx,3364786,315,84) { link(Data,7527458:String,[]) } Add(Hub,1237523,441,56) { link(onEvent1,16185557:onEvent1,[(487,62)(487,27)]) link(onEvent2,10696495:doData,[(462,69)(462,83)]) } Add(DoData,10696495,469,77) { Data=Integer(0) link(onEventData,10050667:doWork3,[(510,83)(510,132)(249,132)]) } Add(HubEx,10050667,245,63) { link(onEvent,7527458:doEnabled,[]) } END_SDK Add(DoData,3969885,525,126) { link(onEventData,5340537:In,[]) } Add(ChildGroupBox,12576097,420,154) { link(onEvent1,12417957:doEvent1,[]) } BEGIN_SDK Add(EditMulti,10290059,21,21) { EventCount=1 WorkCount=3 Height=165 link(doWork1,13887626:doAdd,[(90,27)(90,55)]) link(doWork2,13887626:doClear,[(84,34)(84,62)]) link(doWork3,13887626:doEnabled,[(77,41)(77,97)]) } Add(GroupBox,9892390,35,105) { Left=245 Top=5 Width=110 Height=570 Caption="Страницы" } Add(ListBox,13887626,147,49) { Left=2 Top=15 Width=106 Height=553 Align=5 Point(String) Point(doEnabled) link(onClick,10267960:doReplace,[(215,62)(215,107)(156,107)(156,125)]) } Add(Replace,10267960,168,119) { SubStr=" " DestStr=";" link(onReplace,15928751:doSplit,[]) link(Str,13887626:String,[]) } Add(MultiStrData,15928751,217,119) { link(onPart2,10290059:onEvent1,[(285,132)(285,27)]) } END_SDK Add(HubEx,8868126,399,168) { link(onEvent,12576097:doWork3,[]) } Add(Hub,1396014,609,245) { OutCount=3 link(onEvent1,10885547:In,[]) link(onEvent2,2134117:In,[]) link(onEvent3,2553049:doData,[]) } Add(LineBreak,8901571,203,126) { Caption="enabled" link(Out,11900328:doWork2,[]) Primary=[2134117,434,126] } Add(Hub,7412691,567,168) { link(onEvent1,11553086:In,[]) link(onEvent2,14253322:In,[]) } Add(HubEx,11900328,273,126) { link(onEvent,16708624:doWork2,[]) } Add(LineBreak,351516,203,140) { Caption="enabled" link(Out,11900328:doWork3,[(277,146)]) Primary=[14253322,399,35] } Add(ChildPanel,2590887,826,266) { } BEGIN_SDK Add(EditMulti,5592211,21,21) { WorkCount=1 Width=237 Height=60 link(doWork1,5431771:doVisible,[]) } Add(Panel,5431771,105,14) { Left=500 Top=280 Width=320 Height=28 Visible=1 Point(doVisible) } Add(Label,6733553,154,28) { Left=2 Top=2 Width=316 Height=24 Align=5 Font=[MS Sans Serif,12,1,255,1] Caption="Подождите идет загрузка данных...." } END_SDK Add(LineBreak,6633560,70,217) { link(Out,12216784:doEvent1,[]) Primary=[5340537,518,-91] } Add(Hub,16038204,441,119) { link(onEvent1,4937002:doData,[(465,125)(465,104)]) link(onEvent2,3969885:doData,[]) } Add(LineBreak,3964340,742,266) { link(Out,9345909:doWork2,[]) Primary=[15474895,-168,-168] } Add(DoData,4937002,476,98) { Data=Integer(1) link(onEventData,15474895:In,[]) } Add(HubEx,9345909,798,266) { link(onEvent,2590887:doWork1,[]) } Add(DoData,2553049,693,259) { Data=Integer(0) link(onEventData,9345909:doWork1,[(802,265)]) } Add(GetDataEx,5892806,301,203) { link(Data,16708624:Var1,[]) }
|