Search found 418 matches

by hoppfrosch
27 Jan 2021, 00:51
Forum: Forum Issues
Topic: Captcha???
Replies: 4
Views: 149

Re: Captcha???

:clap: Thanks for your good work here!
by hoppfrosch
26 Jan 2021, 03:18
Forum: Forum Issues
Topic: Captcha???
Replies: 4
Views: 149

Captcha???

Since today, very often when I try to connect to https://www.autohotkey.com/boards a Cloudflare-Captcha page pops up .... after verifying TWO captchas I am redirected to https://www.autohotkey.com/boards/ :problem: Has anything been changed? Why do I have to verify TWO captchas? Never ever seen a ca...
by hoppfrosch
26 Jan 2021, 02:08
Forum: AutoHotkey v2 Help
Topic: AHK v2 GUI SubClass-ing example (and any other classes?) Topic is solved
Replies: 13
Views: 362

Re: AHK v2 GUI SubClass-ing example (and any other classes?) Topic is solved

What I don't understand is: What happens here? OnMessage(0x201,g) ; WM_LBUTTONDOWN As documentation says, the second argument is a "functions name or a functions object". As fas as I understand "g" is a class instance in your example ... What is expected to happen/to be called if the message WM_LBUT...
by hoppfrosch
08 Jan 2021, 00:32
Forum: Offtopic
Topic: Are you a 'lefty'?
Replies: 5
Views: 212

Re: Are you a 'lefty'?

Within a multi-monitor setup I place my taskbar between the two most used monitors to have short ways to the main taskbar from those monitors.
Usually I work in a two monitor setup with left monitor as main monitor, so currently my taskbar is on the right side.
by hoppfrosch
06 Jan 2021, 07:07
Forum: AutoHotkey v2 Help
Topic: How to port pointer arithmethics?
Replies: 3
Views: 115

Re: How to port pointer arithmethics?

Hello Helgef, happy new year from here as well! Thanks for your response - too much new to consider :-). Haven't noticed the buffer-object yet :-/ So my example would be ported as following? .. channelDataSize := numberOfEntries * 4 channelsData := BufferAlloc(params.channels * channelDataSize, 0) ;...
by hoppfrosch
06 Jan 2021, 01:39
Forum: AutoHotkey v2 Help
Topic: How to port pointer arithmethics?
Replies: 3
Views: 115

How to port pointer arithmethics?

Hi, I am trying to port a script from AHK V1 to AHK V2 a122. How to port constructs like this (pointer arithmetics)?: ... channelDataSize := numberOfEntries * 4 channelsData := BufferAlloc(params.channels * channelDataSize, 0) ; <<<< already ported DllCall("GdiPlus\GdipBitmapGetHistogram" , "Ptr" , ...
by hoppfrosch
06 Jan 2021, 00:48
Forum: Offtopic
Topic: Text file Diff and Merge
Replies: 4
Views: 146

Re: Text file Diff and Merge

Why not use the same tools on Windows as on Unix? see for example: https://stackoverflow.com/questions/6877238/what-is-the-windows-equivalent-of-the-diff-command a.) Yes - as far as I understand your request, you are looking for tools creating a patch-file. The common tool for creating patch files v...
by hoppfrosch
29 Dec 2020, 11:45
Forum: Scripts and Functions
Topic: [Script] Quick Picto Viewer v4
Replies: 168
Views: 30630

Re: [Script] Quick Picto Viewer and Fast Slideshow creator

Nothing else to say, but: Superb! :dance:

Thank you , Marius - great work!
by hoppfrosch
03 Dec 2020, 07:36
Forum: AutoHotkey v2 Help
Topic: Create nested class instance from variable Topic is solved
Replies: 5
Views: 704

Re: Create nested class instance from variable Topic is solved

As a non-english native you have to read this, make mental notes AND understand all the intrisic details of those sentences :lol:
by hoppfrosch
03 Dec 2020, 00:22
Forum: AutoHotkey v2 Help
Topic: Create nested class instance from variable Topic is solved
Replies: 5
Views: 704

Re: Create nested class instance from variable Topic is solved

:thumbup: Great-works exactly the way I desired.

Just to understand it:

Code: Select all

class a{ }
C := a
Obviously classnames ("a") cannot be used as variable name anymore. Haven't noticed this yet.
Where can I find documentation about this? Don*t have even an idea where to search for ... :crazy:
by hoppfrosch
02 Dec 2020, 06:55
Forum: AutoHotkey v2 Help
Topic: Create nested class instance from variable Topic is solved
Replies: 5
Views: 704

Create nested class instance from variable Topic is solved

Hello everybody I want to create an instance of a nested class. The class name is given through a variable. class a {} o1 := a.new() ; Works cn := "a" o2 := %cn%.new() ; Works class b { class c {} } o3 := b.c.new() ; Works cn := "b.c" o4 := %cn%.new() ; !!!! Fails! "Variable name contains an illegal...
by hoppfrosch
23 Jul 2020, 00:03
Forum: Ask For Help
Topic: How can I simplify my code with RegExReplace?
Replies: 6
Views: 2595

Re: How can I simplify my code with RegExReplace?

In RegEx plain braces are used to capture groups - using the (?: .....) syntax defines a NON-CAPTURING group...

For a good expalantion of capturing vs. non-capturing group see https://stackoverflow.com/questions/3512471/what-is-a-non-capturing-group-in-regular-expressions
by hoppfrosch
11 May 2020, 00:28
Forum: Ich brauche Hilfe
Topic: Script Manager / AHK Help Style Template
Replies: 9
Views: 1044

Re: Script Manager / AHK Help Style Template

Lange Geschichte - kurzes Summary: Es gab schon einige Versuche ein vereinheitliches System für UDFs für Autohotkey zu schaffen. Das passierte auf unterschiedlichen Komplexitätsebenen (angefangen von Vorschlägen zu standardisierten Dokumentationsheadern bis hin zu ausgewachsenen Paketverwalungssyste...
by hoppfrosch
01 May 2020, 11:29
Forum: Ich brauche Hilfe
Topic: Duplicate eliminieren
Replies: 16
Views: 1333

Re: Duplicate eliminieren

@BNOLI : Richtig - @haichen hat es schon beschrieben. Wenn die eigentlichen Daten zu identischen Schlüsselwerten nicht eindeutig sind (das hatte @just me ja bereits am Anfang des Threads gefragt), muss man die Daten natürlich auch gegeneinander validieren um sicherzustellen, die gewünschten (korrekt...
by hoppfrosch
30 Apr 2020, 02:45
Forum: Ich brauche Hilfe
Topic: Duplicate eliminieren
Replies: 16
Views: 1333

Re: Duplicate eliminieren

Zum OP: Was ich in solchen Fällen in der Regel mache: 1.) Ich lese einen Datensatz ein - und extrahiere dann den String bei dem ich Duplikate finden will - also hier: "C#1, C#2". 2.) Gegebenfalls homogenisiere ich diesen String - damit erreiche ich dass unterschiedliche Schreibweisen zum gleich Schl...
by hoppfrosch
28 Apr 2020, 06:04
Forum: Ich brauche Hilfe
Topic: Duplicate eliminieren
Replies: 16
Views: 1333

Re: Duplicate eliminieren

Hmmm .... du solltest vieleicht noch beschreiben welche Daten du miteinander vergleichen willst. Was ist der Index? - Was sind die Daten zum Index?
by hoppfrosch
16 Apr 2020, 00:35
Forum: Ich brauche Hilfe
Topic: Straße und HausNr. trennen Topic is solved
Replies: 12
Views: 1626

Re: Straße und HausNr. trennen Topic is solved

Du kannst aber auch RegExMatch verwenden.

Ich hab mal folgenden RegEx für deine Beispiele zusammengebastelt:

Code: Select all

([äöüÄÖÜßa-zA-Z\-\. ]+)\s*(\d+.*)
Siehe: https://regex101.com/r/CxwaDX/1
by hoppfrosch
07 Apr 2020, 03:39
Forum: Ask For Help
Topic: Sending key to host while active RDP-session? Topic is solved
Replies: 1
Views: 306

Re: Sending key to host while active RDP-session? Topic is solved

Current solution:
  • RDP Client is in fullscreen mode
  • CtrlAltHome shows menubar of RDP-Window
  • Use standard keypresses to switch virtual desktops (WinShiftArrowLeft / WinShiftArrowRight)
No AutoHotkey needed here ...

Go to advanced search