IF KEY IS PRESSED

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
nodochau
Pro Scripter
Posts: 132
Joined: Wed Jan 16, 2019 12:59 pm

IF KEY IS PRESSED

Post by nodochau » Fri Jan 03, 2020 2:30 pm

Hello All,
Are we able to write code to do this:
If this key is pressed then do this. If that key is pressed then do that.
Thank you

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

Re: IF KEY IS PRESSED

Post by Dorian (MJT support) » Fri Jan 03, 2020 2:53 pm

It sounds like what you may need is OnEvent.

Depending on your scenario, also look at Ask, Input, WaitKeyDown , and If/Else
Yes, we have a Custom Scripting Service. Message me or go here

nodochau
Pro Scripter
Posts: 132
Joined: Wed Jan 16, 2019 12:59 pm

Re: IF KEY IS PRESSED

Post by nodochau » Fri Jan 03, 2020 8:56 pm

Thank you.
I got it.

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