MasonMill Posted July 6, 2010 Share Posted July 6, 2010 Say I want to Send("{d down}") but I want to make "d" a variable. say $TheDkey = "d" How do i correctly put that? Send("{$TheDkey down}") does not work, how should it look? Thanks! Link to comment Share on other sites More sharing options...
omikron48 Posted July 6, 2010 Share Posted July 6, 2010 Local $key = "d" Send("{" & $key & " Down}") Link to comment Share on other sites More sharing options...
MasonMill Posted July 6, 2010 Author Share Posted July 6, 2010 Sweet, I learn 100 new things in autoit a day lol. Thanks! 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