Search found 1625 matches

by HotKeyIt
26 Jun 2018, 16:08
Forum: Ask For Help
Topic: Decompiling
Replies: 103
Views: 24823

Re: Decompiling

lolkaru wrote:How to set password? With the default password, program does not start, error like this:
https://image.prntscr.com/image/Ly4_zKz ... pE1sgg.png

If I did not set a password, and only used compression, will the program be hacked easily? Thx.

https://github.com/HotKeyIt/ahkdll/issues/15
by HotKeyIt
25 Jun 2018, 16:21
Forum: AutoHotkey_H
Topic: How to terminate a threads in another thread?how to Accessing a variable of a thread from another thread ? Topic is solved
Replies: 1
Views: 80

Re: How to terminate a threads in another thread?how to Accessing a variable of a thread from another thread ? Topic is solved

global threads:=CriticalObject() Loop 3 threads[A_Index]:=AhkThread(" ( #Persistent global threads:=CriticalObject(" (&threads) ") if (" A_Index ">1) MsgBox `% threads.1.ahkgetvar(""test"") else test:=""Hello World!"" if (" A...
by HotKeyIt
22 Jun 2018, 07:36
Forum: AutoHotkey_H
Topic: how to I can add array parameter ? Topic is solved
Replies: 3
Views: 155

Re: how to I can add array parameter ? Topic is solved

Forgot to mention, you can also use named parameters in v2:

Code: [Select all]GeSHi © Codebox Plus

thread:=AhkThread("
(
msgbox A_Args.name "
``n" A_Args.version
Return

)"
, "name ahk version 1")

ESC::
ExitApp
by HotKeyIt
21 Jun 2018, 14:30
Forum: AutoHotkey_H
Topic: how to I can add array parameter ? Topic is solved
Replies: 3
Views: 155

Re: how to I can add array parameter ? Topic is solved

You can pass the parameters as usual ..., 1 2 3 4 , just make sure it is a string! You can also pass an object reference and use the object itself: array:=[1,2,3,4] threads:=[] Loop 3 threads[A_Index]:=AhkThread(" ( var:=Object(A_Args[1]) msgbox % var[" A_Index "] Return )", (&am...
by HotKeyIt
19 Jun 2018, 16:47
Forum: Ask For Help
Topic: Slower reload after upgrade
Replies: 10
Views: 609

Re: Slower reload after upgrade

Many thanks, this has been fixed now: https://github.com/HotKeyIt/ahkdll-v1-r ... master.zip
by HotKeyIt
18 Jun 2018, 16:48
Forum: Ask For Help
Topic: Slower reload after upgrade
Replies: 10
Views: 609

Re: Slower reload after upgrade

This is because your main script exits right away, you have to use #Persistent!
by HotKeyIt
16 Jun 2018, 09:40
Forum: Ask For Help
Topic: Slower reload after upgrade
Replies: 10
Views: 609

Re: Slower reload after upgrade

As far as I remember there was a bug reloading a thread and resources were not freed fully, after the fix it might take longer to reload.
With regards to crashes and slow mouse movements it would be good if you can post an example script.
by HotKeyIt
09 Jun 2018, 14:10
Forum: AutoHotkey_H
Topic: How to compile trough CMD?
Replies: 4
Views: 233

Re: How to compile trough CMD?

Either you compile Ahk2Exe.ahk or pass Ahk2Exe.ahk as first parameter to Ahk2Exe.exe!
by HotKeyIt
26 Mar 2018, 18:30
Forum: AutoHotkey_H
Topic: How to add parameters into AhkThread ? Topic is solved
Replies: 5
Views: 439

Re: How to add parameters into AhkThread ? Topic is solved

Code: [Select all] [Expand]GeSHi © Codebox Plus

by HotKeyIt
26 Mar 2018, 03:36
Forum: AutoHotkey_H
Topic: Bug on Windows XP Prof. SP3 32 bit Topic is solved
Replies: 4
Views: 380

Re: Bug on Windows XP Prof. SP3 32 bit Topic is solved

There is a missing function in XP that is now loaded dynamically when it exist.
You will have to whitelist the AutoHotkeySC.bin file in Norton.
by HotKeyIt
25 Mar 2018, 16:14
Forum: AutoHotkey_H
Topic: Crash… crash… crash…
Replies: 11
Views: 834

Re: Crash… crash… crash…

I see, I think this depends on your script since there is only one WorkingDir across all threads in a process. Running a simple MsgBox script in a different path via AhkThread does not change WorkingDir for me. Multithreaded applications and shared library code should not use the GetCurrentDirectory...
by HotKeyIt
25 Mar 2018, 10:20
Forum: AutoHotkey_H
Topic: Bug Report (AHK.dll) Topic is solved
Replies: 9
Views: 690

Re: Bug Report (AHK.dll) Topic is solved

Tried but it did not add the script to the list, when starting again I got this error: There were errors while trying to run scripts: DLL path not specified: Std I believe the bug has been fixed in the last release, can you test it please: https://github.com/HotKeyIt/ahkdll-v1-release/archive/master...
by HotKeyIt
25 Mar 2018, 10:09
Forum: AutoHotkey_H
Topic: Help me generate script run with real multithread Topic is solved
Replies: 9
Views: 552

Re: Help me generate script run with real multithread Topic is solved

This error is due to using AutoHotkey_H v2, try using AutoHotkey_H v1. AFAIK your Gdip functions are also not compatible with v2, otherwise you need to use proper syntax for v2:
ProcessSetPriority("High"), also remove Setbatchlines.
by HotKeyIt
25 Mar 2018, 10:05
Forum: AutoHotkey_H
Topic: Bugs and flaws or stupid me?
Replies: 17
Views: 991

Re: Bugs and flaws or stupid me?

Thanks for fixing the issues. There is one more in AhkThread that I had forgot about: due to a badly formed comparison it doesn't free objects when the obj parameter is not specified. It should be if (obj="") , not if obj="" . For testing: msgbox, % testFunc() testFunc(o...
by HotKeyIt
25 Mar 2018, 09:57
Forum: AutoHotkey_H
Topic: Help me generate script run with real multithread Topic is solved
Replies: 9
Views: 552

Re: Help me generate script run with real multithread Topic is solved

Yes but the script above is for AutoHotkey_H v1, your picture is not displayed unfortunately, can you type down the error?
by HotKeyIt
25 Mar 2018, 09:54
Forum: AutoHotkey_H
Topic: Crash with ahkThread on Win10 x64 - v1.1.28
Replies: 29
Views: 1614

Re: Crash with ahkThread on Win10 x64 - v1.1.28

I think I have found the problem, can you please try latest release.
by HotKeyIt
25 Mar 2018, 08:29
Forum: AutoHotkey_H
Topic: Help me generate script run with real multithread Topic is solved
Replies: 9
Views: 552

Re: Help me generate script run with real multithread Topic is solved

Try something like this: threads:=[] Loop 8 threads[A_Index]:=AhkThread(" ( SetBatchLines, -1 gdipToken := Gdip_Startup() #Include Gdip_All.ahk #Include Gdip_ImageSearch.ahk run: running:=true bmpHaystack := Gdip_CreateBitmapFromFile(link) bmpNeedle := Gdip_CreateBitmapFromFile(linkb) RET := Gd...

Go to advanced search