Search found 145 matches

by SAbboushi
15 Jan 2019, 13:00
Forum: Bug Reports
Topic: WinMove [AutoHotkey_1.1.29.00] Topic is solved
Replies: 14
Views: 2069

Re: WinMove [AutoHotkey_1.1.29.00] Topic is solved

Thanks and so glad this is fixed. But I still find that AHKv1 and Windows 10 disagree on which monitor is which :) Per Windows Display settings: Monitors are laid out as: 3 2 1 Per Sysget: 2 3 1 AHK seems to switch monitors 2 and 3 (or W10 is switching it?): Monitor1name \\DISPLAY1 Monitor1 Work Are...
by SAbboushi
15 Dec 2018, 17:30
Forum: Ask For Help
Topic: ListView property for "Rows of Height"?
Replies: 2
Views: 122

ListView property for "Rows of Height"?

Not finding anything in AHK forum/AHK documentation or Windows API: Is there a way to determine how many rows of height a ListView is configured for? e.g. LV := Gui.Add("ListView", "r20 w700", "Name|Size (KB)") Is there a property that will tell me that 20 rows will fit in the Listview ("r20")? Or s...
by SAbboushi
15 Dec 2018, 16:53
Forum: AutoHotkey v2 Development
Topic: Feature Request: LV.ModifyCol( , "AutoHdr" )
Replies: 0
Views: 139

Feature Request: LV.ModifyCol( , "AutoHdr" )

Since LV.ModifyCol() adjusts all column widths to width of column contents, I think it would be great if LV.ModifyCol( , "AutoHdr" ) would adjust column widths to widest of Column Header and Column Contents (instead of having to loop through each column with "AutoHdr" option).
by SAbboushi
07 Dec 2018, 12:50
Forum: Ask For Help
Topic: ControlGetText Issues
Replies: 13
Views: 630

Re: ControlGetText Issues

I'm thinking this control is not a standard Windows Control and might be this: TButtonedEdit_(Delphi)

Can anyone make sense of this and suggest whether or not I can get/set the text in this control from within AHK?
by SAbboushi
07 Dec 2018, 12:15
Forum: Ask For Help
Topic: ControlGetText Issues
Replies: 13
Views: 630

Re: ControlGetText Issues

CyLON: I entered "asdf" into the edit box and tried:

Code: Select all

ControlClickByControlText(searchStr:="asdf", controlName:="TButtonedEdit1", winTitle:="UltraSearch",passes:=1)
Your script didn't respond with anything...
by SAbboushi
07 Dec 2018, 12:12
Forum: Ask For Help
Topic: ControlGetText Issues
Replies: 13
Views: 630

Re: ControlGetText Issues

Thanks sinkfaze: the control is listed, but no text. Just to clarify, this control is / appears to be an edit box. The only unusual (visible) aspect is that when I type text into the box, a warning icon overlaps the right edge of the box (to warn that searching for text is a slow process). Note that...
by SAbboushi
07 Dec 2018, 00:45
Forum: Ask For Help
Topic: ControlGetText Issues
Replies: 13
Views: 630

Re: ControlGetText Issues

Thanks CyLON. I tried your script but didn't get a result (including for controls that ControlGetText() work on. Maybe I'm doing something wrong (I didn't know what to use for searchStr): ControlClickByControlText(searchStr, controlName:="TButtonedEdit1", winTitle:="UltraSearch",passes:=1) I tried s...
by SAbboushi
06 Dec 2018, 22:41
Forum: Ask For Help
Topic: ControlGetText Issues
Replies: 13
Views: 630

Re: ControlGetText Issues

... programs can block you from pulling text I'm having a similar problem: Works on some controls but not on others. Would seem odd that the program is intentionally blocking the text (UltraSearch, ClassNN = "TButtonedEdit1"; works fine on the other controls in that window). Any thoughts on how to ...
by SAbboushi
15 Nov 2018, 10:14
Forum: Scripts and Functions
Topic: ScriptInfo(): Get ListLines/ListVars/ListHotkeys/KeyHistory text
Replies: 17
Views: 3722

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

there is opportunity for users to prove that the information is actually useful, which might increase my motivation to provide some built-in way to access it. ...When I use KeyHistory/ListHotkeys... in my script, I get annoyed because their windows are not particularly accessible when the script is...
by SAbboushi
05 Nov 2018, 16:10
Forum: AutoHotkey v2 Development
Topic: AHK V2 Bug: Pause toggle not working Topic is solved
Replies: 4
Views: 634

Re: AHK V2 Bug: Pause toggle not working Topic is solved

Understanding Pause was way more complicated than I expected (due to my ignorance). It took a bit of testing on my part. Posting my test code in case it is of use to others who were as confused as I was. My notes relate to a debug session in SciTE4AutoHotkey: 3 ways to pause/unpause: 1) #p:: using "...
by SAbboushi
05 Nov 2018, 11:16
Forum: Scripts and Functions
Topic: ScriptInfo(): Get ListLines/ListVars/ListHotkeys/KeyHistory text
Replies: 17
Views: 3722

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

there is opportunity for users to prove that the information is actually useful, which might increase my motivation to provide some built-in way to access it. Just to reiterate that I find your script to be very useful when debugging (I use SciTE4AutoHotkey). When I use KeyHistory/ListHotkeys... in...
by SAbboushi
04 Nov 2018, 16:12
Forum: AutoHotkey v2 Development
Topic: AHK V2 Bug: Pause toggle not working Topic is solved
Replies: 4
Views: 634

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 Development
Topic: How to make sure timer is run again instead of reset
Replies: 12
Views: 985

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

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: 23
Views: 6381

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: 23
Views: 6381

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: AutoHotkey v2 Development
Topic: AHK V2: Goto gives Error: Cannot jump from inside a function to outside
Replies: 4
Views: 453

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...

Go to advanced search