in

andy vt's tools & blog

Automating lazy

Command-line Arguments for SA?

Last post 08-14-2008 5:32 PM by babgvant. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 08-13-2008 5:20 PM

    • toricred
    • Top 25 Contributor
    • Joined on 08-09-2008
    • Northern New Mexico

    Command-line Arguments for SA?

    If I want to pass an argument to SA based on a particular PC, how would I do it? For example, I want to use a particular ini file when the title contains Law & Order. I know how to create the PC, but not how to pass a command-line argument.
  • 08-13-2008 7:04 PM In reply to

    • babgvant
    • Top 10 Contributor
    • Joined on 10-02-2006
    • Chicago, IL

    Re: Command-line Arguments for SA?

    You need to setup profile selection in the SA config tool.  You need to configure the webserver there, and then setup matching rules.
  • 08-13-2008 7:14 PM In reply to

    • toricred
    • Top 25 Contributor
    • Joined on 08-09-2008
    • Northern New Mexico

    Re: Command-line Arguments for SA?

    The problem is that the automatic profile selection is not currently working with SA.
  • 08-13-2008 7:23 PM In reply to

    • babgvant
    • Top 10 Contributor
    • Joined on 10-02-2006
    • Chicago, IL

    Re: Command-line Arguments for SA?

    the only way to pass arbitrary cmdline args to Sage is by using RunExternal.  The built in class assumes that SA is working properly.
  • 08-14-2008 4:16 PM In reply to

    • toricred
    • Top 25 Contributor
    • Joined on 08-09-2008
    • Northern New Mexico

    Re: Command-line Arguments for SA?

    Is the source for the built-in class available?  That way I don't have to start from scratch.

     

    Never mind, I found the RunExternal you meant.

  • 08-14-2008 5:32 PM In reply to

    • babgvant
    • Top 10 Contributor
    • Joined on 10-02-2006
    • Chicago, IL

    Re: Command-line Arguments for SA?

    for future reference the class is part of the pluggins project it's called commercialanalyzer.
Page 1 of 1 (6 items)
@2008 andy vt
Powered by Community Server (Non-Commercial Edition), by Telligent Systems