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
;*******************************************************
;**************************************
;~ gui,+AlwaysOnTop
gui, font, S12 ;Change font size to 12
Gui, Add, GroupBox, x0 w460 h150, Search ;add a groupbox
gui, Add, Checkbox, x20 y30 checked1 vahk, AutoHotkey.com ;first checkbox and move down / over a bit
gui, Add, Checkbox, checked0 vstack, StackOverflow.com
;*******************************************************
; 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
; This code was orinated by Maestrith for Joe Glines and Hellbent
;**************************************
NumbImages:=50
NumbLoops:=100
#SingleInstance,Force
Gui,Add,ActiveX,w800 h500 vwb,mshtml:
;*******************************************************
; 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
;*******************************************************
;********************Jean Lalonde script from Live help on Fridays ***********************************
;********************https://the-Automator.com/Fridays***********************************
#requires AutoHotkey v1.1
#SingleInstance,Force
#NoEnv
Appskey & z:: ;launch my zoom meeting and turn on video
run %comspec% /c ""C:\Users\Joe\AppData\Roaming\Zoom\bin\Zoom.exe" "--url=zoommtg://zoom.us/join?action=join&confno=81557xxxx"",,hide
WinWait, Zoom Meeting
Sleep, 100
Send !v ;Alt V is typical hotkey for toggling video
return
;*******************************************************
; 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
;*******************************************************
;**************************************
;~ gui,+AlwaysOnTop
gui, font, S12 ;Change font size to 12
Gui, Add, GroupBox, x0 w460 h150, Search ;add a groupbox
gui, Add, Checkbox, x20 y30 checked1 vahk, AutoHotkey.com ;first checkbox and move down / over a bit
gui, Add, Checkbox, checked0 vstack, StackOverflow.com
;*******************************************************
; 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
;**************************************
!p::ToggleVisibility("Pushbullet Pro") ;Alt+P will run
;~ WindowTitle:="Pushbullet Pro"
;~ ToggleVisibility(WindowTitle) ;Call the function
return
@JoeGlines
JoeGlines / HellBent- overlaying images.ahk
Created October 22, 2021 17:24
from our live call on 10/22/2021- Hellbent's demo
#Include <My Altered GDIP lib> ;update this path to your GDI library
#SingleInstance, Force
Gdip_StartUp()
image1 := Gdip_CreateBitmapFromFile("C:\Users\Hellbent\Desktop\AHK Tools\Color Picker Mini\Screen Shots\20211021210744.png")
image2 := Gdip_CreateBitmapFromFile("C:\Users\Hellbent\Desktop\AHK Tools\Color Picker Mini\Screen Shots\20211022094124.png")
pBitmap := Gdip_CreateBitmap( 400 , 400 ) , G := Gdip_GraphicsFromImage( pBitmap ) , Gdip_SetSmoothingMode( G , 2 )
Gui Color, 1a1a1a
@JoeGlines
JoeGlines / imageComparison.ahk
Created October 22, 2021 15:52
Jackie Sztuk method for image comparison
If !pToken := Gdip_Startup()
{
MsgBox, 48, gdiplus error!, Gdiplus failed to start. Please ensure you have gdiplus on your system
ExitApp
}
FileSelectFile, File1, , , Select File 1
FileSelectFolder, folder1,
;~ FileSelectFile, File2, , , Select File 2
@JoeGlines
JoeGlines / long press 3 secs to sleep.ahk
Created October 8, 2021 15:10
longpess escape for 3 seconds to go to sleep
#SingleInstance,Force
;~ http://www.autohotkey.com/board/topic/80697-long-keypress-hotkeys-wo-modifiers/
~$Esc:: ; Long press (> 0.5 sec) on Esc closes window
KeyWait, Escape, T3 ; Wait no more than 0.5 sec for key release (also suppress auto-repeat)
If ErrorLevel ; timeout, so long press
PostMessage, 0x112, 0xF060,,, A ;Use PostMessage to close window
Return
#SingleInstance,Force
#NoEnv
;********************Fix stupid Windows clipboard***********************************
#IfWinActive ahk_class Shell_LightDismissOverlay
enter:: ;when hit enter key
Send, {space} ;send the space key
return ;Stop from moving forward