Udokanec писал(а):
А как вообще вывести лог в Memo.
Add(Label,3895308,427,238)
{
Width=384
Height=95
Align=2
Caption=""
AutoSize=1
}
Add(MainForm,10989090,483,238)
{
Height=436
}
Add(WinExec,8347366,707,287)
{
FileName="cmd"
Point(doConsoleExec)
Point(doConsoleInput)
Point(onConsoleResult)
Point(onConsoleError)
Point(onConsoleTerminate)
link(onConsoleResult,10726696:doWork2,[])
link(onConsoleError,10726696:doWork3,[(760,314)])
link(onConsoleTerminate,11449550:doMessage,[(795,321)(795,356)])
}
Add(Button,5164603,462,301)
{
Left=15
Top=20
Width=200
Height=25
Caption="Декомпилировать"
link(onClick,9275401:doString,[])
}
Add(FormatStr,13856403,525,343)
{
Mask="C:\Windows\apktool b C:\Users\Andrey\Desktop\apktool\v"
link(onFString,220270:doWork3,[(571,349)])
}
Add(FormatStr,9275401,525,301)
{
Mask="C:\Windows\apktool d C:\Users\Andrey\Desktop\apktool\v.apk -o C:\Users\Andrey\Desktop\apktool\v"
link(onFString,220270:doWork2,[])
}
Add(Button,4865148,462,343)
{
Left=15
Top=55
Width=200
Height=25
Caption="Компилировать"
link(onClick,13856403:doString,[])
}
Add(HubEx,220270,567,301)
{
link(onEvent,5671640:doEvent1,[])
}
Add(Charset,1187958,805,301)
{
link(onCharset,9062603:doAdd,[])
}
Add(Replace,4946081,637,308)
{
SubStr="\"
DestStr="\\"
link(onReplace,8347366:doConsoleInput,[])
}
Add(Memo,9062603,868,301)
{
Top=95
Width=384
Height=302
Align=5
ScrollBars=3
}
Add(HubEx,10726696,756,301)
{
link(onEvent,1187958:doCharset,[])
}
Add(Message,11449550,805,350)
{
Caption="Finish"
Icon=4
}
Add(Hub,5671640,595,301)
{
link(onEvent1,8347366:doConsoleExec,[])
link(onEvent2,4946081:doReplace,[])
}