View Single Post
Old 07-02-2022, 07:42 AM   #4
shamanNS
Wizard
shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.shamanNS ought to be getting tired of karma fortunes by now.
 
Posts: 1,125
Karma: 12345678
Join Date: Feb 2010
Location: Serbia
Device: Kindle PW5, Kobo Libra 2, Kindle PW1
Quote:
Originally Posted by KOReader github

User scripts may be placed in the koterm.koplugin/scripts/ folder, aliases can be put in the file aliases and startup command in the file profile.user in that folder.
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.

Click image for larger version

Name:	IMG_20220702_141237.jpg
Views:	418
Size:	37.3 KB
ID:	194693

Click image for larger version

Name:	IMG_20220702_141337.jpg
Views:	370
Size:	34.2 KB
ID:	194694

Click image for larger version

Name:	IMG_20220702_141400.jpg
Views:	359
Size:	41.5 KB
ID:	194695

Click image for larger version

Name:	Screenshot_2022-07-02-14-10-30-886_org.koreader.launcher.jpg
Views:	390
Size:	243.7 KB
ID:	194696

Last edited by shamanNS; 07-02-2022 at 08:19 AM.
shamanNS is offline   Reply With Quote