Sign in to follow this  
Followers 0
Icy

GoldWave recording shortcut - Help Needed

3 posts in this topic

Hello, so I created a little script, which I need to enhance and I hoped that you could help me a little.

What I want this simple program do is to start recording audio when "x" key is pressed (in GoldWave it's Ctrl+F9 combination) and stop recording when the same "x" is pressed (in GoldWave it's Ctrl+F8).

But I want it to work in background. Because GoldWave accepts it's shortcuts only if program is active.

Could you please enhance my script to work just for GoldWave and in background?

Thanks!

HotKeySet("x","STST")
$F8 = 0

While 1
Sleep (250)
WEnd

Func STST()
$F8 = $F8 + 1
If $F8 = 2 Then
$F8 = 0
EndIf

If $F8 = 1 Then
Send ("{CTRLDOWN}")
Sleep (10)
Send ("{F9}")
Sleep (10)
Send ("{CTRLUP}")
EndIf
If $F8 = 0 Then
Send ("{CTRLDOWN}")
Sleep (10)
Send ("{F8}")
Sleep (10)
Send ("{CTRLUP}")
EndIf
EndFunc

Share this post


Link to post
Share on other sites



Well, I know about that, though it didn't work...

On top of a program I used the: "AutoItSetOption ("WinTitleMatchMode",3)" and then used the "ControlSend" command, but it didn't work properly. =/

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0