Git Product home page Git Product logo

tuw's People

Contributors

matyalatte avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ellipszist

tuw's Issues

[Request]Radio Button

can you add Radio Button for "choice" type?
When there are fewer items, radio buttons are more intuitive than drop-down buttons
like this:
image

[Request]"text" type enhance

Let the "text" type support value settings, do not output parameters including value when nothing is filled in.
Optional:regular expressions to limit the input characters and number,
for example:

{
	"type": "text",
	"label": "text box", 
	"id": "text1",
	"value": " -t",
	"regex": "[A-Z]{1,4}"
},

Or you have a better idea to add a new type.

Add Icon to exe

Can you add something maybe in the json file if it's possible to put an icon in the exe ? This project is incredible but will be better with icons. Thanks !!

Switch from wxWidgets to libui

wxWidgets is a great library. It helped me a lot.
But I noticed it's not suitable for tiny projects like Simple Command Runner.
It's hard to optimize the library for size because its codes are messed up with legacy features.

So, I'm trying to use libui now.
Here is an experimental branch.
It still has tons of issues and lacks some features but the exe size is under 600KB!!!
It'll be under 700KB even if I restore all features that the released version has.

libui has more advantages.
The building workflow is very simple. Just by running meson via command line.
And easy to update external projects cause I don't need to edit wxWidgets' codes any more!!!
Also, the compilation is very fast cause it's a tiny library.

libui is still WIP and lacks some features I want.
But it'll be the best GUI libary for my project in the future.

How to write definition for multi-line commands?

I have been utilizing simple-command-runner to make simple & intuitive tools for so many of my repetitive jobs.
I just cannot thank you enough for this wonderful tool - you truly are a life savior.

However, while I've successfully managed to write up the required definition json files by thoroughly studying the example files and by a lot of trial-and-error, I just cannot figure out how to make the program carry out a multi-line command.

For example:

@echo off
color a
set /p folder="Enter the directory to search: "
set /p search="Enter the text to search: "
for %%a in ("%folder%*.assets";"%folder%\level???";"%folder%*.bundle") do UnityEX.exe search "%%a" -nr -sp "%search%" -lf search_output_mbnew.txt -mb_new
pause

I am trying to convert the above BAT file into another simple-command-runner, but all my attempts so far have unfortunately failed.
Could you be so kind as to instruct me how I can achieve my objective?

Or could it be that the simple-command-runner does not support commands that are carried out through multiple lines?

Using Korean on the labels will break the program

None of the examples showed what to do if I had more than one files, or more than one of any type.
For example, if I have two file variables to include in the command, what do I do??

I tried "somecommand %file% %file%" but the program ran into an error and crashed.

Text Validation

Related to #23.

Some options to show error dialogs when there are invalid strings in text boxes.

  • regex: The text should match the regular expression.
  • not_empty: The text box should not be empty.
  • exist: The path should exist.

Example

"components": [
    {
        "type": "text",
        "label": "text box", 
        "regex": "[A-Z]{1,4}",
    },
    {
        "type": "file",
        "label": "file path",
        "not_empty": true,
        "exist": true
    }
]

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.