Git Product home page Git Product logo

wheelselect's Introduction

WheelSelect

Pass a delimited list into the form for a "wheel like" selection. Meant to be used as a quick selection utility. I'm really not sure why I built this. I had an idea and had to run with it. Do with it what you will.

wheel_select

Main Functionality

  • Simply pass two (required) arguments (the delimiter and the list) into the exe and the interface will display in the center of the screen loaded with your data set.
    • ex: WheelSelect.exe "," "option a,option b,option c"
    • an optional third parameter can be an output file path
      • this will override the OutputLocation setting in the App.config.
    • ex: WheelSelect.exe "," "option a,option b,option c" "c:\temp\wheelselect.txt"
  • Use the up/down arrow keys or the mouse wheel to scroll through the list, or type some letters as a keyword search.
  • Push the Enter key when you have the desired option selected and the value will be saved to a file to do what you want with.

Options

The App.config has settings that allow for some customization.

  • OutputLocation The location the data is written to when the Enter key is pressed. Default is c:\wheel_selection.txt.
  • OutputMethod Decides if the output should be appended or overwritten. Must be either Append or Overwrite.
  • ClearOutputFileOnStart Decides if the output file should start empty. true or false.
  • ClearOutputFileOnEscape Decides if the output file should be cleared on the Escape key press. true or false.
  • SyncWithWindowsTheme Decides if the UI should follow your Windows Theme setting found in Settings > Personalization > Colors > "Choose your default app mode"
  • DefaultTheme Decides which theme to use if you choose not to sync with the Windows Theme settings.

The following are color customizations and can be a valid value of the System.Drawing.Color struct or a non alpha hex code.

  • LightModeWindowBackgroundColor Sets the background color of the interface when in light mode.

  • LightModeSelectedTextColor Sets the text color of the primary selected value when in light mode.

  • LightModeOffset1TextColor Sets the text color of the value(s) 1 position above/below the primary selected value when in light mode.

  • LightModeOffset2TextColor Sets the text color of the value(s) 2 positions above/below the primary selected value when in light mode.

  • LightModeOffset3TextColor Sets the text color of the value(s) 3 position above/below the primary selected value when in light mode.

  • DarkModeWindowBackgroundColor Sets the background color of the interface when in dark mode.

  • DarkModeSelectedTextColor Sets the text color of the primary selected value when in dark mode.

  • ModeOffset1TextColor Sets the text color of the value(s) 1 position above/below the primary selected value when in dark mode.

  • DarkModeOffset2TextColor Sets the text color of the value(s) 2 positions above/below the primary selected value when in dark mode.

  • DarkModeOffset3TextColor Sets the text color of the value(s) 3 position above/below the primary selected value when in dark mode.

Example:

<appSettings>
    <add key="OutputLocation" value="c:\dev\wheel_selection.txt" />
    <add key="OutputMethod" value="Overwrite" />
    <add key="ClearOutputFileOnStart" value="true" />
    <add key="ClearOutputFileOnEscape" value="true" />
    <add key="SyncWithWindowsTheme" value="true" />
    <add key="DefaultTheme" value="LightMode" />
    
    <add key="LightModeWindowBackgroundColor" value="White" />
    <add key="LightModeSelectedTextColor" value="SteelBlue" />
    <add key="LightModeOffset1TextColor" value="Silver" />
    <add key="LightModeOffset2TextColor" value="Gray" />
    <add key="LightModeOffset3TextColor" value="DimGray" />

    <add key="DarkModeWindowBackgroundColor" value="#1c1b22" />
    <add key="DarkModeBorderColor" value="#49c29a" />
    <add key="DarkModeInputTextColor" value="#49c29a" />
    <add key="DarkModeSelectedTextColor" value="#7964be" />
    <add key="DarkModeOffset1TextColor" value="Gray" />
    <add key="DarkModeOffset2TextColor" value="Gray" />
    <add key="DarkModeOffset3TextColor" value="DimGray" />
</appSettings>

wheelselect's People

Contributors

fischgeek avatar paulwcri avatar pstaszko avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.