Noob Question: Converting Automator "Watch Me Do" to standard script?


Sorry if this is a monstrously ignorant question, but is there a tool, or method to open an Automator “Watch Me Do” action, and turn it into a normal Applescript?

Or at least something that will extract the proper addressable names for the various buttons, pane choices etc I make while recording the Watch Me Do action in the first place?

My idea is to try to take apart some Watch Me Do actions that don’t seem very reliable, and try to use the salient bits as Applescript steps within Keyboard Maestro macros.