 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
umek
Joined: 02 Oct 2004 Posts: 74
|
Posted: Mon Nov 08, 2004 12:23 pm Post subject: underlined letters in a menu item's name |
|
|
hi,
the question mark gets not removed in the selected item.
| Code: | Menu, App, Add, &Test, Test
Menu, App, Add
Menu, App, Add, Exit, Quit
Menu, App, NoStandard
Menu, App, Show
Return
;===================
Test:
MsgBox, %A_ThisMenuItem%
Return
;===================
Quit:
ExitApp
Return
|
I think it is not intended ... I hope ...
regards umek |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10467
|
Posted: Mon Nov 08, 2004 1:24 pm Post subject: |
|
|
It's normal for the ampersand to be included in A_ThisMenuItem. You can remove them with:
StringReplace, ThisMenuItem, A_ThisMenuItem, &
MsgBox %ThisMenuItem% |
|
| Back to top |
|
 |
umek
Joined: 02 Oct 2004 Posts: 74
|
Posted: Mon Nov 08, 2004 2:57 pm Post subject: |
|
|
... nothing is impossible in AHK. Thx for the solution.
I'm still engaged to study your code which is searching for urls.
The recursion is my problem, but I will post in the relevant thread.
umek |
|
| Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|