Search found 191 matches

by ahketype
29 Jan 2023, 16:32
Forum: Ask for Help (v2)
Topic: v2 reporting errors in gdip.ahk as #Include Topic is solved
Replies: 2
Views: 495

v2 reporting errors in gdip.ahk as #Include Topic is solved

Hi, I was chugging through my first conversion of a v1 script to v2 in SciTE4AutoHotkey, and put a #Include <gdip> in to access Gdip.ahk in my library directory, but now it loaded Gdip.ahk into the editor and reported: C:\Program Files\AutoHotkey\v2\Lib\gdip.ahk (69) : ==> Expected ":=" Specifically...
by ahketype
28 Jan 2023, 19:21
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.1.0
Replies: 78
Views: 29359

Re: SciTE4AutoHotkey v3.1.0

v3.1.00 is more than a major upgrade SciTE4AutoHotkey (SciTE4AHK). I am not one of the programmers on SciTE4AHK. Like you, I am a regular user. SciTE4AHK is based upon the SCIntilla based Text Editor. Originally SciTE was built to demonstrate Scintilla. SciTE has become a popular program editor. Sc...
by ahketype
25 Jan 2023, 07:32
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.1.0
Replies: 78
Views: 29359

Re: SciTE4AutoHotkey v3.1.0

Congratulations on the program. I have a problem with the new version, variables and functions are not colored, before the code was more readable, but with version 3.1 everything is black. I have tried to edit the style but there is no longer a section for variables and functions. Before they were ...
by ahketype
25 Jan 2023, 06:32
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.1.0
Replies: 78
Views: 29359

Re: SciTE4AutoHotkey v3.1.0

I have to say, having just installed AHK v2 and the latest SciTE4AutoHotkey, I'm not missing the calltips too much, because for some reason my old setup had lost the lookup in the help - selecting a word and hitting F1 just launched the help without locating the word, and I'd have to use the search ...
by ahketype
24 Jan 2023, 19:04
Forum: About This Community
Topic: AutoHotkey v2 Official Release Announcement - Q&A
Replies: 41
Views: 22486

Re: AutoHotkey v2 Official Release Announcement - Q&A

Trying to get my head round how it will work if the version selector considers my code to be v1 so runs v1 interpreter, but if I then adopt v2 syntax in further developing that script (rather than converting everything in the script to v2 first). The version selector is for determining which versio...
by ahketype
24 Jan 2023, 15:00
Forum: About This Community
Topic: AutoHotkey v2 Official Release Announcement - Q&A
Replies: 41
Views: 22486

Re: AutoHotkey v2 Official Release Announcement - Q&A

Trying to get my head round how it will work if the version selector considers my code to be v1 so runs v1 interpreter, but if I then adopt v2 syntax in further developing that script (rather than converting everything in the script to v2 first). Will this cause issues? I.e. will neither version be ...
by ahketype
24 Dec 2022, 09:40
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.1.0
Replies: 78
Views: 29359

Re: SciTE4AutoHotkey v3.1.0

Thanks, lexikos , great to know it's still being developed! I've always cursed the calltips because there was no way to remove them or make them only pop up manually on a hotkey The keyboard shortcut is shown in the Edit menu, next to "Show Calltip". Pressing Escape hides the calltip. Yes, the short...
by ahketype
20 Dec 2022, 08:39
Forum: SciTE4AutoHotkey
Topic: SciTE4AutoHotkey v3.1.0
Replies: 78
Views: 29359

Re: SciTE4AutoHotkey v3.1.0

fincs - I really miss the Calltips function. Is this likely to be replaced or fixed in future? It's such a great feature. In the meantime, I'll have to revert to 300601 from https://www.autohotkey.com/scite4ahk/dl/ It's ironic - I've always cursed the calltips because there was no way to remove the...
by ahketype
23 Mar 2022, 15:06
Forum: Ask for Help (v1)
Topic: cRRGGBB and BackgroundRRGGBB ignored in TreeView Topic is solved
Replies: 3
Views: 395

Re: cRRGGBB and BackgroundRRGGBB ignored in TreeView Topic is solved

Oh sorry, my mistake, you're right - I misread that as Options and Styles for "TV_Add... Options"! :D
by ahketype
23 Mar 2022, 15:00
Forum: Ask for Help (v1)
Topic: cRRGGBB and BackgroundRRGGBB ignored in TreeView Topic is solved
Replies: 3
Views: 395

Re: cRRGGBB and BackgroundRRGGBB ignored in TreeView Topic is solved

Those options are only for controlling the overall appearance, not for individual items. Check out this thread for custom item colors for a TreeView. Not according to the help file: Options and Styles for "Gui, Add, TreeView, Options" Background: Specify the word Background followed immediately by ...
by ahketype
23 Mar 2022, 14:42
Forum: Ask for Help (v1)
Topic: cRRGGBB and BackgroundRRGGBB ignored in TreeView Topic is solved
Replies: 3
Views: 395

