Search found 28 matches
- 03 Oct 2022, 12:08
- Forum: Ask for Help (v1)
- Topic: Help reading memory string (classMemory)
- Replies: 4
- Views: 845
- 01 Oct 2022, 12:04
- Forum: Ask for Help (v1)
- Topic: Help reading memory string (classMemory)
- Replies: 4
- Views: 845
Re: Help reading memory string (classMemory)
What characters are you expecting those to be? If they are extended Unicode characters, then save your script file with “UTF-8 with BOM” encoding. If you run the script from your editor, close it and open it again after you’ve save it with that encoding. Thanks for your reply. It's this I'm trying ...
- 30 Sep 2022, 11:15
- Forum: Ask for Help (v1)
- Topic: Help reading memory string (classMemory)
- Replies: 4
- Views: 845
Help reading memory string (classMemory)
Hello, I need help reading a memory string. I am using classMemory :https://github.com/Kalamity/classMemory Func: readString(address, sizeBytes := 0, encoding := "UTF-8", aOffsets*) I'm sure the address is fine. I've tested with calc and got the string correctly. My ahk is Unicode 64bit. The app I'm...
- 08 Jun 2022, 11:57
- Forum: Scripts and Functions (v2)
- Topic: [2.0-rc.1] Native.ahk - A way for binding third-party dll libraries to AHK, and create native functions from MCode
- Replies: 22
- Views: 6668
Re: Native.ahk - A way for binding third-party dll libraries to AHK, and create native functions from MCode
Can someone give a example..?
I can bind any dll and add its functions ?
I can bind any dll and add its functions ?
- 04 Apr 2022, 14:35
- Forum: Scripts and Functions (v2)
- Topic: WiseGui() : Themed splash text UI
- Replies: 31
- Views: 9590
Re: WiseGui() : Themed splash text UI
This is crazy! Definitely implementing on my imgui project.
Thanks
Thanks
- 20 Dec 2021, 14:34
- Forum: Scripts and Functions (v2)
- Topic: JSON Serializer - 2022/09/07 - beta.8
- Replies: 43
- Views: 19131
Re: JSON Serializer - 2021/11/05 - beta.1
Hi, how I determine Lenght() ? I have a json array and i need to know the lenght of it to do a loop.. thanks.
- 09 Dec 2021, 12:46
- Forum: Scripts and Functions (v1)
- Topic: [LIB] IMGUI bind for AutoHotKey
- Replies: 4
- Views: 2728
Re: [LIB] IMGUI bind for AutoHotKey
Thank you for this, really useful. I was halfway with my imgui project in AHK v1, but I think V1 is so limited. I use AHK every day for my work, and with your project now I can make my work even easier. Appreciate
- 08 Oct 2021, 01:33
- Forum: Ask for Help (v1)
- Topic: Help with API Rest (post data)
- Replies: 1
- Views: 708
- 07 Oct 2021, 12:42
- Forum: Ask for Help (v1)
- Topic: Help with API Rest (post data)
- Replies: 1
- Views: 708
Help with API Rest (post data)
Hello, I need to Post JSON data to the API, but I'm not sure how to do that, I know how to connect to API and retrieve stuff and work with the data. But posting is something new for me. Any help would be appreciated. Basically I need to post data to a Thread, the API is from Mirakl. For example... s...
- 29 Sep 2021, 11:52
- Forum: Ask for Help (v1)
- Topic: Help with DLLCall function (ImGui wrapper) Topic is solved
- Replies: 19
- Views: 2816
Re: Help with DLLCall function (ImGui wrapper) Topic is solved
For me my code breaks the loop. When I press the close button on GUI, DllCall("imgui\PeekMsg", "Cdecl") returns 0 and the cycle breaks, and the script terminates. Are you sure you launch my code as it is? Yes it breaks the loop, but i mean click on the X on imgui, not ahk gui. Also , im not drawing...
- 28 Sep 2021, 08:44
- Forum: Ask for Help (v1)
- Topic: Help with DLLCall function (ImGui wrapper) Topic is solved
- Replies: 19
- Views: 2816
Re: Help with DLLCall function (ImGui wrapper) Topic is solved
This variant will work: if !hLib := DllCall("LoadLibrary", "Str", "imgui.dll", "Ptr") throw "Failed to load imgui.dll. Error: " . A_LastError hWnd := DllCall("imgui\GUICreate", "WStr", "My Gui", "Int", 500, "Int", 400, "Int", 500, "Int", 200, "Cdecl Ptr") WinShow, ahk_id %hWnd% while DllCall("imgui...
- 27 Sep 2021, 16:18
- Forum: Ask for Help (v1)
- Topic: Help with DLLCall function (ImGui wrapper) Topic is solved
- Replies: 19
- Views: 2816
Re: Help with DLLCall function (ImGui wrapper) Topic is solved
if !hLib := DllCall("LoadLibrary", "Str", "imgui.dll", "Ptr") throw "Failed to load imgui.dll. Error: " . A_LastError hWnd := DllCall("imgui\GUICreate", "WStr", "My Gui", "Int", 500, "Int", 400, "Int", 500, "Int", 200, "Cdecl Ptr") WinShow, ahk_id %hWnd% currentState := newState := 1 while DllCall(...
- 27 Sep 2021, 12:25
- Forum: Ask for Help (v1)
- Topic: Help with DLLCall function (ImGui wrapper) Topic is solved
- Replies: 19
- Views: 2816
Re: Help with DLLCall function (ImGui wrapper) Topic is solved
Must be DllCall("imgui\Checkbox", "WStr", "My Checkbox", "UIntP", state, "Cdecl") In the loop should look like this: currentState := newState := 1 while DllCall("imgui\PeekMsg", "Cdecl") { ... if DllCall("imgui\Checkbox", "WStr", "My Checkbox", "UIntP", newState, "Cdecl") currentState := newState :...
- 26 Sep 2021, 14:42
- Forum: Ask for Help (v1)
- Topic: Help with DLLCall function (ImGui wrapper) Topic is solved
- Replies: 19
- Views: 2816
Re: Help with DLLCall function (ImGui wrapper) Topic is solved
Main script Gui Loop: b_show_demo_window = false ;//------------------------------------------------------------------ While 1 { ImGui.BeginFrame() If Not ImGui.Begin("Test", True) Then Exit ;ImGui.ShowDemoWindow() If ImGui.CheckBox("Show demo window", b_show_demo_window) Then ImGui.EnableViewports(...
- 26 Sep 2021, 10:05
- Forum: Ask for Help (v1)
- Topic: Help with DLLCall function (ImGui wrapper) Topic is solved
- Replies: 19
- Views: 2816
Re: Help translate a code from AutoIT to AHK Topic is solved
C++ struct: typedef checkbox { int value; } ; Ahk struct: VarSetCapacity(struct, 4, 0) value := NumGet(struct, 0, "Int") NumPut(value, struct, 0, "Int") My approach.. : CheckBox(text, ByRef active){ VarSetCapacity(struct, 4, 0) value := NumGet(struct, "Int") Result := DllCall("imgui\Checkbox", "WStr...
- 26 Sep 2021, 09:19
- Forum: Ask for Help (v1)
- Topic: Help with DLLCall function (ImGui wrapper) Topic is solved
- Replies: 19
- Views: 2816
Re: Help translate a code from AutoIT to AHK Topic is solved
then post the c++ function prototype bool ImGui::Checkbox(const char* label, bool* v) { ImGuiWindow* window = GetCurrentWindow(); if (window->SkipItems) return false; ImGuiContext& g = *GImGui; const ImGuiStyle& style = g.Style; const ImGuiID id = window->GetID(label); const ImVec2 label_size = Cal...
- 26 Sep 2021, 09:07
- Forum: Ask for Help (v1)
- Topic: Help with DLLCall function (ImGui wrapper) Topic is solved
- Replies: 19
- Views: 2816
Re: Help translate a code from AutoIT to AHK Topic is solved
Thanks for the reply , but it doesnt workjust me wrote: ↑26 Sep 2021, 03:40Just a guess:Code: Select all
B_Active := !!Active ; converts the contents of Active to 0/1 Result := DllCall(IMGUI_DLL . "\Checkbox", "WStr", Text, "UCharP", B_Active, "Cdecl UChar") MsgBox, %Result% - %Active% - %B_Active%
- 25 Sep 2021, 12:12
- Forum: Ask for Help (v1)
- Topic: Help with DLLCall function (ImGui wrapper) Topic is solved
- Replies: 19
- Views: 2816
Help with DLLCall function (ImGui wrapper) Topic is solved
Hello, i'm here because i've tried so much (1+ weeks) and I just don't understand how to pass it to DLLCall. I would really appreciate if someone explains it to me. Func _ImGui_CheckBox($text, ByRef $active) Local $b_active = DllStructCreate("boolean value;") $b_active.value = $active Local $result ...
- 27 Jul 2021, 11:54
- Forum: Ask for Help (v1)
- Topic: Help to make a wrapper for IMGUI
- Replies: 19
- Views: 2809
Re: Help to make a wrapper for IMGUI
Just wanting to give you all an update, things are working well, it's handling smooth and fast
- 25 Jul 2021, 06:08
- Forum: Ask for Help (v1)
- Topic: Help to make a wrapper for IMGUI
- Replies: 19
- Views: 2809