Messages - Maestr0 [ switch to compact view ]

Pages: prev1 [2] 3 4 5 6next
6
N.A.N.Y. 2019 / Re: NANY 2019: Shorthand 3_2
« on: April 09, 2019, 12:02 PM »
Hm. It seems to be something in AHK v2...

this v1 code works in v1 without a problem:

but this v2 code throws an error:
If so, then we can do nothing. so maybe just forget about this error.
Thanks for the infos

Right, so, the issue was with the encoding of the script and not the txt file. Open the script in a file editor and encode it as UTF-8-BOM or something similar. I will update the script to 3.2.0.47 as soon as I have it working for the results of "Everything".

Update:
get the newest version of the script here: https://www.dropbox.com/s/qifiypaqnrgj12i/sh3_2_3.2.0.47.ahk?dl=1

Let me know if you have any more issues, or if any are not yet fixed.

7
N.A.N.Y. 2019 / Re: NANY 2019: Shorthand 3_2
« on: April 09, 2019, 07:51 AM »
Hm. It seems to be something in AHK v2...

this v1 code works in v1 without a problem:

but this v2 code throws an error:
If so, then we can do nothing. so maybe just forget about this error.
Thanks for the infos

Nah, we have options, I'm poking other people about it now :)

We couldn't find a solution on Discord, now I've posted in autohotkey forums, let's see what shakes loose...
https://www.autohotkey.com/boards/viewtopic.php?f=76&t=63509

8
N.A.N.Y. 2019 / Re: NANY 2019: Shorthand 3_2
« on: April 09, 2019, 06:23 AM »
thank you for such a quick repay!  :up:

What do you get when you the following link in your browser?
https://www.dropbox.com/s/0qb2arj1adl8iy9/shorthand3_ahk2_version.ini?dl=1
I open the link above in chrome and it tried to download a file, please see pic below

ah, yes. There's your problem # 2 ;)
It's a safe file, not sure how we can get around that... I'll see if I can have the text in a website url directly instead of in a file.

9
N.A.N.Y. 2019 / Re: NANY 2019: Shorthand 3_2
« on: April 09, 2019, 06:21 AM »
I tried to open the file with Scrambled Code name and I got error3.
Regards. :)

Hm. It seems to be something in AHK v2...

this v1 code works in v1 without a problem:
file := "C:\test dir\你好.txt"
run, % file

but this v2 code throws an error:
file := "C:\test dir\你好.txt"
run file

I'll see if I can get around that, somehow :)

10
N.A.N.Y. 2019 / Re: NANY 2019: Shorthand 3_2
« on: April 09, 2019, 06:01 AM »
One thing I need to make it clear is that I didn't modified any code in it.

I didn't doubt that, I asked to make sure it was the latest version, as there is always a possibility that the updater didn't work right or something like that.

Replace the contents of your start.bat with this:

REM @echo OFF
SET ShortHandFolder=%~s1
START %ShortHandFolder%app\AHKv2_x32.exe %ShortHandFolder%shorthand3_start.ahk >>%ShortHandFolder%log\batch.log

if %ERRORLEVEL% neq 0 goto ProcessError

:ProcessError
REM error detected running shorthand3_start.ahk: running the script directly instead
START %ShortHandFolder%app\AHKv2_x32.exe %ShortHandFolder%shorthand3_ahk2.ahk

:answer0
SET ShortHandFolder=
REM finished

Here is the content of the error1 comes from:
In   .\app\shorthand3_ahk2_updater.ahk
<!DOCTYPE html><html xml:lang="en" class="maestro" xmlns="http://www.w4.org/1999/xhtml"><head><script nonce="Gwr7GMPeiqNeO2AkPHvU">
window._goch_ = {};
window.addEventListener('click', function(event) {
    'use strict';
    for (var elm = event.target; elm; elm = elm.parentElement) {
        if (elm.id &&
            window._goch_.hasOwnProperty(elm.id) &&
            window._goch_[elm.id].call(elm, event) === false) {
            event.preventDefault();
        }
    }
}, true);


Hmmmmm, that looks like there is an issue with the file the shorthand updater script is trying to download.
What do you get when you the following link in your browser?
https://www.dropbox.com/s/0qb2arj1adl8iy9/shorthand3_ahk2_version.ini?dl=1

That's the file it should be trying to get, it gives version information and links for updated files.

I'm still working on the other issues.

Pages: prev1 [2] 3 4 5 6next
Go to full version