Search found 380 matches

by joefiesta
06 Sep 2020, 11:05
Forum: Bug Reports
Topic: #MaxThreadsPerHotkey rejects starting of new thread (when limit not reached yet) Topic is solved
Replies: 3
Views: 130

Re: #MaxThreadsPerHotkey rejects starting of new thread (when limit not reached yet) Topic is solved

The code does work correctly when #MaxThreadsBuffer is ON. However, one must be quick as a bunny. Since the MaxThreadsBuffer ON only preserves the buffer for 1 second, one (most easily the last) msgbox must be closed quickly after hitting the hotkey the 4th time. #MaxThreadsPerHotkey 3 #MaxThreadsBu...
by joefiesta
18 Aug 2020, 08:16
Forum: Ask For Help
Topic: Splitting a Long Line into a Series of Shorter Ones Method #2
Replies: 8
Views: 585

Re: Splitting a Long Line into a Series of Shorter Ones Method #2

Note also that

c=
(
str:asdf
)
MsgBox, % c ;ok


works fine with or without a space after "str:".
by joefiesta
17 Jul 2020, 12:46
Forum: Suggestions on documentation improvements
Topic: Send command and special characters
Replies: 1
Views: 802

Send command and special characters

The SEND command, at https://www.autohotkey.com/docs/commands/Send.htm, states By default (that is, if neither SendRaw nor the Raw mode or Text mode is used), the characters ^+!#{} have a special meaning. The characters ^+!# represent the modifier keys Ctrl, Shift, Alt and Win. This is not entirely ...
by joefiesta
05 Jul 2020, 13:22
Forum: Bug Reports
Topic: CRITICAL, PROGRESS and INPUT crash 1.1.32.00
Replies: 12
Views: 3379

Re: CRITICAL, PROGRESS and INPUT crash 1.1.32.00

Wow.... No. It works fine in 1.1.33.00. (on Win 7 pro , 32 bit)
by joefiesta
02 Jul 2020, 11:03
Forum: Bug Reports
Topic: #Warn giving incorrect warnings in AutoHotkey 1.1.33.00
Replies: 13
Views: 5574

Re: #Warn giving incorrect warnings in AutoHotkey 1.1.33.00

@PeterCm: I see this as you misinterpretting the placement of the RETURN statement that is usually used to mark the end of the auto-execute sectioin. This RETURN, however, is not required. Your auto-execute section is ended by your first HOTKEY definition. So, if you move your RETURN statment to abo...
by joefiesta
24 Jun 2020, 09:08
Forum: Gaming
Topic: Hardspace: Shipbreaker - Script Stops Wroking
Replies: 4
Views: 1213

Re: Hardspace: Shipbreaker - Script Stops Wroking

No idea about your game; however, one GUESS I have is that your are inadvertantly hitting the NUMLOCK key. Try coding each key to work with NUMLOCK on or off. For example: Numpad1::Z NumpadEnd::Z Also, why are you not sending the desired keystroke? You might try Numpad1:: send,Z NumpadEnd:: send,Z A...
by joefiesta
19 Jun 2020, 07:53
Forum: Suggestions on documentation improvements
Topic: inStr() returns 1 with needle is a blank string
Replies: 15
Views: 5217

Re: inStr() returns 1 with needle is a blank string

@swagfag: what is the source of your above quote? I can't find it. (searching the doc for "empty string" proved to be too tedious.)
by joefiesta
17 Jun 2020, 09:33
Forum: Suggestions on documentation improvements
Topic: inStr() returns 1 with needle is a blank string
Replies: 15
Views: 5217

Re: inStr() returns 1 with needle is a blank string

@Helgef: I'm not so sure I agree with throwing an exception. That is kinda like treating a null string differently than one that is not. I can imagine code where one does not know or cannot know what value a string may take on at some point. It would seem a lot of extra code might need be written to...
by joefiesta
17 Jun 2020, 08:01
Forum: Suggestions on documentation improvements
Topic: inStr() returns 1 with needle is a blank string
Replies: 15
Views: 5217

Re: inStr() returns 1 with needle is a blank string

I agree with Helgef that the value returned should be 0. And, here is even more justification.
Look what happens in the following. The value returned is 1. How can it be position 1 when the haystack string is of length 0?
a := ""
b := ""
c := instr(a,b)
msgbox %c%
by joefiesta
16 Jun 2020, 18:25
Forum: Suggestions on documentation improvements
Topic: inStr() returns 1 with needle is a blank string
Replies: 15
Views: 5217

Re: inStr() returns 1 with needle is a blank string

