Hello Seven (of Nine?),
thank you for your valuable input.
This looks interesting of another day.
Fortunately, I was able to successfully solve my issue meanwhile.
Regards, me.
Search found 214 matches
- 02 Nov 2023, 12:02
- Forum: Ask for Help (v2)
- Topic: Script's main title is missing path - any ideas why? Topic is solved
- Replies: 10
- Views: 696
- 02 Nov 2023, 11:30
- Forum: Ask for Help (v2)
- Topic: Script's main title is missing path - any ideas why? Topic is solved
- Replies: 10
- Views: 696
Re: Script's main title is missing path - any ideas why? Topic is solved
Yes, but I don't want to have to keep a manually edited list like that. Anyway, I found out the reason, now: I had this line in the script: Gui +LastFound The ONLY line dealing with the Gui, so that I could do the following: vHWnd := WinExist() I had thought that that would refer to the script's mai...
- 02 Nov 2023, 11:00
- Forum: Ask for Help (v2)
- Topic: Script's main title is missing path - any ideas why? Topic is solved
- Replies: 10
- Views: 696
Re: Script's main title is missing path - any ideas why? Topic is solved
I found out the title of the initially elusive window by checking it earlier in the code: [user folder]\AppData\Local\Programs\AutoHotkey\UX\launcher.ahk - Autohotkey v2.0.2 So this one is the launcher. How high are the chances that the other window also has to do with it? Is there a more robust way...
- 02 Nov 2023, 09:59
- Forum: Ask for Help (v2)
- Topic: Script's main title is missing path - any ideas why? Topic is solved
- Replies: 10
- Views: 696
Re: Script's main title is missing path - any ideas why? Topic is solved
Ok, (I found out) more info: The main goal is to reload all currently running ahk scripts. I basically do something like this (a bit more complex and both in v1 and v2) without the timer: https://www.autohotkey.com/boards/viewtopic.php?t=95051#p422339 Now, I found out that the one script (which I am...
- 02 Nov 2023, 05:28
- Forum: Ask for Help (v2)
- Topic: Script's main title is missing path - any ideas why? Topic is solved
- Replies: 10
- Views: 696
Re: Script's main title is missing path - any ideas why? Topic is solved
Ok, I see, thx for clarifying.
- 02 Nov 2023, 05:11
- Forum: Ask for Help (v2)
- Topic: Script's main title is missing path - any ideas why? Topic is solved
- Replies: 10
- Views: 696
Re: Script's main title is missing path - any ideas why? Topic is solved
Yes, indeed. Thx for replying. However, what are you trying to say? Do you think that the phrase "script's main title" could be referring to something else? If so, to what? My issue indeed is with the title of the script's main window.
- 02 Nov 2023, 04:31
- Forum: Ask for Help (v2)
- Topic: Script's main title is missing path - any ideas why? Topic is solved
- Replies: 10
- Views: 696
Script's main title is missing path - any ideas why? Topic is solved
Hi all, At https://www.autohotkey.com/docs/v2/Program.htm#title the help says that at least somewhere in the script's main title there should be the value of A_ScriptFullPath by default. I now have a script that seems to have just the name of the ahk file as its title by default. No path. Strangely ...
- 26 Jan 2023, 09:23
- Forum: Suggestions on Documentation Improvements
- Topic: RegExReplace backreferences cannot be manipulated
- Replies: 21
- Views: 4010
- 26 Jan 2023, 09:22
- Forum: Suggestions on Documentation Improvements
- Topic: RegExReplace backreferences cannot be manipulated
- Replies: 21
- Views: 4010
Re: RegExReplace backreferences cannot be manipulated
What could be plainer than plain text, but a string literal? Since the "Type" definition for the Replacement parameter already says: "String", the pharse "plain text" is simply confusing. The normal reader wonders if that means something special that goes beyond "String". The brackets seem to say w...
- 25 Jan 2023, 12:21
- Forum: Ask for Help (v2)
- Topic: Is there a library for translating an html string to a css string and vice versa?
- Replies: 4
- Views: 449
- 25 Jan 2023, 08:25
- Forum: Scripts and Functions (v2)
- Topic: RegExReplace: Can I modify the value of a backreference? Topic is solved
- Replies: 9
- Views: 1434
Re: RegExReplace: Can I modify the value of a backreference? Topic is solved
UPDATE: I had a bug in the code in line 10, respectively, 11. Fixed it in both versions up above. New, correct line: vStartingPos := StrLen(pHaystack) + 1 - (-1 * vStartingPos) ; compare RegExMatch Old, wrong line: vWorkingString := StrLen(pHaystack) + 1 - (-1 * vStartingPos) ; compare RegExMatch
- 25 Jan 2023, 06:07
- Forum: Scripts and Functions (v2)
- Topic: RegExReplace: Can I modify the value of a backreference? Topic is solved
- Replies: 9
- Views: 1434
Re: RegExReplace: Can I modify the value of a backreference? Topic is solved
Just as a side note for the record: The function also works well for generally executing some sub-function based on each found match, e.g. for data extraction (without having to necessarily change haystack). Probably, there could be faster code, but for me this seems quite a comfortable solution so ...
- 25 Jan 2023, 05:59
- Forum: Ask for Help (v2)
- Topic: Is there a library for translating an html string to a css string and vice versa?
- Replies: 4
- Views: 449
Re: Is there a library for translating an html string to a css string and vice versa?
Chunjee , thank you, that is a start. However, it says on these pages: No other characters are escaped. To escape additional characters use a third-party library. Respectively: No other HTML entities are unescaped. To unescape additional HTML entities use a dedicated third-party library. Thus, do y...
- 25 Jan 2023, 03:04
- Forum: Ask for Help (v1)
- Topic: Way to keep the taskbar windows from blinking?
- Replies: 8
- Views: 751
Re: Way to keep the taskbar windows from blinking?
Did you even read the description in the help?
- 24 Jan 2023, 21:38
- Forum: Ask for Help (v2)
- Topic: Is there a library for translating an html string to a css string and vice versa?
- Replies: 4
- Views: 449
Is there a library for translating an html string to a css string and vice versa?
Hi all, as you all probably are aware of, there are different rules for escaping certain characters in an html context compared to a css context. I am wondering is there a library for ahk 2 that supports conversion or translation from one kind of string to the other? If it only exists for ahk 1 then...
- 24 Jan 2023, 16:08
- Forum: Ask for Help (v1)
- Topic: Q: FileSelect dialog: How to auto-add the extension to a name to Save?
- Replies: 4
- Views: 351
Re: Q: FileSelect dialog: How to auto-add the extension to a name to Save?
Thank you, that's exactly my point. I want the dialog to be as fool-proof as possible.
- 24 Jan 2023, 15:40
- Forum: Ask for Help (v1)
- Topic: Q: FileSelect dialog: How to auto-add the extension to a name to Save?
- Replies: 4
- Views: 351
Re: Q: FileSelect dialog: How to auto-add the extension to a name to Save?
Thank you, Russ, for brainstorming. As far as I understand you are giving the user a helpful hand in prefilling the Edit box with the desired extension and then putting the caret in front of it. Ok, that of course is a bit better than nothing. However, I would like to be on the most safe side and al...
- 24 Jan 2023, 14:10
- Forum: Ask for Help (v1)
- Topic: Q: FileSelect dialog: How to auto-add the extension to a name to Save?
- Replies: 4
- Views: 351
Q: FileSelect dialog: How to auto-add the extension to a name to Save?
Hi all, I want to use the FileSelect dialog to enter a file name under which to save a file. I also want to use Option 16: "Prompt to Overwrite File". I had hoped that if I specify a Filter parameter with one extension (e.g. "*.txt"), that that extension then is automatically added to any file name ...
- 24 Jan 2023, 11:06
- Forum: Ask for Help (v1)
- Topic: Way to keep the taskbar windows from blinking?
- Replies: 8
- Views: 751
Re: Way to keep the taskbar windows from blinking?
Not sure if this applies in your case but maybe have a look at:
https://www.autohotkey.com/docs/v2/lib/_WinActivateForce.htm
https://www.autohotkey.com/docs/v2/lib/_WinActivateForce.htm
... it might prevent task bar buttons from flashing when different windows are activated quickly one after the other.
- 24 Jan 2023, 10:58
- Forum: Scripts and Functions (v2)
- Topic: RegExReplace: Can I modify the value of a backreference? Topic is solved
- Replies: 9
- Views: 1434
Re: RegExReplace: Can I modify the value of a backreference? Topic is solved
UPDATE: I just improved the "error handling" a little bit. _RegExReplace_Enhanced(pHaystack, pNeedleRegEx, pReplacementFunction?, &pOutputVarCount := 0, pLimit := -1, pStartingPos := 1) { if IsSet(pReplacementFunction) and not HasMethod(%pReplacementFunction%, , 1) { MsgBox "Problem 1: The passed re...