command line args

Oct 16, 2012 at 2:14 AM

great tool ! the only thing , it would be great to use command line parameter in next release 

smth like this:

                private string[] _filesToLoad;
 
		protected override void OnStartup(StartupEventArgs e)
		{
			base.OnStartup(e);
			_filesToLoad = e.Args;
		}
 
		protected override void OnActivated(System.EventArgs e)
		{
			base.OnActivated(e);
 
			foreach (var file in _filesToLoad)
			{
				if(File.Exists(file))
						(MainWindow as Window1).loadFile(file,true);
			}
		}
    
Developer
Mar 12, 2013 at 6:21 PM
I have made this change and it is currently in the source. I will reply to this once it has been officially released.