On 25/01/12 16:42, Simon Campese wrote:
> I want to setup a capture-template that sets a
> SCHEDULE-property in the future (say one week from today) without any
> user interaction.
>
> Currently, I almost achieve this by inserting the line
>
> :SCHEDULED: <%(org-read-date nil nil nil nil nil "+1w")>
>
> into my template. When I now call the template, I end up in the
> date-time-prompt, with "+1w" prefilled, so that manually have to press
> enter.
I think what you want is to use the parameter from-string which doesn't
ask for a user input at all but just uses that string as if you did
input it interactively:
(org-read-date nil nil "+1w")
--
Borbus.