jaipal2004 Posted December 31, 2020 Share Posted December 31, 2020 Hi, got a workflow for the Drafts app that will append to a specific file identified by it's UUID. I want Alfred to prepend the date and time in long format before the text. I've tried to add the '{datetime:long} function into the box but it just prepends with the actual text '{datetime:long}'. drafts5://append?uuid=0B597113-8B73-4AD1-80CC-2D1011FC50CA&text=- {datetime:long} {var:draft} I've even created a variable with the value of {datetime:long} and go with the below but still it does nothing drafts5://append?uuid=0B597113-8B73-4AD1-80CC-2D1011FC50CA&text=- {var:systemdatetimelong} {var:draft} Can anybody help please? thanks Link to comment
deanishe Posted January 1, 2021 Share Posted January 1, 2021 8 hours ago, jaipal2004 said: I've tried to add the '{datetime:long} function into the box Text macro expansion doesn't work in every "box". I can't say for sure because you haven't provided the workflow you're talking about, but you're almost certainly trying to use macros in an element that doesn't support them. Try using an Arg & Vars to set Argument. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now