Search found 456 matches

by BGM
09 Apr 2019, 10:22
Forum: Editors
Topic: CherryTree as Snippet Keeper
Replies: 2
Views: 137

CherryTree as Snippet Keeper

Recently, I have been considering this program called CherryTree: https://www.giuspen.com/cherrytree/ It is a regular notebook application - a tree with nodes where you store text, richtext, and can do automatic syntax highlighting and formatted codeblocks. It looks like a great snippet keeper. It d...
by BGM
26 Mar 2019, 09:53
Forum: Scripts and Functions
Topic: [v2] Scintilla Edit control class
Replies: 7
Views: 439

Re: [v2] Scintilla Edit control class

Does anyone have the link for the scintilla control for version 1 autohotkey?
by BGM
23 Feb 2019, 11:32
Forum: Ask For Help
Topic: How to get the title of a_thismenuitem's menu Topic is solved
Replies: 7
Views: 268

Re: How to get the title of a_thismenuitem's menu Topic is solved

Thanks for showing me how to do that, teadrinker. I was looking at the docs for the handler, but couldn't find any example there and was bewildered at how to use the function.

I've played around with this, and it does the job! Thanks for your time.
by BGM
22 Feb 2019, 22:54
Forum: Ask For Help
Topic: How to get the title of a_thismenuitem's menu Topic is solved
Replies: 7
Views: 268

Re: How to get the title of a_thismenuitem's menu Topic is solved

And, how to get the name (not title) of a submenu's parent?
by BGM
22 Feb 2019, 22:15
Forum: Ask For Help
Topic: How to get the title of a_thismenuitem's menu Topic is solved
Replies: 7
Views: 268

Re: How to get the title of a_thismenuitem's menu Topic is solved

No - you understand, correctly. I'm working on an elaborate workaround.
by BGM
22 Feb 2019, 20:33
Forum: Ask For Help
Topic: Sparsely populate associative array Topic is solved
Replies: 3
Views: 166

Re: Sparsely populate associative array Topic is solved

I figured it out.

Code: Select all

arr := []

loop,2
{
	thisarray := {1:"a" . a_index, 2:"b" . a_index}
	arr[a_index] := thisarray
}

alert(arr[1].1)
by BGM
22 Feb 2019, 17:29
Forum: Ask For Help
Topic: Sparsely populate associative array Topic is solved
Replies: 3
Views: 166

Sparsely populate associative array Topic is solved

How do I do this correctly? I want an array where I can store multiple values in each item. So, 1st item contains a, b, c 2nd item contains d, e, f Then I want to retrieve the values arr[1] := {1:"a",2:"b",3:"c"} arr[2] := {1:"d",2:"e",3:"f"} msgbox % arr[1,1] msgbox % arr[1][1] Actually, I don't ev...
by BGM
22 Feb 2019, 12:20
Forum: Ask For Help
Topic: How to get the title of a_thismenuitem's menu Topic is solved
Replies: 7
Views: 268

Re: How to get the title of a_thismenuitem's menu Topic is solved

By "title" I mean the name that appears in the menu.

I can get the name of the menu with a_thismenu, but I need the text that shows for its title.
In the docs, I cannot find anything like GetMenuItemTitle()
by BGM
22 Feb 2019, 10:57
Forum: Ask For Help
Topic: How to get the title of a_thismenuitem's menu Topic is solved
Replies: 7
Views: 268

How to get the title of a_thismenuitem's menu Topic is solved

How can I get the title (not the handle) of the menu containing a_thismenuitem?

a_thismenu contains the menu's name, but I need it's title.
by BGM
21 Feb 2019, 23:01
Forum: Ask For Help
Topic: Replicating Run Box abilities Topic is solved
Replies: 16
Views: 303

Re: Replicating Run Box abilities Topic is solved

The docs say that the ahk2exe doesn't even use autohotkey.exe. I guess that's why you need the 64bit bin file, maybe?
by BGM
21 Feb 2019, 22:52
Forum: Ask For Help
Topic: Replicating Run Box abilities Topic is solved
Replies: 16
Views: 303

Re: Replicating Run Box abilities Topic is solved

gregster - yes, I saw that in the docs - if I use the 64bit bin file, will the compiler know to create a 64 bit application? That was my hangup, actually.
by BGM
21 Feb 2019, 22:41
Forum: Ask For Help
Topic: Replicating Run Box abilities Topic is solved
Replies: 16
Views: 303

Re: Replicating Run Box abilities Topic is solved

Thanks, jees and greg It *does* work with the dllcall in 32bit ahk. and it does work without it in 64bit ahk. Does that work for the entire script? Or do I need to call it before each run command? And do I need to re-enable that redirection for the system? Does it affect the entire system or only my...
by BGM
21 Feb 2019, 22:32
Forum: Ask For Help
Topic: Replicating Run Box abilities Topic is solved
Replies: 16
Views: 303

Re: Replicating Run Box abilities Topic is solved

okay, if I run it with 64 bit autohotkey, *THEN* it runs msconfig with no problem.
aaaaahhhhhggggghhhhh
by BGM
21 Feb 2019, 22:29
Forum: Ask For Help
Topic: Replicating Run Box abilities Topic is solved
Replies: 16
Views: 303

Re: Replicating Run Box abilities Topic is solved

AutoHotkey 1.1.30.01 Unicode on Windows 7 Pro x64
I'm running 32 bit autohotkey. But that shouldn't matter, should it?
by BGM
21 Feb 2019, 22:23
Forum: Ask For Help
Topic: Replicating Run Box abilities Topic is solved
Replies: 16
Views: 303

Re: Replicating Run Box abilities Topic is solved

If c:\windows\system32 was not in my PATH, then I couldn't run it from a cmd box; but I can. I just can't seem to do it from ahk.
by BGM
21 Feb 2019, 22:20
Forum: Ask For Help
Topic: Replicating Run Box abilities Topic is solved
Replies: 16
Views: 303

Re: Replicating Run Box abilities Topic is solved

No, on my Windows7, if I do

Code: Select all

run msconfig.exe
;or
run, c:\windows\system32\msconfig.exe   <--this is the full path; ahk cannot run it because it cannot see it

I get ahk's can't find file message.
But, like I said, it works in my RUN box.
by BGM
21 Feb 2019, 21:21
Forum: Ask For Help
Topic: Replicating Run Box abilities Topic is solved
Replies: 16
Views: 303

Replicating Run Box abilities Topic is solved

How can I use autohotkey to run msconfig (for example) without knowing the full path? Windows RUN box can do this, and so can the cmd box, but authotkey's "run" command just gives an error. Is there some autohotkey setting, or am I stuck using a hidden comspec to run commands like msconfig? I've tri...
by BGM
20 Feb 2019, 12:48
Forum: Scripts and Functions
Topic: LibCon - AutoHotkey Library For Console Support
Replies: 18
Views: 6284

Re: LibCon - AutoHotkey Library For Console Support

Thanks, Joe. Yeah, I have that, I was just hoping for something more streamlined. I was hoping for a good console library that would let me simply send commands, manage the window, and fetch text.

Go to advanced search