Search found 461 matches

by BGM
17 Jul 2019, 13:55
Forum: Scripts and Functions
Topic: [Class] Toolbar - Create and modify (Updated 03/17/2016)
Replies: 54
Views: 13916

Re: [Class] Toolbar - Create and modify (Updated 03/17/2016)

ah, okay then. Well, maybe someone will spend the time to figure it out completely.
by BGM
17 Jul 2019, 11:51
Forum: Scripts and Functions
Topic: [Class] Toolbar - Create and modify (Updated 03/17/2016)
Replies: 54
Views: 13916

Re: [Class] Toolbar - Create and modify (Updated 03/17/2016)

@Sam Did you try my fix just above yours? I had come to the same conclusion about the error in StringToNumber. I would be interested to see if it works out for you.
by BGM
25 Jun 2019, 16:29
Forum: Scripts and Functions
Topic: SavePictureAs - (Save Image/Picture)
Replies: 34
Views: 30928

Re: SavePictureAs - (Save Image/Picture)

Yeah, I wondered about that, too. There's no way to know without doing some advanced analysis of the data arrangement after the file is gotten. You know what I mean - sometimes a certain bit order denotes what kind of file it is even if the extension is wrong. I'm not asking you to do *that* however...
by BGM
25 Jun 2019, 11:55
Forum: Scripts and Functions
Topic: SavePictureAs - (Save Image/Picture)
Replies: 34
Views: 30928

Re: SavePictureAs - (Save Image/Picture)

@DataLife Thunderbird is the Mozilla mail client - it uses the same engines as Firefox beneath, though. I'm pretty sure that SPA is choosing "save" and not "save as". If I save the image myself, it also saves as .htm. This doesn't happen on all images, just some of them. So I manually "save as" and ...
by BGM
24 Jun 2019, 11:06
Forum: Scripts and Functions
Topic: SavePictureAs - (Save Image/Picture)
Replies: 34
Views: 30928

Re: SavePictureAs - (Save Image/Picture)

I'm still using this script! I like it quite abit. Sometime it misses and fails to save, but most of the time it works great. Sometimes when I try to save images out of thunderbird, it tries to save the image as "mail.htm" and then tells me "This is not an savable picture". So then I have to go and ...
by BGM
09 Apr 2019, 10:22
Forum: Editors
Topic: CherryTree as Snippet Keeper
Replies: 2
Views: 373

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: 685

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: 459

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: 459

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: 459

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: 286

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: 286

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: 459

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: 459

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: 575

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: 575

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: 575

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: 575

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

Go to advanced search