Search found 332 matches

by joefiesta
Yesterday, 15:38
Forum: Ask For Help
Topic: Wrong Exit Reason Displayed on Script Reload
Replies: 5
Views: 226

Re: Wrong Exit Reason Displayed on Script Reload

Holy cow! What a complicated thing this is. I'm trying to figure it all out, so I revised Helgdef script to add more information in the msgboxes. onexit l onexit("f") ct := 0 reload return l: ct += 1 msgbox % "subroutine l: ct= " ct " a_exitreason= " a_exitreason sleep 2000 exitapp return f(reason, ...
by joefiesta
Yesterday, 13:08
Forum: Suggestions on documentation improvements
Topic: uninitialized
Replies: 3
Views: 131

uninitialized

Suggestion: In the doc, spell UNINITIALIZED the American way. UNINITIALISED is a British spelling, and FAR FAR more uncommon. This may be going to an extreme, but that is my habit. I was looking at some code (an beautiful example by nnnik about sorting and dupes) which included: str := "" for each, ...
by joefiesta
06 Jan 2020, 15:51
Forum: Suggestions on documentation improvements
Topic: Less than perfect coding example
Replies: 0
Views: 480

Less than perfect coding example

At the doc for GUI ADD, PICTURE, https://www.autohotkey.com/docs/commands/GuiControls.htm#Picture, appears the following example: ; Specify below the path to the GIF file to animate (local files are allowed too): pic := "http://www.animatedgif.net/cartoons/A_5odie_e0.gif" Gui, Add, ActiveX, w100 h15...
by joefiesta
06 Jan 2020, 15:18
Forum: Suggestions on documentation improvements
Topic: Suggestions on documentation improvements
Replies: 688
Views: 172788

Re: Suggestions on documentation improvements

swagfag I beg to differ. A double quote is NOT A VALID WINDOWS FILEID CHARACTER. (I suspect this true for DOS as well.) And, yes, I just saw that the new Doc suggestions forum is available. I would like to suggest this TOPIC then be LOCKED. It would also be nice if the entire community were advised...
by joefiesta
06 Jan 2020, 14:59
Forum: Suggestions on documentation improvements
Topic: Suggestions on documentation improvements
Replies: 688
Views: 172788

Less than perfect example

At the doc for GUI ADD, PICTURE, https://www.autohotkey.com/docs/commands/GuiControls.htm#Picture, appears the following example: ; Specify below the path to the GIF file to animate (local files are allowed too): pic := "http://www.animatedgif.net/cartoons/A_5odie_e0.gif" Gui, Add, ActiveX, w100 h15...
by joefiesta
06 Jan 2020, 14:36
Forum: Ask For Help
Topic: Windows 10 Running .EXE in Windows XP Compatibility Mode
Replies: 3
Views: 267

Re: Windows 10 Running .EXE in Windows XP Compatibility Mode

a. This is not a bug report. You have no idea if something is broken or your script is simply not capable of running under XP. Your question should be in the Ask For Help forum. (a moderator will probably move it.) b. You need to provide your code if you expect anybody to even try to figure out your...
by joefiesta
29 Dec 2019, 14:37
Forum: Ask For Help
Topic: Is it possible to add a button to a window's title bar?
Replies: 7
Views: 2886

Re: Is it possible to add a button to a window's title bar?

I can't figure out what it takes to get the TitleButton - 0.31 script to work.

1. I changed "gui show -1500 autosize" to "gui, show, autosize" since the first fails.
2. I change the enable.ico to a valid icon fileid.

what else?
by joefiesta
24 Dec 2019, 15:27
Forum: Suggestions on documentation improvements
Topic: Suggestions on documentation improvements
Replies: 688
Views: 172788

Re: Suggestions on documentation improvements

Wow. It is so nice to get support about my suggestion. Thank you. The doc is so important. It is very, very good, but AHK is SO very, very, very, very complicated and convoluted that the doc must be given more attention. Just look at how many ASK FOR HELP issues are resolved by pointing out the answ...
by joefiesta
23 Dec 2019, 09:54
Forum: Suggestions on documentation improvements
Topic: Suggestions on documentation improvements
Replies: 688
Views: 172788

Re: Suggestions on documentation improvements

I think Suggestions for documentation improvement should be it's own forum topic. Then, each suggestion would be a separate forum entry. And each could get marked: AGREED, DISAGREED or something. All the banter that goes on about some suggestions goes WAY BEYOND the simple point of making a suggesti...
by joefiesta
23 Dec 2019, 09:48
Forum: Suggestions on documentation improvements
Topic: Suggestions on documentation improvements
Replies: 688
Views: 172788

Re: Suggestions on documentation improvements

It's all very wonderful to make a doc suggestion. And even better when someone agrees the doc needs changing. Why, then, do we virtually NEVER read the reply: "Yes, and we (whoever we is) will change the documentation"?
by joefiesta
23 Dec 2019, 09:25
Forum: Bug Reports
Topic: [v2] Numeric Strings Can Be Falsey
Replies: 8
Views: 660

