Monday, June 18, 2012

openRecentFile tool

Summary:

Have you ever wanted to open the most recent playblast, rendered image, texture, reference, etc you have done, without having to manually search for in your project directory in order to open it?

This little tool helps you to accomplish this right out of maya! Go crazy and implement it to whatever comes to your mind.

Should work on any OS as well!


Files:

openRecentFile.zip
    







Usage:

Assign the following Python command:

import openRecentFile
openRecentFile.openRecentFile(yourFileFolder='yourDesiredFolder',mostRecentNr=0)
# 'yourDesiredFolder' points to the folder within your maya project
# 0 means the latest one, the higher the number the less recent the file will be

to any hotkey or shelf button you want.

Tip: You can add a dropdown menu to your shelf icon to open not only the most recent file, but previous ones as well.


Credits:

Thanks to Edward Zhou for being too lazy to open his recent playblasts manually... ;)


No comments:

Post a Comment