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 

button 1 executing tab 3 button's action...not working

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



Joined: 09 Nov 2009
Posts: 258

PostPosted: Mon Feb 15, 2010 10:19 am    Post subject: button 1 executing tab 3 button's action...not working Reply with quote

hi everyone...in my gui i have three tabs and on each tab i have button so now what i am trying to do is when i press a button from tab1 then it should press the button of tab 3 and thus action related to that button of tab 3 should be executed by i am not getting that
Code:

Button1:
gui,submit,nohide

send !{B} ;hotkey for button of tab 3
return


well it shows like the button gets pressed as the underscore is displayed but why the action related to button of tab 3 is not executed???
Back to top
View user's profile Send private message
SoLong&Thx4AllTheFish



Joined: 27 May 2007
Posts: 4999

PostPosted: Mon Feb 15, 2010 10:35 am    Post subject: Reply with quote

Why not simply Gosub, Button1Tab3: I assume that button on tab 3 has a label?
_________________
AHK Wiki FAQ
TF : Text files & strings lib, TF Forum
Back to top
View user's profile Send private message
Jasdeep



Joined: 09 Nov 2009
Posts: 258

PostPosted: Mon Feb 15, 2010 10:56 am    Post subject: Reply with quote

good idea but button on tab3 calls a function i tried with function calling it works but i thought of doing something what i wished above...hope u will get me some more ideas and thanks for your answer
Back to top
View user's profile Send private message
Display posts from previous:   
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