Close

Starting program hidden

Having trouble with Sighthound Video? Post here for help.

Moderator: Staff

User avatar
ryan
 
Posts: 1015
Joined: Wed Aug 25, 2010 2:52 pm
Location: Palo Alto, California

Starting program hidden

by ryan » Sun Sep 12, 2010 6:09 pm

The thread below was imported from our previous forum.
Hi,

I start the program and once i see the interface, I close it. The program still runs in the background via the AGENT exe processes. How can i start VD without having to do open and then close the video interface? This is, how do I start it hidden. I tried to execute the agent commands I found in the processes list via a batch file. I do not know if they require the VIDEO exe to kick off or I am executing them in the wrong order.

Any clues would be great.

thanks
Mike (Registered)
Val

Val,

You can do it, but it's not the easiest thing in the world since it's different depending on your version of Windows and your user name. ...and it requires knowing how to create a batch file.

You'll want your batch file to contain two lines that look something _similar_ to this:

--

cd "C:\Program Files (x86)\Vitamin D Video"
start "VitaminD" "Vitamin D Agent.exe" --backEnd "C:\Users\myUserName\AppData\Local\Vitamin D Video"

--

The first line sets the current working directory to the directory I installed Vitamin D Video into. I'm running on a 64-bit version of Windows, so by default that is "C:\Program Files (x86)\Vitamin D Video"

The second line starts the "Vitamin D Agent" and tells it that it should start the back end (all of the background processes). It needs to tell the back end where it should store data. Usually the main application figures this out for you, in this case we need to do it manually. The line above assumes that you're running Windows Vista and your user name is 'myUserName'. You can find the data folders for other versions of Windows here:
http://www.vitamindinc.com/support/ref_ ... ps_16.html


Hope that helps. Good luck!


-Doug

P.S. If you have a need to quit Vitamin D Video's back end gracefully, you can do it with the commands:
cd "C:\Program Files (x86)\Vitamin D Video"
"Vitamin D Agent.exe" --quit

...it's not a good idea to do this if the main application is running, though...
Learn more about Sighthound Video in our support pages - Reference Guide | All Articles
Are you a developer? Check out our cloud APIs - Demo | Docs

no avatar
Val
 

Re: Starting program hidden

by Val » Tue Sep 28, 2010 10:52 pm

Hi Ryan, thanks.

I trialled this and found that events were being recorded but those videos had "video could not be found" or something similar.

Anyway, my method of starting the program is to execute it. Open a browser window that will cover the program when it finishes "Starting VD". Then right click close VD.

Cheers,
Val


Return to Technical Support
cron