AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Accelerator keys not working in my GUI

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
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

PostPosted: Sun Jul 06, 2008 10:29 pm    Post subject: Accelerator keys not working in my GUI Reply with quote

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
View user's profile Send private message
Mustang



Joined: 17 May 2007
Posts: 375
Location: England

PostPosted: Mon Jul 07, 2008 12:58 am    Post subject: Reply with quote

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
View user's profile Send private message
Guest






PostPosted: Tue Jul 08, 2008 6:53 am    Post subject: Reply with quote

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... Confused
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group