Search found 498 matches
- 31 Oct 2022, 12:20
- Forum: Bug Reports
- Topic: Rounding Bug
- Replies: 45
- Views: 5965
Re: Rounding Bug
how does one actually display the true binary storage (hex) of 1.035?
- 10 Oct 2022, 10:31
- Forum: Ask for Help (v1)
- Topic: Detect invalid filetype doing GUI ADD PICTURE Topic is solved
- Replies: 8
- Views: 528
Re: Detect invalid filetype doing GUI ADD PICTURE Topic is solved
@mikeyww : your code has an error. The THROW command fails. But, the rest is awesome. Thanks!!!
can I ask: where did you learn that kind of stuff you wrote? Another language?
can I ask: where did you learn that kind of stuff you wrote? Another language?
- 10 Oct 2022, 09:40
- Forum: Ask for Help (v1)
- Topic: Detect invalid filetype doing GUI ADD PICTURE Topic is solved
- Replies: 8
- Views: 528
Detect invalid filetype doing GUI ADD PICTURE Topic is solved
If I accidentalliy save a photoshop picture (.PSD filetype) with a .JPG extension, when I use that file for GUI, ADD, PICTURE the picture does not appear. Totally understandable. And, it is documented that AHK does not support filetype .PSD for GUI, ADD, PICTURE. The problem is this: how can I tell ...
- 31 Aug 2022, 10:19
- Forum: Ask for Help (v1)
- Topic: Can I Delay system suspend?
- Replies: 0
- Views: 208
Can I Delay system suspend?
I capture the system suspend event via OnMessage(0x218, "WM_POWERBROADCAST") and running WM_POWERBROADCAST(wParam, lParam) And, of course, when wParam is 4, the system is about to suspend. I can do a few QUICK things before the actual suspension occurs. But, I want to do more--like shut down Firefox...
- 24 Aug 2022, 14:30
- Forum: Ask for Help (v1)
- Topic: [1.1.34.04] Routine triggered by ChooseString doesn't change global variable
- Replies: 7
- Views: 1401
Re: [1.1.34.04] Routine triggered by ChooseString doesn't change super-global variable
something certainly appears wrong, but I don't know what it is. However, after figuring out what is going on (I've never used some of the commands), I did realize that the author is confusing the issue. The GLOBAL statements have nothing to do with the problem. Remove them and the same results occur...
- 22 Aug 2022, 10:42
- Forum: Suggestions on Documentation Improvements
- Topic: Label names are NOT unique to a script
- Replies: 3
- Views: 897
Label names are NOT unique to a script
at Labels,https://www.autohotkey.com/docs/misc/Labels.htm#syntax-and-usage, it is stated, where their names are defined: Label names must be unique throughout the whole script. I believe that to be incorrect. Multiple labels with the same name may exist in a script in the case of each being a differ...
- 20 Aug 2022, 08:36
- Forum: Ask for Help (v1)
- Topic: What commands start a new thread?
- Replies: 9
- Views: 1981
Re: What commands start a new thread?
Your question, Rohwebber, what command...started the new thread, in your example is easy to answer. The menu command started the new thread. Yes, not until the menu was used, however. But, documentation states, at MENU, that a new thread is created to run the given subroutine at the given label (ass...
- 18 Aug 2022, 12:45
- Forum: Ask for Help (v1)
- Topic: What commands start a new thread?
- Replies: 9
- Views: 1981
Re: What commands start a new thread?
@Rohwedder - that looks like it will do the trick. And, I could have figured that out.
But, what I'm really looking for is the answer to my question:
What commands start a new thread?
But, what I'm really looking for is the answer to my question:
What commands start a new thread?
- 18 Aug 2022, 11:33
- Forum: Ask for Help (v1)
- Topic: What commands start a new thread?
- Replies: 9
- Views: 1981
Re: What commands start a new thread?
@rohwedder: that is not what I am looking for. From thread A I need to start--not with a hotkey but programmatically --the second thread B. I will then want to return to thread A from where I was in Thread A. That is, thread B must finish before thread A resumes. Additionally, thread B will have a R...
- 18 Aug 2022, 10:48
- Forum: Ask for Help (v1)
- Topic: What commands start a new thread?
- Replies: 9
- Views: 1981
What commands start a new thread?
The help THREADS topic, https://www.autohotkey.com/docs/misc/Threads.htm, states: The current thread is defined as the flow of execution invoked by the most recent event; examples include hotkeys, SetTimer subroutines, custom menu items, and GUI events. The current thread can be executing commands w...
- 05 Aug 2022, 11:03
- Forum: Ask for Help (v1)
- Topic: Can I increase A_index in a loop?
- Replies: 2
- Views: 455
Can I increase A_index in a loop?
Can I increase A_index in a loop? For example, to skip parsing the 4th word of a string if a_index was 3.
- 03 Jul 2022, 13:39
- Forum: Ask for Help (v1)
- Topic: what is a method
- Replies: 19
- Views: 2446
Re: what is a method
thanks. I just contributed. I had no idea about the foundation. Yes, it's only to maintain the website--something about which I have mixed feelings. Specifically, I have always felt that there are WAY, WAY too many requests for help. Yes, part of that is people's inherent laziness. But, I feel a big...
- 03 Jul 2022, 13:00
- Forum: Ask for Help (v1)
- Topic: what is a method
- Replies: 19
- Views: 2446
Re: what is a method
Hard to believe. Lexikos seems to do an INCREDIBLE amount for AHK. Hard to believe he does it gratis. Kudos to him. I like and use AHK SO MUCH, I'd contribute. But I guess if it is all maintained voluntarily, there is no entity to which to contribute. But, then again, if his job--assuming he is not ...
- 03 Jul 2022, 10:55
- Forum: Ask for Help (v1)
- Topic: what is a method
- Replies: 19
- Views: 2446
Re: what is a method
Lepes thanks for your post. I know nothing about C and OOP. I learned fortran, basic, cobol, REXX, APL and assembler--all mainframe oriented and all from the good old days. I have realized that an extremely large amound of the structure and nature of AHK is related to C and OOP, but at this stage--...
- 03 Jul 2022, 10:50
- Forum: Ask for Help (v1)
- Topic: what is a method
- Replies: 19
- Views: 2446
Re: what is a method
Lexicos thanks for point out exactly WHERE method is defined. I could not find that, although I will admit I did not look at every entry where the word METHOD is found. And, thank you for agreeing an INDEX entry would be appropriate. Sorry about my picayune suggestions. Yes, they are just that. But...
- 02 Jul 2022, 10:14
- Forum: Ask for Help (v1)
- Topic: what is a method
- Replies: 19
- Views: 2446
Re: what is a method
thanks for the answers!! (And, yes, I was reading the OBJECTS section.) My biggest problem was that METHOD is not explicitly defined. It's only definition is found at OBJECTS here: An object in AutoHotkey is an abstract datatype which provides three basic functions: •GET a value. •SET a value. • CAL...
- 02 Jul 2022, 09:35
- Forum: Ask for Help (v1)
- Topic: what is a method
- Replies: 19
- Views: 2446
what is a method
what is a method?
specifically, I would like to be pointed to WHERE IN THE DOCUMENTATION this question is answered, because if it is there, I can't find it.
specifically, I would like to be pointed to WHERE IN THE DOCUMENTATION this question is answered, because if it is there, I can't find it.
- 02 May 2022, 09:17
- Forum: Bug Reports
- Topic: [V2.beta.3] A_TimeSincePriorHotkey not -1 when A_PriorHotkey blank Topic is solved
- Replies: 6
- Views: 1580
Re: [V2.beta.3] A_TimeSincePriorHotkey not -1 when A_PriorHotkey blank Topic is solved
I don't use V2. Does this mean the following code, which I do use, fails in V2:
PicHotkeyCt += 1
if (A_ThisHotkey = A_PriorHotkey && A_TimeSincePriorHotkey < 350)
...
; double press (could also be more than 2)
PicHotkeyCt += 1
if (A_ThisHotkey = A_PriorHotkey && A_TimeSincePriorHotkey < 350)
...
; double press (could also be more than 2)
- 29 Apr 2022, 09:27
- Forum: Bug Reports
- Topic: Is this the expected behavior of Reload?
- Replies: 4
- Views: 583
Re: Is this the expected behavior of Reload?
@Lexicos - I think, then, that this should be treated as a documentation issue. This should be more succintly stately. One should not have to make inferences from what may be a subtle implication. Of course, the problem I have with documentation issues is that most of my suggestions--all of which I ...
- 25 Mar 2022, 13:49
- Forum: Ask for Help (v1)
- Topic: RunWait executes wrong .exe file
- Replies: 5
- Views: 807
Re: RunWait executes wrong .exe file
I am using ahk 1.1.33.09 on Windows 7 pro. This appears to be a genuine bug. If not on the part of the AHK then WINDOWS. I haven't tested to see if WINDOWS is the culprit. I often run executables with a space in the fileid. But, haven't found this problem because, out of habit, I prefer to always en...