ReDFlaG Posted June 8, 2006 Posted June 8, 2006 Hi, i'm trying to grab the stdout of readcd.exe (one of the tools bundled with cdrtools) but i can't (it does the same with cdrdao.exe 1.2.1). Even if i redirect the output to a text file ( >test.txt) in a dos command box, the file stay empty while readcd (or cdrdao) output can be seen in the dos box. Any explanation? Thanks. $line='' $foo = Run(@ScriptDir &'\readcd.exe dev='&$temp&' f=test.iso', '', 2) While 1 $line &= StdoutRead($foo) If @error = -1 Then ExitLoop WEnd MsgBox(0,'test',$line)
Simucal Posted June 8, 2006 Posted June 8, 2006 Some dos applications dont use std I/O, so you wont be able to capture the output of them. Microsoft's telnet.exe being an example. AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc)
Lazycat Posted June 8, 2006 Posted June 8, 2006 Some time ago I wrote UDF for handle such applications. It's maybe not perfect, but works.http://www.autoitscript.com/forum/index.php?showtopic=22224 Koda homepage ([s]Outdated Koda homepage[/s]) (Bug Tracker)My Autoit script page ([s]Outdated mirror[/s])
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now