User Commands in Windows 10

A very useful example of a User Command is at agriggio / ART / wiki / Usercommands — Bitbucket. It is clearly meant for Linux. I use ART in Windows 10, and I have the Windows version of hugin installed. Is it possible to create an analogous User Command in Windows without having to resort to installing a Linux OS, installing the Linux version of hugin, etc.?

Hi,
it can certainly be done. If you want to run the script unmodified, you might need to install a bunch of dependencies (bash, zenity,…), and I don’t know how complicated it might be. An alternative could be to rewrite it in a portable scripting language (e.g. Python). Maybe some windows user can help you?

Easy to install, provides a bash shell right out of the gate. And then, you can do all sorts of Unix shenanigans; I build my hack software on it…

Thanks, Alberto and Glenn. I think your replies have furnished leads that will get me started.

I can’t see anything in that bash script that couldn’t easily be translated to Windows BAT.

But you might want bash on Windows for other reasons. Doesn’t Windows 10 come with bash these days? Or at least as a free add-on? On Windows 8.1, I use Cygwin bash, mostly because the Cygwin Gnu toolset can build ImageMagick with no hassle.

Alan, Windows 10 does indeed provide an easy entry to BASH and Linux in general through Windows Subsystem for Linux (WSL), now in a second version WSL2. Being more familiar with BAT programming, I stuck with your first suggestion and converted Alberto’s BASH script into Windows BAT. Thanks.

Hi Louis,

Hoping you’re still there. I use ART under Windows 10 and I would have a user commands menu for external editors.

Please, could you provide me with your “converted Alberto’s BASH” script and explain how to use it. I’m not familiar with Window BAT.

Thank you.

Best regards,
Piblo