Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Automator scripting for time/date

Shortcut in ios for get copy system time date to clipboard then allows to use paste in any text field to insert.

im using the time date automator script from a posting here last posting 2019? iirc but getting error msg Says in automator the run ‘apple script’ encountered an error

The operation couldnt be completed (.com.apple.automator error -212.)

so im thinking this should not be this hard esp if an ios shortcut works fairly easily and big sur should be more robust.

thanks to all in advance for your help

ps not a coder so im a little behind curve but this should be straight up easy

Posted on Sep 21, 2021 4:37 PM

Reply

Similar questions

8 replies

Sep 21, 2021 5:09 PM in response to ai264

It might have been nice if you'd included a link to the script you were using. That would at least give us a frame of reference.


That said, what you ask is pretty simple - the following AppleScript will set the clipboard to the current date. You can include this in a Run AppleScript action in an Automator workflow to make it into a quick action.


set the clipboard to (get (current date) as text)


Just consider whether the clipboard is the right mechanism for this. It may be simpler to just type the text directly, without b0rking what's already on the clipboard.

Automator scripting for time/date

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.