View Single Post
Old 07-09-2022, 04:21 PM   #5
Barbas
Enthusiast
Barbas began at the beginning.
 
Posts: 40
Karma: 10
Join Date: Mar 2019
Device: Kindle 10th (2019)
Thanks a lot for your help.

I think I've found a simpler way. From within KOreader terminal plugin:

1. Tap the "hamburger" icon (see first enclosed picture)

2. enter your command and the name of the alias (second picture);

3. execute your alias (third picture).

Easy!



Quote:
Originally Posted by shamanNS View Post
Quoted from here:

https://github.com/koreader/koreader...sue-1097206917

Current version of KOReader has "terminal.koplugin" folder so try there?

Anyways, you probably have a better chance of getting some useful information if you ask in KOReader thread?

https://www.mobileread.com/forums/sh...d.php?t=270835
There you could maybe even check if there is any interest for some of KOReader developers to try and implement a solution that would parse KUAL's extensions folder and from that create some kind of "inline" UI submenu for running those scripts / extensions from within KOReader.

Or get info if there is a way to create a plugin or whatever to create UI element with static list of scripts / actions / commands.

EDIT: Ok, I've tested with KOReader for Android and creating aliases works. Check the env for a location of "TERMINAL_DATA" variable to find the location of /scripts subfolder.

Attachment 194693

Attachment 194694

Attachment 194695

Attachment 194696
Barbas is offline   Reply With Quote