Search found 2337 matches
- 28 Sep 2021, 03:13
- Forum: AutoHotkey_H
- Topic: ahkThread and ComObjCreate
- Replies: 13
- Views: 4602
Re: ahkThread and ComObjCreate
Negative number will terminate thread if it cannot exit after given time, in that case the thread will not have a chance to clear memory and such.
- 27 Sep 2021, 17:20
- Forum: AutoHotkey_H
- Topic: ahkThread and ComObjCreate
- Replies: 13
- Views: 4602
Re: ahkThread and ComObjCreate
Download latest version, should work fine now
- 27 Sep 2021, 09:06
- Forum: AutoHotkey_H
- Topic: Could the error be caused by differences in SDK versions? Topic is solved
- Replies: 1
- Views: 2314
Re: Could the error be caused by differences in SDK versions? Topic is solved
I never had problems using newer SDK.
- 24 Sep 2021, 17:44
- Forum: Ask for Help
- Topic: AHK Compiler <error>
- Replies: 24
- Views: 10308
Re: AHK Compiler <error>
I have updated Compiler and executables, also included AutoHotkeyA.exe and Ahk2Exe.exe (this must be Unicode version).
Please try again.
Please try again.
- 18 Sep 2021, 16:56
- Forum: Ask for Help
- Topic: Help with Ahk_H
- Replies: 3
- Views: 1700
Re: Help with Ahk_H
Just replace Send with Controlsend and proper syntax: ControlSend
- 18 Sep 2021, 16:50
- Forum: AutoHotkey_H
- Topic: ahk_h compiler is detected with alot of malware types
- Replies: 9
- Views: 3222
Re: ahk_h compiler is detected with alot of malware types
I compiled a simple script using x64w\AutoHotkey.exe, no detection: https://www.virustotal.com/gui/file/10c81cb8fe8769aa77c5b8ccf07f0eeb657cab4d4547bfc6a6a2d3d4935587c7 Which base file did you use? can you send me your ahk_h compiler? is it ahk_h ahk2exe? what do you mean by basefile? I downloaded ...
- 18 Sep 2021, 01:51
- Forum: Ask for Help
- Topic: Help with Ahk_H
- Replies: 3
- Views: 1700
Re: Help with Ahk_H
What do you mean by simultaneously, it is not possible even pressing the keys on the keyboard, one will be before another.
Here same hotkey is used in 2 threads to send different keys.
Here same hotkey is used in 2 threads to send different keys.
Code: Select all
ahkdll:=AhkThread("~d::Send, {F1}")
~d::Send, {F2}
- 18 Sep 2021, 00:58
- Forum: AutoHotkey_H
- Topic: ahk_h compiler is detected with alot of malware types
- Replies: 9
- Views: 3222
Re: ahk_h compiler is detected with alot of malware types
I compiled a simple script using x64w\AutoHotkey.exe, no detection: https://www.virustotal.com/gui/file/10c81cb8fe8769aa77c5b8ccf07f0eeb657cab4d4547bfc6a6a2d3d4935587c7
Which base file did you use?
Which base file did you use?
- 17 Sep 2021, 06:58
- Forum: AutoHotkey_H
- Topic: ahk_h compiler is detected with alot of malware types
- Replies: 9
- Views: 3222
Re: ahk_h compiler is detected with alot of malware types
Which version are you using and where did you download it from?
What is the result for, compiled executable, AutoHotkey.exe, Ahk2Exe?
What is the result for, compiled executable, AutoHotkey.exe, Ahk2Exe?
- 11 Sep 2021, 15:48
- Forum: Announcements
- Topic: AutoHotkey v2.0-beta.1
- Replies: 47
- Views: 25624
Re: AutoHotkey v2.0-beta.1
No, both can be used:
Code: Select all
MsgBox "'String'"
MSgBox '"String"'
- 03 Sep 2021, 16:44
- Forum: Ask for Help
- Topic: V1 zip contains V2-beta1
- Replies: 2
- Views: 1877
Re: V1 zip contains V2-beta1
Thanks, fixed
- 03 Sep 2021, 11:14
- Forum: Skripte und Funktionen
- Topic: AutoHotFlow - Kleine Programme grafisch erstellen
- Replies: 48
- Views: 49739
Re: AutoHotFlow - Kleine Programme grafisch erstellen
Sieht echt gut aus
Bei der Inputbox fehlen breite und höhe angaben, man bekommt einen Fehler.
Bei der Inputbox fehlen breite und höhe angaben, man bekommt einen Fehler.
- 01 Sep 2021, 15:30
- Forum: Ask for Help (v2)
- Topic: How to fix this old v2 code? open file in folder SHOpenFolderAndSelectItems Topic is solved
- Replies: 7
- Views: 1053
Re: How to fix this old v2 code? Topic is solved
MsgBox(OpenFolderAndSelectItems(A_WinDir, ["explorer.exe", "hh.exe", "system32"])) ;0 = OK OpenFolderAndSelectItems(DirName, Files, Flags := 0) { If (!DirExist(DirName)) Return (-3) DirName := StrLen(DirName) < 4 ? SubStr(DirName, 1, 1) . ":" : RTrim(DirName, "\") ,Items := [] For Each, FileName In...
- 29 Aug 2021, 10:50
- Forum: AutoHotkey_H
- Topic: About AHK_H - Downloads, Updates, Changes etc. v1 & v2
- Replies: 21
- Views: 32511
- 17 Aug 2021, 20:14
- Forum: Bug Reports
- Topic: [v2.0-beta.1] InputHook's callback failure when hook restarts Topic is solved
- Replies: 5
- Views: 1915
Re: [v2.0-beta.1] InputHook's callback failure when hook restarts Topic is solved
You are absolutely right, I did miss that
- 17 Aug 2021, 17:30
- Forum: Bug Reports
- Topic: [v2.0-beta.1] InputHook's callback failure when hook restarts Topic is solved
- Replies: 5
- Views: 1915
Re: [v2.0-beta.1] InputHook's callback failure when hook restarts Topic is solved
This is because of aInput->ScriptObject->Release(), see: github.com/Lexikos/AutoHotkey_L/blob/alpha/source/script2.cpp#L795 Not sure if this is desired, probably it is necassary to be able to exit script on InputHook.Stop(). You can work around that by using InputHook.OnEnd: hk := InputHook() hk.On...
- 31 Jul 2021, 19:54
- Forum: Ask for Help
- Topic: AHK_H v2 beta
- Replies: 11
- Views: 4554
Re: AHK_H v2 beta
It will be available soon, I need to decide and adapt a few features.
- 28 Jul 2021, 19:28
- Forum: Ask for Help
- Topic: multi loop with autohotkey_h or autohotkey_dll
- Replies: 1
- Views: 1976
Re: multi loop with autohotkey_h or autohotkey_dll
Try that: thread1:=AhkThread(" ( Loop { sleep 50 IfWinActive, Sin título: Bloc de notas { notes:=1 WinGetPos , X, Y, MsgBox `%notes`%in `%x`%`%y`% } else MsgBox, no activo } )") thread2:=AhkThread(" ( Loop { sleep 50 KeyIsDown := GetKeyState("l" , "P")l MsgBox, `%KeyIsDown`% } )") thread3:=AhkThread...
- 28 Jul 2021, 13:36
- Forum: Ask for Help (v2)
- Topic: Alternative for IsFunc function in V2? Topic is solved
- Replies: 6
- Views: 1514
Re: Alternative for IsFunc function Topic is solved
Code: Select all
fun(){
}
MsgBox Type(fun)
- 19 Jul 2021, 18:27
- Forum: Ask for Help
- Topic: Help with AutoHotkey.DLL and StrReplace or StringReplace
- Replies: 4
- Views: 2447
Re: Help with AutoHotkey.DLL and StrReplace or StringReplace
Np, btw. you can do also this:
Code: Select all
ahk:=AhkThread()
hThread := ahk.ahktextdll("Alias(out," getvar(out) ")`nout:=strreplace(""You are a primate"", ""primate"", ""fat monkey"")")
While ahk.AhkReady()
Sleep 100
MsgBox %out%