Search found 54 matches

by pramach
16 Dec 2022, 05:09
Forum: Ask for Help (v1)
Topic: Access next key/value pair in For ..in loop
Replies: 5
Views: 539

Re: Access next key/value pair in For ..in loop

Sorry for late reply.

Creating the index outside was of sure my assumption :lol:
by pramach
10 Dec 2022, 09:59
Forum: Ask for Help (v1)
Topic: Access next key/value pair in For ..in loop
Replies: 5
Views: 539

Re: Access next key/value pair in For ..in loop

thanks a lot- So the solution is to put first all key's into a simple array in order to access than the simple array by index. But, to be honest, does this makes sense for big arrays with several hundred or thousands of items ? From a memory usage point of view I would say no :D OK, it depends. When...
by pramach
10 Dec 2022, 09:00
Forum: Ask for Help (v1)
Topic: Access next key/value pair in For ..in loop
Replies: 5
Views: 539

Access next key/value pair in For ..in loop

Hi Assuming I have an associative array with n key/value pairs. While looping through, I want to know the Key/value pair of the next element in the array. Something like ...: for k, v in myArray { if (k = "ABC") msgbox % myArrayNextKey } I tried with myArray.Next(k2,v2) but did not get any value ins...
by pramach
14 Sep 2022, 08:02
Forum: Scripts and Functions (v1)
Topic: [lib] CSV - AutoHotkey library for working with CSV Files
Replies: 39
Views: 27002

Re: [lib] CSV - AutoHotkey library for working with CSV Files

Hi and thanks for the library I have some questions where any help is appreciated When I use a different delimiter in CSV_Load than a comma, the function Format4CSV is still checking for a comma. Should it not be the CSV_Delimiter used in CSV_Load ? Assuming I have a CSV with 5 columns (A, B, C, D, ...
by pramach
05 Oct 2018, 07:15
Forum: Ask for Help (v1)
Topic: Unicode symbol in Gui text
Replies: 3
Views: 1190

Re: Unicode symbol in Gui text

Which of the AHK versions have you installed ? The Unicode one ?
by pramach
05 Oct 2018, 06:59
Forum: Ask for Help (v1)
Topic: Create a list of synonym combinations
Replies: 0
Views: 581

Create a list of synonym combinations

Hi there Maybe someone could give me a tip in how to solve a problem. Assuming I have following string: John,Paul,George,Ringo Also assuming I have following synonyms - John = Piano, Guitar - Paul = Piano, Guitar, Vocals - George = Guitar - Ringo = Drums As a result, I want to have now all possible ...
by pramach
06 Apr 2018, 08:59
Forum: Ich brauche Hilfe
Topic: Objekt array Topic is solved
Replies: 9
Views: 2657

Re: Objekt array Topic is solved

Yep, so funktioniert es.
Danke.
by pramach
06 Apr 2018, 08:56
Forum: Ich brauche Hilfe
Topic: Objekt array Topic is solved
Replies: 9
Views: 2657

Re: Objekt array Topic is solved

OK, ich versuche es mit dem Clone ..
by pramach
06 Apr 2018, 08:55
Forum: Ich brauche Hilfe
Topic: Objekt array Topic is solved
Replies: 9
Views: 2657

Re: Objekt array Topic is solved

P.S. Wenn mann immer direkt nach der Anweisung AWS[ ID ] := items eine msgbox einfügt, z.B. msgbox % "Kind: " . ID . " = " . AWS[ ID ].Type Dann sieht man schön wie a) die ID hochgezählt wird und b) der richtige Type Wert vorhanden ist. Schaut man sich nun aber nach der Anweisung AWS[ ID ] := items ...
by pramach
06 Apr 2018, 08:46
Forum: Ich brauche Hilfe
Topic: Objekt array Topic is solved
Replies: 9
Views: 2657

Re: Objekt array Topic is solved

Hi erstmal Danke, aber ich bin mir nicht sicher ... items[ "Type" ] := "KIND" ID += 1 AWS[ ID ] := items Das müsste mir doch das Array 1 mit items (inkl Type = KIND) anlegen. Das Nachfolgende items[ "Type" ] := "COLLECT" ID += 1 AWS[ ID ] := items dann dementsprechend das Array 2 mit gleichen items ...
by pramach
06 Apr 2018, 07:27
Forum: Ich brauche Hilfe
Topic: Objekt array Topic is solved
Replies: 9
Views: 2657

