Search found 497 matches
- Yesterday, 15:32
- Forum: Bug Reports
- Topic: Click should return "" just like MouseClick
- Replies: 12
- Views: 173
Re: Click should return "" just like MouseClick
@Boiler wrote: so the AHK developer has the right to change how that works without it being considered breaking backward compatibility. So true!!! I've often imagined just how much in languages and programs is not documented for that very reason. Having programmed--and still doing so as a retired p...
- Yesterday, 10:36
- Forum: Bug Reports
- Topic: Click should return "" just like MouseClick
- Replies: 12
- Views: 173
Re: Click should return "" just like MouseClick
@boiler You made me laugh!!! Really! I liked the "even if youi write it in all caps". I am just expressing my opinion. I was spoiled as having worked as an IBM MVS and VM mainframe programmer. There, EVERY command has every return code documented. And, the documentation is totally incredibly well or...
- 14 Apr 2024, 13:16
- Forum: Bug Reports
- Topic: Click should return "" just like MouseClick
- Replies: 12
- Views: 173
Re: Click should return "" just like MouseClick
ZhuangQu wrote: ↑ So Click should return empty string just like MouseClick, not a magic number 5369740240. Boiler replied: Why should it? The return value is undefined. It is not defined anywhere to be an empty string or anything else. It can be anything or nothing with no consequence to a script t...
- 14 Feb 2024, 13:50
- Forum: Bug Reports
- Topic: Rounding Bug
- Replies: 45
- Views: 5518
Re: Rounding Bug
Can anyone say why this argument is not settled by simply adding remarks as to the this behavior to the round() function's documentation?
should it be necessary that someone suggests to do what is patently obvious?
should it be necessary that someone suggests to do what is patently obvious?
- 19 Jan 2024, 12:16
- Forum: Ask for Help (v2)
- Topic: Space after function causes it to fail
- Replies: 14
- Views: 746
Re: Space after function causes it to fail
thank you all who replied to my question: why in the world would the V1 MSGBOX, options, title, text, timeout syntax be rearranged to Msgbox(text,title,options) (that is, reordering the parameters)? I think RussF hit it on the nail with: [indent=] I suppose one could ask the question, "Why was the V...
- 18 Jan 2024, 10:31
- Forum: Ask for Help (v2)
- Topic: Space after function causes it to fail
- Replies: 14
- Views: 746
Re: Space after function causes it to fail
I don't use V2, and one reason is this msgbox function.
why in the world would the V1 MSGBOX, options, title, text, timeout
syntax be rearranged to Msgbox(text,title,options) (that is, reordering the parameters)?
Is there a logical explanation for this?
why in the world would the V1 MSGBOX, options, title, text, timeout
syntax be rearranged to Msgbox(text,title,options) (that is, reordering the parameters)?
Is there a logical explanation for this?
- 17 Dec 2023, 11:08
- Forum: Bug Reports
- Topic: "ShortDate" format is not recognized in Gui.Add options for DateTime controls Topic is solved
- Replies: 18
- Views: 1389
Re: "ShortDate" format is not recognized in Gui.Add options for DateTime controls Topic is solved
I heartily agree this is a bug. One thing about writing code is to make it easier to decipher 10 or 20 years after you write it, or when someone else reads it. That one should have to have remembered the default should not be necessary. I believe--and it is true is all other languages I have worked ...
- 12 Dec 2023, 11:12
- Forum: Bug Reports
- Topic: Spelling error in Window Spy Topic is solved
- Replies: 6
- Views: 793
Re: Spelling error in Window Spy Topic is solved
@mikeyww: An man of my own heart. I loved it when I worked with IBM mainframes. If I told them a period was missing in their doc, they fixed it!!! Ahhh, the good old days.
- 29 Nov 2023, 17:31
- Forum: Ask for Help (v1)
- Topic: Context menu shortcut letter not underlines Topic is solved
- Replies: 13
- Views: 834
Re: Context menu shortcut letter not underlines Topic is solved
awesome responses. SOLVED, but not without further questions. And, yes! the Ease of Access setting mentioned fixed the problem for me. What I don't understand, now is far, far more incomprehensible: Some of my AHK macros already DID create context menu's with Shortcut Keys Underlined, with that opti...
- 28 Nov 2023, 13:33
- Forum: Ask for Help (v1)
- Topic: Context menu shortcut letter not underlines Topic is solved
- Replies: 13
- Views: 834
Context menu shortcut letter not underlines Topic is solved
The context menu items in this script should have a shortcut key underlined, as per doc. There are no underlined letters. Does anyone know why? (of course, one must right click the gui to show the context menu.) Gui, 3: Add, Text, x001 y007 w500 , testcontext.ahk Gui, 3: Show, x700 y500, Testcontext...
- 18 Nov 2023, 13:13
- Forum: Bug Reports
- Topic: Memory usage grows indefinitely Topic is solved
- Replies: 6
- Views: 1005
Re: Memory usage grows indefinitely Topic is solved
excuse me if I'm ignorant here--I know almost nothing of V2--but, isn't
loop {
cc()
}
an endless loop?
loop {
cc()
}
an endless loop?
- 17 Nov 2023, 10:05
- Forum: Ask for Help (v1)
- Topic: picture rendering (gui, add, picture)
- Replies: 2
- Views: 280
Re: picture rendering (gui, add, picture)
thanks, but I know all about Irfanview. Irfanview is incredible and I have hundreds of ahk routines to help me use it. Photoshop outdoes Irfanview, but at a huge cost and photoshop is very slow to initiate, costly of cpu and storage. But, for advanced editting it is the king. I am only writing this ...
- 14 Nov 2023, 14:31
- Forum: Ask for Help (v1)
- Topic: picture rendering (gui, add, picture)
- Replies: 2
- Views: 280
picture rendering (gui, add, picture)
what does AHK use to render photographs? A native windows function, or it's own facility?
- 14 Nov 2023, 10:28
- Forum: Ask for Help (v1)
- Topic: Getting Window Client position
- Replies: 9
- Views: 629
Re: Getting Window Client position
This question is resolved. Thanks all. @iPhillip : thanks for the experimenting. I don't know what I did wrong, but you were absolutely correct. It's work fine for me now. @ Jkust me : I realize what you said about hwnd. If you notice, I mentioned the example was just overly simplified for testing, ...
- 13 Nov 2023, 14:25
- Forum: Ask for Help (v1)
- Topic: Getting Window Client position
- Replies: 9
- Views: 629
Re: Getting Window Client position
@iPhillip: I tried as you suggested. It didn't help. New code: Client := WinGetClientPos(5310346) msgbox % "x" Client.X " y" Client.Y " w" Client.W " h" Client.H return WinGetClientPos( Hwnd ) { VarSetCapacity( size, 16, 0 ) DllCall( "GetClientRect", Ptr, Hwnd, Ptr, &size ) DllCall( "ClientToScreen"...
- 13 Nov 2023, 14:22
- Forum: Ask for Help (v1)
- Topic: Getting Window Client position
- Replies: 9
- Views: 629
Re: Getting Window Client position
sorry, I was just about to edit. this after I noticed that, yes, it is in the WRONG forum. It is for V1. And, V1 has no WinGetClientPos.
- 13 Nov 2023, 14:08
- Forum: Ask for Help (v1)
- Topic: Getting Window Client position
- Replies: 9
- Views: 629
Getting Window Client position
If found the function WinGetClientPos() here: https://www.autohotkey.com/board/topic/98679-function-wingetclientpos/ I reduced it to the following, where I simply plug in (for simplicity in testing) the target window's HWND. Client := WinGetClientPos(5310346) msgbox % "x" Client.X " y" Client.Y " w"...
- 05 Nov 2023, 11:20
- Forum: Ask for Help (v1)
- Topic: Photo rendition question
- Replies: 1
- Views: 301
Photo rendition question
edit: Looks like this got put in V2 AHK ask for help. It belongs in Version 1 ask for help. Since I move to Win10, Photo rendition via GUI, ADD, PICTURE has a problem. However, this is a just a question, since the problem may not be AHK. When I use a HIGH CONTRAST theme, some (usually not all) solid...
- 16 Oct 2023, 11:00
- Forum: Ask for Help (v2)
- Topic: bug reports
- Replies: 8
- Views: 599
Re: bug reports
@emp00 :
50000 lines is not a single script. It is hundreds of scripts.
50000 lines is not a single script. It is hundreds of scripts.
- 10 Sep 2023, 10:50
- Forum: Bug Reports
- Topic: Number parsing should be continuous Topic is solved
- Replies: 8
- Views: 1629
Re: Number parsing should be continuous Topic is solved
As just an aside: I find it absolutely amazing that V1 and V2 work differently with these two examples. No wander I don't want to migrate. Is there any documentation that points out such tremendous differnces in operation of the 2 ahks? In v1: a := 2. 2 ; 2.2 MsgBox %a% ; -> 2. A := 2. "" MsgBox %a%...