I am trying to use a variable to specify the number of times a key is repeated with send. It is somewhat similar to
viewtopic.php?t=40977 but I am using V2. Also, I am trying to use a global variable since I want to use the same one in each function. Here is the code I have so far but the tab does not work in "send". The reason I'm doing this is I have 6 different functions and the tab count is the same for each but can change sometimes. So I wanted a way to make that change just one place instead of all 6. Earlier I had the literal number on each one and that worked, but would require changing each of the numbers when I want to change.
Code: Select all
GlobalTabCount := 7
F3::
{
Send "000{Tab GlobalTabCount}"
}
F2::
{
Send "00{Tab GlobalTabCount}"
}