Skip to content

A C# written program, that invokes batch commands from the windows tray bar.

License

Notifications You must be signed in to change notification settings

wenk-silvan/TrayStarter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TrayStarter

Version License Language

A C# written program, that invokes batch commands from the windows tray bar.

Settings

Setting Default Value Description
CommandsFile ./Commands.xml The commands file to load
Username ./App.config The username of this useraccount
Domain ./App.config The domain of this useraccount
Password ./App.config The password of this useraccount

Example Commands File

<?xml version="1.0" encoding="utf-8" ?>
<commands>
   <commanditem name="OpenExplorer" runas="administrator">
      <command>explorer</command>
   </commanditem>
   <commanditem name="Github" runas="user">
      <command>start https://github.com/</command>
   </commanditem>
</commands>

Example App Config File

<configuration>
  ...
  ...
   <userSettings>
    <TrayStarter.Properties.Settings>
       <setting name="CommandsFile" serializeAs="String">
          <value>./Commands.xml</value>
       </setting>
       <setting name="UserName" serializeAs="String">
          <value>Foo</value>
       </setting>
      </TrayStarter.Properties.Settings>
   </userSettings>
</configuration>

License

MIT

About

A C# written program, that invokes batch commands from the windows tray bar.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages