[Users] Templates: Use Userinput to select attachment

Nick Warne nick at linicks.net
Sat Jun 4 14:32:29 CEST 2016


On Sat, 4 Jun 2016 14:15:59 +0200
Oliver Mei├čner <lists.o at la-familia-grande.de> wrote:

> Hi Folks,
> 
> for a specific template I need an attachment, but it's not a static
> filename. So I need a way to do something like
> 
> |attach{ |input{filename} }
> 
> or to be prompted to choose a file from the filesystem.
> 
> Any ideas or solutions?

Hammer and nail etc.  Do it the other way around.  Knock up a small
perl script that will rename the file to a constant each time - then
your template can remain static.

NIck
-- 
Gosh that takes me back... or is it forward?  That's the trouble with
time travel, you never can tell."
		-- Doctor Who "Androids of Tara"



More information about the Users mailing list