PDA

View Full Version : Command line



NewsArchive
09-06-2007, 01:59 AM
Hi Friedrich,

Would you consider adding a command line option that would write the
install script to a (text) file, both specified in the command line?

Also an option to write the script _and_ included scripts?

Could be something like:

Sbuilder.exe /C "project.sb6" /W "project.txt"

and

Sbuilder.exe /C "project.sb6" /WI "project.txt"

This would be the same output as you currently have in File | Print
Script, except it would be sent to a file instead, specified in the /W
(for WRITE) or /WI (for Write with Includes) argument.

Best regards,

Arnór Baldvinsson
Icetips Creative, Inc.
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
09-06-2007, 02:00 AM
Hi Arnór,

Good idea. I'll give it some thoughts!

Thank you for your suggestion.

Friedrich

NewsArchive
09-06-2007, 12:18 PM
Hi Friedrich

>Good idea. I'll give it some thoughts!
>
>Thank you for your suggestion.

Question: I'm thinking about being able to open the generated .html
file after compile if needed. Since the destination of the project
exe can be changed in the project I presume the HTML goes where the
exe goes? For most part I can get the filename of the project and
then attempt to access a subfolder with that name and then the htm
file, but is there any option to find that html file if the install
exe destination has changed?

Best regards,

Arnór Baldvinsson
Icetips Creative, Inc.
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
09-06-2007, 03:00 PM
Hi Arnór,

> Question: I'm thinking about being able to open the generated .html
> file after compile if needed. Since the destination of the project
> exe can be changed in the project I presume the HTML goes where the
> exe goes? For most part I can get the filename of the project and
> then attempt to access a subfolder with that name and then the htm
> file, but is there any option to find that html file if the install
> exe destination has changed?

Yes, the .htm goes where the .exe goes. The [OUTPUTDIR] compiler variable
"should" <g> give you the location of the .exe (and HTML document). It
should also work fine with "Releases".

Friedrich

NewsArchive
09-06-2007, 03:01 PM
Hi Friedrich,

>Yes, the .htm goes where the .exe goes. The [OUTPUTDIR] compiler variable
>"should" <g> give you the location of the .exe (and HTML document). It
>should also work fine with "Releases".

I'll be testing this in a minute and let you know:)

Best regards,

Arnór Baldvinsson
Icetips Creative, Inc.
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php