Add Comment Action to Selected Macro with REF Info from KM Forum Post Info


#1

MACRO:   Add Comment Action to Selected Macro with REF Info from KM Forum Post Info

UPDATED: 2019-04-17 15:54 GMT-5

~~~ VER: 1.2.1    2019-04-17 ~~~
• Minor bug fix

DOWNLOAD:

Add Comment Action to Selected Macro with REF Info from KM Forum Post Info.kmmacros (68 KB)
Note: This Macro was uploaded in a DISABLED state. You must enable before it can be triggered.


See this Related Topic:

Suggestion for the KBM Macro Library: Start Macro With URL in Comment Box Referencing the KBM Forum Discussion


Example Results

image


ReleaseNotes

Author.@JMichaelTX

PURPOSE:

  • Get KM Forum Post Info, and Insert Comment Action in Selected Macro in KM Editor

How To Use

  1. In the KM Editor, select the Macro to which you want to add the Comment Action
  2. In either Safari or Chrome, open KM Forum to Topic and Post of Interest
  3. Click somewhere in the Post whose info you want.
  4. Trigger this macro.
    • It will then get the Post Info
    • Switch to the KM Editor
    • Display a Prompt for you to Confirm Adding the Comment Action
    • Insert the Comment Action at the top of the Selected Macro.

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. ??
      .
  1. Assign a Trigger to this maro..
  2. Move this macro to a Macro Group that is only Active when you need this Macro.
  3. ENABLE this Macro.
    .
  • REVIEW/CHANGE THE FOLLOWING MACRO ACTIONS:
    (all shown in the magenta color)
    • ~~~ SET CommentText to Be Used in Comment Action ~~~

REQUIRES:

  1. KM 8.2+
  2. macOS 10.11.6 (El Capitan)

USER SETTINGS:

  • Any Action in magenta color is designed to be changed by end-user

ACTION COLOR CODES

  • To facilitate the reading, customizing, and maintenance of this macro,
    key Actions are colored as follows:
  • GREEN -- Key Comments designed to highlight main sections of macro
  • MAGENTA -- Actions designed to be customized by user
  • YELLOW -- Primary Actions (usually the main purpose of the macro)
  • ORANGE -- Actions that permanently destroy Variables or Clipboards,
    OR IF/THEN and PAUSE Actions

USE AT YOUR OWN RISK

  • While I have given this limited testing, and to the best of my knowledge will do no harm, I cannot guarantee it.
  • If you have any doubts or questions:
    • Ask first
    • Turn on the KM Debugger from the KM Status Menu, and step through the macro, making sure you understand what it is doing with each Action.

image


Suggestion for the KBM Macro Library: Start Macro With URL in Comment Box Referencing the KBM Forum Discussion
#2

very nice ! thank you !


#3

Just updated OP to fix a minor, but important bug.
If you have previously downloaded this macro, please delete that version, and redownload/install this version.


#4

thanks