PDA

View Full Version : REQ: List of command line options



Ron
October 13th, 2002, 12:55 PM
girder -eventstring <eventstring>
girder -show
girder -hide

To open a .gml file simply specify this on the commandline like this

girder openme.gml

Note 1: there was a bug preventing girder from opening files from the commandline up until girder 3.2.4
Note 2: only works when Girder starts, it doesn't make girder load a new file.

Hmmm, okay there seems to be a regression, the open from the commandline doesn't work... Added to the todo list.

update: found the bug,.. its a weirdness in Delphi, don't have time to fix it now. ( cmdline and paramstr(#) give different results, unless Girder runs under the delphi debugger, then it works :( )

Ron
October 13th, 2002, 12:55 PM
You can find that in the registry.

hklm/software/girder/AutoLoadFile

When it is finished?,.. it should not take long since I know what is causing the bug,.. but I'm currently so swamped in work and family stuff that I hardly have time to eat breakfast. Well sort-of. Maybe I can find some time later today, no promises though.

Ron
October 13th, 2002, 12:55 PM
okay I had a few minutes, check out 3.2.5pre1.

mdnitehk
October 13th, 2002, 12:55 PM
Hello everyone,

I've been searching the forums for awhile today, and I was wondering if there is a list of command line options for girder anywhere, because I couldn't find any. I am specifically interested in one to load a gml file at startup. I've been using the load at startup option in the Girder settings, but I now have a need to load a different girder files depending on what is needed when girder initially loads.

Thanks in advance,
Jeff

mdnitehk
October 13th, 2002, 12:55 PM
Hi Ron,

Thank you for the quick reply. I was just curious how long it would take to get this feature working. I'm not trying to rush you or anything... just curious :)

I'm working on an application, and right now I think that's the feature I need to get things working properly. I'll give you the rundown to see if you have any other ideas. My program is for an HTPC. When it loads it detects the CD / DVD and launches the appropriate application. Right now, I need it to switch the girder files, or trigger something the activates/deactivates certain groups on startup depending on which application is loaded. Unfortunately because the applications are loaded before girder, I can't have it detect them. And because I am not using Explorer as my shell, it wouldn't anyways. So before I added the autodetect code to my program it worked just fine, but I wanted to have autodetect, so now I have problems :) - Prior to the autodetect code, i used the commandline eventstring option to trigger the activation/deactivation of groups, and it worked great, but now I want more!! hehe

Anyways, if that gives you any other ideas as how to fix it with Girder in it's current state (without the option to start with different gml files), please pass them on, otherwise I'll wait for a fix... no big deal either way.

Thanks again for all your help, and for reading,
Jeff

mdnitehk
October 13th, 2002, 12:55 PM
Where does the gml file that appears in the Autoload box of the settings get stored. Is it in the registry, or some ini file that i can't find?

I was thinking i could change the autoload filename this way temporarily until a new feature is added that would to this from the command line.

Thanks again
Jeff

mdnitehk
October 13th, 2002, 12:55 PM
Hi Ron,

I found the registry key last night, and have my program working with that right now, but I'll be sure to download the newest beta/prerelease and try it out when I get home!! You're a machine!

Thanks again,
Jeff