DJI Posted January 17, 2006 Share Posted January 17, 2006 Hello, ok so I have programA.au3 and in that program i have $Command = "bnet.au3" Run (@ComSpec & " /c " & @ScriptDir & "\" & $Command, @TempDir) Now bnet.au3 launches but the .avi video in bnet.au3 doesnt display. However, if i run bnet.au3 myself(by clicking it), the .avi image does display... And i think it might be cause of @ComSpec or something... because the avi doesnt display only when its launched by programA.au3 Link to comment Share on other sites More sharing options...
seandisanti Posted January 17, 2006 Share Posted January 17, 2006 Hello,ok soI have programA.au3and in that program i have$Command = "bnet.au3"Run (@ComSpec & " /c " & @ScriptDir & "\" & $Command, @TempDir)Now bnet.au3 launches but the .avi video in bnet.au3 doesnt display.However, if i run bnet.au3 myself(by clicking it), the .avi image does display...And i think it might be cause of @ComSpec or something... because the avi doesnt display only when its launched by programA.au3it's because .au3 isn't an executable extension to be run the way you're running it. compile it and you should be ok. OR.... one sec going to test something...(may have a fix for you...) Link to comment Share on other sites More sharing options...
w0uter Posted January 17, 2006 Share Posted January 17, 2006 (edited) use quotes also be sure that the working dir should be @tempdir or try prefixing it with Start Edited January 17, 2006 by w0uter My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
DJI Posted January 17, 2006 Author Share Posted January 17, 2006 I've tried it compiled but when it runs the program, it says its xx.avi is not a valid windows image... Then it runs the program...but without the .avi file Link to comment Share on other sites More sharing options...
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