Hi all, i have sort of found the solution and it is working - http://pastebin.com/raw.php?i=PA61f9kb
However, if someone could kindly give me some more pointers for refinement, I am at all ears :) Even so, I have a question in my code. In the try/except statement as suggested by Joe, I implemented it but as soon as I input in *return recentFiles*, both the dialogs will not run. Why is it so? -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/fa42c21b-7f51-4483-b70a-bda207796a76%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.