I'm new here, can you assist me with this?
Code: Select all
SplashTextOn, 400, 300, Clipboard, The clipboard contains:`n%Clipboard%
WinMove, Clipboard,, 0, 0
MsgBox, the city name,state and country is Cincinnati,OH and us
SplashTextOff
Code: Select all
SplashTextOn, 400, 300, Clipboard, The clipboard contains:`n%Clipboard%
WinMove, Clipboard,, 0, 0
MsgBox, the city name,state and country is Cincinnati,OH and us
SplashTextOff
Code: Select all
tooltip "please wait...", a_screenwidth / 2 - 85, a_screenheight / 2 - 45
zips := whr("https://tinyurl.com/mv47zs2t")
tooltip
needle := InputBox("search...", "zip codes", "w170 h90", "10001")
if (needle.Result = "Cancel" or !needle.value)
ExitApp
for x,y in strsplit(zips,"`n","`r")
if (instr(strsplit( y,",")[1],needle.value)=1)
lst .= y "`n"
msgbox(IsSet(lst)?lst:"no result")
return
whr(url) ;https://www.autohotkey.com/docs/commands/URLDownloadToFile.htm#WHR
{
whr := ComObject("WinHttp.WinHttpRequest.5.1")
whr.Open("GET", url, true)
whr.Send()
whr.WaitForResponse()
return whr.ResponseText
}
Code: Select all
::45211::
SendInput, 45211
MouseGetPos, pX, pY
SplashTextOn, %pX%, %pY%, (Title), (Text here)
Sleep, 2000
SplashTextOff
Return
Code: Select all
::MCKE{ENTER}155{ENTER}::
SENDINPUT, MCKE{ENTER}155{ENTER}
TOOLTIP, "DONT CAPTURE TRY AGAIN"
SetTimer, 7000
return
Well, code tags belong around code, not at random places. But good that you know how to add them. This will be helpful.