PDA

View Full Version : Automatically watch movie in drive d:\ ?



Mark F
October 13th, 2002, 12:55 PM
If the file type is already registered with a player, you should be able to just define a command to execute the file.

Add a command. Go to the O.S. tab (looks like a little windows flag). In the dropdown listbox find the "execute" entry. Use the browse button to find the file. Press apply. Try the command.

I hope this works. It does on my system. :smile:

EDIT: DUH! part two - If the filename is not the same every time ... edit the filename and replace the value with a text register substitution string (like [tregX] where 1<=X<=25). Put a command somewhere before the execution of this command to set the text register value to right filename.

_________________
Mark F

<font size=-1>[ This Message was edited by: Mark F on 2001-11-06 00:10 ]</font>

Mark F
October 13th, 2002, 12:55 PM
Sure. Sorry for not being clear.

First, build the execute command as I outlined above.

Second, change the filename in the filename field. Replace the part after the last slash ("/" or "") with the string "[treg1]" without the "". Press apply.

An example - change d:tempfilname.avi to d:temp[treg1]

Third, add a new command before the execute command. Go to the Girder tab (looks like a wedge with buttons on it). In the dropdown listbox find the "Set Text Reg" entry (last one in the list on my system). From the other dropdown listbox choose 1 for register 1. Put the name of the file in the edit field (filename.avi from the example above). Press apply. Test the command. Test the execute command.

Now you have two commands that must be used together, in a specific order, to "execute" a file.

I hope this helps. :smile:

Mark F
October 13th, 2002, 12:55 PM
Ok but, how to make Girder to read the filename, then put this name into [treg1]
I don't know. As far as I know, there isn't a plugin or function that does this. All of the interfaces for doing this are available for a plugin writer, though.

Mark F
October 13th, 2002, 12:55 PM
The text registers are stored in Girder program memory which is not accessable except by plugins and Girder, itself.

Dada
October 13th, 2002, 12:55 PM
hi there,

first of all, thanks for the software, i love girder since i first figured out how to use it!

Question : Is there a way to create a command that automatically plays the file on a CD ? I got some movies in divx on just one CD, so its the only file there. Something like the dos-command "play d:*.*" is that possible ? U will need a variable, i know that, but i am not a programmer and got no clue how to solve that thing.
Couldn't find anything using the "search", so if anybody knows how to do that, please help...

Thanks a lot,
Dada

Dada
October 13th, 2002, 12:55 PM
EDIT: DUH! part two - If the filename is not the same every time ... edit the filename and replace the value with a text register substitution string (like [tregX] where 1<=X<=25). Put a command somewhere before the execution of this command to set the text register value to right filename.


i'm pretty new to girder so i don't know much the deeper inside of it and the programming language behind it. Could you be more specific about that (exact command) ? Thx a lot

Dada

Dada
October 13th, 2002, 12:55 PM
Thanks Mark,

that was clear, thanks a lot ! I'll try it tomorrow as soon as i get home. Little breakthrough in Ir HTPC-Controlling :smile:

Besides, greetings from the german HTPC-Message board (www.htpc.isinteresting.com).

Dada

Dada
October 13th, 2002, 12:55 PM
Allright, just tried to do as advised and got stuck (of course, i see that now).

Hello Plug-In-writers, HELP ! :smile: RonB ?

Greets,
Dada

Dada
October 13th, 2002, 12:55 PM
So is there any plug-in-developer who need this thing, too ? Would make a big step in automation of your HTPC.

greets,
Dada

Dada
October 13th, 2002, 12:55 PM
Allright, where can i get it and how can i use it ? :smile:
couldn't find it anywhere...

Whatever file is on my cdrom should be played by just one click on my remote.

greets,
Dada

Dada
October 13th, 2002, 12:55 PM
Thanks a lot Jalcot !
Looks like exactly what i was looking for.

Hope other users found that usefull, too.

greets,
Dada

giova
October 13th, 2002, 12:55 PM
did i missed something ????

Ok but, how to make Girder to read the filename, then put this name into [treg1]

???

because if i've understood what u say, we have to put manually the filename, so it is not a dynamic value !!!!

giova
October 13th, 2002, 12:55 PM
ok, so please, light me...

a way would be to launch a bat file that would be like this :
-----------------------
d:
cd
dir *.avi >c:resultdir.txt
-----------------------------
then with automated notepad
copy, then past the resultdir.txt content into [treg1]

That may works, but will not be perfect, because we are not sure of the content of result.txt, so bugs could appear.

Now i would like to know, [treg1] where is it stored ? is it in a simple file, or in registery ? if it is in registery, maybe there is a way to know the d: content ???!!!???

any idea for that?

<font size=-1>[ This Message was edited by: giova on 2001-11-07 22:38 ]</font>

<font size=-1>[ This Message was edited by: giova on 2001-11-08 21:35 ]</font>

Jalcot
October 13th, 2002, 12:55 PM
Well... if you want play avi files from d: you can use ODOpenFile 0.99 with Girder... is very simple to use...

Jalcot
October 13th, 2002, 12:55 PM
you can get OSDOpenFile 0.99 from

http://osdopenfile.m8.com


and you have to download
(visual basic 6) dll dependences for run properly the program, in the same page...

:smile:

Jalcot
October 13th, 2002, 12:55 PM
sorry the correct url is:


http://osdopenfile.8m.com/


:grin:

see you!