Tinderbox Forum

How do you use code notes in stamps?

@PaulWalters has mentioned to me a couple times that I can move my long action code from stamps into code notes. Well… I don’t know how to do that. Say I’ve got a code note that has the text:

$Title = "new title";

And I want to run that from a stamp. How do I do that? I thought using eval() might do it:

eval($Text("my code note"))

but no…

Try using something like this

action($Text(/Code Notes/Text to URL Stamp))

This points to the text of a “code note” at that fully-qualified path. See “action” in aTbRef.

1 Like

Awesome!! I didn’t know about action. Thank you :slight_smile:

I’m glad you posted that - I’d completely forgotten where the solution was!