tETSuO Posted August 13, 2006 Share Posted August 13, 2006 hi: I need the code to change the "Capslock" per "SHIFT" , "SHIFT" per "CTRL" (left ctrl) and the "CTRL" per "ALT" (left alt).... i wait answer.. thx! bye! Link to comment Share on other sites More sharing options...
NELyon Posted August 14, 2006 Share Posted August 14, 2006 Wow, i couldn't understand one word after "the" Link to comment Share on other sites More sharing options...
tETSuO Posted August 14, 2006 Author Share Posted August 14, 2006 Wow, i couldn't understand one word after "the"i don`t speak good english i am from Argentina....I want that when tightens "SHIFT" it sends "CTRL" equal with the others! now understand?? Link to comment Share on other sites More sharing options...
Nurgler Posted August 14, 2006 Share Posted August 14, 2006 i don`t speak good english i am from Argentina....I want that when tightens "SHIFT" it sends "CTRL" equal with the others! now understand??I guess you have to use a read command which stores a pressed key in a variable and use an if command for each key to change and than use a send command depending on the pressed key.But I think it is quite difficult to make this that general (at least for me).Maybe you should tell us for what you need this script. Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 14, 2006 Moderators Share Posted August 14, 2006 I am going to assume "tightens" was a translation for "pressed". 4 things you can look at HotKeySet() _IsPressed() Send() ControlSend() All of which are in the help file with examples on how to use them. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
tETSuO Posted August 14, 2006 Author Share Posted August 14, 2006 I am going to assume "tightens" was a translation for "pressed".4 things you can look atHotKeySet()_IsPressed()Send()ControlSend()All of which are in the help file with examples on how to use them.I look for the "_IsPressed()" in the aid and it does not appear .....hotkeyset("{LSHIFT}", "shift")_ispressed () (not that it goes here )send ("{LCRTL}")ControlSend() (it is necessary this?)you can be more specific ...plz Link to comment Share on other sites More sharing options...
Xenobiologist Posted August 14, 2006 Share Posted August 14, 2006 Hi, you need the new version or beta for _isPressed. So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
tETSuO Posted August 14, 2006 Author Share Posted August 14, 2006 Hi, you need the new version or beta for _isPressed. So long, Mega i have autoit v3.1.1 it does not take this part me from script HotKeySet( "{LSHIFT}", "leftshift" ) Func leftshift() HotKeySet( "{LSHIFT}" ) Send( "{LCTRL}" ) HotKeySet("{LSHIFT}", "leftshift") EndFunc I do not understand because it does not take it !! Link to comment Share on other sites More sharing options...
Confuzzled Posted August 15, 2006 Share Posted August 15, 2006 i have autoit v3.1.1 3.1.1 is now obsolete. Try 3.2. 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