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? Go to https://the-Automator.com/Learn | |
; https://www.autohotkey.com/docs/v2/lib/_HotIf.htm | |
#SingleInstance | |
#Requires Autohotkey v2.0+ | |
#HotIf MouseIsOver("ahk_class Shell_TrayWnd") | |
WheelUp::Send "{Volume_Up}" | |
WheelDown::Send "{Volume_Down}" | |
MouseIsOver(WinTitle) { |
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
;~ ~AppsKey & h::Run Excel.exe C:\Users\Joe\Dropbox\diet.xlsx ;diet |
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 courses. | |
;They're structured in a way to make learning AHK EASY: https://the-Automator.com/Learn | |
;******************************************************* | |
;~ #Include <default_Settings> | |
#Requires AutoHotkey v1.1.33+ | |
;************************************** | |
#SingleInstance force | |
#Requires AutoHotkey v1.1.36+ ; prefer 64-Bit | |
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 Discovering AutoHotkey; Take a look at our AutoHotkey courses. | |
;They"re structured in a way to make learning AHK EASY: https://the-Automator.com/Discover | |
;******************************************************* | |
#Include <default_Settings> | |
#Requires AutoHotkey v1.1.33+ | |
;************************************** | |
runApp("Paint") ;this calls the below function and will launch the named app | |
runApp("WordPad") ;this calls the below function and will launch the named app | |
return |
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 courses. | |
;They"re structured in a way to make learning AHK EASY: https://the-Automator.com/Discover | |
;******************************************************* | |
#SingleInstance | |
#Requires Autohotkey v2.0+ | |
runApp('Spotify') ;this will launch Spotify | |
runApp(appName) { ; https://www.autohotkey.com/boards/viewtopic.php?p=438517#p438517 |
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
#HotIf WinActive(' - Excel ahk_class XLMAIN') | |
F1:: ; Load Data | |
{ | |
Global Data | |
PXL := XL_Start_Get() ; will connect to active Excel / Start new Workbook if no XL application | |
; Range := XL_Get_Selected_Range(PXL,1) ; Get selected range (set absolute to 1 if you want $) | |
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
#Requires AutoHotkey v1.1.33+ | |
Clipboard:="11231 Josh 11-11-2023 Manager" | |
Clipboard:=StrReplace(Clipboard,"`t","`r`n") | |
send ^v |
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
if !ClipWait(2) | |
{ | |
Notify.Default.GenSound := "Error" | |
Notify.show('The attempt to copy text onto the clipboard failed.') | |
sleep 3000 | |
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
/* | |
* ============================================================================ * | |
* Want a clear path for learning AutoHotkey? * | |
* Take a look at our AutoHotkey courses here: the-Automator.com/Learn * | |
* They're structured in a way to make learning AHK EASY * | |
* And come with a 200% moneyback guarantee so you have NOTHING to risk! * | |
* ============================================================================ * | |
*/ | |
#SingleInstance |
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
;***********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******************* | |
URL:="http://the-automator.com/mn/wp-content/uploads/2016/02/not_working.jpg" | |
SplitPath,URL,File_Name | |
HTTP:=ComObjCreate("MSXML2.XMLHTTP.6.0") ;https://msdn.microsoft.com/en-us/library/ms535874(v=vs.85).aspxu | |
ADODB:=ComObjCreate("ADODB.Stream") ;https://docs.microsoft.com/en-us/sql/ado/reference/ado-glossary | |
ADODB.Type:=1 ;set to 1 which is Binary 2 is text | |
HTTP.Open("GET",URL,1) ;open( Method, URL, Asynchronous, UserName, Password ) | |
HTTP.Send() |
NewerOlder