Search found 1713 matches

by HotKeyIt
16 Jan 2019, 18:10
Forum: Ask For Help
Topic: [AHK_H v2] CryptAES usage? Topic is solved
Replies: 5
Views: 141

Re: [AHK_H v2] CryptAES usage? Topic is solved

There was a small bug that has been fixed now. Also you have to consider that v2 is unicode, so string length in bytes is *2! ; prep VarSetCapacity(str, 8) ; Strlen*2 due to unicode len := StrPut("abcd", &str) MsgBox StrGet(&str) ; 'abcd' ; encrypt size := CryptAES(str, len*2, "password", true) ; le...
by HotKeyIt
13 Jan 2019, 16:05
Forum: Ask For Help
Topic: Empty Command
Replies: 2
Views: 64

Re: Empty Command

Sleep
by HotKeyIt
13 Jan 2019, 16:04
Forum: AutoHotkey_H
Topic: How to compile?
Replies: 2
Views: 97

Re: How to compile?

Runs fine for me, can you try a simple script like MsgBox? Here same example for v2: SetWorkingDir A_ScriptDir SplitPath A_AhkPath,, AhkDir RunWait AhkDir "\AutoHotkey.exe `"" AhkDir "\Compiler\Ahk2Exe.ahk`" /in `"" A_WorkingDir "\App.ahk`" /out `"" A_WorkingDir "\App.exe`" /bin `"" AhkDir "\AutoHot...
by HotKeyIt
13 Jan 2019, 12:05
Forum: AutoHotkey_H
Topic: [AHK v1] Bug: AhkThread() Title parameter doesnt work Topic is solved
Replies: 1
Views: 50

Re: [AHK v1] Bug: AhkThread() Title parameter doesnt work Topic is solved

Title is not available for v1.
There was a bug in v2 and is fixed now ;)
by HotKeyIt
13 Jan 2019, 08:31
Forum: Ask For Help
Topic: Decompiling
Replies: 108
Views: 31313

Re: Decompiling

You define the limit yourself and any characters are supported.
by HotKeyIt
12 Jan 2019, 16:39
Forum: Ask For Help
Topic: Decompiling
Replies: 108
Views: 31313

Re: Decompiling

Applies to both v1 and v2. In this line you should instead call the function that returns your password: https://github.com/HotKeyIt/ahkdll/blob/master/source/util.cpp#L3219 Whatever you do you can see in debugger what you function returns and use it as password. You might need to adapt some other l...
by HotKeyIt
12 Jan 2019, 16:34
Forum: AutoHotkey_H
Topic: vcruntime140.dll vs msvcr100.dll
Replies: 1
Views: 52

Re: vcruntime140.dll vs msvcr100.dll

vcruntime140.dll only!
by HotKeyIt
11 Jan 2019, 09:28
Forum: Ask For Help
Topic: Call AHK function from VBA(MS ACCESS) using Autohotkey.dll
Replies: 4
Views: 187

Re: Call AHK function from VBA(MS ACCESS) using Autohotkey.dll

It is not because it does not make sense but because the dll is loaded via MemoryModule and takes over the path of executable "path-to-the-currently-running-AutoHotkey.exe" -> "C:\Program Files\Microsoft Office\..." Therefore you can place a link in directory where MS ACCESS executable is a link to ...
by HotKeyIt
06 Jan 2019, 18:54
Forum: AutoHotkey_H
Topic: [AHK_H v2] pass boundFunc to threads? Topic is solved
Replies: 1
Views: 102

Re: [AHK_H v2] pass boundFunc to threads? Topic is solved

Unfortunately this is not possible due to Thread Local Storage, since AutoHotkey.exe is multi-thread able.
This might be possible in future when dll will be using TLS as well.
by HotKeyIt
02 Jan 2019, 07:56
Forum: AutoHotkey_H
Topic: Please help me create a basic multi-threaded example Topic is solved
Replies: 3
Views: 160

Re: Please help me create a basic multi-threaded example Topic is solved

Create 4 files that have the code you want to execute. Then use following main script: dll1:=AhkThread("Alias(a," getvar(a) "`n#include ScriptA.ahk") dll2:=AhkThread("Alias(b," getvar(b) "`n#include ScriptB.ahk") dll3:=AhkThread("Alias(c," getvar(c) "`n#include ScriptC.ahk") dll4:=AhkThread("Alias(d...
by HotKeyIt
30 Dec 2018, 20:24
Forum: Ask For Help
Topic: Call AHK function from VBA(MS ACCESS) using Autohotkey.dll
Replies: 4
Views: 187

Re: Call AHK function from VBA(MS ACCESS) using Autohotkey.dll

Code: Select all

Dim AhkCom As AutoHotkey.CoCOMServer
Set AhkCom = New AutoHotkey.CoCOMServer
AhkCom.ahktextdll
AhkCom.ahkExec "msgbox", "hello"
by HotKeyIt
26 Dec 2018, 12:49
Forum: AutoHotkey_H
Topic: [AHK_L v1] working with an included autohotkey.dll Topic is solved
Replies: 6
Views: 195

Re: [AHK_L v1] working with an included autohotkey.dll Topic is solved

For each thread you will need another AutoHotkey.dll, simply copy+rename it to AutoHotkey2.dll or similar.
In AutoHotkey_H using AhkThread you would not have to do that or even need an AutoHotkey.dll because it is included.
by HotKeyIt
26 Dec 2018, 11:34
Forum: Ask For Help
Topic: Take a screenshot from VBA (MS Access) using Autohotkey.dll Topic is solved
Replies: 8
Views: 196

Re: Take a screenshot from VBA (MS Access) using Autohotkey.dll Topic is solved

What is the ErrorLevel you get from ImageSearch? Can you show your script that you use for addFile?
by HotKeyIt
26 Dec 2018, 11:32
Forum: AutoHotkey_H
Topic: [AHK_L v1] working with an included autohotkey.dll Topic is solved
Replies: 6
Views: 195

Re: [AHK_L v1] working with an included autohotkey.dll Topic is solved

You are right, forgot already about #Persistent ;)
Script keeps working, you can add new script or run a function, label, hotkey or ahkTerminate it.

Go to advanced search