SC, Image Files and MPI

Click on an image to open a fullsized version in another window.

MPI - control -mouseDown to change wd style
MPI - control -mouseDown to change wd style 231 by 239

MPI Editing Tab Data
MPI Editing Tab Data 416 by 311

All the choices interface.
All the choices interface. 414 by 303

More Exporting - Multiple files - Interface

We might want to export all the files to a different format or to restrain them to a size.
So we might want to change the Export window adding card for different export options.
Open the Export Window and if it is a movable window change it to a standard one.
Check the edit background box in MPI's main palette (or type command-B)
You then can add a tab button by dragging it from MPI's tool module (In the RTE choose the tab button tool and drag out a button.
With the button selected click on the TabData button on MPI's property Module and set the names for the Tab Button. I have 3 tabs: Image, All Images and Web. In the RTE double click the button, then click the TabData button in the button Info dialog.
Now add two cards to the Export window.
In the backgroung tab button put this script
on MouseUp

go cd currentValue of me
end mouseUp
And in the background script put
 on openBackGround

go cd the currentValue of bg btn id 319
end openBackground

We now can create cards for the different exports.
First the Multiple Images.
We need the same choice of image file types so we can copy the buttons from the first card to the second. (We could make them background buttons and change the script on the first card if we wanted)
We need a choice about scaling the images or not. Add a radio button in the same way as we added a tab button, and edit its RadioData:
Full sized Images
Scale to no larger than:

Below the button add two fields with text graphic lables: Max Width and Max Height.
Give the radio Button this script:
 on mouseUp

if the currentValue of me is 1
then
put "" into cd fld "maxWidth"
put "" into cd fld "maxHeight"
set the lockText of cd fld "maxWidth" to true
set the lockText of cd fld "maxheight" to true
set the showfill of cd fld "maxHeight" to false
set the showfill of cd fld "maxWidth" to false
else
set the lockText of cd fld "maxWidth" to false
set the lockText of cd fld "maxheight" to false
set the showfill of cd fld "maxHeight" to true
set the showfill of cd fld "maxWidth" to true
end if
end mouseUp

We also want to let the user choose between using the original file names and using numbers (with or without a prefix.
I've added a couple more buttons to do this, a radion with two choices:
Use Original Names
Use Numbers

and a checkbox with an associated field
Use Prefix See the third graphic.
The Radio button has this script:
 on mouseup

if the currentValue of me is 2
then set the disabled of btn "Use prefix" to false
else set the disabled of btn "Use prefix" to true
end mouseup
The Use Prefix checkbox this script:
 on mouseup

if the hilite of me
then
set the lockText of cd fld "prefix" to false
set the showfill of cd fld "prefix" to true
else
set the lockText of cd fld "prefix" to true
set the showfill of cd fld "prefix" to false
end if
end mouseup

The other change to the interface is to move the Cancel button on the first card to the background so that it appears on all card. We need to add a Export button to hold our export script too.
Now we have our interface it is time to script the multiple file export.