Hello,
I am new to AutoIt, and this is my first post on these forums. I just have a brief question regarding the Send() function, and how I use it in my code.
The task that I am trying to automate requires a long sequence of keystrokes, one right after the other. I could just put all of the keystrokes into one string, and pass that to the Send() function. However, I've decided to break my one Send() call up into many smaller Send() calls instead, one right after the other.
Why do I do this? For readability and understanding. Otherwise, I just have one giant line with a Send() call that is very hard to dissect/understand, even with comments. My question, however, is the following: would this make my program noticeably less efficient? I don't know how much overhead is involved in calling Send(), much less any function in AutoIt, but is it enough to make a difference after a myriad of Send() calls? An excerpt from my program is below (this part is in a loop actually):
Also, a bit unrelated to the topic at hand, but is there much of a difference between using, say, ^ vs. {CTRL} for the CTRL key? I know that, for example, this allows for easier repition, e.g. {CTRL 4}, but is there any difference in delay per keystroke between Send("{CTRL}c") and Send("^c")?
Thanks,
Kyle