LUA scripting language

This is a place for users to discuss Altap Salamander. Please feel free to ask, answer questions, and express your opinion. Please do not post problems, bug reports or feature requests here.
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5126
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

LUA scripting language

Post by Jan Rysavy » 01 Jun 2008, 10:00

After reading http://forum.altap.cz/viewtopic.php?t=2661 I would like to ask you: do you know/use LUA language?

Advanced options in Salamander will never be sufficient to satisfy needs of advanced users. I see two solutions here: plugins or scripting language. So far building of custom plugins seems to be ignored by Salamander user base so what about some scripting language?

In the mentioned case it would be possible to extend Advanced Options (Find, Copy, Move operations) with a new combobox where you will be able to select from available scripts. Each file and directory would be passed into the chosen script and could be approved or rejected there.

We would probably find other commands where the scripting language would be useful. For example Batch Renamer, Make File List, Change Case, Select/Unselect, or User Menu commands.

Recent versions of our favorite text editor SciTE does support LUA scripting, see http://scintilla.sourceforge.net/SciTELua.html

Please share your thoughts ;-)
Attachments
advanced.png
advanced.png (18.14 KiB) Viewed 5625 times

User avatar
Ether
Posts: 1459
Joined: 10 May 2007, 16:08
Location: Czech Republic
Contact:

Post by Ether » 02 Jun 2008, 00:07

+1

I've come across Lua several times, mostly in games and in SciTE. I don't really know anything about the syntax or such, but I think it wouldn't be difficult to learn.
Ελληνικά rulez.

User avatar
SvA
Posts: 441
Joined: 29 Mar 2006, 02:41
Location: DE

Post by SvA » 03 Jun 2008, 00:50

This is a good idea. I probably would make use of it, though not extensively.

I have heared about Lua, though never had a closer look at it.

When you consider adding scripting support, why not have a look at ActiveScripting (Windows Scripting Host). This would open up scripting for a whole wealth of scripting languages, so everyone could use his favorite one, among which are wellknown names like VBScript, JScript, Perl, Python, Ruby, Lua, Tcl.

Beeing able to use an already known scripting language would help a lot to actually make use of the feature, most likely not only for me.

User avatar
mazy
Posts: 57
Joined: 27 Jan 2006, 22:48
Location: Brno, Czech Republic

Post by mazy » 14 Jun 2008, 01:37

That would be very nice! I've been using LUA for example in older version of Foobar 2000 music player - very useful.

I would love to use LUA in AS in many areas Jan suggested - like Change Case (= "intelligent" script to distinguish abbreviation, roman numerals etc.).

Scripting in AS = big win for me.

Textor
Posts: 38
Joined: 27 Jan 2006, 09:15

Re: LUA scripting language

Post by Textor » 19 Jun 2008, 19:47

Jan Rysavy wrote:After reading http://forum.altap.cz/viewtopic.php?t=2661 I would like to ask you: do you know/use LUA language? ... Please share your thoughts
That sounds like a very good idea.
Personally, I have read about Lua, and already downloaded the tiny interpreter and the documentation, in case there ever was a task that could not be solved with Autohotkey, or 4NT's extended batch language.

Lua is small, easy on resources, and already being used as a scripting language in many well-known games and applications, both commercial and open-source.

If you want to integrate it with Altap Salamander as a further enhancement , by all means go for it!

Post Reply