Re: [v2] Numeric Strings Can Be Falsey

my 2 cents worth: This treating of literals as numerics is ridiculous. Just another example of why AHK is the most convoluted and difficult programming language to learn that I have ever used in my 40 years of programming. Nothing but exceptions to so many rules.
by joefiesta
18 Dec 2019, 10:22
Forum: Bug Reports
Topic: CRITICAL, PROGRESS and INPUT crash 1.1.32.00
Replies: 10
Views: 728

Re: CRITICAL, PROGRESS and INPUT crash 1.1.32.00

now that's its confirmed as a bug, can someone please move this post to Bug Reports.
by joefiesta
17 Dec 2019, 13:32
Forum: Bug Reports
Topic: CRITICAL, PROGRESS and INPUT crash 1.1.32.00
Replies: 10
Views: 728

Re: Progress command crashes 1.1.32.00

Here is the crash data: roblem signature: Problem Event Name: APPCRASH Application Name: autohotkey.exe Application Version: 1.1.32.0 Application Timestamp: 5dda0be7 Fault Module Name: autohotkey.exe Fault Module Version: 1.1.32.0 Fault Module Timestamp: 5dda0be7 Exception Code: c0000005 Exception O...
by joefiesta
16 Dec 2019, 14:37
Forum: Bug Reports
Topic: CRITICAL, PROGRESS and INPUT crash 1.1.32.00
Replies: 10
Views: 728

CRITICAL, PROGRESS and INPUT crash 1.1.32.00

I just upgraded from 1.1.31.00 to 1.1.32.00. I run Windows 7 pro, 32-bit. The following script (well, extract) now causes AHK to crash. I would like to verify it is a genuine bug, if others can help by running it. Upon displaying the progress menu (via ALT + START + 9), hitting almost any key causes...
by joefiesta
16 Dec 2019, 12:24
Forum: Suggestions on documentation improvements
Topic: Suggestions on documentation improvements
Replies: 688
Views: 172788

Re: Suggestions on documentation improvements

nnnik I fail to see why being more specific is bad. RUN is an exception to the stated rule. Secondly, how could it ever be possible to get the Exitcode from a RUN command? The program invoked is very likely still running--indeed, could run for hours. Long after the next line of code in a scipt is e...
by joefiesta
16 Dec 2019, 11:17
Forum: Bug Reports
Topic: Disabling/enabling menu bar item - BackgroundTrans
Replies: 3
Views: 285

Re: Disabling/enabling menu bar item - BackgroundTrans

thanks for supplying a working script. But, the text doesn't change in any way running it on Windows 7 pro, 32-bit. AHK version 1.1.30.01. Exactly how is your text affected?
by joefiesta
15 Dec 2019, 10:55
Forum: Suggestions on documentation improvements
Topic: Suggestions on documentation improvements
Replies: 688
Views: 172788

Exitapp and ErrorLevel re. RUN vs RUNWAIT

EXITAPP doc states (about it's EXITCODE parameter): This code is accessible to any program that spawned the script, such as another script (via RunWait) or a batch (.bat) file. This is not 100% correct. (Or, if you disagree: this could use some further clarification.) I am talking about the word ANY...
by joefiesta
09 Dec 2019, 11:18
Forum: Bug Reports
Topic: ❌ [a108] Lambda expression unable to capture a for-loop's variables
Replies: 4
Views: 1071

Re: ❌ [a108] Lambda expression unable to capture a for-loop's variables

@Ivalkov : It would be nice if you posted code that actually executes.
by joefiesta
06 Dec 2019, 11:53
Forum: Ask For Help
Topic: How do I detect if RESUME is from Sleep or Hibernate? Topic is solved
Replies: 4
Views: 2036

Re: How do I detect if RESUME is from Sleep or Hibernate? Topic is solved

jNizM - Thanks! It's been a long time since I read up on WM_POWERBROADCAST, and a long time since I wrote my routine that checks power. I missed The system always sends a PBT_APMRESUMEAUTOMATIC message whenever the system resumes. If the system resumes in response to user input such as pressing a k...
by joefiesta
05 Dec 2019, 13:56
Forum: Ask For Help
Topic: How do I detect if RESUME is from Sleep or Hibernate? Topic is solved
Replies: 4
Views: 2036

How do I detect if RESUME is from Sleep or Hibernate? Topic is solved

Can anyone tell me how to detect if system is resuming from SLEEP or HIBERNATE? I monitor WM_PowerBroadcast, 0x218. When SLEEP or HIBERNATE is requested, both issue PBT_APMSUSPEND with WParam=0x0004 and LParam=0x0000. I monitor WM_PowerBroadcast, 0x218 to also detect RESUMEs. When the system is awak...

Go to advanced search