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 

gui problem

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
bugmenot



Joined: 03 Jul 2006
Posts: 33

PostPosted: Sun Jul 06, 2008 9:17 pm    Post subject: gui problem Reply with quote

evertime i go to start up my gui it comes up error at line 36 line text:#lbutton error: duplicate hotkey. this program will exit anyway round it?
unless anyone knows 6 different ways of using this code ~LButton
Back to top
View user's profile Send private message
evan
Guest





PostPosted: Sun Jul 06, 2008 9:25 pm    Post subject: Reply with quote

show us the code of the hotkey section
Back to top
bugmenot



Joined: 03 Jul 2006
Posts: 33

PostPosted: Sun Jul 06, 2008 9:33 pm    Post subject: Reply with quote

~LButton::Send, {RButton}
LButton UP::Send, {r}

Code:


~LButton::Send, {shift}
Back to top
View user's profile Send private message
evan
Guest





PostPosted: Sun Jul 06, 2008 9:43 pm    Post subject: Reply with quote

Code:
~Lbutton::
Send +{Click, right}
keywait, Lbutton
Send R
return
Back to top
bugmenot



Joined: 03 Jul 2006
Posts: 33

PostPosted: Sun Jul 06, 2008 9:44 pm    Post subject: Reply with quote

i need different things instead of ~lbutton i need 5 asweell
Back to top
View user's profile Send private message
Mustang



Joined: 17 May 2007
Posts: 415
Location: England

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

How can LButton be expected to do 6 different things at the same time?
I think you havn't explained what you are trying to do very well
Back to top
View user's profile Send private message
bugmenot



Joined: 03 Jul 2006
Posts: 33

PostPosted: Mon Jul 07, 2008 8:10 pm    Post subject: Reply with quote

im tryin to set different feature on a menu with buttons but the problem is most of my scripts start with lbutton and it comes up lbutton duplicate error
Back to top
View user's profile Send private message
engunneer



Joined: 30 Aug 2005
Posts: 6847
Location: Pacific Northwest, US

PostPosted: Mon Jul 07, 2008 8:39 pm    Post subject: Reply with quote

then you have a logic problem of how you expect lbutton to work. please post some of your code or a better explination of how you want your script to work. It sounds like you are #including many sub-scripts?

BTW, you don't need to login or register to post, so you do not need to use the Bugmenot tool. bugmenot is to bypass compulsory registration.
_________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM
Back to top
View user's profile Send private message Visit poster's website
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