mm_ImageFileOps v1.00
*** Important Requirements for Windows users: This script require access to python libraries that are not shipped by default with Modo in Windows. You will need to install a full distribution of Python 2.4.3 (not Python 2.5) such as the one from ActiveState ***
Download: mm_ImageFileOps
Zip Contains:
- mm_ImageFileOps.py - goes in your user scripts directory
What is it?
Script to launch clips from the Images list in external applications. Currently supports opening the selected clip in the default system application for the clip's filetype, locating the original clip file in the system's file browser and opening the clip with an application of your choice.
Usage:
Select a clip in the images list, run the script with one of the following command strings. You can run the command by pressing F% and typing in one of the following strings, bind them to hot keys or add entries to the Image list's right click context menu.
Open clip in default application:
@mm_ImageFileOps.py 0
Open clip location in default system browser:
@mm_ImageFileOps.py 1
Open clip in application of your choice:
@mm_ImageFileOps.py 2 "application"
replace the section in red by the full path to the application of your choice in Windows or the name of the
application bundle in OSX. e.g:
@mm_ImageFileOps.py 2 "C:\Program files\Adobe\Adobe Photoshop CS3\Photoshop.exe"
or
@mm_ImageFileOps.py 2 "Adobe Photoshop CS3.app"
How to add an entry to the Images list context menu:
1. Make sure you have the Images list visible and an image loaded into the list. From the 'System' menu, open the 'Form Editor' (or press 'F3'). Click on the 'Find form button.
2. The 'Find Form' button will highlight in orange and it's text will change to say 'Click in a Form's View'
3. Right click on an image in the image list - just right click on it and slide the mouse pointer off again, you don't need to make a menu selection.
4. Go back to the Form Editor and you will find that the 'Clips Menu' entry is now highlighted.
5. Scroll the list down slightly so that you can see the '(New Control)' entry just under 'Save As'.
6. Right click on the '(New Control)' entry and select 'Add Command' from the menu.
7. In the 'Add Command to a Form' dialog type one of the command strings from the top of the page and click OK.
8. The command will appear with the default name of 'Run Script' at the bottom of the 'Clips Menu' section, just under 'Save As'.
9. Select the 'Run Script' entry in the list and enter a name (eg. 'Show EXIF info') in the label field at the top right of the form editor.
10. Repeat from step 6 to add the remaining commands and your the right click context menu for the images list should look like something like this:
14. Enjoy
Any comments or problems, leave a comment below or make a post in the
forum.