I'm really interested by this app so i've improved the main bash script which runs the interpreters... I have no other scripts than bash so i've tested only with that but it must run with the others too.
UPDATE 5 UPDATE 5:
+ Improved
Bash
+ Added
Python support
UPDATE 4:
+ Improved
JavaScript UPDATE 3:
+ Added
JavaScript support
UPDATE 2:
+ Added
PHP support
+ Added
eKonsole Support
+ Fixed error caused by pressing [Cancel] when choosing interpreter from list
UPDATE 1:
+ Fixed streched icon
DOWNLOAD
(It's not zipped only renamed)
When you'll click on the app in the main menu you'll get a window saying which extensions are supported. You'll also be able to choose to open the integrated ekonsole or to change settings
If you choose
[Settings] you'll be able to select the opening mode of the scripts.
[GUI] (that means you won't be able to see the output - echo - of the script but it will be logged in
/mmc/mmca1/scribi.log. The log file will be overwritten every time you run a script in GUI mode)
[eKonsole] (this means scripts will be opened with ekonsole so the output text will be visible and no log will be created)
As you can see in the image there is mentioned the current setting of the app.
To open a script with scribi goto to it and make a long click so that the menu appears and select
Open With
Now select
scribi and also select
Always use this program to open this filetype
Now you'll get a window with 3 options which asks you if you want to execute the script
Options: [Yes] [No] [Edit] (it might not be so visible because of the skin i use)
So you can also edit the script with this (it uses yan0_notes)
By clicking [Edit] you'll get something like this
By clicking [Yes]
If the app is set to GUI:
A
Loading, please wait... message will appear and will stay there until the script is finished running
As you can see while the script is running the message is still there in background
After the script is finished the Loading message dissapears too. (i made it so you know when the script is done - since most of them are offering just functionality and no graphic interface to help us know when the script stopped)
If the script is set to eKonsole:
The integrated eKonsole will open but not automaticaly run the script as i didn't figure out how to do it
In the bottom-right combo box are located all the supported interpreters but the first element contains the entire command neccessary for running your script. Select it by clicking on it.
Now you have to click once on the middle of the screen so that the combo box becomes deselected.
(check the combo box background color difference - before and after the click on the middle of the screen)
Next you have to open the keyboard and press [ENTER] or directly click the middle button of the phone's joystick so that the script gets executed.
After the script is executed (example in the next screenshot) you can do whatever you want, most probably exit ekonsole.
If you want to open a script which has another extension than it should have and you don't want to rename it you can still open it with Scribi. Let's say your file is
.wtf
Do the same thing with
open with and you'll get a window where you'll be able to choose [Open With] or [Cancel]
By clicking on [Open With] you'll get a list and you'll be able to choose which interpreter you want, or you can also choose to edit the file.
There is no case sensitive problem with Scribi since the script recognises a script
.lua but also recognises another file called script
.LUA or even one like script
.LuA. (notice the extension difference)
Maybe you'll ask why have i integrated ekonsole in this app and i didn't use the already installed ekonsole (which i supose everybody has).
Well the answer is simple:
Every time you run a script through Scribi the ekonsole config file is overwritten so your settings get erased and i do believe that's not a pleasant view.
Why is the config overwritten?
Because that's how the script get's the neccessary command for the script to be interpreted into the nice combo box from ekonsole.
KNOWN BUG:
The file name and the folders that contain it must NOT contain any blank spaces in their names!!
DOWNLOAD
(It's not zipped only renamed)
Credits:
puppetshow.....Adapted the interpreters
redice.............Adapted JavaScript (
TOPIC)
Bruce Lee........Made the entire interface
.