URGENT 'Save As' help

Hi there,
I have I-Movie version 4.0.1 which has no 'Save As' function. I'm trying to save the original version of a film (which is saved onto an external hard drive as there's no space on my internal one) while creating a duplicate that I can edit and open in a new I-Movie timeline. How can I do this and also ensure that the duplicate project keeps all of the clips in the clips frame and allows me to play around with the existing film in the new timeline?
Thanks for your help.
JC
eMac   Mac OS X (10.3.9)  

1. Quit iMovie.
2. Look for the iMovie project folder on your external hard drive (using the Finder).
3. Select (SINGLE-click) the project folder and duplicate (Command-D). It should take a while since the footage is HUGE.

Similar Messages

  • Urgent JMS Problem,Help!!

    I meet a urgent problem about JMS,I use wls61 sp1
    but when serverl MDB subscribed to one topic,problem
    accur and not all of the subscriber seems to receive the
    message,I know that sp2 have slove the bugs.but I just
    want to get the patch of jms for wls61sp1.
    This is very urgent,can anyone help me to
    get the patch?
    Thanks a lot

    This sounds like the symptoms that I am currently suffering,
    under Weblogic 6.1 SP2.
    My situation is that I have processes on several "satellite"
    Weblogic servers that all subscribe to the same set of several
    JMS Topics published by a "central" Weblogic server. The servers
    are all using Weblogic 6.1 SP2 (non-clustered). It appears that
    only one of the subscribing "satellite" servers receives the
    messages published. After a couple of experiments, it appears
    that the first "satellite" server to register with the Topics is
    the one that receives the messages, even if that "satellite"
    server is restarted, until such time as the "central" server is restarted.
    It appears from Eric's message that there is a patch for this.
    How do I go about getting a copy of the patch? Or is my problem
    different?
    Thanks,
    -Chris-
    "Eric.Nie" <[email protected]> wrote:
    >
    I have got the patch,Thank u very much
    Ravi Akella <[email protected]> wrote:
    Are these subscribers on the server. If you could provide some more
    info about the problem I will try to help you.
    Ravi Akella.
    "Eric.Nie" wrote:
    I meet a urgent problem about JMS,I use wls61 sp1
    but when serverl MDB subscribed to one topic,problem
    accur and not all of the subscriber seems to receive the
    message,I know that sp2 have slove the bugs.but I just
    want to get the patch of jms for wls61sp1.
    This is very urgent,can anyone help me to
    get the patch?
    Thanks a lot

  • URGENT! PLS HELP Load tests (Oracle Load Testing) in OTM

    hello,
    it´s really urgent so please help!
    How can I see the test result of the lload tests (done with Oracle Load Testing) in OTM????
    I can not figure out why such an important point is missing in the documenation....
    Thank you very much for your (hopefully soon) help!
    Edited by: 853007 on 20.04.2011 05:42

    added these files in the classpath : using oracle 9i
    , jdk1.4.2
    C:\Documents and Settings\Sampathkumar\Desktop>set
    CLASSPATH=c:\oracle\ora92\jdb
    c\lib\ojdbc14.jar;c:\oracle\ora92\jdbc\lib\nls_charset
    12.jar;%CLASSPATH%;
    submitted this code as a sample to test the
    conection
    import java.sql.*;
    public class test{
    public static void main(String[] args) throws
    SQLException,ClassNotFoundException {
    //load oracle driver
    Class.forName("oracle.jdbc.OracleDriver");
    System.out.println("Driver Loaded");
    //connecTION to the sample database
    String url =
    =
    "jdbc.oracle:thin:@SEC_MEC-MS3:1521:global.oracle";
    Connection conn=DriverManager.getConnection
    tion (url,"sam","aaj");
    System.out.println("Database connection
    on successful");
    //create a statement
    Statement stmt = conn.createStatement();
    ResultSet rset =stmt.executeQuery("select
    ry("select sysdate from Dual");
    while (rset.next())
    System.out.println(rset.getString(1));
    }//end of test DB class
    give the error stack
    C:\Documents and Settings\Sampathkumar\Desktop>java
    test
    Driver Loaded
    Exception in thread "main" java.sql.SQLException: No
    suitable driver
    at
    at java.sql.DriverManager.getConnection(Unknown
    known Source)
    at
    at java.sql.DriverManager.getConnection(Unknown
    known Source)
    at test.main(test.java:17)__________________________________________________________
    You are loading the driver classes ok. But is that the appropriate driver for youir database?
    I know Oracle is phasing out the .zip version classes12.zip, but have tried them
    here the possible drivers
    ojdbc14.jar Oracle 9. and higher and jk1.4 and higher
    ojdbc14_g-1.jar - include extentsion Oracle 9. and higher and jk1.4 and higher
    classes12.zip - Primarily used with oralce 8.* and jk1.2.* - jtk1.3.*

  • Saveas Scripting help request

    I am trying to piece together a maro that will initially resize an image and save it with a different suffix at different size increments. I found within the cs5 scripts folder the macro 'Fit Image.jsx' that would allow me to resize correctly but am lost on how to add in the subsequent save steps and additional resize and saves. I would like to have it save the image with 5 different file sizes and suffixes (400x400 '-2' suffix, 250x250 '-2T', 150x150 '-1', 100x100 '-0', and 50x50 '-2S'). I found some information on the saveas http://forums.adobe.com/message/2652204 but have no experience with javascript. I have some understanding of VBA and believe a loop could be used but haven't the slightest idea how to set this up. Is there anyone out there that could help walk me through this and lend me a hand?
    ---Below contains the 'Fit Image.jsx' file that I found---
    // c2008 Adobe Systems, Inc. All rights reserved.
    // Written by Ed Rose
    // based on the ADM Fit Image by Charles A. McBrian from 1997
    // edited by Mike Hale added option to avoid resize on images already smaller than target size
    @@@BUILDINFO@@@ Fit Image.jsx 1.0.0.21
    /* Special properties for a JavaScript to enable it to behave like an automation plug-in, the variable name must be exactly
       as the following example and the variables must be defined in the top 1000 characters of the file
    // BEGIN__HARVEST_EXCEPTION_ZSTRING
    <javascriptresource>
    <name>$$$/JavaScripts/FitImage/Name=Fit Image...</name>
    <menu>automate</menu>
    <enableinfo>true</enableinfo>
    <eventid>3caa3434-cb67-11d1-bc43-0060b0a13dc4</eventid>
    <terminology><![CDATA[<< /Version 1
                             /Events <<
                              /3caa3434-cb67-11d1-bc43-0060b0a13dc4 [($$$/AdobePlugin/FitImage/Name=Fit Image) /imageReference <<
                               /width [($$$/AdobePlugin/FitImage/Width=width) /pixelsUnit]
                               /height [($$$/AdobePlugin/FitImage/Height=height) /pixelsUnit]
                               /limit [($$$/AdobePlugin/FitImage/limit=Don't Enlarge) /boolean]
                              >>]
                             >>
                          >> ]]></terminology>
    </javascriptresource>
    // END__HARVEST_EXCEPTION_ZSTRING
    // enable double clicking from the Macintosh Finder or the Windows Explorer
    #target photoshop
    // debug level: 0-2 (0:disable, 1:break on error, 2:break at beginning)
    // $.level = 2;
    // debugger; // launch debugger on next line
    // on localized builds we pull the $$$/Strings from a .dat file, see documentation for more details
    $.localize = true;
    var isCancelled = true; // assume cancelled until actual resize occurs
    // the main routine
    // the FitImage object does most of the work
    try {
        // create our default params
        var sizeInfo = new SizeInfo();
        GlobalVariables();
        CheckVersion();
        var gIP = new FitImage();
        if ( DialogModes.ALL == app.playbackDisplayDialogs ) {
            gIP.CreateDialog();
            gIP.RunDialog();
        else {
            gIP.InitVariables();
            ResizeTheImage(sizeInfo.width.value, sizeInfo.height.value);
        if (!isCancelled) {
            SaveOffParameters(sizeInfo);
    // Lot's of things can go wrong
    // Give a generic alert and see if they want the details
    catch( e ) {
        if ( DialogModes.NO != app.playbackDisplayDialogs ) {
            alert( e + " : " + e.line );
    // restore the dialog modes
    app.displayDialogs = gSaveDialogMode;
    isCancelled ? 'cancel' : undefined;
    function ResizeTheImage(width, height) {
        var oldPref = app.preferences.rulerUnits;
        var docWidth;
        var docHeight;
        var docRatio;
        var newWidth;
        var newHeight;
        var resolution = app.activeDocument.resolution;
        var limit = sizeInfo.limit;
        app.preferences.rulerUnits = Units.PIXELS; // save old preferences
        // original width, height
        docWidth = (1.0 * app.activeDocument.width * resolution) / 72.0; // decimal inches assuming 72 dpi (used in docRatio)
        docHeight = (1.0 * app.activeDocument.height * resolution) / 72.0; // ditto
        if (docWidth < 1.0 || docHeight < 1.0)
            return true; // error
        if (width < 1 || height < 1)
            return true; // error
        if ( limit && ( docWidth <= width && docHeight <= height ) ){
            app.preferences.rulerUnits = oldPref; // restore old prefs
            isCancelled = false; // if get here, definitely executed
            return false; // no error
        docRatio = docWidth / docHeight; // decimal ratio of original width/height
        newWidth = width;
        newHeight = ((1.0 * width) / docRatio); // decimal calc
        if (newHeight > height) {
            newWidth = docRatio * height; // decimal calc
            newHeight = height;
        // resize the image using a good conversion method while keeping the pixel resolution
        // and the aspect ratio the same
        app.activeDocument.resizeImage(newWidth, newHeight, resolution, ResampleMethod.BICUBIC);
        app.preferences.rulerUnits = oldPref; // restore old prefs
        isCancelled = false; // if get here, definitely executed
        return false; // no error
    // created in
    function SaveOffParameters(sizeInfo) {
        // save off our last run parameters
        var d = objectToDescriptor(sizeInfo, strMessage);
        app.putCustomOptions("3caa3434-cb67-11d1-bc43-0060b0a13dc4", d);
        app.playbackDisplayDialogs = DialogModes.ALL;
        // save off another copy so Photoshop can track them corectly
        var dd = objectToDescriptor(sizeInfo, strMessage);
        app.playbackParameters = dd;
    function GlobalVariables() {
        // a version for possible expansion issues
        gVersion = 1.1;
        gMaxResize = 300000;
        // remember the dialog modes
        gSaveDialogMode = app.displayDialogs;
        app.displayDialogs = DialogModes.NO;
        gInAlert = false;
        // all the strings that need to be localized
        strTitle = localize( "$$$/JavaScript/FitImage/Title=Fit Image" );
        strConstrainWithin = localize( "$$$/JavaScript/FitImage/ConstrainWithin=Constrain Within" );
        strTextWidth = localize("$$$/JavaScripts/FitImage/Width=&Width:");
        strTextHeight = localize("$$$/JavaScripts/FitImage/Height=&Height:");
        strTextPixels = localize("$$$/JavaScripts/FitImage/Pixels=pixels");
        strButtonOK = localize("$$$/JavaScripts/FitImage/OK=OK");
        strButtonCancel = localize("$$$/JavaScripts/FitImage/Cancel=Cancel");
        strTextSorry = localize("$$$/JavaScripts/FitImage/Sorry=Sorry, Dialog failed");
        strTextInvalidType = localize("$$$/JavaScripts/FitImage/InvalidType=Invalid numeric value");
        strTextInvalidNum = localize("$$$/JavaScripts/FitImage/InvalidNum=A number between 1 and 300000 is required. Closest value inserted.");
        strTextNeedFile = localize("$$$/JavaScripts/FitImage/NeedFile=You must have a file selected before using Fit Image");
        strMessage = localize("$$$/JavaScripts/FitImage/Message=Fit Image action settings");
        strMustUse = localize( "$$$/JavaScripts/ImageProcessor/MustUse=You must use Photoshop CS 2 or later to run this script!" );
        strLimitResize = localize("$$$/JavaScripts/FitImage/Limit=Don^}t Enlarge");
    // the main class
    function FitImage() {
        this.CreateDialog = function() {
            // I will keep most of the important dialog items at the same level
            // and use auto layout
            // use overriding group so OK/Cancel buttons placed to right of panel
            var res =
                "dialog { \
                    pAndB: Group { orientation: 'row', \
                        info: Panel { orientation: 'column', borderStyle: 'sunken', \
                            text: '" + strConstrainWithin +"', \
                            w: Group { orientation: 'row', alignment: 'right',\
                                s: StaticText { text:'" + strTextWidth +"' }, \
                                e: EditText { preferredSize: [70, 20] }, \
                                p: StaticText { text:'" + strTextPixels + "'} \
                            h: Group { orientation: 'row', alignment: 'right', \
                                s: StaticText { text:'" + strTextHeight + "' }, \
                                e: EditText { preferredSize: [70, 20] }, \
                                p: StaticText { text:'" + strTextPixels + "'} \
                            l: Group { orientation: 'row', alignment: 'left', \
                                    c:Checkbox { text: '" + strLimitResize + "', value: false }, \
                        buttons: Group { orientation: 'column', alignment: 'top',  \
                            okBtn: Button { text:'" + strButtonOK +"', properties:{name:'ok'} }, \
                            cancelBtn: Button { text:'" + strButtonCancel + "', properties:{name:'cancel'} } \
            // the following, when placed after e: in w and h doesn't show up
            // this seems to be OK since px is put inside the dialog box
            //p: StaticText { text:'" + strTextPixels + "'}
            // create the main dialog window, this holds all our data
            this.dlgMain = new Window(res,strTitle);
            // create a shortcut for easier typing
            var d = this.dlgMain;
            // match our dialog background color to the host application
            d.graphics.backgroundColor = d.graphics.newBrush (d.graphics.BrushType.THEME_COLOR, "appDialogBackground");
            d.defaultElement = d.pAndB.buttons.okBtn;
            d.cancelElement = d.pAndB.buttons.cancelBtn;
        } // end of CreateDialog
        // initialize variables of dialog
        this.InitVariables = function() {
            var oldPref = app.preferences.rulerUnits;
            app.preferences.rulerUnits = Units.PIXELS;
            // look for last used params via Photoshop registry, getCustomOptions will throw if none exist
            try {
                var desc = app.getCustomOptions("3caa3434-cb67-11d1-bc43-0060b0a13dc4");
                descriptorToObject(sizeInfo, desc, strMessage);
            catch(e) {
                // it's ok if we don't have any options, continue with defaults
            // see if I am getting descriptor parameters
            var fromAction = !!app.playbackParameters.count;
            if( fromAction ){
                // reset sizeInfo to defaults
                SizeInfo = new SizeInfo();
                // set the playback options to sizeInfo
                descriptorToObject(sizeInfo, app.playbackParameters, strMessage);
            // make sure got parameters before this
            if (app.documents.length <= 0) // count of documents viewed
                if ( DialogModes.NO != app.playbackDisplayDialogs ) {
                    alert(strTextNeedFile); // only put up dialog if permitted
                app.preferences.rulerUnits = oldPref;
                return false; // if no docs, always return
            var w = app.activeDocument.width;
            var h = app.activeDocument.height;
            var l = true;
            if (sizeInfo.width.value == 0) {
                sizeInfo.width = w;
            else {
                w = sizeInfo.width;
            if (sizeInfo.height.value == 0) {
                sizeInfo.height = h;
            else {
                h = sizeInfo.height;
            app.preferences.rulerUnits = oldPref;
            if ( DialogModes.ALL == app.playbackDisplayDialogs ) {
                var d = this.dlgMain;
                d.ip = this;
                d.pAndB.info.w.e.text = Number(w);
                d.pAndB.info.h.e.text = Number(h);
                d.pAndB.info.l.c.value = sizeInfo.limit;
            return true;
        // routine for running the dialog and it's interactions
        this.RunDialog = function () {
            var d = this.dlgMain;
            // in case hit cancel button, don't close
            d.pAndB.buttons.cancelBtn.onClick = function() {
                var dToCancel = FindDialog( this );
                dToCancel.close( false );
            // nothing for now
            d.onShow = function() {
            // do not allow anything except for numbers 0-9
            d.pAndB.info.w.e.addEventListener ('keydown', NumericEditKeyboardHandler);
            // do not allow anything except for numbers 0-9
            d.pAndB.info.h.e.addEventListener ('keydown', NumericEditKeyboardHandler);
            // hit OK, do resize
            d.pAndB.buttons.okBtn.onClick = function () {
                if (gInAlert == true) {
                    gInAlert = false;
                    return;
                var wText = d.pAndB.info.w.e.text;
                var hText = d.pAndB.info.h.e.text;
                var lValue = d.pAndB.info.l.c.value;
                var w = Number(wText);
                var h = Number(hText);
                sizeInfo.limit = Boolean(lValue);
                var inputErr = false;
                if ( isNaN( w ) || isNaN( h ) ) {
                    if ( DialogModes.NO != app.playbackDisplayDialogs ) {
                        alert( strTextInvalidType );
                    if (isNaN( w )) {
                        sizeInfo.width = new UnitValue( 1, "px" );
                        d.pAndB.info.w.e.text = 1;
                    } else {
                        sizeInfo.height = new UnitValue( 1, "px" );
                        d.pAndB.info.h.e.text = 1;
                        return false;
                else if (w < 1 || w > gMaxResize || h < 1 || h > gMaxResize) {
                    if ( DialogModes.NO != app.playbackDisplayDialogs ) {
                        gInAlert = true;
                        alert( strTextInvalidNum );
                if ( w < 1) {
                    inputErr = true;
                    sizeInfo.width = new UnitValue( 1, "px" );
                    d.pAndB.info.w.e.text = 1;
                if ( w > gMaxResize) {
                    inputErr = true;
                    sizeInfo.width = new UnitValue( gMaxResize, "px" );
                    d.pAndB.info.w.e.text = gMaxResize;
                if ( h < 1) {
                    inputErr = true;
                    sizeInfo.height = new UnitValue( 1, "px" );
                    d.pAndB.info.h.e.text = 1;
                if ( h > gMaxResize) {
                    inputErr = true;
                    sizeInfo.height = new UnitValue( gMaxResize, "px" );
                    d.pAndB.info.h.e.text = gMaxResize;
                if (inputErr == false)  {
                    sizeInfo.width = new UnitValue( w, "px" );
                    sizeInfo.height = new UnitValue( h, "px" );
                    if (ResizeTheImage(w, h)) { // the whole point
                        // error, input or output size too small
                    d.close(true);
                return;
            if (!this.InitVariables())
                return true; // handled it
            // give the hosting app the focus before showing the dialog
            app.bringToFront();
            this.dlgMain.center();
            return d.show();
    function CheckVersion() {
        var numberArray = version.split(".");
        if ( numberArray[0] < 9 ) {
            if ( DialogModes.NO != app.playbackDisplayDialogs ) {
                alert( strMustUse );
            throw( strMustUse );
    function FindDialog( inItem ) {
        var w = inItem;
        while ( 'dialog' != w.type ) {
            if ( undefined == w.parent ) {
                w = null;
                break;
            w = w.parent;
        return w;
    // Function: objectToDescriptor
    // Usage: create an ActionDescriptor from a JavaScript Object
    // Input: JavaScript Object (o)
    //        object unique string (s)
    //        Pre process converter (f)
    // Return: ActionDescriptor
    // NOTE: Only boolean, string, number and UnitValue are supported, use a pre processor
    //       to convert (f) other types to one of these forms.
    // REUSE: This routine is used in other scripts. Please update those if you
    //        modify. I am not using include or eval statements as I want these
    //        scripts self contained.
    function objectToDescriptor (o, s, f) {
        if (undefined != f) {
            o = f(o);
        var d = new ActionDescriptor;
        var l = o.reflect.properties.length;
        d.putString( app.charIDToTypeID( 'Msge' ), s );
        for (var i = 0; i < l; i++ ) {
            var k = o.reflect.properties[i].toString();
            if (k == "__proto__" || k == "__count__" || k == "__class__" || k == "reflect")
                continue;
            var v = o[ k ];
            k = app.stringIDToTypeID(k);
            switch ( typeof(v) ) {
                case "boolean":
                    d.putBoolean(k, v);
                    break;
                case "string":
                    d.putString(k, v);
                    break;
                case "number":
                    d.putDouble(k, v);
                    break;
                default:
                    if ( v instanceof UnitValue ) {
                        var uc = new Object;
                        uc["px"] = charIDToTypeID("#Pxl"); // pixelsUnit
                        uc["%"] = charIDToTypeID("#Prc"); // unitPercent
                        d.putUnitDouble(k, uc[v.type], v.value);
                    } else {
                        throw( new Error("Unsupported type in objectToDescriptor " + typeof(v) ) );
        return d;
    // Function: descriptorToObject
    // Usage: update a JavaScript Object from an ActionDescriptor
    // Input: JavaScript Object (o), current object to update (output)
    //        Photoshop ActionDescriptor (d), descriptor to pull new params for object from
    //        object unique string (s)
    //        JavaScript Function (f), post process converter utility to convert
    // Return: Nothing, update is applied to passed in JavaScript Object (o)
    // NOTE: Only boolean, string, number and UnitValue are supported, use a post processor
    //       to convert (f) other types to one of these forms.
    // REUSE: This routine is used in other scripts. Please update those if you
    //        modify. I am not using include or eval statements as I want these
    //        scripts self contained.
    function descriptorToObject (o, d, s, f) {
        var l = d.count;
        if (l) {
            var keyMessage = app.charIDToTypeID( 'Msge' );
            if ( d.hasKey(keyMessage) && ( s != d.getString(keyMessage) )) return;
        for (var i = 0; i < l; i++ ) {
            var k = d.getKey(i); // i + 1 ?
            var t = d.getType(k);
            strk = app.typeIDToStringID(k);
            switch (t) {
                case DescValueType.BOOLEANTYPE:
                    o[strk] = d.getBoolean(k);
                    break;
                case DescValueType.STRINGTYPE:
                    o[strk] = d.getString(k);
                    break;
                case DescValueType.DOUBLETYPE:
                    o[strk] = d.getDouble(k);
                    break;
                case DescValueType.UNITDOUBLE:
                    var uc = new Object;
                    uc[charIDToTypeID("#Rlt")] = "px"; // unitDistance
                    uc[charIDToTypeID("#Prc")] = "%"; // unitPercent
                    uc[charIDToTypeID("#Pxl")] = "px"; // unitPixels
                    var ut = d.getUnitDoubleType(k);
                    var uv = d.getUnitDoubleValue(k);
                    o[strk] = new UnitValue( uv, uc[ut] );
                    break;
                case DescValueType.INTEGERTYPE:
                case DescValueType.ALIASTYPE:
                case DescValueType.CLASSTYPE:
                case DescValueType.ENUMERATEDTYPE:
                case DescValueType.LISTTYPE:
                case DescValueType.OBJECTTYPE:
                case DescValueType.RAWTYPE:
                case DescValueType.REFERENCETYPE:
                default:
                    throw( new Error("Unsupported type in descriptorToObject " + t ) );
        if (undefined != f) {
            o = f(o);
    // Function: SizeInfo
    // Usage: object for holding the dialog parameters
    // Input: <none>
    // Return: object holding the size info
    function SizeInfo() {
        this.height = new UnitValue( 0, "px" );
        this.width = new UnitValue( 0, "px" );
        this.limit = false;
    // Function: NumericEditKeyboardHandler
    // Usage: Do not allow anything except for numbers 0-9
    // Input: ScriptUI keydown event
    // Return: <nothing> key is rejected and beep is sounded if invalid
    function NumericEditKeyboardHandler (event) {
        try {
            var keyIsOK = KeyIsNumeric (event) ||
                          KeyIsDelete (event) ||
                          KeyIsLRArrow (event) ||
                          KeyIsTabEnterEscape (event);
            if (! keyIsOK) {
                //    Bad input: tell ScriptUI not to accept the keydown event
                event.preventDefault();
                /*    Notify user of invalid input: make sure NOT
                       to put up an alert dialog or do anything which
                             requires user interaction, because that
                             interferes with preventing the 'default'
                             action for the keydown event */
                app.beep();
        catch (e) {
            ; // alert ("Ack! bug in NumericEditKeyboardHandler: " + e);
    //    key identifier functions
    function KeyHasModifier (event) {
        return event.shiftKey || event.ctrlKey || event.altKey || event.metaKey;
    function KeyIsNumeric (event) {
        return  (event.keyName >= '0') && (event.keyName <= '9') && ! KeyHasModifier (event);
    function KeyIsDelete (event) {
        //    Shift-delete is ok
        return ((event.keyName == 'Backspace') || (event.keyName == 'Delete')) && ! (event.ctrlKey);
    function KeyIsLRArrow (event) {
        return ((event.keyName == 'Left') || (event.keyName == 'Right')) && ! (event.altKey || event.metaKey);
    function KeyIsTabEnterEscape (event) {
        return event.keyName == 'Tab' || event.keyName == 'Enter' || event.keyName == 'Escape';
    // End Fit Image.jsx

    With Photoshop CS5 you can use Image Processor Pro and this should do what you require...
    http://blogs.adobe.com/jnack/2011/05/new-image-processor-pro-script-for-cs5.html

  • Urgent! Need help in deciding data structure to use

    Hi all,
    I need to implement a restaurant system by which a customer can make a reservation.
    I was wondering whether vector would be able to be store such an object, The thing is I don't want a complex data structure. just sumthin simple cos i hardly have anytime left to my submission. sighz...
    The thing is I need to able to search based on 2 properties of an object. Eg. I need to search for a reservation based on the customer name and the date he reserved a table.
    But I am totally clueless how to search thru a vector based on 2 properties of the object... Would really appreciate some help. Like an example how to so so based on my program. Feelin so lost...This is all I have so far:
    class AddReservation
         static BufferedReader stdin = new BufferedReader (new InputStreamReader(System.in));
         //Main Method
         public static void main (String[]args)throws IOException
              String custName, comments;
              int covers, date, startTime, endTime;
              int count = 0;
              //User can only add one reservation at a time
              do
                   //Create a new reservation
                   Reservation oneReservation=new Reservation();                         
                   System.out.println("Please enter customer's name:");
                   System.out.flush();
                   custName = stdin.readLine();
                   oneReservation.setcustName(custName);
                   System.out.println("Please enter number of covers:");
                   System.out.flush();
                   covers = Integer.parseInt(stdin.readLine());
                   oneReservation.setCovers(covers);
                   System.out.println("Please enter date:");
                   System.out.flush();
                   date = Integer.parseInt(stdin.readLine());
                   oneReservation.setDate(date);
                   System.out.println("Please enter start time:");
                   System.out.flush();
                   startTime = Integer.parseInt(stdin.readLine());
                   oneReservation.setstartTime(startTime);
                   System.out.println("Please enter end time:");
                   System.out.flush();
                   endTime = Integer.parseInt(stdin.readLine());
                   oneReservation.setendTime(endTime);
                   System.out.println("Please enter comments, if any:");
                   System.out.flush();
                   comments = stdin.readLine();
                   oneReservation.setComments(comments);
                   count++;
              while (count<1);
              class Reservation
              private Reservation oneReservation;
              private String custName, comments;
              private int covers, startTime, endTime, date;
              //Default constructor
              public Reservation()
              public Reservation(String custName, int covers, int date, int startTime, int endTime, String comments)
                   this.custName=custName;
                   this.covers=covers;
                   this.date=date;
                   this.startTime=startTime;
                   this.endTime=endTime;
                   this.comments=comments;
              //Setter methods
              public void setcustName(String custName)
                   this.custName=custName;
              public void setCovers(int covers)
                   this.covers=covers;;
              public void setDate(int date)
                   this.date=date;
              public void setstartTime(int startTime)
                   this.startTime=startTime;
              public void setendTime(int endTime)
                   this.endTime=endTime;
              public void setComments(String comments)
                   this.comments=comments;
              //Getter methods
              public String getcustName()
                   return custName;
              public int getCovers()
                   return covers;
              public int getDate()
                   return date;
              public int getstartTime()
                   return startTime;
              public int getendTime()
                   return endTime;
              public String getComments()
                   return comments;
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    class searchBooking
         static BufferedReader stdin = new BufferedReader (new InputStreamReader(System.in));
         public static void main (String[]args)throws IOException
              int choice, date, startTime;
              String custName;
                   //Search Menu
                   System.out.println("Search By: ");
                   System.out.println("1. Date");
                   System.out.println("2. Name of Customer");
                   System.out.println("3. Date & Name of Customer");
                   System.out.println("4. Date & Start time of reservation");
                   System.out.println("5. Date, Name of customer & Start time of reservation");
                   System.out.println("Please make a selection: ");          
                   //User keys in choice
                   System.out.flush();
                   choice = Integer.parseInt(stdin.readLine());
                   if (choice==1)
                        System.out.println("Please key in Date (DDMMYY):");
                        System.out.flush();
                        date = Integer.parseInt(stdin.readLine());
                   else if (choice==2)
                             System.out.println("Please key in Name of Customer:");
                             System.out.flush();
                             custName = stdin.readLine();
                   else if (choice==3)
                             System.out.println("Please key in Date (DDMMYY):");
                             System.out.flush();
                             date = Integer.parseInt(stdin.readLine());
                             System.out.println("Please key in Name of Customer:");
                             System.out.flush();
                             custName = stdin.readLine();
                   else if (choice==4)
                             System.out.println("Please key in Date (DDMMYY):");
                             System.out.flush();
                             date = Integer.parseInt(stdin.readLine());
                             System.out.println("Please key in Start time:");
                             System.out.flush();
                             startTime = Integer.parseInt(stdin.readLine());
                   else if (choice==5)
                             System.out.println("Please key in Date (DDMMYY):");
                             System.out.flush();
                             date = Integer.parseInt(stdin.readLine());
                             System.out.println("Please key in Name of Customer:");
                             System.out.flush();
                             custName = stdin.readLine();
                             System.out.println("Please key in Start time:");
                             System.out.flush();
                             startTime = Integer.parseInt(stdin.readLine());
                        }

    Please stop calling your questions urgent. Everybody's question is urgent to them. Nobody's are urgent to the people who are going to answer them. Calling your questions urgent suggests that you think they are more important than others' (They're not.) and will only serve to irritate those who would help you. It won't get your questions answered any sooner.

  • File type changing during "Save As" - Help!

    Good Morning!  I have a set of tif files converted from RAW that I'm resizing for an order for a client and every time I do a "Save As", the file gets changes to an extension of $CB, then Adobe and nothing else will recognize it.
    The history;
    Converted RAW to Tif in Bridge CS3
    Opened in PSCS3 extended - cropped to size - do the Save As, still shows the file as a Tif in file type - reopened the original to make another size and noticed that file I just created is not there.  No, I didn't save the file with the same name, thus Save As.
    My normal file naming, I just add a designated letter at the end of my file name to indicate the finished size ie.. legion post 576_001D.tif (D = 8 x 10)  The original file would be    legion post 576_013.tif.  I did this on 3 different computers, using PS 7.01, CS2, CS3 and CS4, all the same results.
    Also, I can view the original tif in Windows Picture and Fax Viewer - as I normally am able to, however, this new one comes up with the error and unrecognizable file.
    Now I'm wondering did the RAW conversion did something.
    Help, I need to get these off to my printing service!
    thanks,
    Jan

    Never mind!  Found the problem!
    For some reason, there was a check on the “Hide Extensions for Known file Types”.
    I had to Go to Tools – Folder Options – View and uncheck “Hide Extensions for Known file Types”.  Would have never guessed that one!
    You know one of those places your always changing things in!!!!! NOT!
    Anyway, it works!

  • (Urgent) Sorting search help values in Web Report

    Hello Friends,
    We have a web report which uses a variable made on 0CALMONTH. The order of display of values for this variable search help is 02/2004, 03/2004, 01/2005, 07/2006, 08/2006, 05/2007. In this order we have the latest date (05/2007) displayed at the end of the list. What we want is that the values in the search help of 0CALMONTH should be displayed in the reverse order i.e. latest date first (05/2007, 08/2006, 07/2006... etc).
    Thanks in advance for your assistance.
    Regards,
    Prem.

    Hi Premanand,
    If u display the report in Internet Explorer there you can see differnet buttons like
    Save View, Book mark, Variable Screen etc...There click Save View give tech name and descryption. After Sorting use this in WAD instead selecting query , select this view and execute.
    Assign Points Pls...
    Best Regards,
    SG

  • Urgent...Help Needed.1. Helper Class 2. Connection Pool

    Hello,
    1. There are few helper classes which has to be
    shared b/w session and entity beans. But it
    seems,state of the object is not transfered to entity
    bean though the class has implemented Serializable
    interface. I have archived all the helper class and
    copied to j2ee\home\lib directory. The same jar file
    is made accessible to server via updating <library-
    path> in j2ee/home/config/application.xml file.
    2. How can i utilise connection pooling in oc4j. In data-sources.xml, i am using
    "OracleConnectionPoolDataSource" class. But i feel that connection pool is not utilised coz server hangs in the middle of the retrieval.
    The value of max-connections is 50.
    We are actually migrating from Weblogic 5.1.0 to Oracle 9i AS. In weblogic, we had given 10 max connections in weblogic.properties,it is working fine. But i dont understand why it is not working in 9i AS though the max-connections is 50.
    Kindly let me know the solution at the earliest as it is very urgent to get the program running...
    Thanx and Regards,
    Achyuth

    Hi,
    hopefully I can help you.
    1. There are few helper classes which has to be ...We have just the same constellation. We have put the HelperClasses in the
    J2EE/home/lib dir, NOT specifying it in the application.xml. So everything works fine.
    The only thing: never, again: never put these files within WEB-INF and the lib-dir.
    With the HelperClasses in both we have only faced massive problems, mostly ClasCastExceptions.
    We had once all the helperClasses within J2EE/home/applications/lib, but this requires to
    specify this dir within the orion-application.xml within the appl dir in applications-deployment.
    It also worked fine.
    2. How can i utilise connection pooling in oc4j. In data-sources.xml, i am using ...I'm not sure of this, but I think, the container handles Connection Pooling, no matter what Factory you
    specify. But I think, the Class hasn't to be OracleConnectionPool ... but I have to check this (right now
    I have no access to our datasource.xml ..)
    cu
    ed

  • URGENT!! HELP WITH NOKIA 6303

    I'm gettin an error message on phone "full battery  save energy message". DID SOFT RESET  ALSO  A SOFTWARE UPDATE BUT ERROR STILL APPEARS. PLEASE HELP!!!!!!!!!!!!!!!!!

    If you haven't connected the phone to a charger:
    You should turn off your device and pull out the battery for 5 min before putting it together and turn it on again. Then without the charger, check if the issue's still there.
    If the problem still persist, you've done what you can as this is a s40 device. You will have to take it to a Nokia care point. I'm sure you know where to find one

  • I just updated Acrobat Pro and now I am unable rotate and save .PDFs - Help!

    I have Adobe Acrobat 9 Pro.  I updated this via the Adobe site on Friday.  Now I am unable to do two very important editing tasks that I was previously able to do.  I am unable to rotate individual pdf pages within a larger set.  I am also unable to rotate a pdf sheet and save it.  Please help!

    I uninstalled the update completely and reinstalled 9 Pro.  I don't remember the version number of the update.  I updated it on Friday so I assume it was whichever is the latest.
    I am unable to save the file after I rotate the sheet.  I can do a save-as, but it does not save the sheet as I rotated it.  I am also unable to select and rotate an individual sheet within a larger set.
    - Peter
    Peter L. Iezzi, RA
    Richard M. Cole & Associates
    15 South 3rd St., 3rd Floor
    Philadelphia, PA 19106
    T: 215.922.6930
    www.rmcoleassoc.com

  • Problem in HTMLB :(  Very very very URGENT..Please help

    Hello All,
    I have a problem in HTMLB.
    <u>Scenario</u>:
    1. Am implementing a JSP DynPage Portal Component.
    2. Have a class called "BeanOrderDetails", which consists of an Object table and mapped fields like ModelNo, Qty, etc as the Column Names in this class.
    3. The class using JSPDynpage is called "NewOrder.java".
    This class instantiates the above bean class and calls a jsp file calls "NewOrder.jsp".
    4. NewOrder.jsp - uses HTMLB taglib style. consists of a form and set its layout to GridLayout. It further calls another JSP file which consists of all other GUI objects, called "i1_NewOrder.jsp".
    5. i1_NewOrder.jsp - creates instances of GUI Objects like InputField,etc and adds these instances to the GridLayoutCell.
    Question:
    i> I have to create a button called "Add NewLine" such that when the user clicks on it, an empty row should be automatically generated in the above table, which is created as in step 1.
    Where should I add this button and where would the event be handled?
    Please help. URGENT......
    Awaiting Reply.
    Thanks and Warm Regards,
    Ritu

    Hi Ritu,
    I had a very similar problem. The default TableViewModel does not support adding rows at runtime. You have to extend the TableViewModel for this - don't worry it is easier as it sounds.
    Look here for the solution which was given to me by Detlev Beutner:
    How to add a row in TableViewModel?
    I hope this helps.
    Best regards
    Francisco

  • Urgent deadline - Please help - Linux serialization problem

    Hi -
    I have a presentation on Wednesday morning of my program for my dissertation. I developed the whole thing in windows - it all works great... but the demo is on a Linux machine. Fortunately I tested today in Linux. I have a real problem. I want to save out a class instance. This code works fine in Windows:
                        String project_name = f.getAbsolutePath() + "/" + directory_name + ".oll";
                        ObjectOutputStream out = new ObjectOutputStream(new FileOutputStream(project_name));
                        out.writeObject(mainCanvas);
                        out.flush();
                        out.close();The problem is that in Linux I just don't get anything saved. There is nothing there at all. No file is saved. I cannot work this out and am in a panic. Any help really appreciated.
    Olly

    Hi ,
    Please try to add this code to u'r prg.
    private void writeFile(String s, String s1)
    throws IOException
    Object obj = null;
    FileWriter filewriter = null;
    BufferedWriter bufferedwriter = null;
    if(sfmsDebug)
    System.out.println("Before Writing Received Messages To a File.");
    String s2 = System.getProperty("file.separator");
    if(System.getProperty("os.name").toUpperCase().indexOf("WIN") !=
    -1)
    File file = new File("c:" + s2 + s1);
    boolean flag = file.createNewFile();
    filewriter = new FileWriter("c:" + s2 + s1, true);
    bufferedwriter = new BufferedWriter(filewriter);
    } else
    File file1 = new File("/home/usr2/barcwas1" + s2 + s1);
    boolean flag1 = file1.createNewFile();
    filewriter = new FileWriter("/home/usr2/barcwas1" + s2 + s1, true);
    bufferedwriter = new BufferedWriter(filewriter);
    bufferedwriter.write(s, 0, s.length());
    bufferedwriter.write("\r\n");
    bufferedwriter.close();
    filewriter.close();
    if(sfmsDebug)
    System.out.println("After Writing Received Messages To a File.");
    }

  • Very urgent urgent plz somebody help me to this question..

    hai plz somebody reply me?
    I have created materialized view for my report.
    but i cant seem them used in sql inspector tab.its directly querried from tables..
    but i want to use materialized view in my report to enhance theperformance..plz help me..
    i checked my privlleges...but i am struggling for this 1week..i could not find where it goes wrong..
    grant CREATE TABLE to <user>;
    SQL> grant CREATE VIEW to <user>;
    SQL> grant CREATE PROCEDURE to <user>;
    SQL> grant CREATE ANY MATERIALIZED VIEW to <user>;
    SQL> grant DROP ANY MATERIALIZED VIEW to <user>;
    SQL> grant ALTER ANY MATERIALIZED VIEW to <user>;
    SQL> grant GLOBAL QUERY REWRITE to <user> with admin option;
    SQL> grant ANALYZE ANY to <user>;
    SQL> grant SELECT ON V_$PARAMETER to <user>;
    the above privellegs have been given to the owner of the EUL.
    But i cant see the usage of materialized view..i have sent plus option,query governor tab-always when summary table visible option..but still not solved?
    plz reply me urgently its very urgent...
    regard
    luxmi

    If Swahili is not on the list and you would like to recommend it to Apple, please tell them at http://apple.com/feedback
    This is the User support forums operated by users just like yourself.  Apple rarely appears here.

  • Swings Urgent Requirement, Please Help me

    Hi ,
    I have a requirement like when a file dialog is displayed, I have to select only directories/folders. Now with using JFileChoser , I am able to choose file . Is there any possibility to choose only directories without file dialog or atleast by using filedialog?. If some solution Please help me as this is urgent requirement.
    Thanks and Regards,
    Rajeev L.

    JFileChooser has an instance method public void setFileSelectionMode(int mode)
    call when initialising the file chooser.
    chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY );

  • Urgent! please help - Sony DCR PC106E

    Hi
    I have a Macbook pro and I have read that in order to transfer videos from my Sony DCR PC106E camcorder to Imovie I needed a firewire and I bought that today but it's still not reconising my camcorder. Do I need to download some software that I'm  not aware of in order for this to work?
    Please help I'm working against the clock, I need to transfer 7 tapes before tonight because I need to return it to my friend.
    Thanks.

    Hi
    And Camera menu - must be set to DV-out. (on Camera)
    I have a PC-330E - works greatly
    NO CAMERA or A/D-box
    Cable
    • Are You sure that You are using the FireWire Cable - USB-Cable will not work for miniDV tape Cameras
    FireWire - Sure not using the accompany USB-Cable but bought a 4-pin to 6-pin (or 9-pin) FW one ?
    • Test another FW-Cable very often the problem maker.
    Camera
    • Test Your Camera on another Mac so that DV-in still works OK
    • Toggle in iMovie pref. Play-back via Camera (on <-> off some times)
    • Some Cameras has a Menu where You must select DV-out to get it to work
    • Camera connected to "charger" (mains adaptor) - not just on battery
    • Camera set in Playback mode - NOT Recording mode
    Does Your Camera work on another Mac ?
    Sorry to say it is to easy to turn the 6-pin end of the FW-cable 180 deg wrong.
    This is lethal to the A/D-chip in the Camera = needs an expensive repair.
    (Hard to find out - else than import/export to another Mac ceased to work
    everything else is OK e.g. recording and playback to TV)
    A/D-box
    • Is the dip-switches set right ?
    • Set to same standard as recorded/editing e.g. NTSC 29.97fps or PAL 25fps
    • Try resetting it
    Connections
    • Daisy Chaining most often doesn’t work (some unique cases - it’s the only way that work (some Canon Cameras ?))
    Try to avoid connecting Camera <--> external HD <--> Mac but import directly to the Mac then move
    the Movie project to dedicated external hard disk.
    • FireWire-port - Can be re-setted by - Turn off Mac and disconnecting Mac from Mains/Power for 20-30 minutes
    External device’s (hard disk’s)
    • Should be FireWire as USB/USB2 performs badly and so does Airport or Net-work connected ones too.
    • MUST BE - Mac OS Extended formatted - UNIX/DOS/FAT32/Mac OS Exchange - DO NOT WORK for video due to 4Gb barrier.
    Mac
    • Free space on internal (start-up) hard disk ? Please specify the amount of free space.
    (Other hard disks don't count)
    I go for a minimum of 25Gb free space for 4x3 SD Video - and my guess is 5 times more for 16x9 HD ones
    after material is imported and edited.
    • Does Your Mac have a FireWire Port
    • White MacBooks - don't
    • MacBook-Air - don't
    if not then a few Mac’s has a PCM-CIA slot and there are FW-Cards that makes a FW-port this way
    else - NO SOLUTION
    Only option as I get it is either
    • Use another Mac to Capture material (to an external USB2 - Mac OS Extended formatted hard disk - or -
    • Change to another Camera that can be used with Your Mac (no there are no miniDV tape Cameras that can)
    • If Your Mac-Book has a PCM-CIA Card place - then there are FW-port-Cards and then
    You can import via this - but I've not seen this on more modern Macs. My PowerBook G4
    has one and this FW-Card-port works greatly.
    SoftWare
    • Delete iMovie pref. file may help sometimes. I rather start a new account, log into this and have a re-try.
    • Any strange Plug-ins into QuickTime as Perian etc ? Remove and try again.
    • FileVault is off ? (hopefully)
    • Screen Saver - OFF
    • Energy Saver - OFF
    Using WHAT versions ? .
    • Mac OS - X.5.4 ?
    • QuickTime version ? (This is the heart in both iMovie and FinalCut)
    • iMovie’08 (7.1.?), 09 or 11 ?
    • iMovie HD 6 (6.0.4/3) ?
    Other ways to import Your miniDV tape
    • Use another Camera. There where tape play-back stations from SONY
    but they costed about 2-4 times a normal miniDV Camera.
    • If Your Camera works on another Mac. Make an iMovie movie project here and move it
    over to Your Mac via an external hard disk.
    (HAS TO BE   Mac OS Extended   formatted - USB/DOS/FAT32/Mac OS Exchange WILL NOT DO)
    (Should be a FireWire one - USB/USB2 performs badly)
    from LKN 1935.
    Hi Bengt W, I tried it all, but nothing worked. Your answer has been helpful insofar as all the different trials led to the conclusion that there was something wrong with my iMovie software. I therefore threw everything away and reinstalled iMovie from the HD. After that the exportation of DV videos (there has not been any problem with HDV videos) to my Sony camcorders worked properly as it did before. Thank you. LKN 1935
    from Karsten.
    in addition to Bengt's excellent '9 yards of advice' ..
    camera set to 'Play' , not rec/computer/etc.?
    camera not on battery, but power-line?
    did your Mac 'recognize' this camera before...?
    a technical check.
    connect camera, on, playback, fw-connected...
    click on the Blue Apple, upper left of your screen ..
    choose 'About . . / More . .
    under Firewire.. what do you read . . ?
    More
    • FileVault - Secure that it’s turned off
    • Network storage - DOESN’T WORK
    • Where did You store/capture/import Your project ?
    External USB hard disk = Bad Choice / FireWire = Good
    If so it has to be Mac OS Extended formatted
    ----> UNIX/DOS/FAT32/Mac OS Exchange is NOT Working for VIDEO !
    mbolander
    Thanks for all your suggestions. What I learned is that I had a software problem. I had something called "Nikon Transfer" on my Mac that was recognizing my Canon camcorder as a still camera and was preventing iMovie from working properly. After un-installing Nikon Transfer and doing a reboot, everything worked great.
    I never liked the Nikon Transfer software anyway--I guess I'll get a cheap card reader and use that to transfer photos in the future.
    No Camera or bad import
    • USB hard disk
    • Network storage
    • File Vault is on
    jiggaman15dg wrote
    if you have adobe cs3 or 4 and have the adobe bridge on close that
    or no firewire will work
    see if that helps
    DJ1249 wrote
    The problem was the external backup hard drive that is connected, you need to disconnect the external drive before the mac can see the video camera.
    MaryBoog wrote
    Maybe your problems is solved in the meantime, but for all others this might help as I had the same problem, also have the Sony HDR-HC7, but the 7e (Europe, PAL). I found this link today and it works perfectly
    //support.sony-europe.com/tutorials/dime/videotransfer/vtransfer.aspx site=odw_en_GB&sec=DVH&m=HDR-HC7E
    What I exactly did.- put camera in play mode - open guide - choose connection guide - choose comp./printer (where to transfer movie to) - select connection.- i-link (on my camera) but equal to firewire - OK - choose HDV - choose NO for conversion of i.link.
    Settings are shown then (VCR HDV/DV.- HDV and i.link-conv..- OFF), press OK, OK, END.
    Switch camera off. Connect firewire cable to camera & Mac. Switch camera on, in play/edit mode.
    Open i-movie, choose import from camera. On screen below the camera connection is shown.- DV (HDV). Now you can import, automatically or manually.
    This worked perfectly for me. Took me 2 days to find out. Could not find any clear thread explaining what I had to do on the camera and the manual was not clear either.
    Yours Bengt W

Maybe you are looking for

  • Database Connectivity takes long time if one of the Node is down .. ??

    Hello All, Env: 10.2.0.4 on Solaris 10 I have 2 nodes. When Node1 server is down, it takes long time to connec to the database. tnsping would give "OK(2050ms)". Below is the tnsalias. RAC_test  =   (DESCRIPTION =      (ADDRESS = (PROTOCOL = TCP)(HOST

  • Invoking a Browser Script in OBIEE 11.1.1.5.0

    Hi In-order to meet a requirement I modified the Userscript.js in 11.1.1.5.0 located at "E:\Middleware\user_projects\domains\bifoundation_domain\servers\bi_server1\tmp\_WL_user\analytics_11.1.1\7dezjl\war\res\b_mozilla\actions". After this I restarte

  • Safari 5.1.7 hangs/crashes upon launch

    Reset safari, and also disabled all add-ons. Still Safari is hanging on launch and sometimes gets over the hump and works fine, or it will just feese and crash. error report below: Date/Time:   2012-06-07 16:32:59 -0400 OS Version:  10.7.4 (Build 11E

  • Debug office 2013 from VS 2010

    I am trying to run in debug mode an app in Office (Excel)2013, whereas I am developing in VS 2010. I found this article, which is quite an alright solution. What I did is I opened the .vbproj file, with a simple text editor, from the file system and

  • SUSE install Mysql problem

    I am attempting to install ES 8.2 on a Suse box for the first time. I am almost through the configuration manager, to the point of Database Initialization. I deployed the ears and all that, then tried to start the Mysql that came with the download pa