Book shortcuts: scripts support#13393
Conversation
|
Does that mean I can also use those in auto exec scenarios? |
|
Yes |
|
@hius07 I just had a quick look at the files changed, and dispatcher.lua is not one of them |
|
That's how the Book shortcuts plugin works: adding a shortcut means adding an action to Dispatcher. |
|
I think I found a bug when testing this: #7917 (comment) I created Book shortcut pointing to the script. |
|
I then had to remove the book shortcut to prevent this behavior |
|
You are overwriting internal settings files while the program is running, not good. |
|
I was only touching gestures.lua, not profiles.lua though... |
|
Can you recheck? All actions are added/deleted to profiles in the same way. |
|
I'll double check soon. My bet is KOReader tripped after I killed it :D |
|
On crash (or killing) the settings are not saved. |
|
Yeah, I remember this. But the profile mishaps happened after I restarted |
|
@hius07 #13393 (comment) |
Book shortcuts: scripts support
Executes scripts by a gesture/profile.
Use case #13367.
This change is