Search found 376 matches

by hoppfrosch
04 Sep 2019, 23:16
Forum: AutoHotkey v2 Development
Topic: AHK Unit Testing
Replies: 8
Views: 1042

Re: AHK Unit Testing

lexikos wrote:
04 Sep 2019, 03:36
8e083e7 is the version I was using last.
Thank you - I'll be using it .... :thumbup:
I second guest3456's request for creating a pull request.
by hoppfrosch
03 Sep 2019, 23:44
Forum: AutoHotkey v2 Development
Topic: AHK Unit Testing
Replies: 8
Views: 1042

Re: AHK Unit Testing

You are welcome to create some unit tests. If they can be completely automated, I will use them. I have unit tests for Object.ahk, which don't work anymore because they're written for a previous alpha. Yunit was a bit troublesome since Yunit uses objects, and Object.ahk changes the way they work. I...
by hoppfrosch
03 Sep 2019, 23:34
Forum: Other Utilities & Resources
Topic: Boostnote [App]
Replies: 0
Views: 713

Boostnote [App]

Boostnote Boost Happiness, Productivity and Creativity. An open source markdown editor for Mac, Windows and Linux app. The intuitive and stylish note taking tool for developers. I personally use it as notepad and snippetkeeper - easy to use since you write everything in markdown. Syntax highlightin...
by hoppfrosch
03 Sep 2019, 23:19
Forum: Ask For Help
Topic: [REGEX] How to capture any color text value on the fly ? Topic is solved
Replies: 15
Views: 1148

Re: [REGEX] How to capture any color text value on the fly ? Topic is solved

A pure regex-solution to match your 0...255 triples - it uses a more specialized regex than your simple \d{1-3} Thanks, could you make it so it also match 255,0,000 or 12,00,07 format ? For sure ... https://regex101.com/r/iJ3fUc/1: The regex has to be: re_255 := "\b([0-1]{0,1}[0-9]{0,1}[0-9]|2[0-4]...
by hoppfrosch
03 Sep 2019, 03:42
Forum: Ask For Help
Topic: [REGEX] How to capture any color text value on the fly ? Topic is solved
Replies: 15
Views: 1148

Re: [REGEX] How to capture any color text value on the fly ? Topic is solved

A pure regex-solution to match your 0...255 triples - it uses a more specialized regex than your simple \d{1-3} (https://regex101.com/r/5hwzOS/1) var= ( try 800000 777,0,0 kldjfdoifj 12,12,3 dfjiosjf jksdi 8000AA 128,0,0 125,125,125|255,254,253 0xffaabb FF0000 256,0,0 FFA500 257,165,0 FFFF00 550,255...
by hoppfrosch
31 Aug 2019, 11:19
Forum: Tips and Tricks
Topic: list of interfaces with method numbers
Replies: 2
Views: 1093

Re: list of interfaces with method numbers

Just for completeness and to highlight/remember a forgotten gem:
maul-esel once presented "AHK classes that implement COM interfaces": COM-Classes
by hoppfrosch
25 Aug 2019, 22:40
Forum: Offtopic
Topic: I decided to read books
Replies: 7
Views: 1255

Re: I decided to read books

The Epic of Gilgamesh
by hoppfrosch
06 Aug 2019, 23:38
Forum: Scripts and Functions
Topic: [module] Mouse gestures
Replies: 3
Views: 1712

Re: [module] Mouse gestures

Have a look here:

https://www.autohotkey.com/boards/viewtopic.php?p=237927#p237927

There is an archive available, where the missing file should be part of (at least the file is listed as being member of the archive)

Hope that helps
by hoppfrosch
26 Jul 2019, 00:16
Forum: Ask For Help
Topic: Using RegExMatch with a "range" of expressions Topic is solved
Replies: 4
Views: 299

Re: Using RegExMatch with a "range" of expressions Topic is solved

You might use this regular expression to match only numbers greater/equal than 6: \s+([6-9]|[1-9]\d{1,})\s+ In detail: \s+ ;one or more spaces ([6-9]|[1-9]\d{1,}) ;number matching [6-9] ;one digit from range 6-9 ==> matches numbers 6 to 9 | ; OR [1-9]\d{1,} ;one digit from range 1 to 9 followed by a...
by hoppfrosch
21 Jun 2019, 04:44
Forum: Editors
Topic: Visual Studio Code Support
Replies: 16
Views: 17144

Re: Visual Studio Code Support

An alternative to Code Runner to run ahk-files from within VSCode, might be using Tasks . To get this running, do the following: Create a subfolder named .vscode within your working directory Create a file named tasks.json within folder .vscode Put the following contents into tasks.json { // See htt...
by hoppfrosch
20 Jun 2019, 22:56
Forum: Scripts and Functions
Topic: Cross Reference List (XRef)
Replies: 34
Views: 9761

Re: Cross Reference List (XRef)

The download link from OP leads to an error ... "Error (404) - We can't find the page you're looking for." (https://bit.ly/2nmi8Id -> https://www.dropbox.com/s/dl/ast2uf4e7uzrxg9/XRef.zip)

You should consider, hosting it on github (or similar)
by hoppfrosch
14 May 2019, 01:32
Forum: Ask For Help
Topic: Why does "Error: No object to invoke" occur here? Topic is solved
Replies: 8
Views: 714

Re: [a100 ... a103] Why does "Error: No object to invoke" occur here? Topic is solved

@swagfag , @aseiot : Thanks

That was it ... silly me :headwall: :crazy: : I used a variable named json at several places - and used a class named "JSON" as well

#warn classoverwrite showed me this... Renaming the variables solved the problem :bravo:
by hoppfrosch
13 May 2019, 23:48
Forum: Ask For Help
Topic: Why does "Error: No object to invoke" occur here? Topic is solved
Replies: 8
Views: 714

Re: [a100 ... a103] Why does "Error: No object to invoke" occur here? Topic is solved

The error message means that you tried to invoke a string or number, and the operation was not handled by the default base object. That is, obj2 := JSON.Load(x) attempts to invoke JSON , which is not an object . There is no object. :think: Just to understand: Why is the first call obj := JSON.Load(...
by hoppfrosch
13 May 2019, 01:35
Forum: Ask For Help
Topic: Why does "Error: No object to invoke" occur here? Topic is solved
Replies: 8
Views: 714

Why does "Error: No object to invoke" occur here? Topic is solved

What does the error message " Error: No object to invoke ." mean exactly? When does it occur? I've got the following code sequence (excerpt), where the error " Error: No object to invoke. " occurs - but I cannot figure out, why this happens... Using latest AHK2 (a100 to a103) settings := A_ScriptDir...
by hoppfrosch
13 May 2019, 00:38
Forum: Wish List
Topic: [Request]: Official Library & Wrapper
Replies: 102
Views: 17023

Re: [Request]: Official Library & Wrapper

If it isn't a AHK authored solution I'm not using it :-) not going install a node app (yuck) or chocolatey (double yuck) for what is essentially a simple "download and copy to folder" script. It is not the managing script but how to organise/setup the library portal what matters - the rest is fairl...
by hoppfrosch
10 Apr 2019, 00:37
Forum: Tutorials
Topic: COM Interfaces with AutoHotkey
Replies: 2
Views: 1641

COM Interfaces with AutoHotkey

Found a nice tutorial: COM Interfaces with AutoHotkey by maul-esel

Unless I haven't tested, whether everything is still working, it's a nice ad comprehensive introduction.

Go to advanced search