Search found 305 matches

by JnLlnd
24 Mar 2020, 10:30
Forum: Ask For Help
Topic: accents insensitive conditions
Replies: 3
Views: 425

Re: accents insensitive conditions

JnLlnd wrote:
10 Mar 2020, 16:00
Does anyone knows if this relies on some Windows component that could be called using DllCall ?
FYI, I got a solution here:
https://www.autohotkey.com/boards/viewtopic.php?f=76&t=73799
by JnLlnd
24 Mar 2020, 10:29
Forum: Ask For Help
Topic: Using CultureInfo.CurrentCulture to compare strings with current locale settings
Replies: 2
Views: 117

Re: Using CultureInfo.CurrentCulture to compare strings with current locale settings

This is exactly it, Alguimist ! Many thanks :-) I'm not sure I understand the meaning of 'ignore case' and 'ignore nonspace' in LINGUISTIC_IGNORECASE 0x00000010 // linguistically appropriate 'ignore case' LINGUISTIC_IGNOREDIACRITIC 0x00000020 // linguistically appropriate 'ignore nonspace' I tried t...
by JnLlnd
23 Mar 2020, 16:00
Forum: Ask For Help
Topic: Using CultureInfo.CurrentCulture to compare strings with current locale settings
Replies: 2
Views: 117

Using CultureInfo.CurrentCulture to compare strings with current locale settings

Hi, I've seen on StackOverflow that C# has a built-in function .NET to compare strings taking into account locale settings: string s1 = "HEllO"; string s2 = "héLLo"; if (String.Compare(s1, s2, CultureInfo.CurrentCulture, CompareOptions.IgnoreNonSpace | CompareOptions.IgnoreCase) == 0) { // both stri...
by JnLlnd
10 Mar 2020, 16:00
Forum: Ask For Help
Topic: accents insensitive conditions
Replies: 3
Views: 425

Re: accents insensitive conditions

On the same subject, I've seen on StackOverflow that C# has a built-in function to compare strings taking into account locale settings: string s1 = "HEllO"; string s2 = "héLLo"; if (String.Compare(s1, s2, CultureInfo.CurrentCulture, CompareOptions.IgnoreNonSpace | CompareOptions.IgnoreCase) == 0) { ...
by JnLlnd
28 Feb 2020, 10:40
Forum: Ask For Help
Topic: DllCall PickIconDlg issue Topic is solved
Replies: 4
Views: 262

Re: DllCall PickIconDlg issue Topic is solved

@Teadrinker: this also worked on my user's system. This looks like a solution :-) Thanks again.
by JnLlnd
27 Feb 2020, 11:12
Forum: Ask For Help
Topic: DllCall PickIconDlg issue Topic is solved
Replies: 4
Views: 262

Re: DllCall PickIconDlg issue Topic is solved

Thanks teadrinker. It worked on my system. I asked a user of my app who get the error more frequently than me to test it. I'll follow-up on this.
by JnLlnd
25 Feb 2020, 15:03
Forum: Ask For Help
Topic: DllCall PickIconDlg issue Topic is solved
Replies: 4
Views: 262

DllCall PickIconDlg issue Topic is solved

Intermittently, on some Windows 10 systems, when the path of the icon file (strIconFile) is longer than 74 chars, the DllCall to "shell32\PickIconDlg" returns the strIconFile truncated or it just hangs. Anybody had the same issue? I tried increasing the VarSetCapacity to 2048 and the 260 parameter t...
by JnLlnd
11 Feb 2020, 10:58
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 802
Views: 416618

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

I have this in my file SciTEUser.properties (open it from the "Options / Open User properties") #~ If you set save.session, the list of currently opened buffers will be saved on exit in a session file. #~ When you start SciTE next time (without specifying a file name on the command line) the last se...
by JnLlnd
07 Nov 2019, 10:53
Forum: Ask For Help
Topic: Generating MD5 Hex correctly in AHK?
Replies: 10
Views: 2103

Re: Generating MD5 Hex correctly in AHK?

jNizM wrote:
07 Nov 2019, 04:27
Can you try this? https://www.autohotkey.com/boards/viewtopic.php?t=23413
This works with the three values in my previous example. Thank you jNizM !
by JnLlnd
25 Oct 2019, 23:20
Forum: Ask For Help
Topic: Generating MD5 Hex correctly in AHK?
Replies: 10
Views: 2103

Re: Generating MD5 Hex correctly in AHK?

Thanks for sharing the MD5() function. However, I'm having an issue it when the string to hash includes 8-bit (ASCII Extended) or UTF-8 Unicode chars. I'm running this script with AHK 1.1.30.03 64-bits. obj := Object() ; single arrays with a string to encode, and its expected MD5 hash obj["ASCII 7-b...
by JnLlnd
17 Oct 2019, 07:38
Forum: Ask For Help
Topic: Navigate an Explorer object to a CLSID address
Replies: 8
Views: 2020

Re: Navigate an Explorer object to a CLSID address

jeeswg wrote:
17 Oct 2019, 05:01
I found a way to navigate an Explorer window/object to a CLSID:
This works well. Thanks jeeswg.
by JnLlnd
02 Aug 2019, 11:20
Forum: Ask For Help
Topic: WinHttp.WinHttpRequest.5.1 and HTTPS
Replies: 10
Views: 2560

Re: WinHttp.WinHttpRequest.5.1 and HTTPS

malcev wrote:
02 Aug 2019, 07:18
And it is strange that with MSXML2.XMLHTTP.6.0 You received empty response text.
Thanks for the tip about caching. In the lats test, MSXML2.XMLHTTP.6.0 returned the page content even if it was producing an error. I could not explain why, I'm not the one who ran these test on the Win 7 system.
by JnLlnd
02 Aug 2019, 07:07
Forum: Ask For Help
Topic: WinHttp.WinHttpRequest.5.1 and HTTPS
Replies: 10
Views: 2560

Re: WinHttp.WinHttpRequest.5.1 and HTTPS

Thanks malcev and teadrinker. These solutions work well on my system (Windows 10) but can produce errors in the event log on system where the old protocol TLS 1.0 is still enabled. But Windows catch-up after the error and produce the expected result. So I can work with this. Users wanting to avoid t...
by JnLlnd
01 Aug 2019, 16:22
Forum: Ask For Help
Topic: WinHttp.WinHttpRequest.5.1 and HTTPS
Replies: 10
Views: 2560

Re: WinHttp.WinHttpRequest.5.1 and HTTPS

Try using ComObjCreate("MSXML2.XMLHTTP.6.0") instead of ComObjCreate("WinHttp.WinHttpRequest.5.1") . As I said, MSXML2.XMLHTTP.6.0 works on my system (as did WinHttp.WinHttpRequest.5.1). But unfortunately, not on my user's system. On his system (Windows 7 64-bit), when using MSXML2.XMLHTTP.6.0, the...
by JnLlnd
01 Aug 2019, 09:32
Forum: Ask For Help
Topic: WinHttp.WinHttpRequest.5.1 and HTTPS
Replies: 10
Views: 2560

Re: WinHttp.WinHttpRequest.5.1 and HTTPS

Thanks teadrinker. I'll ask a user having the issue to test this protocol. On my system, it works as the other.
by JnLlnd
31 Jul 2019, 15:46
Forum: Ask For Help
Topic: WinHttp.WinHttpRequest.5.1 and HTTPS
Replies: 10
Views: 2560

WinHttp.WinHttpRequest.5.1 and HTTPS

First, I must admit that I do no expert about network protocols... This is why I'm looking for help here :-) In a compiled software build with AHK, I include a command that is checking the latest version available of the app by checking a value on my web server. This command is using the function Ur...
by JnLlnd
22 Apr 2019, 13:02
Forum: Bug Reports
Topic: Hotstring Bug? Topic is solved
Replies: 20
Views: 4466

Re: Hotstring Bug? Topic is solved

Thanks for fixing this Helgef and for the follow-up Lexikos.

Jean
by JnLlnd
28 Jan 2019, 18:08
Forum: Ask For Help
Topic: Passing too few params to a class method?
Replies: 5
Views: 2544

Re: Passing too few params to a class method?

It's certainly a known "feature". The fact that nothing has been done about it for this long implies that it's not a bug, or at least that it's not a serious enough problem to spend development time on. If it bothers you, you can always roll your own error checking with __Call. Until v2 is availabl...
by JnLlnd
14 Jan 2019, 10:47
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 802
Views: 416618

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

Assuming there no major updates needed to the lexer, I think you can modify ahk.keywords.properties https://github.com/fincs/SciTE4AutoHotkey/blob/master/source/ahk.keywords.properties Done that. I added strreplace and strsplit . There are probably other new functions but those are the one I use re...
by JnLlnd
14 Jan 2019, 09:41
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 802
Views: 416618

Re: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]

I've managed to get this working in the past, but it involved changing the subsystem code in AutoHotkey.exe Maybe try this? https://github.com/joedf/LibCon.ahk/blob/master/LibCon_Compiler/Ahk2CLI.ahk Thank you for the suggestion, JoeDF, but I will look at that. On another topic, I see that some new...

Go to advanced search