Autohokey.dll v1 from Powershell
Posted: 22 Aug 2022, 14:30
Im looking for a way to execute my scripts without using the exe. Plan is to use the AHK_H (v1) DLL from powershell and let it exec my scripts/code.
I downloaded the release from github and had a look at the exported functions of Autohotkey.dll. My assumption was that the DLL would have the AHK functions like send, sendplay, imagesearch, etc. Seems like it only has function to execute AHK code. Anyway not relevant.
Can someone please help me with getting this to run via powershell or at least tell me what function of the DLL to use and what the parameters are (I should be able to do the DllImport from Powershell)? It's stated no where.
Also can use the DLL without running regsvr? That would be important too.
Thanks
I downloaded the release from github and had a look at the exported functions of Autohotkey.dll. My assumption was that the DLL would have the AHK functions like send, sendplay, imagesearch, etc. Seems like it only has function to execute AHK code. Anyway not relevant.
Can someone please help me with getting this to run via powershell or at least tell me what function of the DLL to use and what the parameters are (I should be able to do the DllImport from Powershell)? It's stated no where.
Also can use the DLL without running regsvr? That would be important too.
Thanks