How are people inserting the date at the insertion point in iOS?
Generally speaking I use the Text Replacement feature of the keyboard for a couple of long strings (my email signature and the link to the mosaic program I use) but wondered what people do for a dynamic template.
I’d like to find a non subscription solution to the problem
You could use Shortcuts to put the date in the desired format on the clipboard, trigger it on iOS with an accessibility back tap (double/triple), and then paste in the result.
I’m not sure if you can reduce the two-step process any further for something dynamic.
But if you are using a specific app, then there may be other options. For example, you can have actions in many editors that allow you to insert things like the current date.
Just pop up a menu in your shortcut for the desired format. One extra step, but you are adding one extra level of choice and you have limited trigger options.
It displays the actual date and time in the menu to select from. Just add the custom formats you want to the text box and it will update the menu automatically.
I do something similar, only I invoke it via the iOS Share menu. I highlight the text just before the spot I want to insert the formatted date, and the shortcut is built to take the selected text, and construct a string that incorporates the selected text and the formatted date/time. Then I can just paste it, replacing the highlighted text.
I couldn’t figure a way to invoke the Share menu without having text selected. Otherwise it would be invoked without the highlighting step.
I’ve been on a quest to find or create (with assistance) a simple way to insert the current date and time on macOS and iOS/iPadOS. Here is the format that I would like it in? “2024-03-28 3:07 pm”
The main app that I would be using it in is the Notes app on both macOS and iOS/iPadOS. What is the cleanest way to invoke this action?
That CLI text replacement option seems like a home run, but it hasn’t been updated since Apple’s Shortcuts got a desktop release and there seem to be some issues of the two conflicting.
The original developer hasn’t touched the code since Big Sur, but someone has fortunately forked it to deconflict with macOS Shortcuts:
Gonna give it a try when I get home. All I want is to be able to replace ‘ddate’ with a YYYYMMDD code, so this would be perfect.