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 | |
;******************************************************* | |
ControlSetText,ComboBox1,Cool,ahk_exe notepad.exe ;Set Text | |
ControlSetText,Edit1,Cool,ahk_exe notepad.exe ;Set Text | |
ControlSetText,Sample,This is Cool,ahk_exe notepad.exe ;Set Text | |
ControlGetText,Var,ComboLBox1,Font ahk_exe notepad.exe ;Get Text | |
ControlGet,var,Choice,,ComboLBox1,ahk_exe notepad.exe | |
MsgBox % Var |
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
ControlSetText,ComboBox1,Cool,ahk_exe notepad.exe ;Set Text | |
ControlSetText,Edit1,Cool,ahk_exe notepad.exe ;Set Text | |
ControlSetText,Sample,This is Cool,ahk_exe notepad.exe ;Set Text | |
ControlGetText,Var,ComboLBox1,Font ahk_exe notepad.exe ;Get Text | |
ControlGet,var,Choice,,ComboLBox1,ahk_exe notepad.exe | |
MsgBox % Var | |
ControlSend,ComboBox1,Just a test,ahk_exe notepad.exe ;Sending keystrokes | |
ControlSendRaw,ComboBox1,Just a test!,ahk_exe notepad.exe ;Sending keystrokes |
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
#NoEnv | |
#SingleInstance force | |
ToolTipDuration := 2000 | |
;Set up for MSWORD for testing only. | |
;Three issues with the script | |
;1 - SaveWindow sometimes doesn't refocus as expected --- | |
;2 - Escaping causes the Tooltip to show the last saved; would like to remove that --- |
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
;~ 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 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
;**********************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 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 | |
;************************************** | |
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 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
;~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 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
alternative medicine | |
animation | |
apparel & fashion | |
architecture & planning | |
arts and crafts | |
automotive | |
aviation & aerospace | |
banking | |
biotechnology | |
broadcast media |
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
;***********************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 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
#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 | |