Tinderbox Forum

Stamp to make an alias of selected note and then move the alias to a given container

Dear all,
Could anyone tell me the code to use in a Stamp which will
make an alias of a selected note and then move the alias to a given container.

I know how to set the Container, so the move part is not a problem, but dont know the code for creating an alias or how then to address the new alias in order to move it to the given container.

It would be something like this create alias then move new alias to $Container= “/History”; - all done in a single Stamp.

Many thanks for your help.
Thomas

You’re running up on a key point - there is no action code to create an alias. The only way to create an alias is with ⌘+L or with an agent. So, in your case it would be a two-step process, ⌘L and then apply your stamp.

But should there be a way to do this?

Ok, many thanks, I can live with that!
All the best
Thomas

1 Like

Perhaps…not sure. I think there is a reason why not do, but I can’t remember.