Skip to content

Instantly share code, notes, and snippets.

;~ #Include <default_Settings>
;**************************************
;~ https://www.autohotkey.com/boards/viewtopic.php?t=35737 by scriptor2016 ; For voice recognition to work you need Microsoft SAPI installed in your PC, some versions of Windows don't support voice recognition though.
; You may also need to train voice recognition in Windows so that it will understand your voice.
;~ https://answers.microsoft.com/en-us/windows/forum/all/what-languages-does-microsoft-speech-recognition/cb5eaf9d-7391-4ab5-8ce9-f1e44096c853?auth=1
#Persistent
#SingleInstance, Force
global pspeaker := ComObjCreate("SAPI.SpVoice") ;plistener := ComObjCreate("SAPI.SpSharedRecognizer")
;*******************************************************
; 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.autohotkey.com/boards/viewtopic.php?t=35737 by scriptor2016 ; For voice recognition to work you need Microsoft SAPI installed in your PC, some versions of Windows don't support voice recognition though.
; You may also need to train voice recognition in Windows so that it will understand your voice.
;~ https://answers.microsoft.com/en-us/windows/forum/all/what-languages-does-microsoft-speech-recognition/cb5eaf9d-7391-4ab5-8ce9-f1e44096c853?auth=1
#Persistent
#SingleInstance, Force
;*******************************************************
; 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
;*******************************************************
;~ #Include <default_Settings>
#SingleInstance,Force
;**************************************
ClipBackup:= ClipboardAll
text:="I like to automate with AutoHotkey"
;*********Use For loop over Var going line by line*********************
@JoeGlines
JoeGlines / Getting Rows and Headers_2.ahk
Last active April 26, 2021 15:37
Get Number of rows and headers to large files
;*******************************************************
; 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 ;Set run w/o any sleeping between things
#MaxMem,4095 ;Increase the variable allowance to max just in case a massive file
;~ https://p.ahkscript.org/?p=519c9979
;***********Get row count of file and display headers*******************
Path:= Explorer_GetSelected() ;Explorer Function that gets paths of selected files
;*******************************************************
; 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
;*******************************************************
FileRead, rawMentors, data\mentors.txt
FileRead, rawMentees, data\mentees.txt
if FileExist("match.txt")
FileDelete, match.txt
if FileExist("notMatched.txt")
;*******************************************************
; 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
;*******************************************************
;~ #Include <default_Settings>
IniRead, API_Token ,Auth.ini,API, Token ;you need to provide your API key in order for this to work
Meeting:="83266038140", data:="" ;data:="email`tFirst_Name`tLast_Name`tDate_Reg`n",
loop{
;*******************************************************
; 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
;*******************************************************
;~ #Include <default_Settings>
;**************************************
#SingleInstance,Force
Text=
(
1) compile by right-clicking<br/>
;*******************************************************
; 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
username := "Jackie"
msgbox % "Name: " username "`nPassword: " password()
return
password(){
@JoeGlines
JoeGlines / run selection in SciTE4AutoHotkey.ahk
Last active April 26, 2021 15:35
Run selected text in SciTE
#*******************************************************
# 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
#*******************************************************
#***********Run selection in AutoHotkey*******************
command.name.45.$(file.patterns.ahk)=Run selection
command.mode.45.$(file.patterns.ahk=subsystem:2,savebefore:no
# Path to AutoHotkey.exe Path to SelectRun.ahk
command.45.$(file.patterns.ahk)="B:\Progs\AutoHotkey_L\AutoHotkey.exe" "B:\SelectRun.ahk"
command.input.45.$(file.patterns.ahk)=$(CurrentSelection)
;*******************************************************
; 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 ;~ Adapted from Cerberus https://www.autohotkey.com/boards/viewtopic.php?p=319004#p319698
Menu, Tray, Icon, C:\Windows\system32\shell32.dll,236 ;Set custom Script icon
global Count := 329, Shell := 1, Image := 0, File := "shell32.dll", Height := A_ScreenHeight - 170 ;Define constants
CreateGui:
Gui, Destroy