Sign in to follow this  
Followers 0
tETSuO

Helpme!

9 posts in this topic

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! :whistle:

Share this post


Link to post
Share on other sites



Wow, i couldn't understand one word after "the"

Share this post


Link to post
Share on other sites

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??

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.


[center]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.[/center]

Share this post


Link to post
Share on other sites

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.

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 !!

Share this post


Link to post
Share on other sites

i have autoit v3.1.1

3.1.1 is now obsolete. Try 3.2.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0