Rockbox Development > Feature Ideas

more advanced sleep timer

<< < (5/5)

tdb:
Indeed you did  :) works nicely. That makes it perfect! Thanks. 

For easy access I added the previous script to my shortcuts - that doesn't seem to work with this script/version. Updated yesterday to the latest dev version.

tried:

[shortcut]
type: browse
data: /rocks/demos/lua_scripts/fade2sleep.lua
name: fade2sleep

copied fade2sleep.lua to root

[shortcut]
type: browse
data: /fade2sleep.lua
name: fade2sleep

and tried data type (also some other variants - all resulted in 'no file')

[shortcut]
type: data
data: fade2sleep
name: fade2sleep




tdb:
@Bilgus, maybe you missed the 'question' part of my reply? Would be nice to have easier access to the script via a shortcut. Is that possible?

Bilgus:
I don't think lua scripts work through shortcuts you might try adding the lua_scripts.lua script to shortcuts and see if that works

tdb:

--- Quote from: Bilgus on December 13, 2019, 08:41:23 AM ---I don't think lua scripts work through shortcuts you might try adding the lua_scripts.lua script to shortcuts and see if that works

--- End quote ---

Thx. Will give that a try then. BTW Your previous script worked fine through a shortcut.

Navigation

[0] Message Index

[*] Previous page

Go to full version