ok this may sound insane, but it's not.
On the subject of using keyboard maestro on itself, (which seems crazy at first but i think it's essential actually), I'm looking for a way to easily get a handle on the ordering of the actions list in a macro. Probably one of the main reasons I need this is because there seems to be no way to add a new action ABOVE the selected one. but in general, it's pretty crucial to be able to nudge actions up or down in the list. and I don't think there's any key commands for doing that, so I've always tried to make them.
The one I've been using is functional, but quite slow and it fails if you do it too fast. It relies on copy/paste. "nudge up" means cut the action, press up, then "paste above" etc. that sort of thing. It works, sort of, unless you try to do it fast.
So I'm looking for a more solid way to manipulate the ordering of the actions. like the same thing as what you can normally only do by dragging them with the mouse and inserting them at a different spot in the list. looking to press a key and have it just get displaced upwards in the list (or downwards).
And this leads me to trying to open a door which I've wanted to for a long time, which is javascript automations. Or maybe that's not what I'm looking for, .... but I'm looking for some advanced tactic to get a hold of this functionality of the kme app. And in many other apps ... where I just can't seem to get a handle on it.
Another example would be, when inserting an "activate app" action, i have a macro that automatically inserts that and then opens the pop-up menu for the app name, and goes to 'other', so it sets me up to type the name. I do this using applescript. Besides that, on a more granular level, I also have key commands for "button 1" "button 2" etc, and "pop up menu 1, and pop up menu 2", of a selected action. These are all applescript, but, wow, applescript is just so slow for reasons I've never figured out. Also, ... this applescript trick fails if the action is nested in an "if" action, because the hierarchy would be tweaked. I've actually made a very verbose and insane updated applescript which systematically checks for "of group of group of group of group of group" etc, and all the way back, for up to about 5 layers deep, and that does work, again it's quite slow.
So I suppose the thing that ties this all together, is I am looking for new techniques to really get a handle on these action cells, in the keyboard maestro editor. and hopefully be able to use this knowledge for other apps as well, but the "keyboard maestro editor" app is surely one that everyone here knows, so I figured it would be good to start here.
Some people on here have made some amazing contributions using crazy script tricks, and I get the feeling the answers I seek are out there. any help appreciated, sorry if this makes no sense.