View Single Post
Old 04-16-2023, 05:47 PM   #584
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
How do I get a stored template into an SFM template, anyways?

Example: I had this SFM template for a save path:

Code:
{#kobopath}/{author_sort:sublist(0,1,&)}/{title} - {authors}
I copied the GPM template for #kobopath to a new template, device_path().

{device_path()} isn't a field, and entering it without the squiggly brackets just adds it literally

I looked through the template page but couldn't find this
To call stored templates that want no arguments, use this TPM utterance:
Code:
{:'device_path()'}
This says that for the "null" field, call the function device_path() in TPM mode.
chaley is offline   Reply With Quote