Pressing two keys simultaneously

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
diamondrail
Newbie
Posts: 17
Joined: Wed Jul 31, 2019 9:38 am

Pressing two keys simultaneously

Post by diamondrail » Fri Oct 04, 2019 9:32 pm

Hi,
I am wanting to press "TAB" and "SHIFT" at the exact same time, once.

I have tried a few combinations but with no success in coding.

User avatar
Grovkillen
Automation Wizard
Posts: 360
Joined: Fri Aug 10, 2012 2:38 pm
Location: Hudiksvall, Sweden
Contact:

Re: Pressing two keys simultaneously

Post by Grovkillen » Sat Oct 05, 2019 12:21 pm

Study the manual in the section for key strokes.
Let>ME=%Script%

Running: MS14.5.4

diamondrail
Newbie
Posts: 17
Joined: Wed Jul 31, 2019 9:38 am

Re: Pressing two keys simultaneously

Post by diamondrail » Sat Oct 05, 2019 2:55 pm

Thanks, checked already and didn't find a solution that works.

diamondrail
Newbie
Posts: 17
Joined: Wed Jul 31, 2019 9:38 am

Re: Pressing two keys simultaneously

Post by diamondrail » Sat Oct 05, 2019 3:07 pm

So far:

CapsOff
Press LShift * 10
Wait>0.047
Press Tab
Wait>0.047
Release LShift * 9
Wait>0.687
Press LShift * 9
Press Tab
Wait>0.047
Release LShift
Wait>2.23
Press Up * 4
Wait>0.532

diamondrail
Newbie
Posts: 17
Joined: Wed Jul 31, 2019 9:38 am

Re: Pressing two keys simultaneously

Post by diamondrail » Sat Oct 05, 2019 3:12 pm

IS "Setfocus" necessary? The window that I am trying to manipulate is a "CHoose File to Upload" window in Internet Explorer....

I find when I run the script, the "Choose file to upload" window opens, but nothing else happens..

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 478
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Re: Pressing two keys simultaneously

Post by Dorian (MJT support) » Mon Oct 07, 2019 12:46 pm

I think I just answered this question via the help desk, so you'll see a more in-depth answer there.

Code: Select all

Press Shift
Press Tab
Release Shift
Always accepting custom script commissions. Message me or go here

Post Reply