View Single Post
Old 10-08-2013, 07:50 AM   #4
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,449
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kcz View Post
Yes, I am sorry. I want to use it in a metadata plugboard, so the easiest would be to use a custom column (built from other columns).
You can put a template directly into the metadata plugboard box. You can get to the advanced template editor by right-clicking in the box.
Quote:
Can I use a program right in the custom column template, or do I have to create a user defined template function?
It depends on what you mean by "program". If you mean a general program mode template such as I provided above then yes, you can put them directly into the custom column template. The easiest way to do this is to create the column with a simple template, click on a cell in that column, then press F2 to open the template program editor.

If you mean a real python program then no. To use python you must create a user defined function, then call that function from a template just as you would any other template function.
chaley is offline   Reply With Quote