@tac109: I'm sorry, but I don't consider information in examples as part of the documentation. The examples are there only to FURTHER CLARIFY what has already been stated (or what should have been stated).
by joefiesta
15 Jun 2020, 10:30
Forum: Suggestions on documentation improvements
Topic: System Error Codes documentation
Replies: 4
Views: 1067

Re: System Error Codes documentation

Okay, same problem again, but different search. (And, so, I am not opening a new issue). The documentation for FORMATTIME includes Ln: If this option is not present, the current user's locale is used to format the string. To use the system's locale instead, specify LSys. To use a specific locale, sp...
by joefiesta
14 Jun 2020, 16:28
Forum: Suggestions on documentation improvements
Topic: inStr() returns 1 with needle is a blank string
Replies: 15
Views: 5217

Re: inStr() returns 1 with needle is a blank string

@Helgef: Impossible to deduce from the documentation.

Well, that says it all. This is a documentation issue.
by joefiesta
13 Jun 2020, 14:45
Forum: Ask For Help
Topic: Send RBUTTON vs. CLICK,RIGHT
Replies: 5
Views: 1033

Re: Send RBUTTON vs. CLICK,RIGHT

I can't say what I feel about the doc should be changed, if anything, at this point. I am still investigating this. What I can say is: 1. Swagfag was correct about using !^s:: {blind}{rbutton} That solves the problem and works the same as !^s::click, right It appears that •Modifier keys are restored...
by joefiesta
12 Jun 2020, 15:25
Forum: Ask For Help
Topic: Send RBUTTON vs. CLICK,RIGHT
Replies: 5
Views: 1033

Re: Send RBUTTON vs. CLICK,RIGHT

@bobo: If I don't understand how something works, I want to know. It is in the interest of science and I despise workarounds. My lack of understanding in this case is because of 1. Something is broken 2. The documentation doesn't thoroughly explain what is going on 3. I didn't read the documentation...
by joefiesta
11 Jun 2020, 09:02
Forum: Ask For Help
Topic: Send RBUTTON vs. CLICK,RIGHT
Replies: 5
Views: 1033

Send RBUTTON vs. CLICK,RIGHT

My hotkey is rather simple: !^s:: send, {rbutton} This does nothing. That is, it does not open the context menu for the window under the cursor (assuming it has one, etc. etc.) However, the following works fine: !^S:: click, right Why does the first code not do the same thing as the second code?
by joefiesta
05 Jun 2020, 08:05
Forum: Suggestions on documentation improvements
Topic: Hotkey modifiers as hotkeys
Replies: 2
Views: 551

Re: Hotkey modifiers as hotkeys

As an aside, it occurred to me that the TILDE hotkey might also be implemented as SHIFT + ACCENT GRAVE. And, indeed, that works. I thought it might allow me to enter a TILDE, but that is not the case. (Of course this is keyboard/language dependent.)
by joefiesta
05 Jun 2020, 07:33
Forum: Ask For Help
Topic: Run OutputVarPID not working with UWP apps Topic is solved
Replies: 6
Views: 367

Re: Run OutputVarPID not working with UWP apps Topic is solved

I can't test this on Win 7 as I don't have WindowsTerminal. But, maybe it doesn't create a window per se.
by joefiesta
04 Jun 2020, 10:48
Forum: Suggestions on documentation improvements
Topic: Hotkey modifiers as hotkeys
Replies: 2
Views: 551

Hotkey modifiers as hotkeys

Hotkey modifiers symbols This section (at https://www.autohotkey.com/docs/Hotkeys.htm) leads one to believe the modifier symbols must be used in conjunction with another key to form a "modified" hotkey. However, it does not say so EXPLICITLY. I was curious and so tried ~::somecommand This works. It ...
by joefiesta
01 Jun 2020, 08:27
Forum: Scripts and Functions
Topic: [Game] Tetris Windows 7+
Replies: 19
Views: 4124

Re: [Game] Tetris Windows 7+

@maestrith - Thanks. A humungous improvement. Rather primary colors, but, they are perfect considering the simplicity of the game. If I dare say, I would like to suggest some other changes. It's been decades since I played tetris on an ancient nintendo box. I don't remember the ghost square, but I l...
by joefiesta
01 Jun 2020, 07:55
Forum: Scripts and Functions
Topic: [Game] Tetris Windows 7+
Replies: 19
Views: 4124

Re: [Game] Tetris Windows 7+

@iPhilip - Thanks. I didn't mean to be disrespectful. I thought you meant I could drop your code into Tetris. I'm sure I can figure out what you're doing and can figure out revising tetris on my own even though it is very complicated, what with so many objects and such I know little about. But, cons...

Go to advanced search