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()
Search found 507 matches
- 22 Feb 2019, 12:20
- Forum: Ask for Help (v1)
- Topic: How to get the title of a_thismenuitem's menu Topic is solved
- Replies: 7
- Views: 1531
- 22 Feb 2019, 10:57
- Forum: Ask for Help (v1)
- Topic: How to get the title of a_thismenuitem's menu Topic is solved
- Replies: 7
- Views: 1531
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.
a_thismenu contains the menu's name, but I need it's title.
- 21 Feb 2019, 23:01
- Forum: Ask for Help (v1)
- Topic: Replicating Run Box abilities Topic is solved
- Replies: 16
- Views: 2285
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?
- 21 Feb 2019, 22:52
- Forum: Ask for Help (v1)
- Topic: Replicating Run Box abilities Topic is solved
- Replies: 16
- Views: 2285
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.
- 21 Feb 2019, 22:41
- Forum: Ask for Help (v1)
- Topic: Replicating Run Box abilities Topic is solved
- Replies: 16
- Views: 2285
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...
- 21 Feb 2019, 22:32
- Forum: Ask for Help (v1)
- Topic: Replicating Run Box abilities Topic is solved
- Replies: 16
- Views: 2285
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
aaaaahhhhhggggghhhhh
- 21 Feb 2019, 22:29
- Forum: Ask for Help (v1)
- Topic: Replicating Run Box abilities Topic is solved
- Replies: 16
- Views: 2285
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?
I'm running 32 bit autohotkey. But that shouldn't matter, should it?
- 21 Feb 2019, 22:23
- Forum: Ask for Help (v1)
- Topic: Replicating Run Box abilities Topic is solved
- Replies: 16
- Views: 2285
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.
- 21 Feb 2019, 22:20
- Forum: Ask for Help (v1)
- Topic: Replicating Run Box abilities Topic is solved
- Replies: 16
- Views: 2285
Re: Replicating Run Box abilities Topic is solved
No, on my Windows7, if I do
I get ahk's can't find file message.
But, like I said, it works in my RUN box.
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.
- 21 Feb 2019, 21:21
- Forum: Ask for Help (v1)
- Topic: Replicating Run Box abilities Topic is solved
- Replies: 16
- Views: 2285
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...
- 20 Feb 2019, 12:48
- Forum: Scripts and Functions (v1)
- Topic: LibCon - AutoHotkey Library For Console Support
- Replies: 20
- Views: 15562
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.
- 20 Feb 2019, 11:46
- Forum: Scripts and Functions (v1)
- Topic: LibCon - AutoHotkey Library For Console Support
- Replies: 20
- Views: 15562
Re: LibCon - AutoHotkey Library For Console Support
How do I use this library to send commands to the console? All it does is print text...
Oh - I already mentioned this above...
Can I use this library to send commands? Or do I need to think of something else?
Oh - I already mentioned this above...
Can I use this library to send commands? Or do I need to think of something else?
- 17 Feb 2019, 10:32
- Forum: Scripts and Functions (v1)
- Topic: [CLASS] ClassHook - Generalized class method hooking
- Replies: 3
- Views: 1202
Re: [CLASS] ClassHook - Generalized class method hooking
What is a practical application of this? I mean, why did you make it? I've seen hooks (callbacks, I think are the same thing?) in other languages.
- 18 Jan 2019, 21:03
- Forum: Scripts and Functions (v1)
- Topic: AppFactory - Easily allow end-users to configure hotkeys and settings in your scripts
- Replies: 1
- Views: 3138
Re: AppFactory - Easily allow end-users to configure hotkeys and settings in your scripts
Wow, this is really nice, but it also looks like a lot to digest. I have a gui already, and just want a way to capture a hotkey that uses the win key. This is so I can save a user-selected global hotkey for my app. The default ahk hotkey control doesn't capture the winkey. This library looks like ov...
- 10 Jan 2019, 17:11
- Forum: Scripts and Functions (v1)
- Topic: [Class] Toolbar - Create and modify (Updated Aug, 9, 2020)
- Replies: 55
- Views: 33492
Re: [Class] Toolbar - Create and modify (Updated 03/17/2016)
Here's the fix for the code in class_toolbar() ;======================================================================================= ; Method: StringToNumber ; Description: Returns a number based on a string to be used as Command ID. ;==============================================================...
- 10 Jan 2019, 09:54
- Forum: Ask for Help (v1)
- Topic: Clipboard function is intermittent
- Replies: 8
- Views: 1564
Re: Clipboard function is intermittent
Ha! I never even knew about this! I'll try it out.SendLevel 9 ; with this additions lines it works also in globalIntelisense nearliy 99% of time 18-04-01_12-24
- 10 Jan 2019, 00:44
- Forum: Ask for Help (v1)
- Topic: Clipboard function is intermittent
- Replies: 8
- Views: 1564
Re: Clipboard function is intermittent
Yes, I was going to do that in the documentation that I'm working on...
- 10 Jan 2019, 00:29
- Forum: Scripts and Functions (v1)
- Topic: [Class] Toolbar - Create and modify (Updated Aug, 9, 2020)
- Replies: 55
- Views: 33492
Re: [Class] Toolbar - Create and modify (Updated 03/17/2016)
Also, you gave me this example earlier in the thread. I changed the labels to numbers, but every button provides a popup saying: "MsgBox, You selected 400" even if I click on the other buttons. Isn't that weird? Maybe I need to restart my computer (Windows 7). #NoEnv #SingleInstance, Force #Include ...
- 10 Jan 2019, 00:10
- Forum: Scripts and Functions (v1)
- Topic: [Class] Toolbar - Create and modify (Updated Aug, 9, 2020)
- Replies: 55
- Views: 33492
Re: [Class] Toolbar - Create and modify (Updated 03/17/2016)
Ah, I removed this humongous post because I solved the problem. I was loading an icon with an empty value, then when I went to delete the icons I didn't want in the toolbar, since it had a value of 0, the class_toolbar deleted them all. Finally found the culprit. Now I know to test for a value befor...
- 08 Jan 2019, 17:24
- Forum: Ask for Help (v1)
- Topic: Clipboard function is intermittent
- Replies: 8
- Views: 1564
Re: Clipboard function is intermittent
Additional note: you are probably using TF in your new App at donationcoder Wow! You noticed that! Actually, I originally didn't realize that the tf function was for files... but I was trying to use it on text in a variable. (I didn't pay enough attention) I have fixed this, actually, with my own f...