Add(MainForm,2953706,21,105) { @Hint=#22:by Aziz 8.10.2013 baku| Width=421 Height=140 Caption=" Mouse path length screen inches to mm - by Aziz" } Add(MultiElementEx,3769498,189,98) { @Hint=#14:Mouse Path 1.0|7:By Aziz|9:8.10.2013|4:Baku| link(onFString,9582378:doText,[]) } BEGIN_SDK Add(EditMultiEx,8267009,21,21) { WorkCount=#7:doClear| EventCount=#9:onFString| VarCount=#2:mm|2:cm|2:mt|2:km|2:in| Width=1007 Height=445 link(doClear,14200287:doEvent1,[(175,27)(175,125)]) link(mm,10353003:Var2,[(27,284)(503,284)]) link(cm,10716070:Var2,[(34,284)(601,284)]) link(mt,4592002:Var2,[(41,284)(706,284)]) link(km,7990350:Var2,[(48,284)(811,284)]) link(in,4818970:Var1,[(55,456)]) } Add(ChangeMon,14878754,133,112) { link(onData,1701876:doCalcDelta,[]) link(Data,5344395:MouseX,[]) } Add(ChangeMon,458599,133,154) { link(onData,16059601:doCalcDelta,[]) link(Data,5344395:MouseY,[(139,118)(146,118)]) } Add(Hub,1702291,105,112) { link(onEvent1,14878754:doData,[]) link(onEvent2,458599:doData,[(126,125)(126,160)]) } Add(MouseEvent,5344395,133,49) { Point(WheelDelta) Point(doWheel) Point(Handle) } Add(Timer,12855934,49,112) { Interval=10 link(onTimer,1702291:doEvent1,[]) } Add(SampleDelta,1701876,189,112) { link(onCalcDelta,8669986:doOperation,[]) } Add(SampleDelta,16059601,189,154) { link(onCalcDelta,6748014:doOperation,[]) } Add(Math,8669986,252,112) { OpType=33 link(onResult,1141869:doOperation,[]) } Add(Math,6748014,252,154) { OpType=33 link(onResult,14105339:doOperation,[]) } Add(Math,1141869,329,112) { Point(doClear) link(onResult,12421493:doOperation,[]) link(Op2,1141869:Result,[(342,100)(338,100)(338,156)(335,156)]) } Add(Math,14105339,329,154) { Point(doClear) link(onResult,5106452:doOperation,[]) link(Op2,14105339:Result,[(342,142)(338,142)(338,198)(335,198)]) } Add(Screen,11988861,350,49) { Point(CurDPIX) Point(CurDPIY) } Add(Memory,11412070,420,49) { @Hint=#7:mm/inch| Default=Real(25.4) } Add(Math,12421493,378,112) { OpType=3 link(onResult,11795154:doOperation,[]) link(Op2,11988861:CurDPIX,[(391,93)(377,93)]) } Add(Math,5106452,378,154) { OpType=3 link(onResult,2596796:doOperation,[]) link(Op2,11988861:CurDPIY,[(391,114)(384,114)]) } Add(Math,11795154,427,112) { OpType=2 link(onResult,11936904:doEvent1,[]) link(Op2,13064016:Var3,[(440,96)]) } Add(Math,2596796,427,154) { OpType=2 link(onResult,11936904:doEvent2,[(464,160)(464,125)]) link(Op2,13064016:Var2,[(440,127)(433,127)]) } Add(GetDataEx,13064016,427,91) { Angle=3 link(Data,11412070:Value,[(426,96)]) } Add(Math,5732424,497,112) { link(onResult,9103992:doOperation,[]) link(Op1,11795154:Result,[(503,100)(468,100)(468,156)(433,156)]) link(Op2,2596796:Result,[(510,100)(472,100)(472,198)(433,198)]) } Add(Hub,11936904,469,112) { InCount=2 link(onEvent1,5732424:doOperation,[]) link(onEvent2,13905818:doOperation,[(495,125)(495,244)(380,244)(380,363)]) } Add(InfoTip,4535994,476,63) { Info=#11:Millimeters| Width=85 Height=102 } Add(Math,9103992,595,112) { OpType=3 Op2=10 link(onResult,9440482:doOperation,[]) } Add(InfoTip,3160324,574,63) { Info=#11:Centimeters| Width=85 Height=102 } Add(Math,9440482,700,112) { OpType=3 Op2=100 link(onResult,16188843:doOperation,[]) } Add(InfoTip,538606,679,63) { Info=#6:Meters| Width=85 Height=102 } Add(Math,16188843,805,112) { OpType=3 Op2=1000 link(onResult,15324645:doOperation,[(849,118)(849,160)(485,160)(485,202)]) } Add(InfoTip,13298419,784,63) { Info=#10:Kilometers| Width=85 Height=102 } Add(FormatStr,10750243,497,273) { DataCount=5 Mask="Mouse path: Km:%1 Mt:%2 In:%3 Cm:%4 Mm:%5" link(onFString,8267009:onFString,[(740,279)(740,27)]) link(Str1,7990350:Var1,[(503,243)]) link(Str2,4592002:Var1,[(510,243)]) link(Str3,4818970:Var3,[(517,261)(384,261)]) link(Str4,10716070:Var1,[(524,243)]) link(Str5,10353003:Var3,[(531,243)]) } Add(Math,15324645,497,196) { OpType=35 Op2=0.1 link(onResult,9461505:doOperation,[]) link(Op1,5732424:Result,[]) } Add(Math,9461505,595,196) { OpType=35 Op2=0.1 link(onResult,11537204:doOperation,[]) link(Op1,9103992:Result,[]) } Add(Math,11537204,700,196) { OpType=35 Op2=0.1 link(onResult,5762656:doOperation,[]) link(Op1,9440482:Result,[]) } Add(Math,5762656,805,196) { OpType=35 Op2=0.1 link(onResult,10750243:doString,[(849,202)(849,240)(485,240)(485,279)]) link(Op1,16188843:Result,[]) } Add(GetDataEx,10353003,497,238) { link(Data,15324645:Result,[]) } Add(GetDataEx,10716070,595,238) { link(Data,9461505:Result,[]) } Add(GetDataEx,4592002,700,238) { link(Data,11537204:Result,[]) } Add(GetDataEx,7990350,805,238) { link(Data,5762656:Result,[]) } Add(Hub,14200287,301,119) { link(onEvent1,1141869:doClear,[]) link(onEvent2,14105339:doClear,[(322,132)(322,167)]) } Add(Math,13905818,392,357) { link(onResult,13981858:doOperation,[(436,363)(436,391)(380,391)(380,412)]) link(Op1,12421493:Result,[(398,251)(384,251)]) link(Op2,5106452:Result,[(405,271)(384,271)]) } Add(InfoTip,6285748,371,308) { Info=#6:Inches| Width=85 Height=102 } Add(Math,13981858,392,406) { OpType=35 Op2=0.1 link(Op1,13905818:Result,[]) } Add(GetDataEx,4818970,378,451) { Angle=1 link(Data,13981858:Result,[(398,456)]) } END_SDK Add(Label,9582378,266,98) { Left=25 Top=40 }