Daniel Heffernan Posted October 8, 2021 Share Posted October 8, 2021 I'm trying to make a workflow to paste today's date. I tried creating a Keyword input connected to a Copy to Clipboard output with text set to {date}. When I run the workflow, it pastes {date} instead of the date. Log: [18:09:50.264] Logging Started... [18:09:54.541] Paste today's date[Keyword] Processing complete [18:09:54.544] Paste today's date[Keyword] Passing output '' to Copy to Clipboard Workflow: Keyword: Copy to Clipboard: Link to comment
Vero Posted October 8, 2021 Share Posted October 8, 2021 @Daniel Heffernan Welcome to the forum May I ask why you don't just create a snippet for this, if your workflow is just a keyword to a dynamic text snippet expansion? You could then just type a shortcut (mine is "ddate") to paste today's date without first having to pop up Alfred. In terms of your workflow, please click on the squiggly brackets button and check whether you've checked the "Ignore Dynamic Placeholders" option. This should not be checked (and isn't checked by default). Let me know how you get on Cheers, Vero Link to comment
Daniel Heffernan Posted October 9, 2021 Author Share Posted October 9, 2021 Hi Vero, Perfect! You are correct that "Ignore Dynamic Placeholders" was select and that a snippet is a better way of doing this! Thank you!! Link to comment
Fourex70 Posted June 9, 2022 Share Posted June 9, 2022 (edited) Hello Vero, I too want to do the same thing. However, where do I find the dialogue box that you have in the Alfred preferences to use "ddate" to type the current "date"? I'm sorry I didn't quite understand what you were doing there. I realize that I should be creating a snippet, but it isn't working for me. I am using Alfred 4.6.2. Thanks! Edited June 9, 2022 by Fourex70 To add screenshot Link to comment
Vero Posted June 9, 2022 Share Posted June 9, 2022 @Fourex70 Welcome to the forum The post above isn't about creating a simple snippet but rather including dynamic placeholders within a workflow's output. If you want to create a regular snippet containing a dynamic placeholder (one that you trigger by typing a few letters, which then disappear and get replaced by the date automatically), make your way to Alfred's preferences > Features > Snippets. There, you'll be able to create a snippet, and include the placeholders you need. More information about creating snippets here: https://www.alfredapp.com/help/features/snippets/#creating-snippets Let me know how you get on. Cheers, Vero 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