honwahp Posted September 17, 2009 Share Posted September 17, 2009 I would like to write a script so that when run, the 'shift' key is always pressed. Is there a way to do this? Link to comment Share on other sites More sharing options...
Mison Posted September 17, 2009 Share Posted September 17, 2009 search for "{SHIFTDOWN}" in the Help file and you will be helped.. promise Hi ;) Link to comment Share on other sites More sharing options...
Mecrazycoder Posted September 17, 2009 Share Posted September 17, 2009 Hope this will help you while 1 Send("{SHIFTDOWN}") WEnd [size="4"][font="Arial Narrow"][font="Garamond"]Attitude is a little thing that makes a big difference[/font][/font][/size][indent][/indent] Link to comment Share on other sites More sharing options...
jvanegmond Posted September 17, 2009 Share Posted September 17, 2009 To prevent insanely high CPU usage: While 1 Send("{SHIFTDOWN}") Sleep(100) WEnd github.com/jvanegmond Link to comment Share on other sites More sharing options...
nfaustin Posted September 17, 2009 Share Posted September 17, 2009 I think this is enough. Send("{SHIFTDOWN}") It will not go up until command below given. Send("{SHIFTUP}") [font="Palatino Linotype"][size="2"]*** The information contained in this post should be considered and certified WORKS ON MY MACHINE ***[/size][/font][font="Palatino Linotype"][size="2"] [/size][/font] Link to comment Share on other sites More sharing options...
jvanegmond Posted September 17, 2009 Share Posted September 17, 2009 Or if the user pushes the shift key. github.com/jvanegmond Link to comment Share on other sites More sharing options...
nfaustin Posted September 17, 2009 Share Posted September 17, 2009 Yup, you right Manadar. Or else he may use BlockInput if this is applicable to his script. [font="Palatino Linotype"][size="2"]*** The information contained in this post should be considered and certified WORKS ON MY MACHINE ***[/size][/font][font="Palatino Linotype"][size="2"] [/size][/font] Link to comment Share on other sites More sharing options...
jvanegmond Posted September 17, 2009 Share Posted September 17, 2009 Good suggestion. github.com/jvanegmond Link to comment Share on other sites More sharing options...
honwahp Posted September 17, 2009 Author Share Posted September 17, 2009 Thank you all for your input! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now