Search found 233 matches

by SAbboushi
04 Nov 2018, 16:12
Forum: AutoHotkey v2 Development
Topic: AHK V2 Bug: Pause toggle not working Topic is solved
Replies: 7
Views: 3744

AHK V2 Bug: Pause toggle not working Topic is solved

Per documentation:
#p::Pause ; Pressing Win+P once will pause the script. Pressing it again will unpause.

Code: Select all

#p::Pause
Pauses the thread but won't unpause when I press #p again.
by SAbboushi
30 Oct 2018, 20:27
Forum: AutoHotkey v2 Help
Topic: How to make sure timer is run again instead of reset Topic is solved
Replies: 12
Views: 3421

Re: How to make sure timer is run again instead of reset Topic is solved

Sorry - daughter's wedding out of country in August... took awhile to get back to this.

Thanks very much for your help Helgef & lexikos. Took me awhile but it's finally making sense!
by SAbboushi
20 Oct 2018, 13:55
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 Lexikos' DebugVars build [Updated 12th July 2017]
Replies: 24
Views: 19899

Re: SciTE4AutoHotkey v3.0.06.01 Lexikos' DebugVars build [Updated 12th July 2017]

Trying to get feedback to decide whether or not it's time for me to dump SciTE4AutoHotkey in favor of another debugger. I'm afraid that as AHK V2 continues to evolve, SciTE4AutoHotkey seems to experience problems. I'm concerned the pattern may continue, but too ignorant to figure out whether the pro...
by SAbboushi
19 Oct 2018, 22:07
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 Lexikos' DebugVars build [Updated 12th July 2017]
Replies: 24
Views: 19899

Re: SciTE4AutoHotkey v3.0.06.01 Lexikos' DebugVars build [Updated 12th July 2017]

Using v2.0-a100, I'm not able to see local variables in Gui event function whereas they are displayed in v2.0-a096: DisplayGuiMessage() DisplayGuiMessage() { Gui := GuiCreate("+AlwaysOnTop +Owner") Gui.SetFont("s20") Gui.Add("Text",, "message") Gui.OnEvent("Escape", "Gui_Escape") Gui.Show() Gui_Esca...
by SAbboushi
18 Oct 2018, 23:09
Forum: Bug Reports
Topic: AHK V2: Goto gives Error: Cannot jump from inside a function to outside
Replies: 4
Views: 1602

AHK V2: Goto gives Error: Cannot jump from inside a function to outside

#SingleInstance #Warn goto S2 return S2: SetTimer y:=displayMsg3(3333), -1 displayMsg3(message) { local y y:= Func("displayMsg1") ; closure return y displayMsg1() { (message) } } return gives error: Error: Cannot jump from inside a function to outside. Line# ---> 004: Goto "S2" 005: Return 008: Set...
by SAbboushi
18 Oct 2018, 22:49
Forum: Bug Reports
Topic: V2: #Warn giving incorrect warnings in AutoHotkey_2.0-a099-ca386dc? Topic is solved
Replies: 7
Views: 2908

Re: V2: #Warn giving incorrect warnings in AutoHotkey_2.0-a099-ca386dc? Topic is solved

So it looks like the problem is with SciTE4AutoHotkey or SciTE4AutoHotkey/DebugVars.ahk?

I don't experience this with 096, but I do with 099 and 100.
by SAbboushi
18 Oct 2018, 09:33
Forum: Bug Reports
Topic: V2: #Warn giving incorrect warnings in AutoHotkey_2.0-a099-ca386dc? Topic is solved
Replies: 7
Views: 2908

Re: V2: #Warn giving incorrect warnings in AutoHotkey_2.0-a099-ca386dc? Topic is solved

I'm using SciTE4AutoHotkey with DebugVars.ahk and receive the warnings when launch a debug session.
by SAbboushi
17 Oct 2018, 23:30
Forum: Bug Reports
Topic: V2: #Warn giving incorrect warnings in AutoHotkey_2.0-a099-ca386dc? Topic is solved
Replies: 7
Views: 2908

V2: #Warn giving incorrect warnings in AutoHotkey_2.0-a099-ca386dc? Topic is solved

Code: Select all

#Warn
x:=2
gives:
Warning: This variable has not been assigned a value.

Specifically: x (a global variable)

Line#
002: x := 2
003: Exit
004: Exit
---> 004: Exit
by SAbboushi
17 Oct 2018, 14:18
Forum: Scripts and Functions
Topic: ScriptInfo(): Get ListLines/ListVars/ListHotkeys/KeyHistory text
Replies: 17
Views: 7539

Re: ScriptInfo(): Get ListLines/ListVars/ListHotkeys/KeyHistory text

ScriptInfo was working fine in AutoHotkeyV2 - 2.0-a096-2ad11cb after I changed one line: ;Text := ControlGetText(, "ahk_id" hEdit) Text := ControlGetText(,"ahk_id" hEdit) Just downloaded AutoHotkey_2.0-a100-52515e2.zip. ScriptInfo() now gives error: [quote]Error: Missing a required parameter. Line# ...
by SAbboushi
06 Sep 2018, 08:44
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 Lexikos' DebugVars build [Updated 12th July 2017]
Replies: 24
Views: 19899

Re: SciTE4AutoHotkey v3.0.06.01 Lexikos' DebugVars build [Updated 12th July 2017]

lexikos wrote:...allowing the debugger to see local variables of running functions other than the current one.
Nice!
by SAbboushi
06 Sep 2018, 08:42
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 Lexikos' DebugVars build [Updated 12th July 2017]
Replies: 24
Views: 19899

Re: SciTE4AutoHotkey v3.0.06.01 Lexikos' DebugVars build [Updated 12th July 2017]

OK, apparently making the window resizable allows it to be maximized by double-clicking the titlebar even though there is no maximize button. The potential workarounds and fixes are: Just don't maximize the window. Change SaveDvWindows() to include the word Maximize in the IniWrite value if the win...
by SAbboushi
08 Aug 2018, 18:44
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 Lexikos' DebugVars build [Updated 12th July 2017]
Replies: 24
Views: 19899

Re: SciTE4AutoHotkey v3.0.06.01 Lexikos' DebugVars build [Updated 12th July 2017]

Thanks for the replies-- I didn't write any of the code though, I just packaged it. I know - your post makes that quite clear! I was just posting about the disappearing window in case it was helpful to someone else. Do you have a hotkey that minimizes windows? I do not think there is any other way t...
by SAbboushi
08 Aug 2018, 10:56
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 Lexikos' DebugVars build [Updated 12th July 2017]
Replies: 24
Views: 19899

Re: SciTE4AutoHotkey v3.0.06.01 Lexikos' DebugVars build [Updated 12th July 2017]

2 annoyances: one I've found how to resolve each time I start a new debug session on my script, my debug Variables window opens up several pixels wider than it was last time. I suspect it has to do with AHK V1 WinGetPos gets the full window dimensions, while the Gui Show, w%Width%... command ignores...
by SAbboushi
08 Aug 2018, 01:18
Forum: AutoHotkey v2 Help
Topic: How to make sure timer is run again instead of reset Topic is solved
Replies: 12
Views: 3421

Re: How to make sure timer is run again instead of reset Topic is solved

There is only one timer for every unique Callback , that is why, if you pass two unique boundfuncs ( func('MsgBox1').bind() ), you can have two calls to the function. If MsgBox1 is a closure, you can just refer to it by name, then a new closure is created for every call to settimer . Thanks for tha...

Go to advanced search