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 

[Help] Control, TabRight not working!

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



Joined: 23 Feb 2008
Posts: 59

PostPosted: Sun May 18, 2008 1:10 pm    Post subject: [Help] Control, TabRight not working! Reply with quote

Code:
Run, control mmsys.cpl
Control, TabRight, 2, SysTabControl321, Sounds and Audio Devices Properties


im trying to get to "Sounds" tab of Sounds and Audio Devices Properties control panel


someone mind helping me.. other than a solution using winwaitactive + send ^{tab}

what am i doing wrong? the control example had strange stuff like "sendmessage" that im not familiar with.

it would be SO ideal if i could switch tabs by "tabtitle/name"... in this case. "sounds"
Back to top
View user's profile Send private message
Icarus



Joined: 24 Nov 2005
Posts: 449

PostPosted: Sun May 18, 2008 2:20 pm    Post subject: Reply with quote

It seems to me your problem is only the fact that the control send is sending the command to a window that did not yet show up.
You have to wait for it.
Code:

Run, control mmsys.cpl
WinWaitActive Sounds
Control, TabRight, 2, SysTabControl321, Sounds and Audio Devices Properties
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
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