Skip to content

Instantly share code, notes, and snippets.

;*******************************************************
; 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
;*******************************************************
;************************************************************
IniRead, API_Token ,Auth.ini,API, Token
;***********Clearbit API: docmentation: https://dashboard.clearbit.com/docs*******************
EndPoint:="https://prospector.clearbit.com/v1/people/search" ;streaming so waits for response
;~ QueryString:=QueryString_Builder({"domain":"the-automator.com","limit":"15"})
;~ MsgBox % QueryString
;*******************************************************
; 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
;*******************************************************
IniRead, API_Secret_Key,Auth.ini,API, Secret
IniRead, API_ID,Auth.ini,API, ID
;***********Documentation: https://www.data24-7.com/wiki/doku.php?id=api_2.0_instructions*******************
Endpoint:="https://api.data24-7.com/v/2.0"
QueryString:=QueryString_Builder({"user":API_ID,"pass":API_Secret_Key,"api":"T","p1":"682.209.8014"})
;*******************************************************
; 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
;*******************************************************
;~ https://www.reddit.com/r/AutoHotkey/top/.xml?count=20
EndPoint:="https://www.reddit.com/r/AutoHotkey/top/.xml"
QueryString:=QueryString_Builder({"count":"20"})
;~ MsgBox % QueryString
;***********API call*******************
http:= ComObjCreate("WinHttp.WinHttpRequest.5.1")
;*******************************************************
; 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
;*******************************************************
queryString:=QueryString_Builder({"q":"select * from local.search where zip='75019' and query='hot dogs'","format":"json"})
;~ MsgBox % queryString
EndPoint:="https://query.yahooapis.com/v1/public/yql"
;***********API call*******************
HTTP := ComObjCreate("WinHttp.WinHttpRequest.5.1")
;*******************************************************
; 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
;*******************************************************
;~ https://developers.google.com/maps/documentation/geocoding/start
IniRead, API_Key,Auth.ini,API,Key ;read current token
;~ queryString:=QueryString_Builder({"address":"836 Kilbridge Lane, Coppell, TX","key":API_Key})
queryString:=QueryString_Builder({"address":"1600 Amphitheatre Parkway, Mountain View, CA","key":API_Key})
;*******************************************************
; 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
;*******************************************************
;~ https://developers.google.com/maps/documentation/directions/
IniRead, API_Key,Auth.ini,API,Key ;read current token
queryString:=QueryString_Builder({"origin":"75 9th Ave New York, NY","destination":"MetLife Stadium 1 MetLife Stadium Dr East Rutherford, NJ 07073","key":API_Key})
Endpoint:="https://maps.googleapis.com/maps/api/directions/" . "xml" ;xml or json
;*******************************************************
; 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
;*******************************************************
Payload={"filter":{"acctId":"44XXXX","serviceId":[],"msgFormat":[],"status":[1,2,192],"received":{"From":"1970-01-01T00:00:00.000Z","To":"1970-01-01T00:00:00.000Z"},"modified":{"From":"1970-01-01T00:00:00.000Z","To":"1970-01-01T00:00:00.000Z"},"originator":"","threadId":[],"eTo":[],"excludeMessages":[],"extraSql":"AND msg.thread_id IS NULL"},"options":{"doNotCallFlag":true,"contactId":true,"deepContactIdSearch":true,"offset":0,"limit":0,"orderColumn":"\"tdsReceived\"","orderDirection":"DESC"}}
oWindow := ComObject(9, ComObjQuery(WBGet(), "{332C4427-26CB-11D0-B483-00C04FD90119}", "{332C4427-26CB-11D0-B483-00C04FD90119}"), 1)
MsgBox % IsObject(oWindow)
msgbox % oWindow.title
;*******************************************************
; 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
Blog_URI:="https://the-Automator.com" ;note, even if WordPress is in another folder, use this
IniRead, API_Key,Auth.ini,API, Key ;API Key is your key to Akismet
;*******************************************************
;*********Make sure you have not turned-off your API access in WordPress!******
;*******************************************************
; 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
SetBatchLines,-1
;**************************************
Wd:=ComObjCreate("Word.Application") ;this would activate an open one
WD.Visible:=0 ;This is fun to watch, but it will be much, much faster if you set this to zero and have it running w/o being visible
;*******************************************************
; 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
pwb := WBGet() ;Get handle to IE Page
;~ MsgBox % pwb.document.getElementsbyTagName("Table")[0].InnerText
;*********** loop over table*****Maestrith helped significantly with the listview portion*******