Search found 1666 matches

by HotKeyIt
Today, 05:09
Forum: Ask For Help
Topic: Is it possible to run by default a script file inside a normal AHK.exe file when it is directly executed? Topic is solved
Replies: 8
Views: 104

Re: Is it possible to run by default a script file inside a normal AHK.exe file when it is directly executed? Topic is solved

Compiling using ".exe" instead ".bin" is great, but there is one problem with the former, for example, in windows "taskmanager" or while choosing a program to execute an extension, "AHK_H" shows up instead the compiled script ".exe" file name! You c...
by HotKeyIt
Today, 05:03
Forum: Ask For Help
Topic: Is it possible to run by default a script file inside a normal AHK.exe file when it is directly executed? Topic is solved
Replies: 8
Views: 104

Re: Is it possible to run by default a script file inside a normal AHK.exe file when it is directly executed? Topic is solved

Just to let you know, Avast detects the ".bin" and ".exe" files from "win32a" folder as virus! By the way, is the "Win32w" and "x64w" the same as "Win32Unicode" and "x64Unicode"? As for the "win32a", I suppose it is for...
by HotKeyIt
Yesterday, 15:35
Forum: Ask For Help
Topic: Is it possible to run by default a script file inside a normal AHK.exe file when it is directly executed? Topic is solved
Replies: 8
Views: 104

Re: Is it possible to run by default a script file inside a normal AHK.exe file when it is directly executed? Topic is solved

You can do that in AHK_H , you can compile using AutoHotkey.exe then included script will run when you double click it. Then you can use /E switch to execute a different script than compiled run, AHK.exe /E "AHK.ahk" , see http://hotkeyit.github.io/v2/docs/AHKH_Features.htm Original AutoHo...
by HotKeyIt
20 Sep 2018, 18:52
Forum: AutoHotkey_H
Topic: [BUG] Hotstring Invalid Topic is solved
Replies: 1
Views: 37

Re: [BUG] Hotstring Invalid Topic is solved

That has been fixed, thanks for reporting and example.
by HotKeyIt
14 Sep 2018, 16:22
Forum: Ask For Help
Topic: Why is "MemoryLoadLibrary" so slow?
Replies: 1
Views: 95

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: 401

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: 401

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: 48

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: 401

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: 85

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: 401

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: 212

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: 212

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: 212

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: 92

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: 127

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: 85

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: 376

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...

Go to advanced search