Jump to content

Recommended Posts

Posted

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

Posted

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

it'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...)
Posted

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

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
×
×
  • Create New...