This project is read-only.
Automation of the routine actions


This plugin is created to automate routine actions, as alternative for the bat, ps1 files, ant scripts and etc.
Contains scripts, written on c#. You can run it with this plugin from menu or with console tool, which use settings of the ui plugin (I use it with continuous integration server). Last specified parameters of the script are saved and you don't need to specify it again. It support undo for operations, but this feature is disabled for now.


Plugin allow creation of the different profiles to allow grouping of the commands.


For each profile you can configure set of the script projects.


Sample of the scripts project. Also in this window you can enable or disable scripts.



From plugin menu you can run very simple script editor.


You can build, view build errors and save changes. But the better way is to edit scripts in solution from Data\Automater folder in visual studio.


In this menu you can find profiles, you can run all scripts from this profile or separate script. For separate script you can specify all parameters, for batch run, plugin use previously configured parameters.


Script is a simple cs file in folder Data\Automater. Script should contain one non static public class, inherited from ScriptEngine.IScript. It can use all libraries from library folder.

Scripts parameters

Parameters should be public properties of this class, also you can specify different attributes with special parameters. For example:
public bool BoolParam{get;set;}

public string StringParam{get;set;}

[Password(CanBeEmpty = true)]
public string Password { get; set; }

public Guid GuidParam{get;set;}

public string FileParam{get;set;}

public string DirectoryParam{get;set;}

public int IntParam{get;set;}

public double RealParam{get;set;}

[StringList( "1", "2", "3")]
public string[] StringListParam{get;set;}

public IList<Guid> GuidListParam{get;set;}

[FileList("f1", "f2", "f3")]
public IList<string> FileListParam{get;set;}

[DirectoryList("d1", "d2", "d3")]
public IList<string> FolderListParam{get;set;}

public IList<int> IntListParam{get;set;}

[DoubleList(Min=-100, Max=100, Values=new double[]{0, -1, 10})]
public IList<double> RealListParam{get;set;}

[StringDictionary("key", "value")]
public IDictionary<string,string> StringDictionaryParam { get; set; }

[GuidDictionary("Test", "C97F361A-FE72-4532-813B-F54BDF922770")]
public IDictionary<string, Guid> GuidDictionaryParam { get; set; }

[FileDictionary( "file", "D:/test.txt", "file2", "D:/test2.txt")]
public IDictionary<string, string> FileDictionaryParam { get; set; }

public IDictionary<string, string> FolderDictionaryParam { get; set; }

[IntegerDictionary(Min=0, Max=10)]
public IDictionary<string, int> IntDictionaryParam { get; set; }

[DoubleDictionary(Min=-100, Max=100)]
public IDictionary<string, double> RealDictionaryParam { get; set; }

All parameters validate its own value. If property don't contain attribute, plugin try to identify type of this property. For collections properties you can disable some of the values.

Standart scripts
  • AddTracing - add tracing to file for application. I use it with Requests watcher plugin
  • EnableFeatures - configure features for config files.
  • OptimizeSolution - try to optimize solution compile time: disable tasks, copy of the files, create hard links for dlls and projects.
  • params - Demo to show parameters.
  • PutObjects - Integrate dlls from package from teamcity by projects.
  • RunDevServers - Runs cassini dev servers.
  • SelectDatabases - Allow you specify connection strings to databases for all projects. For example you can specify only one connection string from set of the existing.
  • StopDevServers - Stops cassini dev servers.

Last edited Nov 22, 2013 at 3:43 AM by mnk92, version 9