Search found 147 matches

by hotkeyguy
22 Nov 2019, 07:25
Forum: Ask For Help
Topic: .Push( Object2* ): Adding an object as array of values to an object
Replies: 8
Views: 388

.Push( Object2* ): Adding an object as array of values to an object

Hello, two objects used as arrays, one added as array of values to the other object: Object1 := { 1: "a", 2: "b", 3: "c" } Object2 := { 4: "d", 5: "e", 6: "f" } Object1.Push( Object2* ) The result is: Object[1] = "a" Object[2] = "b" Object[3] = "c" Object[7] = "d" ; expected [4] Object[8] = "e" ; ex...
by hotkeyguy
21 Nov 2019, 13:50
Forum: Ask For Help
Topic: [Solved] AutoHotkeyA32.exe, OutputDebug, DebugView++: Messages from source code
Replies: 8
Views: 340

Re: [Solved] AutoHotkeyA32.exe, OutputDebug, DebugView++: Messages from source code

Hello joefiesta,
Is there any HELP for debugview++ anywhere?
Maybe here: GitHub - CobaltFusion/DebugViewPP: DebugView++... More examples
I guess I need to learn about debug clients.
See Debugging Clients | AutoHotkey


Greetings
hotkeyguy
by hotkeyguy
21 Nov 2019, 13:17
Forum: Ask For Help
Topic: [Solved] AutoHotkeyA32.exe, OutputDebug, DebugView++: Messages from source code
Replies: 8
Views: 340

Re: [Solved] AutoHotkeyA32.exe, OutputDebug, DebugView++: Messages from source code

Hello joefiesta, don't use the /debug parameter. DebugView++ is not a debug client, you can only show OutputDebug messages. These messages aren't depending from any debug client. On the View / Filter Settings dialog [F5], Process tab, add a new filter like AutoHotkeyA32/Simple/Include. Greetings hot...
by hotkeyguy
21 Nov 2019, 12:13
Forum: Ask For Help
Topic: [Solved] AutoHotkeyA32.exe, OutputDebug, DebugView++: Messages from source code
Replies: 8
Views: 340

Re: AutoHotkeyA32.exe, OutputDebug, DebugView++: Messages from source code

Hello joefiesta, On that page, BOTH the links to download this product ARE DEAD. Is the product still available? Yep, that's correct. You can find the latest version here: GitHub - CobaltFusion/DebugViewPP: DebugView++... I'm using DebugView++ since many years. Really a great tool! but (1) those mes...
by hotkeyguy
21 Nov 2019, 10:21
Forum: Ask For Help
Topic: [Solved] AutoHotkeyA32.exe, OutputDebug, DebugView++: Messages from source code
Replies: 8
Views: 340

[Solved] AutoHotkeyA32.exe, OutputDebug, DebugView++: Messages from source code

Hello, I'm using DebugView++ for displaying OutputDebug messages. I assume the following messages are from the source code (version 1.1.30.00): RefCountedObject Destroy: ProfileInfoStatus addr 0xb99168 DXGI WARNING: Process is terminating. Using simple reporting. Please call ReportLiveObjects() at r...
by hotkeyguy
12 Nov 2019, 09:25
Forum: Ask For Help
Topic: BoundFunc Object, .Bind() parameter variadic syntax: Preserve function paramter type
Replies: 3
Views: 275

BoundFunc Object, .Bind() parameter variadic syntax: Preserve function paramter type

Hello, suppose I have a string like (that's how I get the function parameters from my regex) sParams := "true, 123, ""Hello"" " which consists of an boolean, integer and string value. After parsing that string I get an array of parameter values: aParams := [] Loop, Parse, sParams, `, , %A_Space% { s...
by hotkeyguy
11 Nov 2019, 13:21
Forum: Ask For Help
Topic: Loop, Read, InputFile ignores last line in file when empty
Replies: 1
Views: 108

Loop, Read, InputFile ignores last line in file when empty

Hello,

yep, any way to avoid that? In my case that's a significant difference (files are not equal):

Code: Select all

1
2
2 lines vs. 3 lines:

Code: Select all

1
2


Many thanks and greetings
hotkeyguy
by hotkeyguy
10 Nov 2019, 16:32
Forum: Ask For Help
Topic: Error: Missing close-quote "...`r`n ;"
Replies: 4
Views: 247

Re: Error: Missing close-quote "...`r`n ;"

Yep swapfag,

but the semicolon is used inside a string declaration "...".

That works:

Code: Select all

sTest := ";"
That not:

Code: Select all

sTest := " ;"

Many thanks and greetings
hotkeyguy
by hotkeyguy
10 Nov 2019, 16:11
Forum: Ask For Help
Topic: Error: Missing close-quote "...`r`n ;"
Replies: 4
Views: 247

Error: Missing close-quote "...`r`n ;"

Hello again,

what is wrong here (missing close-quote):

Code: Select all

sTest := "`r`n  `r`n ;"
When the last space is removed no problems:

Code: Select all

sTest := "`r`n  `r`n;"
Escaping the semicolon and it works! But why is that neceassary?

Code: Select all

sTest := "`r`n  `r`n `;"

Many thanks and greetings
hotkeyguy
by hotkeyguy
10 Nov 2019, 14:18
Forum: Ask For Help
Topic: Multiline string: ) If a closing parenthesis appears in the continuation section's options...
Replies: 1
Views: 152

Multiline string: ) If a closing parenthesis appears in the continuation section's options...

Hello,

yep, how does it work? E. g. free-spacing regex pattern:

Code: Select all

sRegexPattern =
(
  (
    ...
  )
    |
  (
    ...
  )
)

Many thanks and greetings
hotkeyguy
by hotkeyguy
09 Nov 2019, 11:11
Forum: Ask For Help
Topic: Addresses of array elements: Always fixed?
Replies: 1
Views: 220

Addresses of array elements: Always fixed?

Hello, suppose I have a simple string array with ten elements, [1]...[10]. Are the addresses to the content of these elements always fixed, even when I add/remove elements? The more complex background of this question is that I have an array of different types. For accessing certain types of element...
by hotkeyguy
01 Nov 2019, 16:29
Forum: Ask For Help
Topic: Webbrowser (Shell.Explorer): Adding item via AHK to an JS-Array of objects
Replies: 2
Views: 362

Webbrowser (Shell.Explorer): Adding item via AHK to an JS-Array of objects

Hello, I have a crazy problem. When I try to add an item with Object.push( AHK_NewObject ) to an existing JS-Array of objects, the added object is empty. JS-Array of objects in my <script>-section like: var JS_ArrayOfObjects = [ { id: 1, color: "green" } , { id: 2, color: "yellow"} ] ; AHK-code: AHK...
by hotkeyguy
01 Nov 2019, 16:06
Forum: Ask For Help
Topic: Webbrowser (Shell.Explorer): Debugger
Replies: 0
Views: 587

Webbrowser (Shell.Explorer): Debugger

Hello again,

is there any way to work with the webbrowser debugger?


Many thanks and greetings
hotkeyguy
by hotkeyguy
09 Oct 2019, 08:51
Forum: Scripts and Functions
Topic: [Class] ImageButton
Replies: 127
Views: 47376

Re: [Class] ImageButton

Hello just me,

many thanks for your modified class script! With your code my script is > 50% faster (today > 2s org. vs. < 1s mod.). That's great, really!


Greetings
hotkeyguy
by hotkeyguy
07 Oct 2019, 14:55
Forum: Ask For Help
Topic: Webbrowser and vertical scrollbar: Not shown with AutoHotkeyA32.exe (correct) but shown with AutoHotkey.exe
Replies: 0
Views: 185

Webbrowser and vertical scrollbar: Not shown with AutoHotkeyA32.exe (correct) but shown with AutoHotkey.exe

Hello, I have a really crazy problem. Unfortunately I can't reproduce it with a simple demo code snippet. My GUI consits of some AHK controls and mainly an Webbrowser (Shell.Explorer) ActiveX component with just a matrix of buttons. When I run my script with AutoHotkey.exe an unnessary vertcial scro...
by hotkeyguy
28 Sep 2019, 14:23
Forum: Scripts and Functions
Topic: [Class] ImageButton
Replies: 127
Views: 47376

Re: [Class] ImageButton

Hello,

modifying 60 buttons in my GUI lasts < 3s. Is there a way to accelerate that a little bit (I don't expect miracles)? I tried
GuiControl, -Redraw, %g_hdGUI_Main%
without success, every single button is still redrawn.


Many thanks and greetings
hotkeyguy
by hotkeyguy
25 Sep 2019, 12:00
Forum: Ask For Help
Topic: Associative Arrays and OutputVar/InputVar Topic is solved
Replies: 1
Views: 156

Associative Arrays and OutputVar/InputVar Topic is solved

Hello, is it possible to assign/retrieve an value to/from an Associative Array as OutputVar/InputVar, e. g. IniRead, OutputVar , Filename, Section, Key [, Default] IniRead, g_oTracking.Process.Name , ... results in an error The following variable name contains an illegal character: "g_oTracking.Proc...
by hotkeyguy
25 Sep 2019, 06:02
Forum: Ask For Help
Topic: Hook for title(bar) changes, multiple tabs editor
Replies: 0
Views: 178

Hook for title(bar) changes, multiple tabs editor

Hello, is there a way to use an hook to detect changes in the title(bar) of editors with multiple tabs open, like Notepad++, Scintilla and others? I want to avoid using a (nasty) timer! I tried ObjectNameChange (thanks Lexikos for this function and of course Frosti for AHK-Rare) without success. Man...
by hotkeyguy
09 Sep 2019, 08:23
Forum: Ask For Help
Topic: Ahk2Exe: Modified/created time of compiled script
Replies: 0
Views: 159

Ahk2Exe: Modified/created time of compiled script

Hello again, when I compile my AHK script, the modified time of the excutable corresponds to the current time during compiling. But the created time is in no relation to any plausible time. Shouldn't it be the same time? Or the created time of the script file itself? Even when I delete the executabl...
by hotkeyguy
31 May 2019, 07:57
Forum: Scripts and Functions
Topic: [Editor] CodeQuickTester - Write and run code without saving to a temporary file
Replies: 192
Views: 61380

Re: [Editor] CodeQuickTester - Write and run code without saving to a temporary file

Hello again, great would be some global variables, with prefix e. g. cqt_x/y/w/h, for positioning own GUIs in relation to the CQT GUI. Especially when AlwaysOnTop , own GUIs are hidden, Run [F5] should toggle between the two modes Run and Kill . Don't know whether that is possible but when the own G...

Go to advanced search