#42 Variable Passing

open
nobody
5
2010-06-15
2010-06-15
vf2nsr
No

I am attempting to repackage this great program into a Portable version compliant with the protocol of PortableApps.com I am having difficulty passing a variable to change the location of the goosystray.ini, googsystray.err.log and googsystray.out.log Is a way to make the file location user configurable? Also would it be possible to allow a user with multiple browser to be able to decide which browser they want to open to access things?

Discussion

  • Jim Duchek
    Jim Duchek
    2010-06-15

    It uses (on Windows) the environment variables $TEMP and $APPDIR to determine where to put stuff.

    As far as deciding which browser to use, (I think this is only in SVN/1.2), there's an option to open URL's via a specified command line. Otherwise it will use the system's default browser.

     
  • vf2nsr
    vf2nsr
    2010-06-15

    Thanks for response

     
  • vf2nsr
    vf2nsr
    2010-06-19

    Can I at least get a clue in the source code where the default browser is referenced. I have downloaded it and have yet to find it?

     
  • Jim Duchek
    Jim Duchek
    2010-06-19

    http://docs.python.org/library/webbrowser.html -- I use Python's built-in webbrowser support. Taking a quick glance at that code, it looks like for Windows, it simply attempts to 'run' the URL and Windows takes care of the rest.