View Single Post
Old 10-08-2013, 06:02 PM   #5
kcz
Member
kcz began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Oct 2013
Device: Kindle
Quote:
Originally Posted by chaley View Post
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.
Yes, this works, but I rather use a custom column for that first and use the custom column in the plugboard.

Quote:
Originally Posted by chaley View Post
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.
For some reason using F2 in the custom column creation does not work. I'm on a Mac, so maybe that's the reason. Anyway, if I paste your second example into the field, it works perfectly. Thank you.

Quote:
Originally Posted by chaley View Post
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.
Ok, this seems pretty straight forward. I guess it makes more sense to use a user defined template function when the code is more complex or the function is used more often.

Cheers.
kcz is offline   Reply With Quote