Search found 1662 matches

by HotKeyIt
14 Sep 2018, 16:22
Forum: Ask For Help
Topic: Why is "MemoryLoadLibrary" so slow?
Replies: 1
Views: 66

Re: Why is "MemoryLoadLibrary" so slow?

It is most likely because of the hook, AFAIK this cannot be improved.
by HotKeyIt
03 Sep 2018, 14:31
Forum: Ask For Help
Topic: Run multiple macro at the same time (for multiple application) Topic is solved
Replies: 17
Views: 372

Re: Run multiple macro at the same time (for multiple application) Topic is solved

See the example above MsgBox " xClick "... instead of MsgBox %xClick%...
by HotKeyIt
02 Sep 2018, 13:25
Forum: Ask For Help
Topic: Run multiple macro at the same time (for multiple application) Topic is solved
Replies: 17
Views: 372

Re: Run multiple macro at the same time (for multiple application) Topic is solved

It does not make sense to Stop execution in thread and free resources directly after starting the thread, I will not have a chance to do anything! Here the function: myThread:=MyClickLoop(100,200,250,290) MyClickLoop(xPixel,yPixel,xClick,yClick){ return AhkThread(" ( CoordMode ,Pixel,Screen ;se...
by HotKeyIt
31 Aug 2018, 15:34
Forum: Ich brauche Hilfe
Topic: If Clipboard contains / in präzisieren
Replies: 1
Views: 45

Re: If Clipboard contains / in präzisieren

Code: [Select all]GeSHi © Codebox Plus

text=
(
redford
red
the rose is red
)
Loop,Parse,text,`n,`r
MsgBox % RegexMatch(A_LoopField,"i)\bred\b")
by HotKeyIt
29 Aug 2018, 15:02
Forum: Ask For Help
Topic: Run multiple macro at the same time (for multiple application) Topic is solved
Replies: 17
Views: 372

Re: Run multiple macro at the same time (for multiple application) Topic is solved

It would not work that way since your coordinates would be the same, you will have to calculate coordinates inside the loop, you can use WinGet to cycle through all windows.
by HotKeyIt
29 Aug 2018, 14:57
Forum: Ask For Help
Topic: An object
Replies: 2
Views: 80

Re: An object

It must be comming from here: https://github.com/HotKeyIt/ahkdll/blob/alpha/source/var.cpp#L596 I would need an example to check why this happens, this works fine for me: ahkdll:=ahkdll() MsgBox ahkdll.new("MsgBox 'dll'") ahkdll(){ static hRes,ahkdll, init:=UnZipRawMemory(LockResource(Load...
by HotKeyIt
27 Aug 2018, 15:33
Forum: Ask For Help
Topic: Run multiple macro at the same time (for multiple application) Topic is solved
Replies: 17
Views: 372

Re: Run multiple macro at the same time (for multiple application) Topic is solved

You will have to check if ControlClick works and all windows would need to be side by side so PixelGetColor will work. You will need find the window position and get the relative coordinates. Script would be something like this (above not applied), depending on how you want to control it: !^a:: ;Cli...
by HotKeyIt
26 Aug 2018, 17:10
Forum: AutoHotkey_H
Topic: [BUG] object
Replies: 5
Views: 195

Re: [BUG] object

I think I have found the problem, try latest version ;)
by HotKeyIt
26 Aug 2018, 12:57
Forum: AutoHotkey_H
Topic: [BUG] object
Replies: 5
Views: 195

Re: [BUG] object

that is odd, can you post an example script.
by HotKeyIt
26 Aug 2018, 05:10
Forum: AutoHotkey_H
Topic: [BUG] object
Replies: 5
Views: 195

Re: [BUG] object

This is fixed now, many thanks Lexikos.
by HotKeyIt
24 Aug 2018, 12:54
Forum: AutoHotkey_H
Topic: ahk[Post]Function parameters bug
Replies: 2
Views: 82

Re: ahk[Post]Function parameters bug

Unfortunately not. However you can share function objects to call the function: ahk:=AhkThread(" ( #Persistent SetBatchlines, -1 cFun:=Func(""fun"") pFun:=&cFun fun(var*){ MsgBox `% var.1 ""``n"" var.2 } )") cFun:=Object(ahk.ahkFindFunc("fun...
by HotKeyIt
22 Aug 2018, 18:46
Forum: AutoHotkey_H
Topic: BUG
Replies: 1
Views: 118

Re: BUG

That was a nasty one, it has been fixed now ;)
by HotKeyIt
20 Aug 2018, 18:05
Forum: Ask For Help
Topic: Continuable Access Violation
Replies: 1
Views: 78

Re: Continuable Access Violation

Which ahk.dll version are you using?
Can you show your code?
by HotKeyIt
19 Aug 2018, 20:17
Forum: AutoHotkey_H
Topic: Error using _Struct Topic is solved
Replies: 6
Views: 358

Re: Error using _Struct Topic is solved

Yes AhkThread() uses by default the dll which sits in exe resources. Otherwise you can use the DllToUse parameter to load a different dll. So if you are using _L you will be always using this parameter. Btw for AHK_H v1 there is no Title parameter: ahkthread(script:="",parameters:="&q...
by HotKeyIt
19 Aug 2018, 07:12
Forum: AutoHotkey_H
Topic: Error using _Struct Topic is solved
Replies: 6
Views: 358

Re: Error using _Struct Topic is solved

Yes, this is supported and you don't even need a dll since it is included in exe.
Let me know if you have any problems ;)
by HotKeyIt
18 Aug 2018, 16:14
Forum: AutoHotkey_H
Topic: Error using _Struct Topic is solved
Replies: 6
Views: 358

Re: Error using _Struct Topic is solved

I have not been using _MemoryLoadLibrary and _Struct for long now since it was build-in in _H long ago. The error is for sure because of 0 pointer or error in _Struct, if you have a simple example I can take a look. Btw. why are you not using AhkThread since you are using _H? Also there is Struct .
by HotKeyIt
18 Aug 2018, 16:08
Forum: Ask For Help
Topic: How to create a thread inside another thread?
Replies: 2
Views: 92

Re: How to create a thread inside another thread?

You are using continuation section within continuation section! For AutoHotkey your first continuation section ends at ending for second (included) continuation section. You can add " " to make clear that it does not end here, also use `% inside continuation section! Loop, 2 { MainThreads[...
by HotKeyIt
17 Aug 2018, 17:23
Forum: Помощь
Topic: Помогите со скриптом Topic is solved
Replies: 2
Views: 189

Re: Помогите со скриптом Topic is solved

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


Go to advanced search