 |
AutoHotkey Community Let's help each other out
|
| View previous topic :: View next topic |
| Author |
Message |
Donny Bahama
Joined: 30 Dec 2006 Posts: 2 Location: Margaritaville (a state of mind somewhere between Inebriation and San Diego), CA
|
Posted: Sun Jul 06, 2008 10:29 pm Post subject: Accelerator keys not working in my GUI |
|
|
When I press Alt+[any of the defined shortcuts], nothing happens. Clicking on a button works fine. Can anyone spot what I'm doing wrong?
| Code: | Gui, Font, S12 CDefault Bold, Verdana
MouseMove, 640, 330
; Send, {ALTDOWN}
Gui, Show, h227 w594, Media Center - Rename Artist
Gui, Add, Button, gThe x12 y11 w570 h30, &The Something --> Something`, The
Gui, Add, Button, gFirst x12 y51 w570 h30, &First Last --> Last`, First
Gui, Add, Button, gMiddle x12 y91 w570 h30, First &Middle Last --> Last`, First Middle
Gui, Add, Button, gBand x12 y131 w570 h30, First Last &Band --> Last`, First Band
Gui, Add, Button, gSome x12 y171 w570 h30, First Last && &Some Stuff --> Last`, First && Some Stuff
Return
|
|
|
| Back to top |
|
 |
Mustang
Joined: 17 May 2007 Posts: 375 Location: England
|
Posted: Mon Jul 07, 2008 12:58 am Post subject: |
|
|
Works fine for me:
| Code: | Gui, Font, S12 CDefault Bold, Verdana
Gui, Add, Button, gThe x12 y11 w570 h30, &The Something --> Something`, The
Gui, Add, Button, gFirst x12 y51 w570 h30, &First Last --> Last`, First
Gui, Add, Button, gMiddle x12 y91 w570 h30, First &Middle Last --> Last`, First Middle
Gui, Add, Button, gBand x12 y131 w570 h30, First Last &Band --> Last`, First Band
Gui, Add, Button, gSome x12 y171 w570 h30, First Last && &Some Stuff --> Last`, First && Some Stuff
Gui, Show, h227 w594, Media Center - Rename Artist
Return
The:
{
MsgBox, The
Return
}
First:
{
MsgBox, First
Return
}
Middle:
{
MsgBox, Middle
Return
}
Band:
{
MsgBox, Band
Return
}
Some:
{
MsgBox, Some
Return
} |
|
|
| Back to top |
|
 |
Guest
|
Posted: Tue Jul 08, 2008 6:53 am Post subject: |
|
|
| Mustang wrote: | | Works fine for me | Wow, bummer. Thanks for taking the time to test it, though! (And for the response!) Not sure where to go from here...  |
|
| 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
|