- please i need macro that copy word
that i highlight in Firefox that word - and than create new clipboard
that the name of this clipboard will be that word
that i highlight in Firefox that word - than add Firefox
that i highlight in Firefox
and add it to this clipboard
Sorry, KM does NOT support the dynamic naming of Named Clipboards .
So, I don't think you need a named clipboard. If you need to save the data for future use, just use a Global Variable.
Also, I don't see anything unique to Firefox, so the below example will work in any app.
You did not say how you wanted to combine the two selections, so I have provided a KM Variable at the top where you can set the characters you want:
The default is a LF.
Below is just an example written in response to your request. You will need to use as an example and/or change to meet your workflow automation needs.
Please let us know if it meets your needs.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
MACRO: Set Clipboard to Combine Two Selections [Example]
-~~~ VER: 1.0 2020-08-12 ~~~
Requires: KM 8.2.4+ macOS 10.11 (El Capitan)+
(Macro was written & tested using KM 9.0+ on macOS 10.14.5 (Mojave))
DOWNLOAD Macro File:
Set Clipboard to Combine Two Selections [Example].kmmacros
Note: This Macro was uploaded in a DISABLED state. You must enable before it can be triggered.
ReleaseNotes
Author.@JMichaelTX
PURPOSE:
- Set Clipboard to Two Separate Selections
==HOW TO USE==
- First, make sure you have followed the Setup Instructions below.
- Trigger this Macro
- Make any selection from any app
- Press OPT-RETURN
- Make another selection
- Press OPT-RETURN
NOTICE: This macro/script is just an Example
- It is provided only for educational purposes, and may not be suitable for any specific purpose.
- It has had very limited testing.
- You need to test further before using in a production environment.
- It does not have extensive error checking/handling.
- It may not be complete. It is provided as an example to show you one approach to solving a problem.
REQUIRES:
- KM 8.0.2+
- macOS 10.12.6+ (Sierra+)
- KM 8 Requires Yosemite or later, so this macro will probably run on Yosemite, but I make no guarantees.
MACRO SETUP
- Carefully review the Release Notes and the Macro Actions
- Make sure you understand what the Macro will do.
- You are responsible for running the Macro, not me.
.
- Assign a Trigger to this maro.
- Move this macro to a Macro Group that is only Active when you need this Macro.
- ENABLE this Macro.
. - REVIEW/CHANGE THE FOLLOWING MACRO ACTIONS:
- ALL Actions that are shown in the magenta color