Search found 156 matches

by SAbboushi
09 Oct 2019, 18:22
Forum: Ask For Help
Topic: Debugging: AHK decimal vs. spy tools hex
Replies: 12
Views: 733

Re: Debugging: AHK decimal vs. spy tools hex

:D :lol: :lol:
Thanks again!!
by SAbboushi
09 Oct 2019, 14:40
Forum: Ask For Help
Topic: Debugging: AHK decimal vs. spy tools hex
Replies: 12
Views: 733

Re: Debugging: AHK decimal vs. spy tools hex

Since my priority is ease of debugging and maintainability instead of performance, I've decided to store hwnds and styles as hex in my variables so I can easily compare values to debugging tools. I then use Integer(hwnd) for those commands that require type Integer e.g. hwndText := ControlGetText( I...
by SAbboushi
08 Oct 2019, 16:54
Forum: Scripts and Functions
Topic: [v2] Converting numbers to binary - revised
Replies: 1
Views: 283

Re: [v2] Converting numbers to binary - revised

What an education figuring out polyethene's code: reminds me of programming in the 1970s where every byte counts - and absolute murder to debug
; )

I think I'll stick with jNizM's ConvertBase() after all
by SAbboushi
08 Oct 2019, 15:35
Forum: Ask For Help
Topic: Debugging: AHK decimal vs. spy tools hex
Replies: 12
Views: 733

Re: Debugging: AHK decimal vs. spy tools hex

You mean 6 bits? No -- I meant bytes :D But I was kidding about 6 bytes ;) Would anyone ever convert anything more than one byte in their head? Today, maybe not! Having programmed in assembly back in the 1970s, some of us old-timers got pretty good at converting more than 8 bits in our heads. Heck ...
by SAbboushi
08 Oct 2019, 14:04
Forum: Ask For Help
Topic: Debugging: AHK decimal vs. spy tools hex
Replies: 12
Views: 733

Re: Debugging: AHK decimal vs. spy tools hex

SAbboushi wrote:
07 Oct 2019, 13:56
For those of you who can convert between decimal and hex in your head, no need to respond
I take that back! How about:
For those of you who can convert decimal numbers greater than 6 bytes into hex in your head, no need to respond ;) ;)

Anyone?
by SAbboushi
08 Oct 2019, 14:03
Forum: Scripts and Functions
Topic: [v2] Converting numbers to binary - revised
Replies: 1
Views: 283

[v2] Converting numbers to binary - revised

For those who are also looking for a number (i.e. decimal or hex) to binary converter for AHK V2, I've updated polyethene's toBin() for my use:
NumberToBinary.ahk
(4.59 KiB) Downloaded 33 times
by SAbboushi
07 Oct 2019, 15:36
Forum: Ask For Help
Topic: Debugging: AHK decimal vs. spy tools hex
Replies: 12
Views: 733

Re: Debugging: AHK decimal vs. spy tools hex

Thanks - I wish they would do that!

Anyone else?
by SAbboushi
07 Oct 2019, 13:56
Forum: Ask For Help
Topic: Debugging: AHK decimal vs. spy tools hex
Replies: 12
Views: 733

Debugging: AHK decimal vs. spy tools hex

In cases where AHK stores hwnd as decimal (which I believe is always in V2), what are you gurus who are using debuggers and spy tools using to easily convert between decimal and hex? e.g. I'm using SciTE4AHK and Spy++/Control Viewer Spy++/Control Viewer display hwnd in hex, but SciTE4AHK is displayi...
by SAbboushi
03 Oct 2019, 13:33
Forum: AutoHotkey v2 Development
Topic: [a105] index/element [1] goes missing Topic is solved
Replies: 11
Views: 1492

Re: [a105] index/element [1] goes missing Topic is solved

Argh!! I'm not sure whether this is a SciTE4AHK problem, or where the problem lies. SciTE4AHK shows the index goes missing , but msgbox confirms the element is still intact as you've (rather adamantly) stated! I'm experiencing the same behavior with Map objects. I understand that Lexikos uses SciTE4...
by SAbboushi
03 Oct 2019, 10:51
Forum: AutoHotkey v2 Development
Topic: [a105] index/element [1] goes missing Topic is solved
Replies: 11
Views: 1492

[a105] index/element [1] goes missing Topic is solved

Code: Select all

Item1 := "aaa"
Item2 := "bbb"
ItemN := "nnn"
MyArray := Array(Item1, Item2, ItemN)
MyArray.Item2 := "XXX" ; Creates property "Item2" but index/element [1] goes missing
by SAbboushi
15 Jan 2019, 13:00
Forum: Bug Reports
Topic: WinMove [AutoHotkey_1.1.29.00] Topic is solved
Replies: 14
Views: 3580

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: 391

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: 405

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: 1734

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: 1734

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: 1734

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: 1734

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: 1734

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: 5364

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

Go to advanced search