Search found 2337 matches

by HotKeyIt
12 Oct 2021, 03:03
Forum: Bug Reports
Topic: [v2 beta1]Nested Functions - App exits without error Topic is solved
Replies: 6
Views: 1877

Re: [v2 beta1]Nested Functions - App exits without error Topic is solved

The application crashes before execution is started.
However I have updated example above so it makes sense.
by HotKeyIt
11 Oct 2021, 16:12
Forum: Bug Reports
Topic: [v2 beta1]Nested Functions - App exits without error Topic is solved
Replies: 6
Views: 1877

Re: [v2 beta1]Nested Functions - App exits without error Topic is solved

Thanks, I somehow missed to post that line :oops:
I have updated the script above.
by HotKeyIt
11 Oct 2021, 07:53
Forum: Ask for Help
Topic: Please Help: CryptAES Not working (1.1.33.10-H001) Topic is solved
Replies: 5
Views: 2212

Re: Please Help: CryptAES Not working (1.1.33.10-H001) Topic is solved

MyStr:="This is Test Line" MyPass := "kjadskfjalögkhakglsdfkaj" MsgBox, % CryptAES_Helper2(MyStr, MyPass) "`n" MyStr MsgBox, % CryptAES_Helper2(MyStr, MyPass, 0) "`n" MyStr CryptAES_Helper2(ByRef Str, Pass, Flag=1){ VarSetCapacity(var, (sz := StrPut(Str) * (A_IsUnicode+1)) + 16) StrPut(Str, &var) S...
by HotKeyIt
11 Oct 2021, 04:33
Forum: Ask for Help
Topic: Please Help: CryptAES Not working (1.1.33.10-H001) Topic is solved
Replies: 5
Views: 2212

Re: Please Help: CryptAES Not working (1.1.33.10-H001) Topic is solved

I have uploaded a fixed version, a parameter was wrong.
Also note, you will need additionaly 16 bytes:

Code: Select all

str:="This is Test Line"
VarSetCapacity(var, (sz:=StrPut(str)*2)+16)
StrPut(str,&var)
Size := CryptAES(var, sz, "kjadskfjalögkhakglsdfkaj", true)
MsgBox % Size "`n" StrGet(&var)
by HotKeyIt
10 Oct 2021, 05:27
Forum: Bug Reports
Topic: [v2 beta1]Nested Functions - App exits without error Topic is solved
Replies: 6
Views: 1877

[v2 beta1]Nested Functions - App exits without error Topic is solved

t() MsgBox t(){ static a:=3 t1() t1(){ t2() } t2(){ j() j(){ MsgBox a } } } Reason is that ASSERT fails because aFunc.mDownVarCount = 1 and downvar_count=0 . https://github.com/Lexikos/AutoHotkey_L/blob/alpha/source/script.cpp#L13522 ResultType Script::PreprocessLocalVars(UserFunc &aFunc) { ... if ...
by HotKeyIt
08 Oct 2021, 10:10
Forum: AutoHotkey_H
Topic: How to speed up execution
Replies: 13
Views: 5702

Re: How to speed up execution

whynotregister wrote:
08 Oct 2021, 09:57
Would the execution speed improve if decrypt 2-3 lines at the same time instead of decrypting line by line? Could this method introduce a security flaw?
Not much if you have 20.000 lines and yes it would.
by HotKeyIt
08 Oct 2021, 07:47
Forum: AutoHotkey_H
Topic: How to speed up execution
Replies: 13
Views: 5702

Re: How to speed up execution

That of course takes the time since it copresses additionally line by line.
Did you try to whitelist in Windows Defender, was it any faster afterwards?
by HotKeyIt
08 Oct 2021, 07:00
Forum: AutoHotkey_H
Topic: How to speed up execution
Replies: 13
Views: 5702

Re: How to speed up execution

Same is for Windows Defender.
Did you use compression?
by HotKeyIt
08 Oct 2021, 05:37
Forum: AutoHotkey_H
Topic: How to speed up execution
Replies: 13
Views: 5702

Re: How to speed up execution

So you mean until your Gui is displayed for example?
In that case try to whitelist the program in your Antivirus programm, because AHK_H is larger and additionally uses compression internally it takes longer to anlyze it.
by HotKeyIt
08 Oct 2021, 04:29
Forum: AutoHotkey_H
Topic: How to speed up execution
Replies: 13
Views: 5702

Re: How to speed up execution

Do you have an example code that runs slower?
Are you using SetBatchLines, -1
by HotKeyIt
03 Oct 2021, 03:52
Forum: Ask for Help (v1)
Topic: CLSID Run hotkey not working Topic is solved
Replies: 4
Views: 414

Re: CLSID Run hotkey not working Topic is solved

Code: Select all

#e::Run % A_WinDir "\explorer.exe /root,::{20d04fe0-3aea-1069-a2d8-08002b30309d}"
by HotKeyIt
01 Oct 2021, 06:57
Forum: Ask for Help (v1)
Topic: CLSID Run hotkey not working Topic is solved
Replies: 4
Views: 414

Re: CLSID Run hotkey not working Topic is solved

#e::Run % A_WinDir "\explorer.exe ""/root,::{20d04fe0-3aea-1069-a2d8-08002b30309d}"""
by HotKeyIt
30 Sep 2021, 09:54
Forum: AutoHotkey_H
Topic: ahkThread and ComObjCreate
Replies: 13
Views: 4591

Re: ahkThread and ComObjCreate

-100 will force terminatation.
100 will:
- wait for thread exit (if thread is not hung and cannot exit it will wait forever)
- return if thread exited
- return if thread is hung and cannot exit after 100ms
by HotKeyIt
29 Sep 2021, 10:28
Forum: AutoHotkey_H
Topic: Can't compile and use ahk2exe?
Replies: 8
Views: 3368

Re: Can't compile and use ahk2exe?

Correct.
by HotKeyIt
29 Sep 2021, 10:22
Forum: AutoHotkey_H
Topic: Can't compile and use ahk2exe?
Replies: 8
Views: 3368

Re: Can't compile and use ahk2exe?

Yes, I also tested with encrypt option but I tested v1 version.
For v2 version I am currently merging v2.beta, please wait until it is released, I will make sure the compiler works too.
by HotKeyIt
29 Sep 2021, 09:24
Forum: AutoHotkey_H
Topic: Can't compile and use ahk2exe?
Replies: 8
Views: 3368

Re: Can't compile and use ahk2exe?

Just tried it with fresh download using Win32w\AutoHotkey.exe as Base File (.bin) and all is working fine.
Which Base File did you use?
by HotKeyIt
29 Sep 2021, 09:03
Forum: AutoHotkey_H
Topic: Can't compile and use ahk2exe?
Replies: 8
Views: 3368

Re: Can't compile and use ahk2exe?

Either you start the compiler with a different exe name (e.g. rename Ahk2Exe_.exe + Ahk2Exe_.ahk).
Or you select a different destination exe (e.g. Ahk2Exe_.exe) and rename it afterwards.
by HotKeyIt
28 Sep 2021, 08:52
Forum: AutoHotkey_H
Topic: ahkThread and ComObjCreate
Replies: 13
Views: 4591

Re: ahkThread and ComObjCreate

1. So if I understand correctly ahkTerminate(-100) waits 100ms before forcing the termination? 2. In case of, for example, ahkTerminate(200), what happens after 200ms? 3. And what's the default wait time of ahkTerminate()? 4. Any problem of forcing termination (not clearing the memory) in practice?...
by HotKeyIt
28 Sep 2021, 05:51
Forum: AutoHotkey_H
Topic: ahkThread and ComObjCreate
Replies: 13
Views: 4591

Re: ahkThread and ComObjCreate

So the latest one produces the error as well?
In that case I will need example code.
by HotKeyIt
28 Sep 2021, 05:21
Forum: AutoHotkey_H
Topic: ahkThread and ComObjCreate
Replies: 13
Views: 4591

Re: ahkThread and ComObjCreate

Can you please try again now

Go to advanced search