Code: Select all
[*]
indent_style = tab
indent_size = 5
Moderator: maestrith
Sometimes additionally I get the message box saying10048
andDebugger failed, Please close all instances of <my_script.ahk> and try again
Not enough clue to me to figure out what's wrong. When debugger stops I observe pretty heavy load on processor in Task Manager for, I believe, script under debugging. The script under debugging cannot be closed by its SystemTray icon-menu feature.---------------------------
Could not close the previous instance of this script. Keep waiting?
---------------------------
Yes No
---------------------------
Code: Select all
c:\Program Files\AutoHotkey>AutoHotkeyU64.exe c:\AHK-Studio-Master\AHK-studio.ahk
Code: Select all
c:\Program Files\AutoHotkey>AutoHotkeyU32.exe c:\AHK-Studio-Master\AHK-studio.ahk
Did you replace the ahk.exe in the programfiles with the AHK_H version?Galaxis wrote: ↑30 Apr 2022, 14:12@maestrith
I just upgraded to AHK Studio from SCITE. So far, it's amazing, but I have one issue.
I'm using AHK version H, which works fine as long as there's no multithreading in the script.
AHK Studio reads a new thread as an undefined function and throws an error.
Is there a plugin I need or a workaround available? Or no dice?
I have the same issue, even after trying these fixes, did you figure out hot to fix it?mslonik wrote: ↑10 Feb 2021, 08:09Continuing:
1. I've checked if my problem isn't related to UAC (User Account Control) as found in FAQ and suggested in one of the other threads. So I asked my system administrator to temporarily elevate rights to admin level when running AHK Studio.
Result: it didn't help, still the same message occurred.
2. 'Bitness' theory.
I've tried to run AHK Studio manually, as follows:andCode: Select all
c:\Program Files\AutoHotkey>AutoHotkeyU64.exe c:\AHK-Studio-Master\AHK-studio.ahk
Result: it didn't help, still the same message occurred.Code: Select all
c:\Program Files\AutoHotkey>AutoHotkeyU32.exe c:\AHK-Studio-Master\AHK-studio.ahk
Kind regards, mslonik ()
I managed to fix it by two steps: First, open the script through the Open dialogue of AHK-studio, not through right-clicking the script then "Edit Script". Second, close the debugging window and the script if the 10048 error appears. Hope that helpsyousef_badr23 wrote: ↑08 Oct 2022, 07:02I have the same issue, even after trying these fixes, did you figure out hot to fix it?mslonik wrote: ↑10 Feb 2021, 08:09Continuing:
1. I've checked if my problem isn't related to UAC (User Account Control) as found in FAQ and suggested in one of the other threads. So I asked my system administrator to temporarily elevate rights to admin level when running AHK Studio.
Result: it didn't help, still the same message occurred.
2. 'Bitness' theory.
I've tried to run AHK Studio manually, as follows:andCode: Select all
c:\Program Files\AutoHotkey>AutoHotkeyU64.exe c:\AHK-Studio-Master\AHK-studio.ahk
Result: it didn't help, still the same message occurred.Code: Select all
c:\Program Files\AutoHotkey>AutoHotkeyU32.exe c:\AHK-Studio-Master\AHK-studio.ahk
Kind regards, mslonik ()
Code: Select all
9989: SetScan(Line)
9990: if Code not in 2007,2001,2006,2008,2010,2014,2022,2016,2019
9991: Return,0
9992: fn:=[],fn.Code:=Code,fn.Ctrl:=NumGet(A_EventInfo+0)
9993: For a,b in CodeGet[Code]
9993: {
9994: if (a="Text")
---> 9995: fn.Text:=StrGet(NumGet(Info+(A_PtrSize*b)),"UTF-8")
9996: Else
9997: fn[a]:=NumGet(Info+(A_PtrSize*b))
9998: }
9998: if (fn.Code)
9999: Mem.Push(fn)
10000: SetTimer("ReadLater",-50)
10001: Return,0
Users browsing this forum: No registered users and 6 guests