Jump to content

STDOUT stream - Gui not responding


walle
 Share

Recommended Posts

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..

Link to comment
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..

Link to comment
Share on other sites

  • 2 weeks later...

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)
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...