Simple client 'database'

I'd like to create a macro that uses this one-line input box to read a text file with the names and addresses of my clients. One client record per line, items separated by tab characters, not all lines have the same number of tabs.

E.g. I type 'Joh' and below the one-line input box my favourite client 'John Doe' is displayed. I press enter and the whole line is placed on the clipboard, with tab characters replaced by new line characters.

Any one having such a macro on shelf? :wink:

Not on shelf, but it's not too hard to put one together. Just add the path to your file where appropriate in the Prompt with List action:

Example Macro.kmmacros (1.9 KB)

2 Likes

Thank you very much. Works like a charm. I've added a Paste command at the end, since that's most of the times what I want to do with the clipboard's content here.

1 Like