AutoHotKey to add a label (Windows)

Audio software developers forum.
Forum rules
If you require help using Audacity, please post on the forum board relevant to your operating system:
Windows
Mac OS X
GNU/Linux and Unix-like
Edgar
Forum Crew
Posts: 2042
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Re: AutoHotKey to add a label (Windows)

Post by Edgar » Wed Nov 14, 2012 8:10 pm

I am the "college" to which Steve refers above. I use two other scripting facilities on Windows and find I also must insert "Wait X" statements ranging from X equal to .01 to .2 seconds. I have spent a lot of time working on the C++ code for Audacity and I think I understand what is happening. Audacity spends a lot of time "spinning" in a specific drawing loop after every event the app receives (there are other "spin" loops as well in the language translation code for instance). The amount of time spent spinning varies based on a number of factors. I brought this to the attention of the Developers but it is deep in the fundamental code and not of immediate interest to any Dev. Anyway, the best solution is to be generous with timing statements in your macros!

steve
Site Admin
Posts: 80678
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: AutoHotKey to add a label (Windows)

Post by steve » Wed Nov 14, 2012 9:12 pm

Gale Andrews wrote:@Steve, are you saying you can reproduce the problem on Linux
Yes,on Linux, If I get Autokeys to type:

Code: Select all

Ctrl b test <enter>
with no pausing and I'm zoomed in close, the screen scrolls horizontally as described by pshute.
I can't produce the problem by speed typing with hands.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply