FS255.AutoHotkey.psm1
# Title: FS255.AutoHotkey.psm1 # # copyright @ 2023 by TIQ Solutions GmbH # Author: Felix Scholz <felix.scholz@tiq-solutions.de> # Date: 27. Juni 2023 at 18:17 $ErrorActionPreference = "Stop" $ModulePaths = @( "$PSScriptRoot/functions" ) # Dot-source the individual functions scripts from the 'public' folder into the .psm1 module file foreach ($path in $ModulePaths) { if (Test-Path -Path $path) { foreach ($file in Get-ChildItem -Path $path -Filter *.ps1 -Recurse -Exclude *.Test.ps1) { . $file.FullName } } } Set-Alias -Name ahk -Value Invoke-AutoHotkey Set-Alias -Name ahkc -Value Invoke-AutoHotkeyCompiler |