Here is a slightly different approach. I created an automator action with Xcode that will return the current date and time. It has adjustments for the time and date styles. With the newly created action, I created a quick action work flow with Automator. It will be visible in the services menu of any application if focus is on an editable text field. Choosing it from the menu will insert the current date and time at the insertion point. Here is a link to the service: https://www.dropbox.com/s/zas4dhpfltki0d2/Insert%20Date.workflow.zip?dl=0.
Here is a link to the Automator action called Get Date & Time: https://www.dropbox.com/s/94y30d9zhjcgpnw/Get%20Date%20%26%20Time.action.zip?dl=0. Here is the Xcode project for the action: https://www.dropbox.com/s/zc2w3cc3fxir2br/Date%26Time.zip?dl=0. > On Sep 8, 2019, at 09:27, Jonathan Cohn <jon.c.c...@gmail.com> wrote: > > Hello Bill, > 1, Open up automator. > 2. Press command-N to create a new automation. > 3. use left and right arrow keys until VO says Quick Action. > 4. Press return. > 5. In the search box that has focus type shell > 6. press tab twice and find the do shell script action and press return > 7. Press vo-J twice to jump to list of actions (run shell script 12 of 12 ) > showed up for me. > 8. Go backward and adjust when the service should be available and if you > want to replace selection. > 9. Go back to end and interact with the action. > 10. You can select a shell and also if the selection will be sent to input of > the shell script or to the arguments of the shell script. > 11. In the edit box paste your shell script. > > Now save the file. > Once the action is saved in the services menu, you can add a keyboard > shortcut in the system preferences Keyboard view. > > Best Wishes, > Jonathan C. Cohn > > -- > The following information is important for all members of the Mac Visionaries > list. > > If you have any questions or concerns about the running of this list, or if > you feel that a member's post is inappropriate, please contact the owners or > moderators directly rather than posting on the list itself. > > Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at: > mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at > caraqu...@caraquinn.com > > The archives for this list can be searched at: > http://www.mail-archive.com/macvisionaries@googlegroups.com/ > --- > You received this message because you are subscribed to the Google Groups > "MacVisionaries" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to macvisionaries+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/macvisionaries/EACD271D-51A9-4D94-A79A-1EA9AE220BE1%40gmail.com. -- The following information is important for all members of the Mac Visionaries list. If you have any questions or concerns about the running of this list, or if you feel that a member's post is inappropriate, please contact the owners or moderators directly rather than posting on the list itself. Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at: mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at caraqu...@caraquinn.com The archives for this list can be searched at: http://www.mail-archive.com/macvisionaries@googlegroups.com/ --- You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To unsubscribe from this group and stop receiving emails from it, send an email to macvisionaries+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/macvisionaries/870C4F92-3CFC-493C-A52F-BD0E6D61EA7E%40gmail.com.