Search found 294 matches

by JnLlnd
02 Aug 2019, 11:20
Forum: Ask For Help
Topic: WinHttp.WinHttpRequest.5.1 and HTTPS
Replies: 9
Views: 622

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: 9
Views: 622

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: 9
Views: 622

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: 9
Views: 622

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: 9
Views: 622

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

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

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: 778
Views: 338179

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: 778
Views: 338179

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...
by JnLlnd
11 Jan 2019, 11:09
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.0.06.01 [Updated October 12 2014]
Replies: 778
Views: 338179

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

Hi, I would like to see #warn All, StdOut send its output to the SciTE4Autohotkey output pane. Is there a way to configure it? The #warn doc says: StdOut [v1.1.04+]: Send a description of the warning to stdout (the program's standard output stream), along with the filename and line number. This allo...
by JnLlnd
10 Jan 2019, 22:27
Forum: Tutorials
Topic: Beginners OOP with AHK
Replies: 48
Views: 15620

Re: Beginners OOP with AHK

In your case you only ever have one use for your class. So you use a Singleton pattern to represent that. So my example B should be like this. Classes A and B are now indentical except the 4 "init" lines in B.__New(): #SingleInstance force instanceA := new A("Bob") instanceB := new B("Joe") MsgBox,...
by JnLlnd
10 Jan 2019, 18:51
Forum: Tutorials
Topic: Beginners OOP with AHK
Replies: 48
Views: 15620

Re: Beginners OOP with AHK

Oh wow - Sory I must have missed your code. It looks good :thumbup: I kind of expected an array to be honest but a list like that is also incredibly useful. Thanks nnik. I took some time before coming back to you as I was doing my first "real" work with classes. One thing I had a hard time to figur...
by JnLlnd
31 Dec 2018, 19:33
Forum: Bug Reports
Topic: Hotstring Bug? Topic is solved
Replies: 20
Views: 2838

Re: Hotstring Bug? Topic is solved

The point being that you have to use "On" with a pre-existing Hotstring. Turning it Off is irrelevant. It is the "On" with an existing hotstring that makes it work. You can turn a Hotstring On that is already On. Not to get side tracked though, this is definitely buggy. And this is only a in an eme...
by JnLlnd
31 Dec 2018, 14:59
Forum: Bug Reports
Topic: Hotstring Bug? Topic is solved
Replies: 20
Views: 2838

Re: Hotstring Bug? Topic is solved

For string function and label references to work you just need to do an On command for the hotstring. You don't have to turn it Off in order for this to work. With the workaround all the Hotstrings work as expected in the example above. In my example, it is a label (Go:) and it would not work until...
by JnLlnd
31 Dec 2018, 13:29
Forum: Bug Reports
Topic: Hotstring Bug? Topic is solved
Replies: 20
Views: 2838

Re: Hotstring Bug? Topic is solved

I found the bug mentioned earlier after upgrading from 1.1.28.00 to v1.1.30.01. But is was intermittent. If found that the X command is ignored at the first load of the Hotstring but is executed after the Hotstring is turned OFF and ON again. #SingleInstance force strHotstring := ":X*:#go#" firstTim...
by JnLlnd
17 Dec 2018, 15:46
Forum: Tutorials
Topic: Beginners OOP with AHK
Replies: 48
Views: 15620

Re: Beginners OOP with AHK

For convenience, I put the test code and the class code in the same file, test code at the beginning. FULL TEST AND MODIFIED CLASS CODE #SingleInstance force #Warn All, StdOut DetectHiddenWindows, On SetWorkingDir, %A_ScriptDir% global showTooltip := True MyFileSystem := new FileSystem ; create my i...
by JnLlnd
17 Dec 2018, 15:44
Forum: Tutorials
Topic: Beginners OOP with AHK
Replies: 48
Views: 15620

Re: Beginners OOP with AHK

As I said earlier, as a tutorial homework, I added some methods to the FileSystem class in order to store the files and directory objects in an "Items" container inside the "FileContainer" sub class. I defined the "__New()" method for the "FileContainer" sub class with two parameters: 1) the path of...
by JnLlnd
17 Dec 2018, 15:25
Forum: Tutorials
Topic: Beginners OOP with AHK
Replies: 48
Views: 15620

Re: Beginners OOP with AHK

@JnLlnd: If you want more info, you can try this. Cheers. jeeswg's object classes tutorial - AutoHotkey Community https://autohotkey.com/boards/viewtopic.php?f=7&t=54588 Thanks for the reference. It is not directly what I wanted to do but it gives good background on AHK classes and objects. Since A...
by JnLlnd
14 Dec 2018, 12:21
Forum: Tutorials
Topic: Beginners OOP with AHK
Replies: 48
Views: 15620

Re: Beginners OOP with AHK

I'm finished with your tutorial. There are a few concepts that will become more clear with some experience. Again, it was of great help. Next topic for me is Collections and Classes. As homework, I could use your FileSystemClass and develop the methods and objects required to collect the content of ...
by JnLlnd
13 Dec 2018, 15:47
Forum: Tutorials
Topic: Beginners OOP with AHK
Replies: 48
Views: 15620

Re: Beginners OOP with AHK

This tutorial is one year old today :-) I'm not finished with it but I want to say right now that it is really a great piece ! Looking forward to complete it.

Thanks @nnnik !

Go to advanced search