; Download Files
If (!FileExist("border.jpg"))
UrlDownloadToFile, http://www.autohotkey.net/~Slanter/images/border.jpg, border.jpg
If (!FileExist("key.jpg"))
UrlDownloadToFile, http://www.autohotkey.net/~Slanter/images/key.jpg, key.jpg
; ----------
; Build OSK
; ----------
Gui, Color, FFFFFF
Gui, -Caption
; Border
Gui, Add, Pic, w650 h3 x0 y0, border.jpg
Gui, Add, Pic, w3 h238 x650 y0, border.jpg
Gui, Add, Pic, w3 h238 x0 y0, border.jpg
Gui, Add, Pic, w650 h3 x0 y235, border.jpg
; Row 1
Gui, Add, Pic, vKey_Esc w34 h34 xm+5 ym+5, key.jpg
Gui, Add, Pic, vKey_F1 w34 h34 xm+73 ym+5, key.jpg
Gui, Add, Pic, vKey_F2 w34 h34 xm+107 ym+5, key.jpg
Gui, Add, Pic, vKey_F3 w34 h34 xm+141 ym+5, key.jpg
Gui, Add, Pic, vKey_F4 w34 h34 xm+175 ym+5, key.jpg
Gui, Add, Pic, vKey_F5 w34 h34 xm+226 ym+5, key.jpg
Gui, Add, Pic, vKey_F6 w34 h34 xm+260 ym+5, key.jpg
Gui, Add, Pic, vKey_F7 w34 h34 xm+294 ym+5, key.jpg
Gui, Add, Pic, vKey_F8 w34 h34 xm+328 ym+5, key.jpg
Gui, Add, Pic, vKey_F9 w34 h34 xm+379 ym+5, key.jpg
Gui, Add, Pic, vKey_F10 w34 h34 xm+413 ym+5, key.jpg
Gui, Add, Pic, vKey_F11 w34 h34 xm+447 ym+5, key.jpg
Gui, Add, Pic, vKey_F12 w34 h34 xm+481 ym+5, key.jpg
Gui, Add, Pic, vKey_PrtScr w34 h34 xm+532 ym+5, key.jpg
Gui, Add, Pic, vKey_ScrlLk w34 h34 xm+566 ym+5, key.jpg
Gui, Add, Pic, vKey_Pause w34 h34 xm+600 ym+5, key.jpg
; Row 2
Gui, Add, Pic, vKey_Grave w34 h34 xm+5 ym+50, key.jpg
Gui, Add, Pic, vKey_N1 w34 h34 xm+39 ym+50, key.jpg
Gui, Add, Pic, vKey_N2 w34 h34 xm+73 ym+50, key.jpg
Gui, Add, Pic, vKey_N3 w34 h34 xm+107 ym+50, key.jpg
Gui, Add, Pic, vKey_N4 w34 h34 xm+141 ym+50, key.jpg
Gui, Add, Pic, vKey_N5 w34 h34 xm+175 ym+50, key.jpg
Gui, Add, Pic, vKey_N6 w34 h34 xm+209 ym+50, key.jpg
Gui, Add, Pic, vKey_N7 w34 h34 xm+243 ym+50, key.jpg
Gui, Add, Pic, vKey_N8 w34 h34 xm+277 ym+50, key.jpg
Gui, Add, Pic, vKey_N9 w34 h34 xm+311 ym+50, key.jpg
Gui, Add, Pic, vKey_N0 w34 h34 xm+345 ym+50, key.jpg
Gui, Add, Pic, vKey_Minus w34 h34 xm+379 ym+50, key.jpg
Gui, Add, Pic, vKey_Equals w34 h34 xm+413 ym+50, key.jpg
Gui, Add, Pic, vKey_Backspace w68 h34 xm+447 ym+50, key.jpg
Gui, Add, Pic, vKey_Insert w34 h34 xm+532 ym+50, key.jpg
Gui, Add, Pic, vKey_Home w34 h34 xm+566 ym+50, key.jpg
Gui, Add, Pic, vKey_PgUp w34 h34 xm+600 ym+50, key.jpg
; Row 3
Gui, Add, Pic, vKey_Tab w51 h34 xm+5 ym+84, key.jpg
Gui, Add, Pic, vKey_q w34 h34 xm+56 ym+84, key.jpg
Gui, Add, Pic, vKey_w w34 h34 xm+90 ym+84, key.jpg
Gui, Add, Pic, vKey_e w34 h34 xm+124 ym+84, key.jpg
Gui, Add, Pic, vKey_r w34 h34 xm+158 ym+84, key.jpg
Gui, Add, Pic, vKey_t w34 h34 xm+192 ym+84, key.jpg
Gui, Add, Pic, vKey_y w34 h34 xm+226 ym+84, key.jpg
Gui, Add, Pic, vKey_u w34 h34 xm+260 ym+84, key.jpg
Gui, Add, Pic, vKey_i w34 h34 xm+294 ym+84, key.jpg
Gui, Add, Pic, vKey_o w34 h34 xm+328 ym+84, key.jpg
Gui, Add, Pic, vKey_p w34 h34 xm+362 ym+84, key.jpg
Gui, Add, Pic, vKey_LB w34 h34 xm+396 ym+84, key.jpg
Gui, Add, Pic, vKey_RB w34 h34 xm+430 ym+84, key.jpg
Gui, Add, Pic, vKey_BS w51 h34 xm+464 ym+84, key.jpg
Gui, Add, Pic, vKey_Delete w34 h34 xm+532 ym+84, key.jpg
Gui, Add, Pic, vKey_End w34 h34 xm+566 ym+84, key.jpg
Gui, Add, Pic, vKey_PgDn w34 h34 xm+600 ym+84, key.jpg
; Row 4
Gui, Add, Pic, vKey_CapsLock w68 h34 xm+5 ym+118, key.jpg
Gui, Add, Pic, vKey_a w34 h34 xm+73 ym+118, key.jpg
Gui, Add, Pic, vKey_s w34 h34 xm+107 ym+118, key.jpg
Gui, Add, Pic, vKey_d w34 h34 xm+141 ym+118, key.jpg
Gui, Add, Pic, vKey_f w34 h34 xm+175 ym+118, key.jpg
Gui, Add, Pic, vKey_g w34 h34 xm+209 ym+118, key.jpg
Gui, Add, Pic, vKey_h w34 h34 xm+243 ym+118, key.jpg
Gui, Add, Pic, vKey_j w34 h34 xm+277 ym+118, key.jpg
Gui, Add, Pic, vKey_k w34 h34 xm+311 ym+118, key.jpg
Gui, Add, Pic, vKey_l w34 h34 xm+345 ym+118, key.jpg
Gui, Add, Pic, vKey_Colon w34 h34 xm+379 ym+118, key.jpg
Gui, Add, Pic, vKey_Quote w34 h34 xm+413 ym+118, key.jpg
Gui, Add, Pic, vKey_Return w68 h34 xm+447 ym+118, key.jpg
; Row 5
Gui, Add, Pic, vKey_LShift w85 h34 xm+5 ym+152, key.jpg
Gui, Add, Pic, vKey_z w34 h34 xm+90 ym+152, key.jpg
Gui, Add, Pic, vKey_x w34 h34 xm+124 ym+152, key.jpg
Gui, Add, Pic, vKey_c w34 h34 xm+158 ym+152, key.jpg
Gui, Add, Pic, vKey_v w34 h34 xm+192 ym+152, key.jpg
Gui, Add, Pic, vKey_b w34 h34 xm+226 ym+152, key.jpg
Gui, Add, Pic, vKey_n w34 h34 xm+260 ym+152, key.jpg
Gui, Add, Pic, vKey_m w34 h34 xm+294 ym+152, key.jpg
Gui, Add, Pic, vKey_Comma w34 h34 xm+328 ym+152, key.jpg
Gui, Add, Pic, vKey_Period w34 h34 xm+362 ym+152, key.jpg
Gui, Add, Pic, vKey_FS w34 h34 xm+396 ym+152, key.jpg
Gui, Add, Pic, vKey_RShift w85 h34 xm+430 ym+152, key.jpg
Gui, Add, Pic, vKey_UpArrow w34 h34 xm+566 ym+152, key.jpg
; Row 6
Gui, Add, Pic, vKey_LCtrl w43 h34 xm+5 ym+186, key.jpg
Gui, Add, Pic, vKey_LWin w42 h34 xm+48 ym+186, key.jpg
Gui, Add, Pic, vKey_LAlt w42 h34 xm+90 ym+186, key.jpg
Gui, Add, Pic, vKey_Space w214 h34 xm+132 ym+186, key.jpg
Gui, Add, Pic, vKey_RAlt w42 h34 xm+346 ym+186, key.jpg
Gui, Add, Pic, vKey_RWin w42 h34 xm+388 ym+186, key.jpg
Gui, Add, Pic, vKey_WTF w42 h34 xm+430 ym+186, key.jpg
Gui, Add, Pic, vKey_RCtrl w43 h34 xm+472 ym+186, key.jpg
Gui, Add, Pic, vKey_LeftArrow w34 h34 xm+532 ym+186, key.jpg
Gui, Add, Pic, vKey_DownArrow w34 h34 xm+566 ym+186, key.jpg
Gui, Add, Pic, vKey_RightArrow w34 h34 xm+600 ym+186, key.jpg
Gui, Show, h238 w653
Return
GuiClose:
ExitApp
Sunday, January 25, 2009
AHK - On Screen Keyboard GUI
This is simply a pre-made GUI for an on screen keyboard (OSK).
Labels:
AHK scripts
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment