Search found 51 matches

by d1niel84
06 Aug 2023, 12:16
Forum: Scripts and Functions (v1)
Topic: Vis2 - Image to Text OCR()
Replies: 329
Views: 163159

Re: Vis2 - Image to Text OCR()

Hello, how can i use the the OCR() function without the overlayed text?
Just select the area and get the text as a return value.

Thanks
Daniel
by d1niel84
01 Aug 2023, 11:43
Forum: Ich brauche Hilfe
Topic: DllCall() DLL von einem Messgerät auslesen Topic is solved
Replies: 16
Views: 1959

Re: DllCall() DLL von einem Messgerät auslesen Topic is solved

Ja genau hab ein AE703. Beim Ausführen sagt der Rückgabewert alles OK aber auf dem Gerät tut sich nichts. :think: Alles andere Funktioniert jetzt richtig gut :dance: Auch das Auslesen der aktuellen Werte. Vielen Dank ██╗██╗ ██╗███████╗████████╗ ███╗ ███╗███████╗ ██║██║ ██║██╔════╝╚══██╔══╝ ████╗ ███...
by d1niel84
01 Aug 2023, 03:58
Forum: Ich brauche Hilfe
Topic: DllCall() DLL von einem Messgerät auslesen Topic is solved
Replies: 16
Views: 1959

Re: DllCall() DLL von einem Messgerät auslesen Topic is solved

Danke Jetzt schaut es gut aus. Musste bei den Strings noch `n`r entfernen. Ansonsten hat es in der MessageBox direkt nach der ersten Variable nichts mehr angezeigt. Das Nullen des Geräts mit AstasDllNull(int list_idx) funktioniert soweit. Und noch was , die Schreibweise ist doch richtig für den Befe...
by d1niel84
31 Jul 2023, 08:41
Forum: Ich brauche Hilfe
Topic: DllCall() DLL von einem Messgerät auslesen Topic is solved
Replies: 16
Views: 1959

Re: DllCall() DLL von einem Messgerät auslesen Topic is solved

Jetzt schaut es gut aus.
Musste bei den Strings noch `n`r entfernen. Ansonsten hat es in der MessageBox direkt nach der ersten Variable nichts mehr angezeigt.

Das Nullen des Geräts mit AstasDllNull(int list_idx) funktioniert soweit. Leider kommen keine Werte aus dem AstasDllReadData.
by d1niel84
31 Jul 2023, 06:08
Forum: Ich brauche Hilfe
Topic: DllCall() DLL von einem Messgerät auslesen Topic is solved
Replies: 16
Views: 1959

Re: DllCall() DLL von einem Messgerät auslesen Topic is solved

Was mir auch aufgefallen ist wenn ich das Gerät per USB verbinde, Zeile 10 auskommentiere (eigentlich nur die Versionsinfo) bringt er als return code bei AstasDllSearch keinen Wert. Sollte Anzahl der gefunden Geräte zurück geben. Wenn die Zeile 10 ausgeführt wird kommt 1 bei return code in AstasDllS...
by d1niel84
31 Jul 2023, 04:30
Forum: Ich brauche Hilfe
Topic: DllCall() DLL von einem Messgerät auslesen Topic is solved
Replies: 16
Views: 1959

Re: DllCall() DLL von einem Messgerät auslesen Topic is solved

Du hast recht. 1 Char = Byte. Denkfehler.
Hab die VarSetCapacity auf 792 geändert.

Beim Aufruf der StrGet Funktion stürzt das Programm ab ohne Fehlermeldung. Irgendwas wird mit dem Speicher nicht passen.
by d1niel84
30 Jul 2023, 12:16
Forum: Ich brauche Hilfe
Topic: DllCall() DLL von einem Messgerät auslesen Topic is solved
Replies: 16
Views: 1959

Re: DllCall() DLL von einem Messgerät auslesen Topic is solved

Hi, ich versteh es nicht. :headwall: Hab die Speichergröße auf 27Byte gemacht. 6 x 32 und 3 x 8 typedef struct { DWORD usb_hid_idx; // USB-Geraete-Index -> interne Verwendung! int open; // Zustand -> 1=Open / 0=Close char vid_pid[256]; // VID/PID-String char dev_info[256]; // GeräteInfo-String char ...
by d1niel84
28 Jul 2023, 15:36
Forum: Ich brauche Hilfe
Topic: DllCall() DLL von einem Messgerät auslesen Topic is solved
Replies: 16
Views: 1959

DllCall() DLL von einem Messgerät auslesen Topic is solved

Hallo zusammen, ich nutze auf der Arbeit ein Messgerät der Firma AST. Diese bieten zusätzlich zu ihrer Software eine DLL für das Auslesen des Messgerätes an. Jetzt wollte ich zum testen die Version auslesen, bekomme aber keinen richtigen Rückgabewert wie in der Doku beschrieben wird. Hier gibts die ...
by d1niel84
13 Jul 2023, 10:39
Forum: Ask for Help (v1)
Topic: GDI - Update existing image with new one Topic is solved
Replies: 1
Views: 195

GDI - Update existing image with new one Topic is solved

Hello, I want to change/refresh the image without reload the program. Just press F1 an refresh the image. ( if i changed the image file in the ini file). It works once but when i do this again the image is gone. How can i fix this? pBitmap := Gdip_CreateBitmapFromFile(FileName "\" iniImageNormal) F1...
by d1niel84
20 May 2023, 03:55
Forum: Ask for Help (v1)
Topic: Edit allow only numbers and dot Topic is solved
Replies: 2
Views: 319

Edit allow only numbers and dot Topic is solved

Hi, I need an edit field that only allows numbers and dot. Other keys are blocked.
I need something like +number but with a dot.
I think I saw something like this once with regex but don't remember how
Can you help me?

BR Daniel
by d1niel84
11 Apr 2023, 05:36
Forum: Ask for Help (v1)
Topic: Second right-click menu
Replies: 0
Views: 194

Second right-click menu

Hi, If I press the right mouse button longer than 300ms, the alternative menu opens. The original right-click behavior remains the same. (click and drag&drop) But if the menu on the desktop opens upwards, the normal right-click menu is opened. Thats strange.... I tried to move the mouse 1px because ...
by d1niel84
24 Oct 2022, 00:32
Forum: Ask for Help (v1)
Topic: Disable space char at the beginning of edit field Topic is solved
Replies: 3
Views: 305

Re: Disable space char at the beginning of edit field Topic is solved

I tried a simmilar solution but with A_GuiControl.
Thanks for the example. Now it works and i fixed it with %A_GuiControl%
by d1niel84
23 Oct 2022, 14:18
Forum: Ask for Help (v1)
Topic: Disable space char at the beginning of edit field Topic is solved
Replies: 3
Views: 305

Disable space char at the beginning of edit field Topic is solved

Hi,

i use a edit field. How to disable space char at the beginning when i type?
The first char must be something other than a space. Later is space char no problem.

thx Daniel
by d1niel84
08 Oct 2022, 14:39
Forum: Ask for Help (v1)
Topic: Dynamic menu widht problem Topic is solved
Replies: 7
Views: 593

Re: Dynamic menu widht problem Topic is solved

@d1niel84, replace DeleteAll with Delete: Gui, Add, Button, gButton1, short Gui, Add, Button, gButton2, long Gui, Show Return Button1: Menu, ButtonMenu, Add Menu, ButtonMenu, Delete Menu, ButtonMenu, Add, short, empty Menu, ButtonMenu, Show Return Button2: Menu, ButtonMenu, Add Menu, ButtonMenu, De...
by d1niel84
06 Oct 2022, 15:33
Forum: Ask for Help (v1)
Topic: Order of columns in a list-view Topic is solved
Replies: 3
Views: 440

Re: Order of columns in a list-view Topic is solved

flyingDman wrote:
06 Oct 2022, 14:00
You need to list the 4 columns in the array. For example replace line 52 with this: LV_EX_SetColumnOrder(HLV, [3,2,1,4])
Perfect, thanks that makes sense.I was always focused on the 1,2,3 in the header
by d1niel84
06 Oct 2022, 15:29
Forum: Ask for Help (v1)
Topic: Dynamic menu widht problem Topic is solved
Replies: 7
Views: 593

Re: Dynamic menu widht problem Topic is solved

mikeyww wrote:
06 Oct 2022, 14:09
Sounds like it could warrant a @teadrinker solution. 8-)
Yes, but only for 5 minutes.
Then I need a solution ;)
by d1niel84
06 Oct 2022, 13:59
Forum: Ask for Help (v1)
Topic: Dynamic menu widht problem Topic is solved
Replies: 7
Views: 593

Re: Dynamic menu widht problem Topic is solved

Thanks mikeyww. Above was a example. What i want to say is that I use the same menu but with different content. I load the content dynamicly
Not two different menus.
by d1niel84
06 Oct 2022, 13:33
Forum: Ask for Help (v1)
Topic: Order of columns in a list-view Topic is solved
Replies: 3
Views: 440

Order of columns in a list-view Topic is solved

I tried the LV_Ex sample from https://www.autohotkey.com/boards/viewtopic.php?t=1256 with the LV_EX_SetColumnOrder function. But it was not possible to change the order. Anyone knows how to fix this? #NoEnv #Include LV_EX.ahk ; ------------------------------------------------------------------------...

Go to advanced search