Macros with pulldown or dropdown menus including text

Hello all! Any hint where I can find examples of macros with output: pulldown menu for text entries to paste/insert into files? Thx in advance.

This website has lots of examples. There's a search box where you can enter search terms to help find them. You said "for text entires to paste into files," but I think what you means it to "paste into applications" (not files) because that's generally how it works. Which apps do you want to paste text into? A word processor? A spreadsheet? The answers may depend upon which "app" you want to paste text into.

Typically your macro will (a) activate the app if the app isn't already active, and (b) use the KM action "Insert Text". For example:

image

That's the simplest example. Do you have any further information about what you want to achieve?

Thank you for your instructive answer. I´m not a native speaker which sometimes makes it difficult to get to the point.
Indeed I took advantage of the search field. However my search terms did not lead me to a solution. So what I want to built is a macro that outputs a dropdown (list-) window with a list of prefilled text. I need an option to change the textinput once in while. This dropdown window or list should help me safe time inserting the prefilled text in any word processor. I used GPT for suggestions which turned out useless because it´s the step by step it advices are unapplicable. I hope I was able to make my point clear. Best regards Joachim

I think I understand what you want. Let me get back to you.

Here is a macro that you can trigger with two hotkeys. (You can change the hotkeys if you like.) The first hotkey is ⌃Clear, which will let you create or edit a list of strings that you want to insert. The second hotkey is Clear which will bring up a menu, as you to pick one of the string values, and then insert the chosen string in your current application.

As far as I can tell, this is what you were asking for. But if I'm wrong, please clarify and I will try again.

Insert Text using Menu, or Edit Text List Macro (v11.0.3)

Insert Text using Menu- or Edit Text List.kmmacros (4.0 KB)

Airy, thank you for your imediad help. I imported your Macro, but I had to change hotkeys since MacBook Air does not have a clear key, but you wrote that I could change Hotkeys. I pressed Hotkeys: no action, nothing happens. I start feeling very dum ..

You click in the box which says "Clear" and then the box will change colour, and then you click on a different key, such as F1.

The way I wrote the program, the second key needs to be a CONTROL key, so for the second hotkey perhaps use CONTROL-F1.

Airy, you made my day. Thank you so much! Now I have a starting point for further modifications of the task. Thanks again for taking your time. Jo

I'm always happy to help. It was an easy macro to write. If you need help improving it, let me know here what features you need added.

The first feature you might want to add (I'm not sure) is to insert a newline or a space after each insertion. But that may depend on which app you are inserting text into. You didn't say which app you were using. Another possible problem is that my solution is good for maybe up to 20 terms, but if you end up needing 50 or 100, we may need to find you a better solution.