This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance,Force | |
;************************************** | |
Area_Code:="267" | |
Prefix:="777" | |
pwb := WBGet() | |
pwb.Navigate("http://www.fonefinder.net/findome.php?npa=" Area_Code "&nxx=" Prefix) ;Navigate to URL | |
while pwb.busy or pwb.ReadyState != 4 ;Wait for page to load | |
Sleep, 100 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance,Force | |
;**********Example 1**************************** | |
If (0){ | |
try { ; Attempts to execute code. | |
HelloWorld() | |
MakeToast() | |
}catch e { ; Handles the first error/exception raised by the block above. | |
MsgBox, An exception was thrown!`nSpecifically: %e% | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance,Force | |
;********************Input box*********************************** | |
If (0){ | |
InputBox,Var,Name gathering,Enter your name,,,,,,,6 | |
if (ErrorLevel=1) | |
MsgBox,,InputBox Example, % "error Level:" ErrorLevel ": Cancel was hit",13 | |
if (ErrorLevel=2) | |
MsgBox,,InputBox Example, % "error Level:" ErrorLevel ": Timed out",13 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;******************************************************* | |
; Want a clear path for learning AutoHotkey; Take a look at our AutoHotkey Udemy courses. They're structured in a way to make learning AHK EASY | |
; Right now you can get a coupon code here: https://the-Automator.com/Learn | |
;******************************************************* | |
#SingleInstance,Force | |
; http://the-automator.com/RegEx_Book | |
str = | |
( | |
Process created at [ PID: 1872 | TID: 1596 ] | |
Process created at [ PID: 4180 | TID: 7776 ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance,Force | |
IniRead, API_Key ,Auth.ini,API, Key ;Get your own key and put it into the API_Key variable | |
;************************************** | |
Term:="Pretty cool i think" | |
Endpoint:="https://capitalize-my-title.p.rapidapi.com/title/" | |
HTTP:=ComObjCreate("WinHttp.WinHttpRequest.5.1") ;Create COM Object | |
HTTP.Open("GET",Endpoint Term) ;Open the Connection | |
HTTP.SetRequestHeader("X-Rapidapi-Host","capitalize-my-title.p.rapidapi.com") | |
HTTP.SetRequestHeader("X-Rapidapi-Key",API_Key) | |
;~ HTTP.SetProxy(2,"localhost:8888") ;Use if Fiddler is running |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance, Force ;Limit one running version of this script | |
SetBatchLines -1 ;run at maximum CPU utilization | |
SetKeyDelay, 40, 1, ;Sets the delay that will occur after each keystroke sent by Send and ControlSend. | |
;~ Browser_Forward::Reload ;Reload the script | |
;~ Browser_Back:: ;Run the script | |
WinActivate, ahk_class SciTEWindow | |
sleep, 100 | |
SendText(2000,"`n`n`n`n`tIt Is The Soldier") | |
SendText(1400,"`n`n`n`n`tIt is the Soldier, not the minister`n`tWho has given us freedom of religion.") | |
SendText(1400,"`n`n`n`n`tIt is the Soldier, not the reporter`n`tWho has given us freedom of the press.") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
text= | |
( | |
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. | |
Lorem ipsum [email protected] dolor sit amet, (555)555.8957 the-Automator.com consectetuer adipiscing elit. | |
https://www.linkedin.com/in/joeglines/ @recruiting lorem ipsum | |
dolor sit http://github.com/maestrith/AHK-Studio elit. | |
dolor sit www.github.com/maestrith/AHK-Studio elit. | |
) | |
Pos:=1 ;set starting point |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance,Force ;ensure only 1 version running | |
SetTitleMatchMode, 3 ;to make sure winMinimize and Sending Control C to ConsoleWindowClass works down below | |
DetectHiddenWindows,On ;Added becauase minimizing the window | |
; General Documentation := https://ffmpeg.org/ffmpeg-devices.html#gdigrab Documentation on gdigrab from ffmpeg | |
; Get list of devices ffmpeg:= ffmpeg -list_devices true -f dshow -i dummy | |
; Cropping specific area := https://stackoverflow.com/questions/6766333/capture-windows-screen-with-ffmpeg/47591299 | |
;********************Control+Shift+R=Start Recording*********************************** | |
^+r:: | |
FileDelete, %A_ScriptDir%\temp.mp4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
myFunc(["one","two","three"]) | |
myfunc(Array){ | |
for index, value in Array | |
MsgBox % index a_tab value | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;******************************************************* | |
; Want a clear path for learning AutoHotkey; Take a look at our AutoHotkey Udemy courses. They're structured in a way to make learning AHK EASY | |
; Right now you can get a coupon code for GUIs are Easy here: https://www.the-automator.com/learn-autohotkey/guis-are-easy-with-autohotkey/ | |
;******************************************************* | |
#SingleInstance, force | |
Gui, main:new | |
Gui, add, text,w50, Rows | |
Gui, add, edit, w50 x+10 vedRow | |
Gui, add, text,w50 xm, Columns |