Search found 446 matches

by toralf
02 Jul 2018, 05:10
Forum: Ask For Help
Topic: transform XML object to AHK object
Replies: 8
Views: 220

Re: transform XML object to AHK object

Thank you so much for your assistance. I have learned, a) that element tags are not necessarily unique among siblings. b) attribute names are unique within an element c) a element can either have children or a value If all the above are correct, I can understand that it is difficult to transform the...
by toralf
26 Jun 2018, 07:45
Forum: Ask For Help
Topic: transform XML object to AHK object
Replies: 8
Views: 220

transform XML object to AHK object

I want to read an XML file and extract data from it. Is there a way to get the data into a AHK array or object? So far I was trying this: FileRead, XMLText, % Path Xml := loadXML(XMLText) ObjTree(XML) Return loadXML(ByRef data) { o := ComObjCreate("MSXML2.DOMDocument.6.0") o.async := false...
by toralf
08 Jun 2018, 09:49
Forum: Ask For Help
Topic: Is it possible to make a gantt chart app with AHK?
Replies: 4
Views: 138

Re: Is it possible to make a gantt chart app with AHK?

If you do find a component that you could automate with AHK it might be possible.
But with the controls that come with AHK I doubt it would be worth a shot.
by toralf
07 Jun 2018, 10:20
Forum: Scripts and Functions
Topic: Simple script for selecting screen area
Replies: 5
Views: 412

Re: Simple script for selecting screen area

Thanks feiyue for sharing,
Could you please explain why you use a canvas GUI? It seems a lot of overhead. What is the benefit?
by toralf
06 Jun 2018, 14:30
Forum: Scripts and Functions
Topic: Get number of frames in an AVI Video File (learn about the usage of file read & pointers & number conversion)
Replies: 10
Views: 296

Re: Get number of frames in an AVI Video File (learn about the usage of file read & pointers & number conversion)

@burque505, only a suggestion: you might want to open the file only once, read all the info, store all the info in an associated array and return the array. This would reduce the file open/close steps significantly.
Just my 2 cents
by toralf
04 Jun 2018, 15:15
Forum: Ich brauche Hilfe
Topic: GUI: Auf Größenänderung reagieren
Replies: 3
Views: 202

Re: GUI: Auf Größenänderung reagieren

Dafür gibt es auch die Funktion AutoXYWH. Einfach in script section danach suchen.
by toralf
14 Feb 2018, 16:07
Forum: Ask For Help
Topic: How do I edit a drop down list displaying too many options? Topic is solved
Replies: 1
Views: 84

Re: How do I edit a drop down list displaying too many options? Topic is solved

You could add a specific string just above the hotkeys in a comment. In case that the hotkeys are for sure at the end of the file.
With loop/regex/instr you could detect the line and start searching/reading from there.
by toralf
11 Feb 2018, 23:48
Forum: Scripts and Functions
Topic: [ Music Files Tag Editor written in Autohotkey ]
Replies: 45
Views: 7541

Re: [ Music Files Tag Editor written in Autohotkey ]

Welcome back,
I’m interested to see your improvements.
by toralf
31 Jan 2018, 16:16
Forum: Ask For Help
Topic: COM Object Behavior Doesn't Match VBA
Replies: 11
Views: 908

Re: COM Object Behavior Doesn't Match VBA

Have you had any success with automating oneNote?
by toralf
29 Jan 2018, 17:10
Forum: Ich brauche Hilfe
Topic: Gui control mit funktion als label
Replies: 4
Views: 163

Re: Gui control mit funktion als label

Hi BoBo,

Es hilft sehr, wenn man z.B. Eine Library schreibt, da man dann keine Labels nutzen muss, sondern alles abkapseln kann.

Wolf2: mit Labels ging es auch . Wenn ich mich recht entsinne gibt es a_guicontrol
by toralf
29 Jan 2018, 03:35
Forum: Bug Reports
Topic: CHM file from ZIP doesn't show any content
Replies: 2
Views: 182

Re: CHM file from ZIP doesn't show any content

Thanks for clarifing
by toralf
29 Jan 2018, 01:06
Forum: Bug Reports
Topic: CHM file from ZIP doesn't show any content
Replies: 2
Views: 182

CHM file from ZIP doesn't show any content

Version 1.1.27.07
The CHM file extracted from the zip file of 1.1.27.07, only shows an empty Gui when started.
The CHM file extracted from the installer works well.
by toralf
24 Jan 2018, 01:46
Forum: Ask For Help
Topic: AHK Auto Formatter?
Replies: 12
Views: 1870

Re: AHK Auto Formatter?

Hi BoBo,
the last years I've moved around the globe but have always been here (at least reading/scanning the active topics). I also recognized that you "came back" after a period of silence. :) So I can say the same: Schön von Dir wieder zu lesen.
by toralf
21 Aug 2017, 03:23
Forum: Bug Reports
Topic: semicolon has to be escaped within a literal text
Replies: 1
Views: 276

semicolon has to be escaped within a literal text

Don't realy know if this is a bug. But since it is against my expectation, I post in this forum section. A semicolon has to be escaped within a literal text when a space or tab is to it's left. Column = C Excel("=WENN(ISTLEER(B4) ; " . Column . "3 ; B4)") ; AHK is throwing Error:...
by toralf
24 Apr 2017, 09:39
Forum: Allgemeines
Topic: Agile Scrum Kanban
Replies: 7
Views: 1087

Re: Agile Scrum Kanban

Ich bin z.Z. in einem agilen Scrum Projekt beteiligt (>2 Jahre). Und wir nutzen auch das Kanban Board. ich bin auf der Nutzerseite und stelle somit die Anforderungen. M.E. ist es nicht schneller als andere Verfahren, aber es kommt in Summe etwas besseres heraus. Hätten wir ein Lastenheft geschrieben...
by toralf
20 Sep 2016, 14:33
Forum: Ask For Help
Topic: Increment Columns in Excel
Replies: 10
Views: 1167

Re: Increment Columns in Excel

you have put too many % around variables. In an Expression you do not deref the vars.
E.g. cnt := cnt +1
This applies to nearly all yoour code lines. The only line where the % signs are correct is in the MsgBox line (ne Expression)
by toralf
17 Sep 2016, 13:57
Forum: Ask For Help
Topic: Detect empty associated array of an associated array Topic is solved
Replies: 5
Views: 617

Re: Detect empty associated array of an associated array Topic is solved

Thanks a lot for the help.
I liked the _NewEnum idea a lot.
by toralf
17 Sep 2016, 02:45
Forum: Ask For Help
Topic: Detect empty associated array of an associated array Topic is solved
Replies: 5
Views: 617

Detect empty associated array of an associated array Topic is solved

I have an associated array A that holds associated arrays Bs. How can I detect if one of the B Arrays has become an empty array {}? B1 := {K1: "V1", K2: "V2"} B2 := {K3: "V3", K4: "V4"} B3 := {K5: "V5", K6: "V6"} A := {X: B1, T: B2, C: B3} ...
by toralf
16 Jul 2016, 16:35
Forum: Scripts and Functions
Topic: Line based Parser for AHK Code v1.2
Replies: 35
Views: 6190

Re: Line based Parser for AHK Code v1.2

Thanks for sharing

Go to advanced search