Jump to content

Need help by using autoplay media studio 8

MoJoMax

Hello, i'm working on a program that executes a program via cmd.

So basically there's a program that's called april tools, but it's not graphical.

it used to track motion of a camera using a special tag you print out,

so you convert the video to an image sequence 

and feed it to april tools..

so basically to use it you would do this in CMD.EXE "apriltools.exe --path PATH_OF_IMAGE_SEQUENCE_GOES_HERE --focal-length-pixels FOCAL_LENGTH_OF_CAMERA_IN_PIXELS"

 

So i decided to make it much easier to use.

I ask the user to specify where apriltools.exe is

and then when the user decides to start the process

th user will click the button..

so here's is the code isolated:

cmd = File.Run(" "..getpath.. ""..back.."apriltools.exe", "apriltools. --path "..IMG.." --calculate-focal-length", "", SW_SHOWNORMAL, false)

"..back.." is variable containing a text backwards solidus

from a label hidden from view.. i had to do this beacuse it would not let me enter the solidus directly.

and also ..path.. is the location of april tools.exe.

And ..img.. is the location of the image sequence..

and the rest is the arguments..

So when the code on the top is executed nothing happens. it should of opened a 

cmd window..

there's a video... showing my exact issue..

is there to execute it like where a .bat file but without actually using such file?

or i'm using the wrong action??

I will be very grateful if someone could help me...

 

Link to comment
Share on other sites

Link to post
Share on other sites

  • 3 weeks later...
8 minutes ago, MoJoMax said:

@GoodBytes i really don't care anymore..

Good. You should also learn programming and not use those overpriced garbage (AutoPlay Media Studio) 

I have yet seen such type solution (any of those 'make programs without programming') ever be a non-pain in the ass. 🙂

 

Anyway, my just my opinion.

Link to comment
Share on other sites

Link to post
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

×