Page 1 of 1

Making a key cause a series of stokes including itself

Posted: 11 May 2018, 00:06
by Verdex
I was trying to set up a script to cause a series of keys to be pressed by pressing a single key
something like this,

a::
{
Send fdsa
}
return

When i press a it begins by typing fds then gets looped it seems by including another fds instead of the a. (makes since as soon as i did it in a document)
was wondering if there is a way to make it still include the a at the end and not repeat?

Thanks. Totally new to this

Re: Making a key cause a series of stokes including itself

Posted: 11 May 2018, 00:23
by Verdex
got it thanks....add

~a::
{
send fds
}
return

Re: Making a key cause a series of stokes including itself

Posted: 11 May 2018, 00:23
by Verdex
got it thanks....add

~a::
{
send fds
}
return

Re: Making a key cause a series of stokes including itself

Posted: 11 May 2018, 00:25
by scriptor2016

Code: Select all

$a::
sendinput, fdsa
return