Control Tab not working

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
Guest

Control Tab not working

Post by Guest » Wed Jun 23, 2004 9:57 pm

I am trying to select different tabs by pressing CTRL and then sending TAB. But MS does not recognize that the CTRL key is held down, so it just cycles through the different fields. So I have resorted temporarily to using mouse clicks to select the tabs. Any suggestions here?

Chris

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Wed Jun 23, 2004 10:12 pm

Please submit the actual code and point out where the problem is exhibited.

Also, what program are you using when pressing CTL-TAB?
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

brad

Post by brad » Thu Jun 24, 2004 6:08 pm

The program we are using is for simulating underwater acoustics, and for a particular simulation, we would like to cycle between tabs, change values and then go to another tab. Here is what we've tried:


SetFocus>PC SWAT - [PCSWAT1]
// ---------------------------------------------------------
// Opens the forward time series dialog box and then modifies the range/depth settings
Press ALT
Send Character/Text>g
Release ALT
Press Up
Press Right
Press Enter
WaitWindowOpen>Forward Time Series
Press CTRL
Press Tab
Press Tab
Press Tab
Release CTRL
Wait>0.05
Press Backspace

// This next send character refers to the range to target.
Send Character/Text>5.5
Press Tab
Press Tab
Press Tab
Send>100
Press Tab
Send>100

// ---------------------------------------------------------



To get it to work correctly, i've just inserted a move mouse rel and then left click:

MouseMoveRel>425,20
LClick


Thanks for your help.

Brad (Chris's co-worker)

Lumumba

Post by Lumumba » Thu Jun 24, 2004 9:18 pm

Would you mind to provide an email address ?

Brad&ChrisatUnderWaterAcoustics.gov

Thx.

brad

Post by brad » Fri Jun 25, 2004 8:02 pm

bake8285 AT uidaho DOT edu

miles

not recognising CTRL

Post by miles » Sun Jun 27, 2004 6:18 pm

I fount that adding a small wait (0.2) seems to fix MS not recognising CTRL being pressed before Tabbing.

miles

wait

Post by miles » Sun Jun 27, 2004 6:34 pm

Just to clear up my bad sentence...

Press> CTRL
Wait>0.2
Send>TAB
Release>CTRL

Using mouse moves is handy but I tend to only use them in all else failes situations, any window movement, or not maximised, and you have errors plopping up all over the place.


Hope this helps.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts