Вверх ↑
Ответов: 783
Рейтинг: 168
#1: 2020-09-27 19:25:06 ЛС | профиль | цитата
Dseren, замени StrCa на DoData

Add(TreeViewEx,3940909,700,210)
{
Left=2
Top=22
Width=405
Height=468
Align=5
IconByIndex=0
Tooltips=0
TrackSelect=0
SingleExpand=0
AlwaysUseIcons=0
IconsState=[]
Icons=[]
Point(Parent)
Point(ItemChild)
Point(onExpand)
Point(onItemPath)
Point(Index)
Point(ItemAtPos)
Point(doAddIcon)
Point(doSelect)
Point(doItemBold)
Point(doItemHasChild)
Point(doItemPath)
Point(onMouseMove)
Point(onDblClick)
Point(doClearIcons)
Point(onKeyDown)
Point(doExpandToggle)
link(Parent,14090756:Var2,[])
link(onExpand,9082723:doEvent1,[(774,230)(774,174)])
link(onItemPath,3421795:doStrCat,[(750,237)(750,429)(279,429)(279,279)])
link(onMouseMove,9383077:doData,[(767,244)(767,328)])
link(onDblClick,1575324:doData,[(759,251)(759,391)])
link(onKeyDown,1636147:doCase,[(809,258)(809,244)])
}
Add(MultiElementEx,7731652,483,245)
{
@Hint=#20:DirsEnum & FilesEnum|
link(AddIcon,3940909:doAddIcon,[(522,251)(522,237)])
link(Add,3940909:doAdd,[(524,258)(524,297)(653,297)(653,216)])
link(HasChild,15735860:Input,[])
link(IconID,3940909:Count,[(489,220)(566,220)(566,336)(706,336)])
}
BEGIN_SDK
Add(EditMultiEx,11561374,21,21)
{
WorkCount=#9:StartScan|8:NextScan|
EventCount=#7:AddIcon|3:Add|8:HasChild|
DataCount=#6:IconID|
Width=566
Height=214
link(StartScan,1293174:doEvent1,[(42,27)(42,69)])
link(NextScan,1293174:doEvent2,[(36,34)(36,76)])
}
Add(Hub,1293174,63,63)
{
InCount=2
OutCount=3
link(onEvent1,12779128:doClear,[(112,69)(112,83)])
link(onEvent2,15565532:doValue,[])
link(onEvent3,11931367:doSearch,[(107,83)(107,125)])
}
Add(FileSearch,14584482,175,70)
{
SubDir=1
Include=1
link(onSearch,9553220:doWork2,[])
}
Add(FilePart,9008190,350,133)
{
NameWOExt=1
link(onName,9698349:doString,[])
}
Add(DirTools,14772513,210,182)
{
Point(doExists)
link(onOK,3227344:doEvent,[])
}
Add(FileAttributes,4028852,350,63)
{
Point(doGetFileIcon)
Point(onGetFileIcon)
link(onGetFileIcon,5714619:doCase,[])
}
Add(HubEx,9553220,217,70)
{
link(onEvent,12779128:doAdd,[])
}
Add(ArrayEnum,12315292,252,126)
{
PColor(Array,16711935)
link(onItem,7218241:doEvent1,[])
link(Array,12779128:Array,[])
}
Add(FileSearch,11931367,119,119)
{
SubDir=1
link(onSearch,9553220:doWork3,[(221,125)])
link(onEndSearch,12315292:doEnum,[])
link(Dir,15565532:Value,[])
}
Add(Hub,7218241,294,126)
{
OutCount=3
link(onEvent1,4028852:doGetFileIcon,[(338,132)(338,90)])
link(onEvent2,9008190:doPart,[])
link(onEvent3,14772513:doExists,[(337,146)(337,170)(198,170)(198,209)])
}
Add(StrList,12779128,238,70)
{
}
Add(IndexToChanel,3227344,259,182)
{
Count=3
Point(Data)
link(onEvent2,11561374:HasChild,[(549,195)(549,41)])
link(Data,12315292:Index,[])
}
Add(Memory,15565532,126,70)
{
link(onData,14584482:doSearch,[])
}
Add(Case,5714619,413,70)
{
link(onNextCase,551165:doWork2,[])
link(onTrue,8027927:doData,[(461,83)(461,97)])
}
Add(Icon,7732298,476,28)
{
Icon=[ZIP7E03000078DA63606004420101062029C190C1CCC020C6C0C0A001C44021060506883808383033E0001F3F7EBCF6FCF975BCE0EEDDBB70F51F4E2D4B2304A64D9B86AC7E665A1A7E0404C8EAFFBF3983059D99F9FFCC198869E8EA2F6EFC7F1C8CD64EB0AEF4929ABD4165D2DCFFFDD9FF1F6DC4AA3EA23ACC33DBD335C5618DA3266BCF1AAE1D4FB9AEFCE73EF109680256F57F6BA341A6ED9CFFC2CB42B1348F6BDD75A07A2002099E3983A97EDFF4D8FFD5C1FF0FADFB9619E0176929B0FC84C6E2598ABBCF01D563353F636BF8FB42B7FFCBBB801695879BF29604729D6CE27A3315977AA0BF78526FAB26AF92F4DFC620B45038CB996B770DD7B3E9405D58D5FFFBF7CFA8FBA548C3FFC4B5FFB9DC6F98C65B732E29E4BAD5CFF5661650B6B1B111533DD00AFEF2FF491BFF73457D3609AB03722108A21E08D0D5FFBF92BB698FDFE22F0E93AF02D9FF3E3E86472E50F1810307E0EA81F1F80F1B00AA04796DA6315031904B503DD05860D00315031330727A3E3373265604540F4CC6C88A0F30FEFF4F16660662F6FFFF010A9DBA61]
}
Add(DoData,8027927,476,91)
{
link(onEventData,551165:doWork3,[(529,97)])
link(Data,7732298:Icon,[])
}
Add(FormatStr,9698349,399,140)
{
Mask="<%1,%1>%2"
link(onFString,11561374:Add,[(539,146)(539,34)])
link(Str1,11561374:IconID,[(405,36)(27,36)])
}
Add(HubEx,551165,525,70)
{
Angle=3
link(onEvent,11561374:AddIcon,[(529,27)])
}
END_SDK
Add(GetDataEx,14090756,721,158)
{
link(Data,1973295:Value,[])
}
Add(Hub,8924140,637,245)
{
InCount=2
link(onEvent1,3940909:doItemBold,[])
link(onEvent2,3940909:doItemHasChild,[])
}
Add(If_else,8121668,434,252)
{
Type=1
Op2=Integer(0)
link(onTrue,7731652:NextScan,[])
link(Op1,3940909:ItemChild,[(440,224)(561,224)(561,343)(720,343)])
}
Add(MathParse,16626468,595,252)
{
MathStr="%1 + %2 + 1"
link(onResult,8924140:doEvent2,[])
link(X1,14090756:Var1,[(601,163)])
}
Add(MultiElementEx,15735860,553,245)
{
@Hint=#10:Commutator|
link(_out1,8924140:doEvent1,[])
link(_out2,16626468:doCalc,[])
}
BEGIN_SDK
Add(EditMultiEx,13791183,21,21)
{
WorkCount=#5:_idx1|5:_idx2|5:Input|
EventCount=#5:_out1|5:_out2|
Width=167
Height=123
link(_idx1,502949:doWork1,[(41,27)(41,41)])
link(_idx2,502949:doWork2,[(37,34)(37,48)])
link(Input,3862713:doEvent,[(33,41)(33,90)])
}
Add(Icon,11878794,56,84)
{
@Hint=#5:#main|
Icon=[ZIP5E07000078DA636060044209090610C9E0C1CEC020C6C0C0A001C4402106030688380828B0330C7BF01F8CA86208E54651CB1C6AF96B84004AC20AAE9792B8FB8F0351987EA8E2AF51305AFE0CA3F4F31F0E7E02310314FFFC8F0EE603C518EC817E9067F83FFF3D50FE3350F00FB20AECFA01C8378636]
}
Add(ChanelToIndex,502949,54,35)
{
link(onIndex,4010096:doValue,[])
}
Add(Memory,4010096,110,35)
{
Default=Integer(0)
}
Add(IndexToChanel,3862713,110,84)
{
Point(Index)
link(onEvent1,13791183:_out1,[(161,90)(161,27)])
link(onEvent2,13791183:_out2,[(165,97)(165,34)])
link(Index,4010096:Value,[])
}
END_SDK
Add(StrCat,3421795,294,273)
{
link(onStrCat,10257169:doTrim,[])
link(Str1,7472879:Var3,[(300,110)])
}
Add(Hub,7626839,343,161)
{
OutCount=5
link(onEvent1,15735860:_idx1,[(537,167)(537,251)])
link(onEvent2,3940909:doClear,[(682,174)(682,223)])
link(onEvent3,3940909:doClearIcons,[(676,181)(676,272)])
link(onEvent4,1973295:doClear,[(410,188)(410,125)])
link(onEvent5,7731652:StartScan,[(410,195)(410,251)])
}
Add(Memory,1973295,721,112)
{
Default=Integer(-1)
}
Add(Hub,13478344,868,175)
{
InCount=2
OutCount=4
link(onEvent1,15735860:_idx2,[(923,181)(923,87)(544,87)(544,258)])
link(onEvent2,3940909:doSelect,[(893,188)(893,160)(690,160)(690,244)])
link(onEvent3,1973295:doValue,[(935,195)(935,105)(709,105)(709,118)])
link(onEvent4,5963792:doWork1,[(935,202)])
}
Add(MultiElementEx,11861650,336,343)
{
@Hint=#19:RunFile & StatusBar|
link(onEvent,6492827:doText,[])
link(Data,10257169:Result,[])
}
BEGIN_SDK
Add(EditMultiEx,5574627,21,21)
{
WorkCount=#8:doExists|9:doExists1|
EventCount=#7:onEvent|
VarCount=#5:Value|
DataCount=#4:Data|
Width=524
Height=249
link(doExists,7031950:doExists,[(39,27)(39,111)])
link(doExists1,2911413:doExists,[(33,34)(33,160)])
link(Value,6061146:Value,[(27,249)(482,249)])
}
Add(Memory,6061146,476,147)
{
}
Add(Memory,11245289,245,140)
{
Default=String(Файл : )
link(onData,3019581:doEvent1,[])
}
Add(DirTools,7031950,56,84)
{
Point(doExists)
link(onOK,3639075:doEvent,[])
link(Source,11307465:Var2,[])
}
Add(IndexToChanel,3639075,105,84)
{
Count=3
Point(Data)
link(onEvent3,12696810:doShellExec,[])
}
Add(WinExec,12696810,154,91)
{
link(FileName,15190173:Var2,[])
}
Add(DirTools,2911413,84,133)
{
Point(doExists)
link(onOK,9961549:doEvent,[])
link(Source,12546755:Var2,[])
}
Add(IndexToChanel,9961549,133,133)
{
Count=3
Data=String(Папка: )
Point(Data)
link(onEvent2,7179707:doEvent1,[])
link(onEvent3,7179707:doEvent11,[])
}
Add(FilePart,15488265,357,196)
{
NameWOExt=1
link(onName,8876051:doWork2,[])
link(FileName,907058:Var3,[(363,58)])
}
Add(GetDataEx,12546755,84,53)
{
Angle=3
link(Data,11307465:Var3,[])
}
Add(GetDataEx,15190173,154,53)
{
Angle=3
link(Data,12546755:Var3,[])
}
Add(HubEx,8876051,399,203)
{
link(onEvent,5574627:onEvent,[(525,209)(525,27)])
}
Add(Hub,3019581,294,140)
{
OutCount=5
link(onEvent1,897687:doWork1,[(408,146)(408,153)])
link(onEvent2,8876051:doWork1,[(403,153)])
link(onEvent3,897687:doWork2,[])
link(onEvent4,15488265:doPart,[(339,167)(339,202)])
link(onEvent5,897687:doWork3,[(410,174)(410,167)])
}
Add(GetDataEx,11307465,56,53)
{
link(Data,5574627:Data,[(62,37)(27,37)])
}
Add(ChanelToIndex,897687,427,147)
{
Count=3
link(onIndex,6061146:doValue,[])
}
Add(MultiElementEx,7179707,189,140)
{
@Hint=#9:Mb, Kb, b|
link(onEvent1,11245289:doValue,[])
link(onEvent11,11245289:doClear,[])
link(onStrCat,8876051:doWork3,[(234,160)(234,237)(403,237)])
link(FileName,907058:Var2,[])
}
BEGIN_SDK
Add(EditMultiEx,4557491,21,21)
{
WorkCount=#8:doEvent1|9:doEvent11|
EventCount=#8:onEvent1|9:onEvent11|8:onStrCat|
DataCount=#8:FileName|
Width=391
Height=375
link(doEvent1,14372407:doEvent1,[(35,27)(35,55)])
link(doEvent11,888890:doEvent1,[(35,34)(35,125)])
}
Add(FileAttributes,4792155,147,126)
{
Point(FileSize)
link(FileName,4557491:FileName,[(153,74)(27,74)])
}
Add(Math,3125564,224,238)
{
OpType=3
Op2=10
link(onResult,16137630:doStrCat,[])
}
Add(Math,4272,168,238)
{
OpType=3
Op2=102.4
ResultType=0
link(onResult,3125564:doOperation,[])
link(Op1,13536958:Var2,[])
}
Add(If_else,11572141,119,238)
{
Type=2
Op2=Integer(1024)
link(onTrue,4272:doOperation,[])
link(onFalse,12430836:doStrCat,[(161,251)(161,293)])
link(Op1,12945973:Var2,[])
}
Add(GetDataEx,13536958,168,165)
{
link(Data,4792155:FileSize,[])
}
Add(If_else,16195498,98,189)
{
Type=2
Op2=Integer(1048576)
link(onTrue,11025981:doOperation,[])
link(onFalse,11572141:doCompare,[(142,202)(142,223)(107,223)(107,244)])
link(Op1,12945973:Var1,[(104,170)])
}
Add(Math,6497418,224,189)
{
OpType=3
Op2=10
link(onResult,845934:doStrCat,[])
}
Add(Math,11025981,147,189)
{
OpType=3
Op2=104857.6
ResultType=0
link(onResult,6497418:doOperation,[])
link(Op1,1971549:Var2,[])
}
Add(GetDataEx,1971549,147,165)
{
Angle=1
link(Data,13536958:Var1,[])
}
Add(GetDataEx,12945973,119,165)
{
Angle=1
link(Data,1971549:Var1,[])
}
Add(StrCat,845934,287,189)
{
Str2=" Mb"
link(onStrCat,14405886:doWork2,[])
}
Add(StrCat,16137630,287,238)
{
Str2=" Kb"
link(onStrCat,4997310:doWork2,[])
}
Add(StrCat,12430836,287,287)
{
Str2=" b"
link(onStrCat,15992411:doWork2,[])
link(Str1,13536958:Var3,[(293,170)])
}
Add(DoData,15407520,287,329)
{
Data=String()
link(onEventData,15992411:doWork3,[(361,335)])
}
Add(Hub,888890,49,119)
{
OutCount=3
link(onEvent1,4557491:onEvent11,[(247,125)(247,34)])
link(onEvent2,4792155:doRead,[])
link(onEvent3,16195498:doCompare,[(89,139)(89,195)])
}
Add(Hub,14372407,49,49)
{
link(onEvent1,4557491:onEvent1,[(247,55)(247,27)])
link(onEvent2,15407520:doData,[(84,62)(84,335)])
}
Add(HubEx,15992411,357,287)
{
Angle=3
link(onEvent,4997310:doWork3,[])
}
Add(HubEx,4997310,357,238)
{
Angle=3
link(onEvent,14405886:doWork3,[])
}
Add(HubEx,14405886,357,189)
{
Angle=3
link(onEvent,4557491:onStrCat,[(361,41)])
}
END_SDK
Add(GetDataEx,907058,189,53)
{
Angle=3
link(Data,15190173:Var3,[])
}
END_SDK
Add(DoData,1575324,791,385)
{
link(onEventData,14726552:doEvent1,[])
link(Data,5730599:Var2,[(797,364)(727,364)])
}
Add(Hub,14726552,889,385)
{
link(onEvent1,12742712:_idx2,[(939,391)(939,434)(273,434)(273,265)])
link(onEvent2,13478344:doEvent2,[(932,398)(932,428)(855,428)(855,188)])
}
Add(MultiElementEx,12742712,378,252)
{
@Hint=#10:Commutator|
link(_out1,8121668:doCompare,[])
link(_out2,11861650:doExists,[(425,265)(425,323)(324,323)(324,349)])
link(_out3,11861650:doExists1,[(418,272)(418,313)(318,313)(318,356)])
}
BEGIN_SDK
Add(EditMultiEx,11642795,21,21)
{
WorkCount=#5:_idx1|5:_idx2|5:_idx3|5:Input|
EventCount=#5:_out1|5:_out2|5:_out3|
Width=167
Height=123
link(_idx1,2980006:doWork1,[(37,27)(37,41)])
link(_idx2,2980006:doWork2,[(37,34)(37,48)])
link(_idx3,2980006:doWork3,[(37,41)(37,55)])
link(Input,13723723:doEvent,[(31,48)(31,90)])
}
Add(Icon,4219287,56,84)
{
@Hint=#5:#main|
Icon=[ZIP5E07000078DA636060044209090610C9E0C1CEC020C6C0C0A001C4402106030688380828B0330C7BF01F8CA86208E54651CB1C6AF96B84004AC20AAE9792B8FB8F0351987EA8E2AF51305AFE0CA3F4F31F0E7E02310314FFFC8F0EE603C518EC817E9067F83FFF3D50FE3350F00FB20AECFA01C8378636]
}
Add(ChanelToIndex,2980006,54,35)
{
Count=3
link(onIndex,11536179:doValue,[])
}
Add(Memory,11536179,110,35)
{
Default=Integer(0)
}
Add(IndexToChanel,13723723,110,84)
{
Count=3
Point(Index)
link(onEvent1,11642795:_out1,[(165,90)(165,27)])
link(onEvent2,11642795:_out2,[(165,97)(165,34)])
link(onEvent3,11642795:_out3,[(165,104)(165,41)])
link(Index,11536179:Value,[])
}
END_SDK
Add(Hub,9082723,805,168)
{
link(onEvent1,12742712:_idx1,[(849,174)(849,98)(364,98)(364,258)])
link(onEvent2,13478344:doEvent1,[])
}
Add(Trim,10257169,336,273)
{
Char="\"
Point(Result)
link(onTrim,12742712:Input,[])
}
Add(ChangeMon,16051836,840,322)
{
link(onData,11627735:doEvent1,[])
}
Add(StatusBar,6492827,392,343)
{
Panels=#3:=50|4:=170|
Point(doWidth)
link(Panel,11861650:Value,[(405,331)(373,331)(373,387)(342,387)])
}
Add(DoData,9383077,791,322)
{
link(onEventData,16051836:doData,[])
link(Data,3940909:ItemAtPos,[(797,296)(734,296)])
}
Add(Hub,11627735,889,322)
{
link(onEvent1,12742712:_idx3,[(946,328)(946,439)(267,439)(267,272)])
link(onEvent2,5963792:doWork3,[(935,335)])
}
Add(DoData,15690950,868,245)
{
link(onEventData,3940909:doExpandToggle,[(912,251)(912,301)(690,301)(690,279)])
link(Data,5730599:Var3,[(874,233)(803,233)(803,310)])
}
Add(Case,1636147,819,238)
{
Value=Integer(13)
link(onTrue,15690950:doData,[])
}
Add(GetDataEx,5730599,721,305)
{
link(Data,3940909:Index,[])
}
Add(HubEx,5963792,931,301)
{
Angle=2
link(onEvent,3940909:doItemPath,[(683,307)(683,265)])
}
Add(Dir,2558899,238,63)
{
}
Add(Button,15904123,147,161)
{
Left=2
Top=2
Width=405
Align=2
Caption="загрузка"
link(onClick,12458501:doData,[])
}
Add(DoData,12458501,238,161)
{
link(onEventData,7626839:doEvent1,[])
link(Data,7472879:Var2,[])
}
Add(GetDataEx,7472879,238,105)
{
link(Data,2558899:CurrentDir,[])
}

карма: 15

0