Well, a few weeks ago i was looking for a gadget who gives me my internal and external ip. I couldn't find it so i've made one.
Here is how it looks with others windows gadgets.
Code:
#notrayicon
#singleinstance force
;To autostart with windows (optional); RegWrite, REG_SZ, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Run, Gadget IP, %A_ScriptFullPath%
urlDownloadToFile,http://www.whatismyip.com/automation/n09230945.asp,C:\ip.tmp ; To get your external ip
FileReadLine,ExternalIP,C:\ip.tmp,1
Gui, Add, Text, x120 y0 w10 h10 gclose, ; this is a black spot behind the close button in the picture
Gui, Add, Text, x108 y0 w10 h10 grefresh,
Gui, Add, Picture, x0 y0 w130 h62 , %A_scriptdir%/ip3.png ; The background image.
Gui, Color, 000000
gui, font, s6.5 cFFFFFF, Gauutami
Gui, Add, Text, x46 y30 w80 h13 gLAN, %A_IPAddress1%
Gui, Add, Text, x42 y45 w85 h13 gWAN,%ExternalIP%
Gui -Caption +toolwindow ; "-caption" wont show the button bar
Gui, Show, x1750 y360 h62 w130, Lan/Wan IP
Return
GuiClose:
ExitApp
close:
ExitApp
Refresh:
Reload
Return
WAN:
clipboard = %ExternalIP% ; Clicking the ip will copy it.
Return
LAN:
clipboard = %A_IPAdress1%
Return
#d::
winminimizeall
Background IMG

Extra: Code for the other gadget. (unfinished)
Code:
#notrayicon
#singleinstance force
;RegWrite, REG_SZ, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Run, Gadget Subs, %A_ScriptFullPath%
Gui, Add, Text, x120 y0 w10 h10 gclose,
Gui, Add, Text, x108 y0 w10 h10 grefresh,
Gui, Add, Picture, x0 y0 w130 h62 , %A_scriptdir%/subtitulos1.png
Gui, Color, 000000
gui, font, s6.5 c000000, Gauutami
Gui, Add, Edit, x12 y34 w40 h15 vserie1,
Gui, Add, Edit, x72 y34 w40 h15 vcapitulo,
Gui, Add, Button, x116 y30 w0 h0 gsend, >
Gui -Caption +toolwindow
Gui, Show, x1750 y280 h62 w130, Subititulos
Return
send:
Gui, submit, nohide
StringReplace, Serie, Serie1,%A_Space%,-, All
Run, http://subtitulos.es/%serie%/%capitulo%
Return
close:
ExitApp
Refresh:
Reload
Return
#d::
winminimizeall
; ::tbbt::the big bang theory
Background IMG
