I did not spend enough time looking at this but got stuck on where
or how to add the "Run Applescript" action.
From E.T.'s Keyboard...
ancient.ali...@icloud.com
Many believe that we have been visited
in the past. What if it were true?
On 9/6/2019 6:09 PM, 'Robert Cole' via MacVisionaries wrote:
Hi,
Did the email program add or delete some words or punctuation?
This did not work for me, the script had errors.
And why is the word “image” there?
Thanks,
On Sep 6, 2019, at 4:07 PM, Dave Carlson <dgcarl...@sbcglobal.net
<mailto:dgcarl...@sbcglobal.net>> wrote:
E.T.,
I pulled in the PNG file to do OCR, and inserted the result where the
“user uploaded file” was found. Here’s the total answer. Dows that
“stuff” in the middle make sense?
Hahaha... it works!!!
Here it is. All it takes is a single Action, to run a little Applescript.
1) In Automator, create a new "Quick Action".
2) Add a single "Run Applescript" action, like this:
Workflow receives
Input is entire selection
Image
Color
jos a Output replaces selected text
in
k Run AppleScript •
on run {t1 IpuL, paran }
set thedate to (curren ) as
tell application "System Events"
keystroke thed
end tell
end --
3) Save it - I called it "type the date", you can call it whatever you
like.
4) In System Preferences->Keyboard->Shortcuts->Services, locate the
"type the date" service, and add a shortcut. I used
"command-control-option-D", again you can use anything you like.
That's it. I switched to Mail, pressed the shortcut. The very first
time, a dialog appeared telling me that Mail wanted to control
Automator. I allowed.
It just works. Type command-control-option-D, and it types the date
and time.
You will get the same dialog when you use it with an application for
the first time only.
You also need to have any such application allowed to "control your
computer" in System Preferences->Security & Privacy->Accessibility.
If not, you will get a "... is not allowed to send keystrokes" alert.
Dave Carlson
Musician, Engineer, Farfar, Oregonian, Woodworker, and Pioneer
--
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 <mailto:mk...@ucla.edu> and your owner is Cara
Quinn - you can reach Cara at caraqu...@caraquinn.com
<mailto: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
<mailto:macvisionaries+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/macvisionaries/6FE3EEC8-75FC-4188-8A43-76396DA90244%40sbcglobal.net
<https://groups.google.com/d/msgid/macvisionaries/6FE3EEC8-75FC-4188-8A43-76396DA90244%40sbcglobal.net?utm_medium=email&utm_source=footer>.
--
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
<mailto:macvisionaries+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/macvisionaries/00A970CA-5BE6-475C-9368-C8D96CEC7D0D%40icloud.com
<https://groups.google.com/d/msgid/macvisionaries/00A970CA-5BE6-475C-9368-C8D96CEC7D0D%40icloud.com?utm_medium=email&utm_source=footer>.
--
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/47dbb6f0-15c2-dc9c-adcd-609a3ca73d00%40icloud.com.