Sign in to follow this  
Followers 0
walle

STDOUT stream - Gui not responding

9 posts in this topic

#1 ·  Posted (edited)

Edit: Check Last post

/Walle

Edited by walle

Share this post


Link to post
Share on other sites



Check this.

;o)

(or


nothing is foolproof to the sufficiently talented fool..

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Where did you get the "www" from? That won't work!

The link works fine, though.

;o)

(or

ps. well, after a bit of mod_rewrite, it will.

Edited by corz

nothing is foolproof to the sufficiently talented fool..

Share this post


Link to post
Share on other sites

Looking for the same thing.

Can you lend me a hand, the

source was over my head :)

Share this post


Link to post
Share on other sites

Don't allow the GUI stuff to confuse you, skip straight to the DoIt() function.

The important bits:

$ffmpeg = Run($args, @ScriptDir, @SW_HIDE, BitOr($STDERR_CHILD, $STDIN_CHILD))
HotKeySet("q", "FFmpegAbort")

while 1
    $console_out = StderrRead($ffmpeg)
    if @error then exitloop
    if GUICtrlRead($check_console_output) <> 0 then GUICtrlSetData($edit_out, $console_out)
    DoLog($console_out)
wendoÝ÷ Øwöƥ޶ܬ¶¶¢_¢¼­Ôáy¦è®×îËb¢v®¶­sfgVæ2df×Vt&÷'B 7FFåw&FRb33c¶ff×VrÂgV÷C·gV÷C² &ö6W746Æ÷6Rb33c¶ff×Vr FôÆör5$ÄbfײgV÷C·W6W"6VçB&÷'B6öÖÖæBb333²gV÷C²fײ5$Äbfײ5$Äb¦VæFgVæ0

An that's it in a nutshell.

I haven't changed the code, and it's not really over your head, is it?

;o)

(or


nothing is foolproof to the sufficiently talented fool..

Share this post


Link to post
Share on other sites

Worked like a charm, thanks :)

Share this post


Link to post
Share on other sites

Worked like a charm, thanks :)

Like many things in AutoIt, the idea is far more intimidating than the actual code! ;)

;o)

(or


nothing is foolproof to the sufficiently talented fool..

Share this post


Link to post
Share on other sites

This process takes about 2-3 min, meanwhile my gui

turns blank and not responding. How do I get this to

work properly. And, would be nice if it was possible

to add the information from $CONSOLE_OUT into

$LIST1 = GUICtrlCreateList("", 272, 48, 217, 246, $PBS_SMOOTH, $WS_EX_WINDOWEDGE)

$GET1 = Run(@ScriptDir & '\rar.exe x "' & $RIMG & "\" & $TEST & "\" & $RARFILENAME & '.rar" ' & $MAPP, "", @SW_HIDE, BitOR($STDERR_CHILD, $STDIN_CHILD))
    While 1
        $CONSOLE_OUT = StderrRead($GET1)
        If @error Then ExitLoop
        ConsoleWrite($CONSOLE_OUT, @CRLF)

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