Hi everyone, I created gads of trigger files that I use for this and that. I made the mistake of renaming a few such that their current names are different from the original macro name from whence it was created. And with 1 or 2, I forgot which original macro it refers to!
I was wondering: Is there a way to un-trigger a trigger file such that it reverts to its original bare KM macro format? Thank you much.....
They're a very cool useful part of KM. If you select any macro and go to the file menu, you'll see 'Export as Trigger File.' Pull down to it and the macro gets exported (to wherever you want). Whenever you click on thetrigger file, the macro executes. I use them to organize my macros.
I have a few trigger files that were exported from KM macros awhile ago. After exporting them, I renamed the triggers: For example, one trigger was renamed 'Clear.' If I execute Clear, apps, finder boxes and other items are cleared from the desktop - and so, I know Clear was derived from one of a dozen or so macros that perform these functions. But I don;t recall which macro it was originally.
My question is, can I look at the contents of a trigger file like 'Clear' to see exactly what actions and other elements were used to create it. Sorry if my question isn't articulated well enough. Let me know if you want me to restate it. Given that you're not sure what I mean, I'm guessing that the answer to my Q is "no."...thx
You shouldn't need to reverse engineer the trigger file. I believe you should just be able to look in the KM engine log (Help > Open Logs Folder > Engine.log) after running the macro to see what macro was run.
Thank you for that gem...I never used that before. The last item in engine.log is getting me closer...but me thinks that the last macro is probably an 'execute macro' in another macro (I hope you understand my meaning). anyway, I'm on my way to figuring it out now. Thx again for that....
Thank you for this. Would you mind elaborating how to use your macro? I took your instructions at face value. I selected a trigger file and then, ran your macro. But nothing happened.
All my trigger files are in a folder outside of KM, one or two levels above my startup drive. I placed your macro into one of my own macro groups (also called 'Finder') and added the status menu as a trigger.
After selecting my trigger file (in the folder where I usually keep them), I pulled down to your macro (using the status menu) but (as far as I can see) nothing happened. I look forward to your reply.
Hi Peter, Did my answer clarify? There's one trigger in particular - the one I referred to earlier, 'Clear.'
It's strange...the macro is just a simple toggle:I have an icon that executes the trigger file. Click the icon once and everything (including palettes, get info, finder boxes, apps...)immediately hide. Click it again, and they reappear. I'm sure I can reconstruct it.
Today, I was thinking, I somehow used the F11 or F12 key to switch to another desktop but the thing is, all my desktop icons remain stay in tact and so, I' must be in the same desktop. I'll figure it out....
That's what prompted me to ask the Q. I wondered, can I take the trigger file and somehow retrace my steps to find the macro....but that's turning out to be more work than just creating a new one.
Addendum: I figured out the one trigger file that was bugging me, that I couldn't trace to a macro (Named 'Clear'). The macro clears everything that's hiding the desktop (except DT icons). Also, it's a toggle: The second time you execute it, everything reappears.
I feel silly: It's just one simple simulate-keystroke: Command/F8 is part of the Yosemite OS--Clear Desktop. Anyway, at least I learned a ton, thx again for the help.
...it would be interesting to know, is it possible to recreate a macro from the trigger file but I'm not as concerned as before....thx again.