Search found 487 matches
- 29 Apr 2020, 23:19
- Forum: Ask for Help (v1)
- Topic: Ahk2Exe unable to create destination file
- Replies: 11
- Views: 2109
Re: Ahk2Exe unable to create destination file
HI Helgef, Thanks for the reply. I tried these 2 solutions with the same result. But I just tried disabling Windows Defender real-time protection and then it worked. So this seems to be a conflict with Windows Defender. I'd prefer to find a solution in order to be able to compile without having to t...
- 29 Apr 2020, 23:00
- Forum: Ask for Help (v1)
- Topic: Ahk2Exe unable to create destination file
- Replies: 11
- Views: 2109
Ahk2Exe unable to create destination file
Hi, I'm using Ahk2Exe regularly but today it fail compiling me script, returning the error: "Error: Error opening the destination file." I'm using the compiler in command-line mode. I'm creating the exe file on a DropBox folder but had the same error when trying on another drive. There is no disk sp...
- 24 Mar 2020, 10:30
- Forum: Ask for Help (v1)
- Topic: accents insensitive conditions
- Replies: 3
- Views: 800
Re: accents insensitive conditions
- 24 Mar 2020, 10:29
- Forum: Ask for Help (v1)
- Topic: Using CultureInfo.CurrentCulture to compare strings with current locale settings
- Replies: 2
- Views: 595
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...
- 23 Mar 2020, 16:00
- Forum: Ask for Help (v1)
- Topic: Using CultureInfo.CurrentCulture to compare strings with current locale settings
- Replies: 2
- Views: 595
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...
- 10 Mar 2020, 16:00
- Forum: Ask for Help (v1)
- Topic: accents insensitive conditions
- Replies: 3
- Views: 800
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) { ...
- 28 Feb 2020, 10:40
- Forum: Ask for Help (v1)
- Topic: DllCall PickIconDlg issue Topic is solved
- Replies: 4
- Views: 700
Re: DllCall PickIconDlg issue Topic is solved
@Teadrinker: this also worked on my user's system. This looks like a solution :-) Thanks again.
- 27 Feb 2020, 11:12
- Forum: Ask for Help (v1)
- Topic: DllCall PickIconDlg issue Topic is solved
- Replies: 4
- Views: 700
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.
- 25 Feb 2020, 15:03
- Forum: Ask for Help (v1)
- Topic: DllCall PickIconDlg issue Topic is solved
- Replies: 4
- Views: 700
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...
- 11 Feb 2020, 10:58
- Forum: SciTE4AutoHotkey
- Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
- Replies: 835
- Views: 619018
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...
- 07 Nov 2019, 10:53
- Forum: Ask for Help (v1)
- Topic: Generating MD5 Hex correctly in AHK?
- Replies: 10
- Views: 4157
Re: Generating MD5 Hex correctly in AHK?
This works with the three values in my previous example. Thank you jNizM !jNizM wrote: ↑07 Nov 2019, 04:27Can you try this? https://www.autohotkey.com/boards/viewtopic.php?t=23413
- 25 Oct 2019, 23:20
- Forum: Ask for Help (v1)
- Topic: Generating MD5 Hex correctly in AHK?
- Replies: 10
- Views: 4157
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...
- 17 Oct 2019, 07:38
- Forum: Ask for Help (v1)
- Topic: Navigate an Explorer object to a CLSID address
- Replies: 8
- Views: 3723
- 02 Aug 2019, 11:20
- Forum: Ask for Help (v1)
- Topic: WinHttp.WinHttpRequest.5.1 and HTTPS
- Replies: 10
- Views: 12811
Re: WinHttp.WinHttpRequest.5.1 and HTTPS
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.
- 02 Aug 2019, 07:07
- Forum: Ask for Help (v1)
- Topic: WinHttp.WinHttpRequest.5.1 and HTTPS
- Replies: 10
- Views: 12811
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...
- 01 Aug 2019, 16:22
- Forum: Ask for Help (v1)
- Topic: WinHttp.WinHttpRequest.5.1 and HTTPS
- Replies: 10
- Views: 12811
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...
- 01 Aug 2019, 09:32
- Forum: Ask for Help (v1)
- Topic: WinHttp.WinHttpRequest.5.1 and HTTPS
- Replies: 10
- Views: 12811
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.
- 31 Jul 2019, 15:46
- Forum: Ask for Help (v1)
- Topic: WinHttp.WinHttpRequest.5.1 and HTTPS
- Replies: 10
- Views: 12811
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...
- 22 Apr 2019, 13:02
- Forum: Bug Reports
- Topic: Hotstring Bug? Topic is solved
- Replies: 20
- Views: 8044
Re: Hotstring Bug? Topic is solved
Thanks for fixing this Helgef and for the follow-up Lexikos.
Jean
Jean
- 28 Jan 2019, 18:08
- Forum: Ask for Help (v1)
- Topic: Passing too few params to a class method?
- Replies: 5
- Views: 3926
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...