Ultimate Multi Tool V5.0

1 view
Skip to first unread message

Terry Chavarin

unread,
Jul 26, 2024, 1:07:39 AM7/26/24
to Unipalmares Administração 2007

The markdown link, or other forms, can be alternatively written to the Clipboard* rather than pasted into the currently selected platform. Also alternatively, the URL associated with selected markdown link can be opened in the default browser.

Lastly, this macro includes options to add to and modify the configured list of markdown links. These links reside in one or more text files in a configured folder. See SETTINGS for more information.

*When the Clipboard option is selected, the macro will populate the System Clipboard with both variants/flavors, Rich Text and Plain Text. The Clipboard can subsequently be pasted based on the context of the selected platform object.

The markdown links are stored in text files (with an md extension) that reside in a specified folder. Although the folder can contain as any number of md files, three are supplied with the macro download:

A text editor can be used at anytime to modify the md files. The macro Copy as Markdown Link by @ComplexPoint is a great tool that can be used to populate the md files.

If installed, the macro Copy as Markdown Link by @ComplexPoint will be spawned. That macro will attempt to create a markdown link based on the focused object within the active application. If a link is successfully created, there will be an option to save it.

The markdown link from Step 1 or 2 can be prepended or appended to any of the configuration text files. Alternatively, any of the files can be edited and the link can be pasted into any file position.

a) The Keyboard Maestro forum post, Using Prompt With List to modify variables on the fly and the macro within, All-in-one URL handler, by @griffman provided the inspiration for this macro! Several ideas from All-in-one URL handler are used here. The primary difference is that All-in-one URL handler does not support Markdown links.

2.0
a) When pasting, if the current object selected can render rich text, the link will be entered as Rich Text; otherwise, Plain Text. When the Clipboard option is selected, the macro will populate the Clipboard with both variants, Rich Text and Plain Text. The Clipboard can subsequently be pasted based on the context of any selected object. This context sensitivity, when pasting and with the Clipboard, is thanks to a JXA script provided by @ComplexPoint.

3.2 - When potentially updating a configuration file with the Clipboard contents, if a Markdown Link is not found, this macro executes the macro Copy as Markdown Link. This macro can build a Markdown Link to browser pages and elements for many other applications.

c) When markdown links are prepended, they are now placed below the comments at the beginning of the text files. Now using the native Write To File action, thus if KM v8.1+, the previous version of the text file will be moved to the Trash.

d) If using KM v10.2+, when markdown links are appended, using the native Append Text To File since the read-only issue has been addressed. See the comments below for more information. Also, since this native action is being used, the previous version of the text file will be moved to the Trash.

g) Changed the settings to use local variables. Previously global variables were used and the values were then copied to local variables. (This seemed like a good idea, but it really added unnecessary complication.)

When pasting, if the current object selected can render rich text, the link will be entered as Rich Text; otherwise, Plain Text. When the Clipboard option is selected, the macro will populate the Clipboard with both variants, Rich Text and Plain Text. The Clipboard can subsequently be pasted based on the context of any selected object. This context sensitivity, when pasting and with the Clipboard, is thanks to a JXA script provided by @ComplexPoint.

I wouldn't want to maintain a document that someone had written in HTML. I do maintain documents collaboratively written with others in Markdown. (Not least presentations written in it and put through mdpre/md2pptx.)

I don't write with others, I don't maintain documents written by others, and I have zero interest or need to use Markdown. My HTML writing is directly in blog posts, for web pages, or for KM macros, and I'm 100% comfortable using HTML in those situations.

For me, it makes no sense to work with a subset of the entire language, in a different dialect as it were, when I can just use the language itself. I know that's not true of others, and I know many rely on Markdown to make it much easier to work on shared documents with people who don't know HTML. None of that applies to me, though.

I just downloaded it and immediately saw its utility. I made one adjustment that makes it a little easier to use this on multiple computers. I have the variables populated from text files saved in my Dropbox that way I don't have to worry about updating the variables in KM Editor on each device. This way I can just edit the text files when I want to make updates to my list.

I made one adjustment that makes it a little easier to use this on multiple computers. I have the variables populated from text files saved in my Dropbox that way I don't have to worry about updating the variables in KM Editor on each device. This way I can just edit the text files when I want to make updates to my list.

On this particular detail, you might want to check out Log It. With that macro, there's an option to open and enclosing folder or a specific file. The revised Edit Me could open the folder or optionally open the file associated with the MarkdownLinks User variable.

Moved Markdown Links from text variables to configuration files: 0 Favorites.md; 8 Keyboard Maestro Forum.md; 9 Keyboard Maestro.md. Other md files can be optionally added to the same folder. Added options to: 1) navigate to the configuration folder, 2) open the configuration files, 3) Prepend to or Append to a Markdown Link in the clipboard to the configuration files.

The required markup for a tooltip is only a data attribute and title on the HTML element you wish to have a tooltip. The generated markup of a tooltip is rather simple, though it does require a position (by default, set to top by the plugin).

Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-bs-, as in data-bs-animation="". Make sure to change the case type of the option name from camelCase to kebab-case when passing the options via data attributes. For example, instead of using data-bs-customClass="beautifier", use data-bs-custom-class="beautifier".

Appends the tooltip to a specific element. Example: container: 'body'. This option is particularly useful in that it allows you to position the tooltip in the flow of the document near the triggering element - which will prevent the tooltip from floating away from the triggering element during a window resize.

When a function is used to determine the placement, it is called with the tooltip DOM node as its first argument and the triggering element DOM node as its second. The this context is set to the tooltip instance.

Add classes to the tooltip when it is shown. Note that these classes will be added in addition to any classes specified in the template. To add multiple classes, separate them with spaces: 'class-1 class-2'.

When a function is used to determine the offset, it is called with an object containing the popper placement, the reference, and popper rects as its first argument. The triggering element DOM node is passed as the second argument. The function must return an array with two numbers: [skidding, distance].

When a function is used to create the Popper configuration, it's called with an object that contains the Bootstrap's default Popper configuration. It helps you use and merge the default with your own configuration. The function must return a configuration object for Popper.

Options for individual tooltips can alternatively be specified through the use of data attributes, as explained above.Using function with popperConfigvar tooltip = new bootstrap.Tooltip(element, popperConfig: function (defaultBsPopperConfig) // var newPopperConfig = ... // use defaultBsPopperConfig if needed... // return newPopperConfig )MethodsAsynchronous methods and transitionsAll API methods are asynchronous and start a transition. They return to the caller as soon as the transition is started but before it ends. In addition, a method call on a transitioning component will be ignored.

This is the perfect tool to modify all colors of your design in one click while staying in your color range. By selecting this tool, you can quickly alternate colors and get a preview from different versions of your design.

The "Background and display color" option gives you the possibility to choose fabrics and colors used for your project. It offers a realistic preview of how your embroidery will be placed on a selected garment. You will enjoy the realistic preview of the final result.

Users will be delighted with the "Edit" features that allow to modifiy embroidery designs according to their needs. One of them is the useful "copy and paste" function. Simply select this tool to duplicate quickly a specific style or effect, and paste it on several elements.

The "Cutwork" feature gives you the opportunity to create cutwork patterns for Home decor or for garments. This function is very much appreciated to cut patterns in multiple layers of fabric at once!

With this tool, you can create a 3-dimensional embroidery project for a surprising effect. You will be able to get a preview of all elements of your creation in only one window box. Create raised or sculpted designs using free-standing embroidery and wire.

Reply all
Reply to author
Forward
0 new messages