matyalatte / tuw Goto Github PK
View Code? Open in Web Editor NEWTiny GUI wrapper for command-line tools
License: MIT License
Tiny GUI wrapper for command-line tools
License: MIT License
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.
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 !!
version 0.5.0
Clicking the “Help -> Url” button will crash;
same as "Open File".
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.
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?
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.
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
}
]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.