Артем писал(а):
...любым схемам...Ну вот как раз "любая"))
Упс, проблемма с русскими буковками, щас исправлю
---
Исправил.
#sha
Add(MainForm,15708371,21,84)
{
Left=20
Top=105
Width=515
Height=349
Position=1
}
Add(WinEnum,11134267,406,147)
{
Point(GetActiveWindow)
}
Add(GetData,386511,560,252)
{
link(Data,10582469:Position,[])
}
Add(Label,4744167,616,322)
{
Left=125
Top=200
Width=40
Caption="75%"
}
Add(Version,8496955,56,7)
{
Description="Made in Jopa"
E-mail="xxx@xxx.ru"
}
Add(StyleXP,3076287,14,7)
{
}
Add(DoData,3043246,147,259)
{
Data=Integer(0)
link(onEventData,5349277:doWork3,[(193,265)])
}
Add(DoData,11044361,147,119)
{
Data=Integer(0)
link(onEventData,855027:doWork1,[(193,125)])
}
Add(Hub,11272409,252,168)
{
OutCount=3
link(onEvent1,5507869:doTimer,[(305,174)(305,202)])
link(onEvent2,11044361:doData,[(296,181)(296,104)(137,104)(137,125)])
link(onEvent3,3436119:doData,[(296,188)(296,202)(138,202)(138,216)])
}
Add(HubEx,855027,189,161)
{
link(onEvent,13361009:doEnabled,[])
}
Add(HubEx,5349277,189,203)
{
link(onEvent,10249832:doEnabled,[])
}
Add(Hub,7954030,252,210)
{
link(onEvent1,5507869:doStop,[(306,216)(306,209)])
link(onEvent2,3043246:doData,[(302,223)(302,249)(138,249)(138,265)])
}
Add(DoData,3436119,147,210)
{
Data=Integer(1)
link(onEventData,5349277:doWork2,[])
}
Add(PictureStream,4390834,497,329)
{
Point(Quality)
link(Bitmap,15085337:ImageBitmap,[])
link(Quality,386511:Data1,[(517,307)(566,307)])
}
Add(FormatStr,12585683,448,336)
{
DataCount=4
Mask="%1Screen_%2.%3.%4.jpg"
link(onFString,4390834:doSave,[])
link(Str1,11730321:Text,[(454,322)(349,322)])
link(Str2,9923244:Hours,[])
link(Str3,9923244:Minute,[])
link(Str4,9923244:Second,[])
}
Add(Time,9923244,448,273)
{
}
Add(Hub,11994673,455,196)
{
OutCount=3
link(onEvent1,15085337:doLoad,[])
link(onEvent3,12585683:doString,[(495,216)(495,251)(432,251)(432,342)])
}
Add(ScreenShort,63949,413,196)
{
link(Handle,11134267:GetActiveWindow,[])
link(onCapture,11994673:doEvent1,[])
}
Add(Timer,5507869,343,196)
{
Enable=1
Point(onStop)
Point(doInterval)
link(onTimer,15340592:doWork2,[])
link(onStop,10290828:doData,[(384,209)(384,159)(138,159)(138,174)])
}
Add(Image,15085337,504,196)
{
Left=180
Top=10
Width=320
Height=265
}
Add(Edit,11730321,343,280)
{
Left=80
Top=285
Width=420
Text="C:\"
}
Add(DoData,10290828,147,168)
{
Data=Integer(1)
link(onEventData,855027:doWork2,[])
}
Add(Label,12209999,147,7)
{
Left=20
Top=200
Width=104
Height=17
Caption="Quality:"
}
Add(Label,15508812,98,7)
{
Left=10
Top=260
Width=129
Height=17
Caption="Save in:"
}
Add(Button,7107671,189,280)
{
Left=10
Top=285
Width=65
Caption="Folders"
link(onClick,1452364:doBrowse,[])
}
Add(Button,13361009,210,168)
{
Left=10
Top=160
Width=70
Caption="Start"
Point(doEnabled)
link(onClick,11272409:doEvent1,[])
}
Add(Button,10249832,210,210)
{
Left=80
Top=160
Width=80
Enabled=1
Caption="Stop"
Point(doEnabled)
link(onClick,7954030:doEvent1,[])
}
Add(StrCat,2092611,567,322)
{
Str2="%"
link(onStrCat,4744167:doText,[])
link(Str1,386511:Data2,[])
}
Add(Browse,1452364,231,280)
{
Title=""
NewStyle=0
link(onBrowse,7615211:doStrCat,[])
}
Add(StrCat,7615211,273,280)
{
Str2=""
link(onStrCat,11730321:doText,[])
}
Add(HubEx,15340592,392,189)
{
link(onEvent,63949:doCapture,[])
}
Add(Button,3297733,343,231)
{
Left=10
Top=10
Width=150
Height=120
Font=[MS Sans Serif,12,1,0,1]
Caption="Screen"
link(onClick,15340592:doWork3,[(396,237)])
}
Add(TrackBar,10582469,560,210)
{
Left=10
Top=220
Width=160
Max=100
Min=5
TickCount=5
Position=75
link(onPosition,2092611:doStrCat,[(604,216)(604,196)(545,196)(545,328)])
}