Jump to content
Sign in to follow this  

Can I add this to loop

Recommended Posts

Hi Rbhkamal or anyone who can help

Got a bit further Trying to do the same thing with this but using the modified wav file from sound recorder but I can't figuire out how to access the box (Autoit info window copied bellow) Also been trying to keep details of the file name and add "temp" to it after the sound recorder tried to call it a variable $"filename"=*.wav.

Can I just tag all this (when it works) to the end of the loop so that one file at a time is modified by sound recorder then passed to the input box of the transcribe window of the speech program which then outputs a text file (I would like to keep filename details with each record) Also how do I make it do this part before the loop starts again

I hope you can help with some of this.

:D Thanks Wol :wacko:

Global $filename

Global $n

For $n = 1 To 5 Step 1






WinWait("DragonBar","Show or hide extras")

If Not WinActive("DragonBar","Show or hide extras") Then WinActivate("DragonBar","Show or hide extras")

WinWaitActive("DragonBar","Show or hide extras")

ControlClick("DragonBar", "Show or hide extras", "&Sound")

Send("{down 3}")


WinWait("Transcribe from...","Audio File From &Poc")

If Not WinActive("Transcribe from...","Audio File From &Poc") Then WinActivate("Transcribe from...","Audio File From &Poc")

WinWaitActive("Transcribe from...","Audio File From &Poc")

ControlClick("Transcribe from...", "&Browse...",11218)

WinWait("Open","Files of &type:")

If Not WinActive("Open","Files of &type:") Then WinActivate("Open","Files of &type:")

WinWaitActive("Open","Files of &type:")

Sleep( 500 )

ControlSetText( 'Open' , '' , 1148 , ControlGetText( 'Open' , '' , 1148 )&'_&$n' )

$Title = ControlGetText( 'Open' , '' , 1148 ) & '*.wav',$m)


Press CTRL-ALT-F to pause the display.

>>>>>>>>>>>> Window Details <<<<<<<<<<<<<

Title: Transcribe from...

Class: #32770

Size: X: 310 Y: 151 W: 536 H: 362

>>>>>>>>>>> Mouse Details <<<<<<<<<<<

Screen: X: 543 Y: 302

Cursor ID: 5

>>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<<

RGB: Hex: 0xFFFFFF Dec: 16777215

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<

Size: X: 160 Y: 104 W: 204 H: 28

Control ID: 11217

ClassNameNN: Edit1


>>>>>>>>>>> Status Bar Text <<<<<<<<<<<

>>>>>>>>>>> Visible Window Text <<<<<<<<<<<


&Audio File

Audio File From &Pocket PC

Through the &Line In Jack









Select where Dragon NaturallySpeaking will get your transcription

>>>>>>>>>>> Hidden Window Text <<<<<<<<<<<

Edited by wol

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...