Search found 126 matches

by manehscripts
15 Mar 2021, 16:26
Forum: Scripts and Functions (v1)
Topic: Reduce Flicker dramatically (Double Buffer)
Replies: 30
Views: 14421

Re: Reduce Flicker dramatically (Double Buffer)

I expected it to work very well for my code, but I have 3 listviews in the same GUI, and they are all capturing information from external files. When I use the Gui, +E0x02000000 +E0x00080000 it does not load any listview :(
by manehscripts
11 Mar 2021, 02:16
Forum: AutoHotkey_H
Topic: How to manipulate an external Gui inside the Thread? Topic is solved
Replies: 12
Views: 5747

Re: How to manipulate an external Gui inside the Thread? Topic is solved

@swagfag and @HotKeyIt , thanks for your help!!
I understand that v2 is quite different. I need to get started with him someday.
by manehscripts
10 Mar 2021, 20:34
Forum: AutoHotkey_H
Topic: How to manipulate an external Gui inside the Thread? Topic is solved
Replies: 12
Views: 5747

Re: How to manipulate an external Gui inside the Thread? Topic is solved

Thank you so much your help, friend. But could you tell me if there is any documentation that explains this huge amount of "quotes"? I would never be able to solve this without your help. Taking advantage of this text, is it safe to migrate to ahk_v2? He was always in Alpha, it’s one of the reasons...
by manehscripts
10 Mar 2021, 19:05
Forum: AutoHotkey_H
Topic: How to manipulate an external Gui inside the Thread? Topic is solved
Replies: 12
Views: 5747

Re: How to manipulate an external Gui inside the Thread? Topic is solved

I'm testing this example with full time but the score is causing a problem ... ==> Missing ")" before ":" #NoEnv LOG := CriticalObject({Dll:""}) Gui, Add, ListView, x15 y15 w420 altsubmit +Grid r7 +hscroll vReadsLog, ID|Data Gui, Add, Button, x15 y165 w420 h25 gListViewThread, New Data Gui, Show, w4...
by manehscripts
10 Mar 2021, 12:34
Forum: AutoHotkey_H
Topic: How to manipulate an external Gui inside the Thread? Topic is solved
Replies: 12
Views: 5747

Re: How to manipulate an external Gui inside the Thread? Topic is solved

Can you post the full script #NoEnv LOG := CriticalObject({Dll:""}) Gui, Add, ListView, x15 y15 w420 altsubmit +Grid r7 +hscroll vReadsLog, ID|Data Gui, Add, Button, x15 y165 w420 h25 gListViewThread, New Data Gui, Show, w450 h200, Test OnExit, ExitProgram return ListViewThread: ahkthread_free(LOG....
by manehscripts
10 Mar 2021, 10:24
Forum: AutoHotkey_H
Topic: How to manipulate an external Gui inside the Thread? Topic is solved
Replies: 12
Views: 5747

Re: How to manipulate an external Gui inside the Thread? Topic is solved

HotKeyIt thank you, bro! I'm trying to manipulate a listview but dont work. Please, could you tell me if I'm doing something wrong? EXE.ahkExec(""Gui, Submit, Nohide"") EXE.ahkExec(""Gui, ListView, Var"") LV_Delete() EXE.ahkExec(""GuiControl, -Redraw, Var"") Loop, Read, `%File`% { Col1= Col2= Strin...
by manehscripts
10 Mar 2021, 00:05
Forum: AutoHotkey_H
Topic: How to manipulate an external Gui inside the Thread? Topic is solved
Replies: 12
Views: 5747

How to manipulate an external Gui inside the Thread? Topic is solved

obj := CriticalObject({Dll:""}) Gui, Add, Text, x10 y10 h20 w100 vVar, First Text Gui, Show, w250 h250, Test gosub, start return start: toggle := !toggle if (toggle) { ahkthread_free(obj.Dll),obj.Dll:="" script := " ( #NoEnv obj := CriticalObject(" (&obj) ") MsgBox, Thread OK GuiControl,, Var, TEXT...
by manehscripts
04 Mar 2021, 18:07
Forum: AutoHotkey_H
Topic: [Guide] Compiling Ahk_h's source step by step Topic is solved
Replies: 51
Views: 48342

Re: [Guide] Compiling Ahk_h's source step by step Topic is solved

Hello, I have a problem about the Gdip_SaveBitmapToFile() function that's not working properly when compiling ahk_h source No errors are displayed in the compilation process. However, the use of the official ahk_h release works, anyone can tell me if I need to add a library when compiling? Just one ...
by manehscripts
02 Mar 2021, 21:07
Forum: Ask for Help (v1)
Topic: A* Pathfinding Algorithm help.
Replies: 10
Views: 3133

Re: A* Pathfinding Algorithm help.

SpeedMaster wrote:
25 Feb 2021, 17:30
Hello,
Some time ago, I made a slightly modified version to also support 8 directions (diagonals)

Astar_Grid(X1, Y1, X2, Y2, closed, alldirs:=false)

Set alldirs to " True " to have diagonal path.

Cheers ;)
Hey bro! I forgot to thank you! :D Thank you very much !! :dance:
by manehscripts
02 Mar 2021, 00:40
Forum: AutoHotkey_H
Topic: How to capture an external function inside of thread? Topic is solved
Replies: 12
Views: 8216

Re: How to capture an external function inside of thread? Topic is solved

Hey HotKeyIt . Let me know if you can help me, please. My main source is complex, and I tried to summarize the maximum so that you could understand. All main code is inside a thread body. I have the following situation below, where one of the parameters is not returning correctly. This parameter mus...
by manehscripts
27 Feb 2021, 11:42
Forum: AutoHotkey_H
Topic: How to capture an external function inside of thread? Topic is solved
Replies: 12
Views: 8216

Re: How to capture an external function inside of thread? Topic is solved

Now I can understand how it works, thanks! The exact values are returning, however, exactly in Gdip_DrawImage it still presents a fatal error. imagefull = `%A_ScriptDir`%\image.png bh := getExternalFunc.ahkFunction(""Gdip_CreateBitmapFromFile"",imagefull """") hw := getExternalFunc.ahkFunction(""Gdi...
by manehscripts
27 Feb 2021, 02:27
Forum: AutoHotkey_H
Topic: How to capture an external function inside of thread? Topic is solved
Replies: 12
Views: 8216

Re: How to capture an external function inside of thread? Topic is solved

HotKeyIt , hello! I'm trying to use Gdip's functions, but they have several parameters that I need to pass inside the Thread ... I would like to know the correct way to put these parameters. Exemplo of Gdip_DrawImage function: Gdip_DrawImage(pGraphics, pBitmap, dx:="", dy:="", dw:="", dh:="", sx:="...
by manehscripts
26 Feb 2021, 16:47
Forum: AutoHotkey_H
Topic: How to capture an external function inside of thread? Topic is solved
Replies: 12
Views: 8216

Re: How to capture an external function inside of thread? Topic is solved

exe:=AhkExported() -> exe.ahkFunction(""ExternalFunc"") see https://hotkeyit.github.io/v1/docs/commands/ahkFunction.htm #NoEnv #NoTrayIcon Global StopDll, share share:=CriticalObject({DllExternalFuncOn:"",ExternalMSG:""}) StopDll:=CriticalObject({StopDllExternalFuncOn:0}) share.ExternalMSG := "Exte...
by manehscripts
25 Feb 2021, 10:41
Forum: Ask for Help (v1)
Topic: A* Pathfinding Algorithm help.
Replies: 10
Views: 3133

Re: A* Pathfinding Algorithm help.

Didn't really study your code much just saw the title and thought it would be fun to write a A* Pathfinding function. Here is my version. Grid = ; Easier to create with monospace text (Join`n ********** * A * * * * ******* * * * * * **** * ** * * ** * ** Z* * * * ********** ) ; Create Array from Gr...
by manehscripts
20 Feb 2021, 14:14
Forum: Scripts and Functions (v1)
Topic: 2021.10.03 BeautifulToolTip - A highly compatible, high-performance, easy to use, multi-style, customizable ToolTip
Replies: 42
Views: 14983

Re: BeautifulToolTip - A highly compatible, high-performance, multi-style, customizable ToolTip

Code: Select all

>"D:\AutoHotkey\AutoHotkey.exe" /ErrorStdOut "E:\BeautifulToolTip\example 2.ahk"    
E:\BeautifulToolTip\Lib\btt.ahk (233) : ==> This line does not contain a recognized action.
Specifically: switch, O.BGCLGD
>Exit code: 2    Time: 0.141
by manehscripts
10 Feb 2021, 01:56
Forum: AutoHotkey_H
Topic: How to capture an external function inside of thread? Topic is solved
Replies: 12
Views: 8216

How to capture an external function inside of thread? Topic is solved

Please, someone can help me? Here is an example (line 36): #NoEnv #NoTrayIcon Global StopDll, share share:=CriticalObject({DllExternalFuncOn:"",ExternalMSG:""}) StopDll:=CriticalObject({StopDllExternalFuncOn:0}) share.ExternalMSG := "External Message! No Function" ; GET MSG FROM EXTERNAL FUNCTION Ex...
by manehscripts
01 Feb 2021, 14:30
Forum: About This Community
Topic: Issues with registering, Post your username here...
Replies: 846
Views: 2013009

Re: Issues with registering, Post your username here...

Hello!

My friend have registered in the forums a few days ago but can't see any activation email in email inbox/spam/trash folders.
Username: Bolivon

Thank's
by manehscripts
01 Feb 2021, 03:14
Forum: AutoHotkey_H
Topic: C# with AHK_H
Replies: 3
Views: 6121

Re: C# with AHK_H

HotKeyIt wrote:
01 Feb 2021, 00:07
To be able to use AhkThread from AutoHotkey.dll you will need to include AutoHotkey.dll in RCData of your executable as F903E44B8A904483A1732BA84EA6191F!
Thanks, but could you guide me how to perform this process? Does it have anything to do with CleanUpAndPack.ahk ?
by manehscripts
31 Jan 2021, 22:36
Forum: AutoHotkey_H
Topic: C# with AHK_H
Replies: 3
Views: 6121

C# with AHK_H

Hi guys, I'm try include AutoHotkey.dll in my C# project. I'm using AutoHotkey.Interop https://github.com/amazing-andrew/AutoHotkey.Interop , but my Autohotkey.dll was compiled by me and I would like to know where I change the dlls. I'm trying to run the LoadFile ahk.LoadFile("test.ahk"); with the c...

Go to advanced search