cRRGGBB and BackgroundRRGGBB ignored in TreeView Topic is solved

Hi, I don't get any change in the colour of text or background in treeviews using the options cColourname or hex with or without 0x. Same for Background. Any idea why that might be? Setting the TV's colours in the options on creation works, as does the colour of font definition before adding the con...
by ahketype
14 Mar 2022, 07:24
Forum: Ask for Help (v1)
Topic: Unexpected behaviour of nested (2D) arrays Topic is solved
Replies: 23
Views: 1633

Re: Unexpected behaviour of nested (2D) arrays Topic is solved

OK guys, thanks, I think I've got it. It's embarrassing how long it took, and thank you for your patience. :oops: Most of your examples seemed pretty obvious, but didn't seem to explain why my first example kept overwriting previous rows of the parent. I now see that my mistake was simply in thinkin...
by ahketype
13 Mar 2022, 19:14
Forum: Ask for Help (v1)
Topic: Unexpected behaviour of nested (2D) arrays Topic is solved
Replies: 23
Views: 1633

Re: Unexpected behaviour of nested (2D) arrays Topic is solved

I'm sorry it's a rather complicated example. I'll try to write something more concise, and I might figure out the answer to my confusion in the process. In the morning, that is. :yawn:
by ahketype
13 Mar 2022, 18:59
Forum: Ask for Help (v1)
Topic: Unexpected behaviour of nested (2D) arrays Topic is solved
Replies: 23
Views: 1633

Re: Unexpected behaviour of nested (2D) arrays Topic is solved

Now I'm really confused. Why aren't copies of the same address for 'letters' added to 'parent' (i.e. why don't older rows added that way change), when I didn't do letters := [] ? Are you referring to your code? Yes. If so, I don't see it. Please give a concrete example. The code in my last post is ...
by ahketype
13 Mar 2022, 10:32
Forum: Ask for Help (v1)
Topic: Unexpected behaviour of nested (2D) arrays Topic is solved
Replies: 23
Views: 1633

Re: Unexpected behaviour of nested (2D) arrays Topic is solved

Now I'm really confused. Why aren't copies of the same address for 'letters' added to 'parent' (i.e. why don't older rows added that way change), when I didn't do letters := [] ? ; N.B. The parameter of Output() describes the procedure about to be undertaken ; so the messagebox gives indication of t...
by ahketype
13 Mar 2022, 05:49
Forum: Ask for Help (v1)
Topic: Unexpected behaviour of nested (2D) arrays Topic is solved
Replies: 23
Views: 1633

Re: Unexpected behaviour of nested (2D) arrays Topic is solved

Hardcoder , thanks again, that summary fits with what I discovered, except boiler 's correction. I think this function behaviour with parameters is the "same difference" as with variables pushed to a linear array (i.e. they are static) compared with pushing arrays to another array, which push just ...
by ahketype
12 Mar 2022, 20:27
Forum: Ask for Help (v1)
Topic: Unexpected behaviour of nested (2D) arrays Topic is solved
Replies: 23
Views: 1633

Re: Unexpected behaviour of nested (2D) arrays Topic is solved

Oh, more testing, and yes, these 'row' arrays pushed as literal data are objects, stored at a given address just as if they had their own variable names (and presumably are stored in the parent array as such). But as they never had a name, I can't accidentally redefine them (e.g., by forgetting to u...
by ahketype
12 Mar 2022, 18:21
Forum: Ask for Help (v1)
Topic: Unexpected behaviour of nested (2D) arrays Topic is solved
Replies: 23
Views: 1633

Re: Unexpected behaviour of nested (2D) arrays Topic is solved

Follow-up questions - if anyone can help further: 1. Does this pushing of addresses mean that it is more memory intensive to create a 2D array by this method, repeatedly setting a 'row' of values as a separate 1D array and pushing it, since each row then has its own address in memory? If all I want ...
by ahketype
12 Mar 2022, 17:32
Forum: Ask for Help (v1)
Topic: Unexpected behaviour of nested (2D) arrays Topic is solved
Replies: 23
Views: 1633

Re: Unexpected behaviour of nested (2D) arrays Topic is solved

Hardcoder , OK, I think I've got it. This is a weird revelation to me. I mean, I've known about variables and addressing since 1983 when I started coding. What I didn't realise is that the push() function in this case (pushing an array into another) only places the address of the pushed array at th...
by ahketype
12 Mar 2022, 08:49
Forum: Ask for Help (v1)
Topic: Unexpected behaviour of nested (2D) arrays Topic is solved
Replies: 23
Views: 1633

Re: Unexpected behaviour of nested (2D) arrays Topic is solved

Hi, the output from your script is exactly what I expected from the code. When you assign an array [] to a variable, you are basicly giving the object a name, the variable is just a container. When you push the child variable in the parent array, you push the object, that is the underlying array, i...

Go to advanced search