Search found 23 matches

by Albert Schenning
01 Sep 2022, 15:13
Forum: Scripts and Functions (v1)
Topic: Vis2 - Image to Text OCR()
Replies: 329
Views: 161161

Re: Vis2 - Image to Text OCR()

Is this tool also working under AHKv2 ?
by Albert Schenning
23 Aug 2022, 10:29
Forum: AutoHotkey Development
Topic: Will v2 ever hit the stable state?
Replies: 61
Views: 15411

Re: Will v2 ever hit the stable state?

I don´t understand why people think v2 is not stable, what problems are they having ? Can somebody please give example(s) of what you mean by that so it can be checked by the development team. Autohotkey is constantly being improved but that doesn´t mean it isn´t stable. I think 99,99% of the users ...
by Albert Schenning
14 Aug 2022, 16:36
Forum: Ask for Help (v2)
Topic: how to get a simple matrix (ArrayOfArrays) working ??
Replies: 8
Views: 1687

Re: how to get a simple matrix (ArrayOfArrays) working ??

Updated the script of AHK_user with lots of MsgBoxes for us newbies. #SingleInstance Force #Requires AutoHotkey v2.0-beta.1 class Array2D { __new(Table:="") { this.value := Table } ; to use a syntax like Array2D[1,3] instead of Array2D[1][3] __Item[x, y] { get => ( this.array[y][x]) set { if (this.a...
by Albert Schenning
13 Aug 2022, 10:51
Forum: Ask for Help (v2)
Topic: how to get a simple matrix (ArrayOfArrays) working ??
Replies: 8
Views: 1687

Re: how to get a simple matrix (ArrayOfArrays) working ??

thx very much, all i needed to know probably, I will experiment a bit with the suggested solutions.
by Albert Schenning
13 Aug 2022, 03:29
Forum: Ask for Help (v2)
Topic: how to get a simple matrix (ArrayOfArrays) working ??
Replies: 8
Views: 1687

Re: how to get a simple matrix (ArrayOfArrays) working ??

I just deleted the original a minute ago because i think this is simpler to understand my question about the topic.
by Albert Schenning
13 Aug 2022, 01:17
Forum: Ask for Help (v2)
Topic: how to get a simple matrix (ArrayOfArrays) working ??
Replies: 8
Views: 1687

how to get a simple matrix (ArrayOfArrays) working ??

I hope somebody can get me on the rigth track with the following script #Requires Autohotkey v2.0-beta.1+ #SingleInstance Force ; only run 1 instance of this script ; See it as an Excel sheet where A1 = 11, A2 = 12, A3=13,...etc, B1=21, B2 = 22... etc ; 11 12 13 14 15 ; these values could ofcourse b...
by Albert Schenning
09 Aug 2022, 22:29
Forum: Ask for Help (v2)
Topic: how to get a working powershell command working in AHK v2 ?
Replies: 12
Views: 2727

Re: how to get a working powershell command working in AHK v2 ?

If it was only for a few characters that went strange i would try on but it just produces totally rubbish. One realy can´t explain how even the --screen -rect should look like. I tried all kind of numbers for the coordinates and even there i see not much logic. So i stopped, after a few hours experi...
by Albert Schenning
09 Aug 2022, 14:29
Forum: Ask for Help (v2)
Topic: how to get a working powershell command working in AHK v2 ?
Replies: 12
Views: 2727

Re: how to get a working powershell command working in AHK v2 ?

damm, i get numbers that i can´t explain so still not working correctly.
by Albert Schenning
09 Aug 2022, 12:24
Forum: Ask for Help (v2)
Topic: how to get a working powershell command working in AHK v2 ?
Replies: 12
Views: 2727

Re: how to get a working powershell command working in AHK v2 ?

solved !! This worked

Code: Select all

#Requires AutoHotkey v2.0-beta.1
sleep 3000
A_Clipboard := ""
Run('C:\Capture2Text\Capture2Text_CLI.exe --screen-rect "1 1 1130 900" --whitelist "0123456789" --clipboard')
sleep 3000
msgbox A_Clipboard
[Mod edit: [code][/code] tags added.]
by Albert Schenning
09 Aug 2022, 12:19
Forum: Ask for Help (v2)
Topic: how to get a working powershell command working in AHK v2 ?
Replies: 12
Views: 2727

Re: how to get a working powershell command working in AHK v2 ?

i have enlarged the rectangle to search but still no results. The following script still keeps returning an empty clipboard,so both statements don`t fill the clipboard. The powershell command : C:\Capture2Text\Capture2Text_CLI.exe --screen-rect "1 1 1130 900" --whitelist "0123456789" returns lots of...
by Albert Schenning
09 Aug 2022, 08:01
Forum: Ask for Help (v2)
Topic: how to get a working powershell command working in AHK v2 ?
Replies: 12
Views: 2727

Re: how to get a working powershell command working in AHK v2 ?

Run '(C:\Capture2Text\Capture2Text_CLI.exe --screen-rect "1000 335 1130 350" --whitelist "0123456789")'

not working, see screenshot

Error: Failed attempt to launch program or document
by Albert Schenning
09 Aug 2022, 07:41
Forum: Ask for Help (v2)
Topic: how to get a working powershell command working in AHK v2 ?
Replies: 12
Views: 2727

how to get a working powershell command working in AHK v2 ?

Any idea how to get the following Capture2Text_CLI instruction working in the powershell prompt this works C:\Capture2Text\Capture2Text_CLI.exe --screen-rect "1000 335 1130 350" --whitelist "0123456789" it gives the correct result : 736927 But how to run this command in AHK v2 ? i tried : Run "(C:\C...
by Albert Schenning
17 Jul 2022, 18:28
Forum: Ask for Help (v2)
Topic: WinWaitActive with number in WinTitle error Topic is solved
Replies: 6
Views: 1064

Re: WinWaitActive with number in WinTitle error Topic is solved

I will try to find out first myself. Thx in advance
by Albert Schenning
17 Jul 2022, 18:21
Forum: Ask for Help (v2)
Topic: WinWaitActive with number in WinTitle error Topic is solved
Replies: 6
Views: 1064

Re: WinWaitActive with number in WinTitle error Topic is solved

---------------------------
Bookup-COW_functions.ahk
---------------------------
Error at line 50.

Line Text: WinWaitActive("Chess Openings Wizard Professional BETA build 151", , 5)
Error: Missing parameter name.

The program will exit.
---------------------------
OK
---------------------------
by Albert Schenning
17 Jul 2022, 17:36
Forum: Ask for Help (v2)
Topic: WinWaitActive with number in WinTitle error Topic is solved
Replies: 6
Views: 1064

WinWaitActive with number in WinTitle error Topic is solved

Need help with following problem :

WinWaitActive("Program_name", , 5) ; this will work

but if the WinTitle contains a number i get an error

WinWaitActive("Program_name 100", , 5) ; gives an error on 100

any ideas ??


[Moved topic from “AutoHotkey v2 Scripts and Functions”]
by Albert Schenning
04 Mar 2022, 20:36
Forum: Adventure IDE
Topic: Adventure - General-Purpose IDE, Lightweight Text Editor
Replies: 90
Views: 56481

Re: Adventure - General-Purpose IDE, Lightweight Text Editor

Is Adventure still supported ?? I see no reaction from the development for a month now.
by Albert Schenning
11 Feb 2022, 09:44
Forum: Adventure IDE
Topic: Adventure - General-Purpose IDE, Lightweight Text Editor
Replies: 90
Views: 56481

Re: Adventure - General-Purpose IDE, Lightweight Text Editor

Are there any plans to implement a userDefineLang_AHK.xml like there is in Notepad++ or am i overlooking something ?? It would greatly improve the syntax color highlighting i think. It would then be possible to highlight the correct words for the Autohotkey_v2 syntax, now only the words used in Auto...
by Albert Schenning
09 Feb 2022, 20:47
Forum: Adventure IDE
Topic: Autohotkey v2 Syntax file
Replies: 1
Views: 2831

Autohotkey v2 Syntax file

Today i have created a file for the syntax of Autohotkey v2 (directory : Autocomplete filename: Autohotkey.ac) Should be complete but please let me know if some syntax is missing :-) <?xml version="1.0" encoding="UTF-8"?> <AutoComplete version="2.0"> <language id="AHK"> <key name="#ClipboardTimeout"...

Go to advanced search