realbasic-nug
[Top] [All Lists]

windows commandline/pipe output

To: "REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>" <realbasic-nug at lists dot realsoftware dot com>
Subject: windows commandline/pipe output
From: grimmwerks <grimm at grimmwerks dot com>
Date: Tue, 30 Nov 2004 17:35:33 -0500
Delivered-to: realbasic-nug at lists dot realsoftware dot com
I fooled with this a bit (and some of you helped me me to do it
successfully) on mac osx: launching curl via commandline and transferring
the normal ascii 'progress' to a true progress bar.

I've now got another application, but on WindowsXP; I'm controlling a Canon
Rebel camera and have a .Net standalone app that up til now I've been
launching as hidden that tells the camera to take the picture, and then
transfers the image from the camera to the hard drive.

When I don't launch the application as hidden it actually outputs:

C:\Documents and Settings\SOL>C:\mfcTry\mfctry.exe ./boo.jpg
initializing
about to start sdk
savepath = 1243592
about to take picture
Download Progress = 0
Download Progress = 1
..
Download Progress = 100
Starting file action thread
About to obtain image data
about to save file
File Save Progress = 0
..
File Save Progress = 100
File save finished



Is there any way that I can pipe this commandline output into RB and display
a pretty progress bar?


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>