Objekt array Topic is solved

Hallo Ich habe ein etwas seltsames, mir nicht erklärliches Verhalten zusammen mit einem Object Array. Basis ist ein bestehendes Object Array, aus dem ich eine TreeView fülle und das Object Array dabei erweitere ... AWS := Object() AWS.INSERT( "X1", { Name: "AAA", Kind: "K1", Collect: "#", Group: "XX...
by pramach
14 Mar 2018, 08:01
Forum: Ich brauche Hilfe
Topic: Objekte mit alphanumerischen Schlüssel Topic is solved
Replies: 3
Views: 1419

Re: Objekte mit alphanumerischen Schlüssel Topic is solved

Funktioniert so für mich. Herzlichen Dank.
by pramach
14 Mar 2018, 06:47
Forum: Ich brauche Hilfe
Topic: Objekte mit alphanumerischen Schlüssel Topic is solved
Replies: 3
Views: 1419

Re: Objekte mit alphanumerischen Schlüssel Topic is solved

Ok danke. Probiere ich nachher gleich aus.
by pramach
14 Mar 2018, 06:06
Forum: Ich brauche Hilfe
Topic: Objekte mit alphanumerischen Schlüssel Topic is solved
Replies: 3
Views: 1419

Objekte mit alphanumerischen Schlüssel Topic is solved

Hallo Ich stehe gerade auf dem Schlauch .... #NoEnv SendMode Input SetWorkingDir %A_ScriptDir% #persistent #SingleInstance, force HELPER := Object() HELPER["aaaa"] := "aaa" sKey := "bbb" HELPER[sKey] := "bbb" msgbox % HELPER.maxindex() " - " HELPER.Length() Egal ob ich HELPER als [], Array(), {} ode...
by pramach
21 Feb 2018, 11:04
Forum: Skripte und Funktionen
Topic: Unicode Enter
Replies: 22
Views: 17324

Re: Unicode Enter

Hi Bin gerade erst auf dein Skript gestossen. Cool. Danke. Was mir aufgefallen ist ... - Zeile 14: "filefound := true" brauchst du für was ? - In deiner Datei "german.txt" starten einige Bezeichner mit einem Grossbuchstaben (z.B. Taschenrechner) und andere nicht (z.B. weihnachtsbaum). Hat das einen ...
by pramach
08 Feb 2018, 01:57
Forum: Scripts and Functions (v1)
Topic: [Script] enlarge any window at "maximize" to max size to remain moveable on multiple monitors
Replies: 4
Views: 2481

Re: [Script] enlarge any window at "maximize" to max size to remain moveable on multiple monitors

Hmmmm Hi Sven I made some very simple tryouts #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDi...
by pramach
07 Feb 2018, 06:06
Forum: Scripts and Functions (v1)
Topic: AutoXYWH() - Move control automatically when GUI resized
Replies: 107
Views: 85410

Re: AutoXYWH() - Move control automatically when GUI resized

Don't know if this is the most elegant way to solve it ... But I would do it like that. As the clist in AutoXYWH function is not optional, you have to pass an empty control list. Gui, Add, Edit, ve1 w600 h100 x10 y10 Gui, Add, Edit, ve2 w600 h100 Gui, Add, Button, x10 Y+10 w150 vb1 gResize, Resize G...
by pramach
07 Feb 2018, 03:13
Forum: Scripts and Functions (v1)
Topic: AutoXYWH() - Move control automatically when GUI resized
Replies: 107
Views: 85410

Re: AutoXYWH() - Move control automatically when GUI resized

Btw, du kannst auch im deutschen Forum einen Thread dazu eröffnen ;-)
by pramach
07 Feb 2018, 03:11
Forum: Scripts and Functions (v1)
Topic: AutoXYWH() - Move control automatically when GUI resized
Replies: 107
Views: 85410

Re: AutoXYWH() - Move control automatically when GUI resized

SL5 wrote:sorry i missunderstud.
may close the control and start again?
Sorry but now I do not understand your wish !

Go to advanced search