Search found 383 matches

by joefiesta
19 Nov 2020, 09:30
Forum: Bug Reports
Topic: Button width (and height) calculation
Replies: 3
Views: 154

Re: Button width (and height) calculation

You must realize, in terms of setting the height and word wrap, that the text may be wrapped (always wrapped, I don't know, didn't test) but simply may not be visible if the height is not sufficient.
by joefiesta
17 Nov 2020, 12:15
Forum: Bug Reports
Topic: Button width (and height) calculation
Replies: 3
Views: 154

Re: Button width (and height) calculation

1. This certainly points out that the documentation for -Wrap (and word wrapping in general) is sparse, at best. Nowhere does it discuss how the wrapping is done (splitting a SPACE or, I assume, TAB positions. And if it Splits at other positions they are not defined. 2. One can force the width of 10...
by joefiesta
08 Oct 2020, 15:19
Forum: Bug Reports
Topic: Silently fails to open file for editing when already open in VSCode
Replies: 3
Views: 229

Re: Silently fails to open file for editing when already open in VSCode

If the VSCode window--I presume there is one, since I know nothing about VSCode--is INACTIVE, does "edit this script" make it the active window? That's all I would expect to happen.
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: 282

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

Go to advanced search