-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTEST IMAGES.ahk
77 lines (74 loc) · 1.8 KB
/
TEST IMAGES.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#SingleInstance force
menu, tray, add
menu, tray, add, Made By Sanctus, MadeBy
Menu, Tray, Tip, PositionInfo v1.03`nMade by Sanctus
return
!x::
MouseGetPos, PosX, PosY
PixelGetColor, cRGB , %PosX%, %PosY%,RGB
PixelGetColor, cBGR , %PosX%, %PosY%
WinGetPos,,, w, h, A
gui, new
gui, Default
gui, +LastFound +LabelMyGui
gui, add, groupbox, w205 h330, Info found at Mouse Position
gui, font, s12, Arial
gui, add, text, xm12 ym20 section, MousePos X:
gui, add, text, xp+110 yp, %PosX%
gui, add, text, xp-110 yp+15, MousePos Y:
gui, add, text, xp+110 yp, %PosY%
gui, add, text, xp-110 yp+15, BGR Colour:
gui, add, text, xp+110 yp, %cBGR%
gui, add, text, xp-110 yp+15, RGB Colour:
gui, add, text, xp+110 yp, %cRGB%
gui, font, s8, Arial
gui, add, button, xp-70 yp+17.5 w100 h20 gClip, Copy X and Y
gui, add, button, xp yp+20.5 w100 h20 gClipColor, Copy Colour
gui, font, s12, Arial
gui, add, button, xp+30 yp+25 gDone, OK
gui, add, Progress, xp-7.5 yp+35 w50 h50 c%cRGB%,100
gui, font, s10, Verdana
gui, add, text, yp+40 xp-65, Version: 1.03 (31.03.2014)
gui, add, text, xp+10 yp+20.5, Window Size: %w% x %h%
gui, add, button, xp-10 yp+20.5 w180 h20 gWS, Copy Window Size
gui, add, button, xp yp+20.5 w180 h20 gARF, Copy ARFormula
gui, add, button, xp yp+20.5 w180 h40 gARFB, Copy ARFormula with Border Calculations
gui, show,, Position/Colour of X&Y
return
Done:
{
gui,submit,nohide
gui, destroy
return
}
Clip:
{
clipboard = %PosX% %PosY%
return
}
ClipColor:
{
clipboard = %cBGR%
return
}
WS:
{
clipboard = %w% %h%
return
}
ARF:
{
clipboard = % "% Round(" . PosX . " / (" . w . " / w)) % Round(" . PosY . " / (" . h . " / h))"
return
}
ARFB:
{
clipboard = % "% Round(" . PosX . " / (" . w . " / (w - i))) + l % Round(" . PosY . " / (" . h . " / (h - j))) + k"
return
}
return
MadeBy:
Run http://tus.web1337.net/
return
F7::Reload
F8::ExitApp