has anyone thought of creating a parameter.txt for dev Chrome where command lines can be added to it instead of adding them to the shotcut?
This is a discussion on parameter.txt within the Chrome Tech section, part of the Chrome Chat category: has anyone thought of creating a parameter.txt for dev Chrome where command lines can be added to it instead of ...
has anyone thought of creating a parameter.txt for dev Chrome where command lines can be added to it instead of adding them to the shotcut?
Related to this, Chrome has the following open issues relating to registry setting of preferences, especially relating to enterprise installations of Chrome:
http://crbug.com/19374 - Add support for reading preferences from registry as well as Preferences file
http://crbug.com/19380 - Need to change command-line flags to be preferences
I am not sure about the current version of dev Chrome but previous versions do not write to the registry at all
@sul
I beg to differ, previous versions of Chrome (and indeed this one) did write to the registry ...
For instance if you start Chrome from the Start Menu none of your 'command line' properties work ...
This original Thread refers ...
Enable Extensions - Start Menu and Hyperlinks
And if your going to be editing the registry and use gmail you may aswell add this....
http://andrewsreflections.blogspot.c...hrome-and.html
Dev Chrome is the browser by dafault in WinXP and I can't detect any keys in the Registry created by installation of Chrome, although there are references to Chrome
found this extension for using gmail/chrome
https://chrome.google.com/extensions...iddhdapjpbgeoc
Last edited by sulasno; 12-19-2009 at 09:26 AM.
Can you tell me more about this parameter.txt file pls. Where should it be created, what to write inside, some useful links etc. ...
I found reference to this file from http://stadt-bremerhaven.de/;
they have a version of portable where a Chrome loader will load the file before loading Chrome; I tried adding this file and ChromeLoader from the site to my portable Chrome but it didn't work;
I think there is another version of portable Chrome that uses a configuration.ini
example of the file would contain the following;;
--user-data-dir=Profi
--bookmark-menu
-pinned-tab-count=10
--purge-memory-button
--enable-local-storage
If you have .NET then maybe this would help....
chromestart.zip
....and heres an example parameters.txt file...
parameters.txt
Just put parameters.txt in the same directory as chromestart.exe.
The first line is what exe to run and ever line after it is an argument.
Its not called chrome and then run chrome2.exe because that worked with everything except application shortcuts and Im not sure why?
Anyways its something to try.
Oh and this is a compiled Jscript.NET, heres the meager code....
....and instructions on how to compile it.....Code:import System; import System.IO; import System.Diagnostics; var parameters:String=''; var SR:StreamReader = File.OpenText("parameters.txt"); var program:String = SR.ReadLine().ToString(); var args = System.Environment.GetCommandLineArgs(); for (var i = 1; i<args.length; i++) { parameters +=' '+args[i]; } while (SR.Peek() != -1) { parameters += ' '+SR.ReadLine(); } SR.Close(); // Console.WriteLine(parameters); //var p = new Process(); //p.StartInfo.Arguments = parameters; //p.StartInfo.WorkingDirectory = "C:\Documents and Settings\Admin\Local Settings\Application Data\Google\Chrome\Application"; //p.StartInfo.FileName = "chrome.exe"; //p.Start(p.StartInfo); Process.Start(program, parameters);
http://www.phpied.com/make-your-java...a-windows-exe/
Actually it does work with application shortcuts if you change the shortcut to point to chromestart.exe.....might be because I have it installed or something i dont know
Last edited by PAEz; 12-25-2009 at 10:17 AM.
thanks for sharing the info
Edit
I am going to learn how to alter chromestart.zip
since I got to change this line
toCode://p.StartInfo.WorkingDirectory = "C:\Documents and Settings\Admin\Local Settings\Application Data\Google\Chrome\Application";
Code://p.StartInfo.WorkingDirectory = "%userprofile%\desktop\ChromeBeta\Chrome
Last edited by sulasno; 12-25-2009 at 10:41 AM.