Is There A Script That Will Open Most Recent Mel Commands In Script Editor?

Is there a script that will open most recent mel commands in script editor?

Something like this would be extremely usefull...

what exactly do you mean? you can query the recent command list, and you can open scripts into the script editor.. but what exactly are you trying to achieve?

However, you really don't want to open scripts into the script editor.. I don't understand why they even allow you to do this as it creates confusion with local/global definitions...

:nathaN