auto run ltc
 
Notifications
Clear all

auto run ltc

22 Posts
7 Users
0 Reactions
10.2 K Views
Posts: 93
Topic starter
(@quefol)
Estimable Member
Joined: 18 years ago
[#12347]

i think i finally mastered the ltc program for the trick-c im just wondering if there was any way you could auto run the ltc program including the led file on start up so all i would have to do is fire up the computer it automatically opens cmd and goes to correct directory and opens the led file since it is a dedicated computer for the led tricks.


21 Replies
budude
Posts: 10400
(@budude)
Illustrious Member
Joined: 18 years ago

Just put the batch/cmd file in your StartUp directory from the Windows Menu and it will start up automatically when the computer boots up or when the use logs in.


Reply
Posts: 93
Topic starter
(@quefol)
Estimable Member
Joined: 18 years ago

i have never created a batch file before how would i go about doing that


Reply
dnesci
Posts: 563
(@dnesci)
Honorable Member
Joined: 19 years ago
quefol wrote:i have never created a batch file before how would i go about doing that

A batch file is just a text file that has command lines in it. You could easily start the LTC program with this simple batch file. Using the text editor create a file and call it anything such as LTCSTART.BAT. I should have the .Bat exension. Within the file type

[your path to ltc]\LTC.exe [your command flags] [path to your .LED file]

Then create a short cut to the batch file and place it in your start up folder.

It will be exicuted and start LTC when you log on to the computer

Don


Reply
budude
Posts: 10400
(@budude)
Illustrious Member
Joined: 18 years ago

Batch files are pretty easy to put together. Since I assume you'll want this to run continuously, you'll want to look at using LABELs and GOTOs to loop things up. Check out this link for more batch file creation: http://www.computerhope.com/batch.htm (note this is just one example - a bit of Googling will find literally thousands of How-To's on CMD/BAT files).


Reply
Posts: 93
Topic starter
(@quefol)
Estimable Member
Joined: 18 years ago

i created a batch file worked great but now im getting a error mesage saying failed to open ledtriks file the led file was created by vixen it is just scrolling text it looks like it is not accepting the #frm comand did i use the proper comands in the right order my batch file text is as follows

@echo off
start c:\windows\ltc_11.exe tricksseq.led #fdl100 #frm #dly5000 #loop


Reply
budude
Posts: 10400
(@budude)
Illustrious Member
Joined: 18 years ago

Try putting the full path of the led file in the batch file command.


Reply
Posts: 221
(@stenersonj)
Estimable Member
Joined: 17 years ago

i would like to do a similar thing.

our displays will be running in a park and the power will be shut off during the day. i would like my computer to start up when powered up and then run the show i have scheduled.

can i autostart vixen from a batch file and start the timers so the scheduled show will run?

what would the bat file commands be?

i would appreciate any help anyone could provide.

thnaks in advance,


Reply
budude
Posts: 10400
(@budude)
Illustrious Member
Joined: 18 years ago
stenersonj wrote:i would like to do a similar thing.

our displays will be running in a park and the power will be shut off during the day. i would like my computer to start up when powered up and then run the show i have scheduled.

can i autostart vixen from a batch file and start the timers so the scheduled show will run?

what would the bat file commands be?

i would appreciate any help anyone could provide.

thnaks in advance,

Just put Vixen in your Startup folder and it will automatically start up. You just need to define a "Program" just like you would normally do and it should kick off by itself since Vixen will be running.


Reply
Posts: 221
(@stenersonj)
Estimable Member
Joined: 17 years ago

i put a short cut to vixen in the startup folder. it tries to start but i get a very polite message that says "I'm sorry but the application is about to die. please take a screen shot of this message. could not load file or assembly "fmod, version... or one of its dependencies. the syustem cannot find teh file specified.
then it lists 4 things
at vixen.musicplayer..ctor(host host)
at Vixen.host..ctor(form hostform, preference 2 preferences

and two mote like that.

i assume it is not finding the files- what can i do?


Reply
Page 1 / 3
Share: