Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 22:33

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



I need an on-screen keyboard that only has 3 keys (Shift, Ctrl and Alt).

Discussion on I need an on-screen keyboard that only has 3 keys (Shift, Ctrl and Alt). within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2019
Posts: 3
Received Thanks: 0
I need an on-screen keyboard that only has 3 keys (Shift, Ctrl and Alt).

Could someone point me in the right direction to a sample script that I can modify to make an on-screen keyboard that only has 3 keys (Shift, Ctrl and Alt)? I would like to be able to click on these keys and "fool" my computer into thinking I am holding these keys down.

Thank you in advance for any help,
yeto
yetoyeto is offline  
Old 10/05/2020, 13:49   #2
 
[Beatrice]'s Avatar
 
elite*gold: LOCKED
Join Date: Oct 2014
Posts: 1,258
Received Thanks: 12,469
Code:
#include <WinApiSys.au3>
#include <WinAPIvkeysConstants.au3>

Keybd_Event($VK_SHIFT) ; press shift
Sleep(1000)
Keybd_Event($VK_SHIFT,0x2) ; release shift

Func Keybd_Event($bVkey,$dwFlags=0x0)
_WinAPI_Keybd_Event($bVkey,$dwFlags,_WinAPI_MapVirtualKey($bVkey,$MAPVK_VK_TO_VSC))
EndFunc
[Beatrice] is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
IWJ Macro Ctrl, Alt, CapsLock, Mouse buttons, Shift
10/13/2018 - S4 League Hacks, Bots, Cheats & Exploits - 134 Replies
Hey Epvp ^^' , I'd Just want to share My Small Instant Wall Jump (IWJ) Macro You will find the updated download link in video description :) What Is IWJ?] Download it here :P Working OS OS| Status Windows 7 x32 | http://i.epvpimg.com/Liclg.png Windows 7 x64 | http://i.epvpimg.com/Liclg.png



All times are GMT +1. The time now is 22:34.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.