This file contains 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
;~ The script needs to be run at an elevated level- this takes care of that | |
if (! A_IsAdmin){ ;http://ahkscript.org/docs/Variables.htm#IsAdmin | |
Run *RunAs "%A_ScriptFullPath%" ; Requires v1.0.92.01+ | |
ExitApp | |
} |
This file contains 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
;**********************Accept-Encoding********************************* | |
; https://en.wikipedia.org/wiki/HTTP_compression | |
HTTP.SetRequestHeader("Accept-Encoding","gzip, deflate") | |
HTTP.SetRequestHeader("Accept-Encoding", "gzip,deflate,sdch") ;sdch is Google Shared Dictionary Compression for HTTP | |
;***********This will write a binary file to the folder where script is running******************* | |
;***********Another great reason to use MSXML2 is that it will use your IE cookies so you don't have to deal with Authentication :)******************* | |
;***********Also read this post for pros/cons of each method: https://autohotkey.com/boards/viewtopic.php?t=9554******************* |
This file contains 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 | |
;************************************** | |
API_Token:="XXXXXXXXXXXPut your API token hereXXXXXXXXXXXXXXXXX" | |
QueryString:=QueryString_Builder({"address":"836 Kilbridge Lane","citystatezip":"Coppell,TX","zws-id":API_Token}) | |
;~ QueryString:=QueryString_Builder({"address":"31 Boulevard terrace","citystatezip":"Novato,CA","zws-id":API_Token}) | |
EndPoint:="http://www.zillow.com/webservice/GetDeepSearchResults.htm" |
This file contains 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
;~The script needs to be run at an elevated level- this takes care of that | |
if (! A_IsAdmin){ ;http://ahkscript.org/docs/Variables.htm#IsAdmin | |
Run *RunAs "%A_ScriptFullPath%" ; Requires v1.0.92.01+ | |
ExitApp | |
} |
This file contains 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
alternative medicine | |
animation | |
apparel & fashion | |
architecture & planning | |
arts and crafts | |
automotive | |
aviation & aerospace | |
banking | |
biotechnology | |
broadcast media |
This file contains 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
;***********************Read and Write appointments from Calendar**************************. | |
;http://www.autohotkey.com/forum/viewtopic.php?t=61509&p=379775#379775 | |
olFolderCalendar := 9 ; Outlook.OlDefaultFolders.olFolderContacts | |
olFolderContacts := 10 ; get constants from visual studio | |
olAppointmentItem = 1 | |
profileName := "Outlook" | |
Outlook := ComObjCreate("Outlook.Application") | |
namespace := Outlook.GetNamespace("MAPI") | |
namespace.Logon(profileName) |
This file contains 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
#Include <default_Settings> ;RAlt:: | |
global Obj:=[] ;Creates obj holder for variables | |
;~ https://autohotkey.com/board/topic/117747-calculating-difference-between-gmt-and-local-time/ | |
;~ FormatTime, UTC, % A_NowUTC, yyyyMMddT HH:mm | |
Gui, Add, MonthCal, vMyCalendar | |
gui,Show | |
MsgBox % A_NowUTC | |
FormatTime, UTC, % A_NowUTC, yyyyMMddTHHmmssZ | |
MsgBox, %UTC% `n20180714T170000Z | |
This file contains 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
RBTitle := 1 | |
switch (RBTitle) | |
{ | |
case 1: | |
msg := "Troubleshoot " | |
case 2: | |
msg := "Configure " | |
case 3: | |
msg := "Discuss " |
This file contains 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 | |
; Create the sub-menus for the menu bar: | |
Menu, FileMenu, Add, &New, Clear | |
Menu, FileMenu, Add | |
Menu, FileMenu, Add, &Import, Import | |
Menu, FileMenu, Add, &Export, Export | |
Menu, FileMenu, Add | |
Menu, FileMenu, Add, E&xit, GuiClose |
This file contains 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
a=1 | |
b=2 | |
c=a + b |