Image selection and canvas

hi friends
i am downloading multiple images from my image database. i am displaying them on the mobile device or emulator.
I want to know which of these images the user selects.i have an idea but please tell me whether i am on the right track
1 I plan to convert the images to ImageItems and then place it on a canvas screen. the various events like keypresses are already supported by this class.
please help me friends
Pradeep U Nair

It seems that thauser79 made a selection then used Image > Rotate 90 CW which rotates everything regardless of selection, and this led to his/her wrong conclusion that a selection tool had misbehaved. As I said in the thread to which I linked, Edit > Transform > Rotate 90 CW will rotate the selection only. Of course, your solution of Free Tranform will work too.

Similar Messages

  • Floating Dialog bug with multiple image selection?

    The selectionChangeObserver fuction of the LrDialogs.presentFloatingDialog command is not being triggered in all cases.
    It does not trigger when you have mulitple images selected and switch the main focus from one of the selected image to another seleted image.
    Anyone else run into this? or is it something I am doing wrong.
    function getSelectedImage()
            LrTasks.startAsyncTask( function ()
                 local selectedPhoto = catalog:getTargetPhoto()
                 props.PhotoNew = selectedPhoto
             end )
    end
    local result = LrDialogs.presentFloatingDialog (_PLUGIN, {
            title = "Thumbnail test",
            background_color = LrColor ("white"),
            contents = c,
            selectionChangeObserver = function(  )
                            getSelectedImage()
                    end,

    I reported this as a bug here:
    http://feedback.photoshop.com/photoshop_family/topics/lightroom_5_2_sdk_selection_change_c allback_not_called_by_change_in_most_selected_photo?rfm=1

  • Image select, resize and locally store (flex3 air example)

    Hi there,
    After a few days of struggling with images, resize functions
    and file dialog boxes I created a nice example application that
    shows how you can select an image, resize it and save the resized
    image in the application storing directory.
    I hope you can profit from it.
    Greets, jacob
    example code for flex 3 air.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.graphics.codec.PNGEncoder;
    public var imageFile:File;
    public var fileresultimage:Object;
    public var fileresultlabel:Object;
    // File.applicationStorageDirectory gets you to the local
    storage dir
    //On Windows, this is the "projectname" directory
    //(for example, C:\Documents and Settings\application
    data\projectname).
    // On Mac OS, it is /Users/userName/Documents.
    public var docsDir:File = File.applicationStorageDirectory;
    public function
    imageFileDialog(image:Object,label:Object):void
    fileresultimage=image;
    fileresultlabel=label;
    var imagesFilter:FileFilter =
    new FileFilter("Foto (*.jpg, *.gif, *.png)",
    "*.jpg;*.gif;*.png");
    if(imageFile==null)
    imageFile = new File();
    imageFile.addEventListener(Event.SELECT, imageSelected);
    imageFile.browseForOpen("Select an Image",[imagesFilter]);
    // if there is a file selected
    public function imageSelected(event:Event):void
    var newFile:File = event.target as File;
    //if there is a file object on the screen
    if(fileresultimage!=null)
    fileresultimage.source=imageFile.url;
    //if there is a label object on the screen
    if(fileresultlabel!=null)
    fileresultlabel.text=imageFile.url;
    if (newFile.exists==true)
    var loader:Loader = new Loader();
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    handleImageComplete);
    loader.load(new URLRequest(imageFile.url));
    // when load of the selected image is complete we save a
    smaller version of it.
    public function handleImageComplete(event:Event):void
    var loader:Loader = Loader(event.target.loader);
    // width and heigt of selected image
    var originalimgwidth:Number=event.target.width;
    var originalimgheight:Number=event.target.height;
    //put original image into bitmapdata
    var bitmapje:BitmapData;
    bitmapje=new BitmapData(originalimgwidth, originalimgheight,
    true, 0x00000000);
    //bitmapje.draw(loaderInfo.loader.content,null,null,null,null,true);//null
    object reference
    bitmapje.draw(loader.content,null,null,null,null,true);
    // call the resize function and give the original
    image,maxx,and maxy with it.
    var thumb:BitmapData=resizeimage(bitmapje,150,150);
    var newimagefile:File=new File();
    // T = Thumbnail
    // 1 = next id in the db
    // for now we use a random number
    var random:Number= Math.random();
    random = Math.ceil(random*100);// to get a positive number
    var filenameForSave:String="T"+random; //new filename;
    newimagefile=docsDir.resolvePath("Thumbs/" + filenameForSave
    + ".png"); //image path
    var stream:FileStream = new FileStream; // create new
    filestream
    stream.open(newimagefile, FileMode.WRITE); // open
    filestream
    var data:ByteArray = encodeToPng(thumb); // convert
    bitmapdata to a png bytearry
    stream.writeBytes(data, 0, data.length); // writing the
    image
    stream.close();
    // show the saved thumb
    savedthumb.source=newimagefile.nativePath;
    bitmapje=null;
    thumb=null;
    // resize function
    private function
    resizeimage(image:BitmapData,maxx:Number,maxy:Number):BitmapData
    var bmp:BitmapData =image;
    var true_width:Number = bmp.width;
    var true_height:Number = bmp.height;
    var resize:Boolean=false;
    if (true_width>maxx) resize=true;
    if (true_height>maxy) resize=true;
    if (resize==true)
    var width:Number=maxx;
    var height:Number = (width / true_width) * true_height;
    true_width=width;
    true_height=height;
    if (true_height>maxy)
    height=maxy;
    width = (height/true_height)*true_width;
    else
    width=true_width;
    height=true_height;
    else
    width=true_width;
    height=true_height;
    //new calculated width and heigt relative to the given maxx
    and maxy.
    width=Math.ceil(width);
    height=Math.ceil(height);
    //create a new image object with the calculated widht and
    height for the smaller image
    var mysmallimage:Image=new Image();
    mysmallimage.width=width;
    mysmallimage.height=height;
    //new matrix for smaller image
    var m : Matrix = new Matrix() ;
    //scale the matrix to the correct sizes.
    m.scale( mysmallimage.width / bmp.width, mysmallimage.height
    / bmp.height ) ;
    //draw the image into the image object
    mysmallimage.graphics.beginBitmapFill( bmp, m, false, true )
    mysmallimage.graphics.drawRect( 0, 0, mysmallimage.width,
    mysmallimage.height ) ;
    mysmallimage.graphics.endFill();
    //put the smaller image into bitmapdata so it can be
    returned.
    var littlebitmapdata:BitmapData=new
    BitmapData(mysmallimage.width,mysmallimage.height,true,0x00000000);
    littlebitmapdata.draw(mysmallimage);
    // set the temporary small image to null so the GC can
    remove it from the memmory.
    mysmallimage=null;
    bmp=null;
    //returning the small image.
    return littlebitmapdata;
    // encoder to png
    private function encodeToPng(bmd:BitmapData):ByteArray
    var png:PNGEncoder= new PNGEncoder();
    return png.encode(bmd);
    ]]>
    </mx:Script>
    <!--<mx:Image id="tempimage" x="404" y="36"
    complete="temploadcomplete()"/>-->
    <mx:Image id="myimg" x="10" y="55" width="314"
    height="227" verticalAlign="middle" horizontalAlign="center"/>
    <mx:TextInput id="imageurl" x="53" y="303" width="160"
    maxWidth="160"/>
    <mx:Button x="221" y="303" label="Bladeren"
    click="imageFileDialog(myimg,imageurl)"/>
    <mx:Image x="346" y="55" id="savedthumb"/>
    <mx:Text x="23" y="0" text="Original image with limit
    width and height to show it on the screen." height="47"
    width="177"/>
    <mx:Text x="346" y="0" text="Local stored thumbnail"/>
    </mx:WindowedApplication>
    To bad the attach code button still isn't fixed :(

    Hi there,
    Will you be able to provide the backend script for saving the
    file data?Will you be able to provide the backend script for saving
    the file data?
    This example is created for a desktop application. Saving the
    file is included in this example, it saves in the application
    storage directory.
    // File.applicationStorageDirectory gets you to the local
    storage dir
    //On Windows, this is the "projectname" directory
    //(for example, C:\Documents and Settings\application
    data\projectname).
    // On Mac OS, it is /Users/userName/Documents.
    If you attempt to use certain functionality in a website, you
    need other functionality for storing the image on the server. There
    are lots of examples on that one.. Perhaps i need it in the future.
    If i do i will post an example on the forum.
    Also, may I post your link to other forums, so that others may
    benefit?
    Sure you may post the example on other websites and forums.
    I found it difficult to find nice examples, so the more the
    better ;)
    Just put underneath the example something like:
    Created By: Jacob Hingst From Holland
    No copyright attached, so free for your use.

  • Hey, How do I populate my replace colors color library in illustrator? I tried to replace color on a traced/ vectorized image and when I selected and went to the color library CC said I need to use a valid username. I was already logged into my adobe acco

    Hey, How do I populate my replace colors color library in illustrator? I tried to replace color on a traced/ vectorized image and when I selected and went to the color library CC said I need to use a valid username. I was already logged into my adobe account.

    Can you please show a screenshot of what exactly you want to replace where?

  • What has happened to the iPad 2 finger select and drag technique? Since upgrading to iOS7 it does not work? I used this all the time to select multple images, approx 75  from an SD card containing 1000  images. Its painful indvidually selecting the images

    What has happened to the iPad 2 finger select and drag technique?
    Since upgrading to iOS7 it does not work?
    I used this all the time to select multple images, approx 75  from an SD card containing 1000  images. Its painful indvidually selecting the images

    What would you like us to tell you? If it doesn't work, there is nothing that we users can do about it.
    Please submit your feature request to Apple at this link: http://www.apple.com/feedback

  • I need to select and upload a image and corresponding url from an external website using file upload control in MVC4. Please help

    I need to select and upload a image and corresponding  url from an external website using file upload control in MVC4.
    Please help
    Latheesh K Contact No:+91-9747369936

    This forum supports .NET Framework setup.
    As your issue appears to have nothing to do with .NET Framework setup, please ask in the MVC forums for best support.
    http://forums.asp.net/1146.aspx/1?MVC

  • Selecting Multiple Keywords for an "AND" Images Selection

    When selecting images in iPhoto, one feature that I liked was the ability to fine-tune my image selection by choosing multiple Keywords. For example, I might have 50 images of Mary, either by herself or with other people, and one of the Keywords assigned to those 50 images is "Mary." I might also have 25 images of Joe, also either by himself or with other people, with one of the Keywords assigned of "Joe."
    Out of all my images, there might be 5 images that include both Mary and Joe together. In iPhoto, I could rapidly find those 5 images of Mary and Joe together by clicking and selecting the separate Keywords "Mary" and "Joe" from the list of all my iPhoto Keywords.
    Unless I'm missing something, the only way I have found to do this in Lightroom 1.0 is by typing both Mary and Joe in the FIND dialog box to find JUST the images of Mary and Joe together.
    It is my understanding that LR currently has an "OR" find command when I "COMMAND-click" (Mac) on the Mary and Joe keywords, LR displays ALL the images of Mary and Joe. I would like to see a feature in future versions of LR where I could "OPTION-click" on the Keywords that I had set up in LR that would then initiate an "AND" Find command for the Keywords selected so that LR displays images where Mary AND Joe appear together in the images.

    I did go to the LR Extras FAQ. However, I didn't find the specific references that you mention. I did notice a couple of topics that cover "intersections," but I don't think that addresses my specific request.
    For example, If I'm searching through ALL of my images and I want to DISPLAY only the images of that I've taken of rivers in California, I would like to be able to do it in LR in ONE keystroke(OPTION) and TWO mouse clicks (in iPhoto, you can do it in two mouse clicks).
    Currently, in LR 1.0, if I use the FIND panel, I would have to type in several keystrokes. If I don't have any COLLECTIONS for rivers or California, but do have KEYWORDS of "rivers" and "California," is there anyway I can select from the Keywords to have JUST the rivers in California displayed? To just have them highlighted only would force me to scroll through hundreds of pictures taken in California, when I might only have twenty photos of California rivers.
    I appreciate your offer of help and please point me in the right direction if I am missing something. I do plan to re-visit the site again as I can see that it contains a lot of good insightful info about LR. Thanks.

  • Why can't I get the advanced selection available in EPUB export options in illustrator CC?  It's just not there.... Neither is the image selection available.  Only Epub reflowable and fixed layout, but not EPUB...

    Why can't I get the advanced selection available in epub export options in illustrator cc? It's not there and neither is image selection.  only epub reflowable and fixed layout but not just epub.. I don't know where it is to do some book exercises for my studies.  Very frustrating.

    This is the EPUB forum: InDesign EPUB

  • Image in photoshop transparent and not showing image selected.

    My images are appearing in Photoshop as 'transparent' and not as the image selected. This is following a major fault created by hardware supplied to me which caused me to have to re-format my computer.

    Microcord,
    Did you try posting something via e-mail? All I see is a blank reply in the thread.
    Sometimes, e-mail/ attachments sent via e-mail never reach the forum. Please login to http://forums.adobe.com and respond to your post.
    -ST

  • When dragging an image onto a fresh canvas, the resizing feature presnaps the image into the canvas size. I can confirm that this has not happened to me in previous projects. I've also tested this problem by making a new larger document size and dragging

    Contexts: I am very competent with GFX and have worked on many projects.
    When dragging an image onto a fresh canvas, the resizing feature presnaps the image into the canvas size. I can confirm that this has not happened to me in previous projects. I've also tested this problem by making a new larger document size and dragging in the same render. It snaps again. I don't want to re-size from the canvas dimensions, I want to resize from the render's original dimensions.

    Ap_Compsci_student_13 wrote:
    ok sorry but doesn't sscce say to post the whole code?the first S is Short, and yes, it needs to be all the code needed to illustrate the problem and let use reproduce it. If you were developing a new Web framework, your example might be short, but for a student game it's very long.

  • Cannot find my "Pictures folder" in Finder and was using the "all Images" selection to fiddle with my pictures.  Now I think I may have screwed iPhoto up

    Cannot find my "Pictures folder" in Finder and was using the "all Images" selection to fiddle with my pictures.  Now I think I may have screwed iPhoto up

    Hi jamesxio,
    Do you still have the Pictures folder in your home folder? If not, create a new folder in your home folder and name it Pictures. Make sure the iPhoto Library folder is in the Pictures folder.
    Now launch iPhoto with the Option key depressed until you get a message screen. Choose to open another library and navigate to and highlight the iPhoto Library folder. Click the Open button.
    You didn't move anything around or rename anything in the iPhoto Library folder in the finder, did you?

  • Difference  between image version and selection

    I am trying to write a script that aperture will execute when I import files.  When I run the script after passing it a selection the script runs perfectly. When I run the script using ImportActionsForVersions which supposedly passes in a list of image versions the script has an issue when I export what I thought is an image version. It seems that there is an issue in the datat type being passed in from aperture vs what I get when I select them myself when I run the code on its own.
    Anyone have any thoughts?

    Frank,
    You actually helped me out a while ago just to get the ImportActionForVersion to work - started small. 
    First let me start with experience - I am just starting out with Applescript, I have written a fair amount of software for numerical analyses over the past 30 years. Startedin FORTRAN and then moved to C.  I am somewhat familiar with OO coding but not nearly as familiar as FORTRAN and C.  Applescript appears to me to be something different as well. Powerful but I have no idea what really goes on inside a program like Aperture.
    I have read and continue to re-read the Aperture Applescript manual, as well as several other Applescript guides, web resources and books.  I suspect that something hasn't yet sunk in that needs to sink in.
    I have not tried the exact example because quite frankly it didn't seem to fit what I wanted to do and I assume it would work just fine, running it wouldn't tell me anyting helpful. Perhaps that is simple minded.  I am guessing that the repeat loop is stepping through individual versions passed in by aperture and the tell block is for each version changing the preset based on the exif tag.
    I am hoping that I can loop through image versions in a similar fashion and then for each image version that has a CRW, CR2 or NEF file suffix I can export the file, convert it into a DNG and then reimport the DNG as master. 
    The code may not yet be complete but that is the intent and it works reasonably well using "on run".  I'd like this to work so it does this automatically in the future.
    So my code is below. Following my code is a sample of the output I am getting in the log file I am writing.
    To test this I import a couple of files from a compact flash card into aperture which then calls this script - as the log files indicate the script runs and the statement immediately before export curImg to exportFolder metadata embedded appears to be the last statement executed. Again when I use essentially the same code in a script that starts with on run and is called after I select a couple of pictures in aperture it runs just fine.
    property p_dngPath : "/Applications/Adobe DNG Converter.app/Contents/MacOS/Adobe DNG Converter"
    property p_dngArgs : " -p1 -c "
    property p_rawSuffices : {"crw", "cr2", "nef", "CRW", "CR2", "NEF"}
    property doLog_importAction : true
    property doLog_checkSetup : false
    property firstLog : true
    -- ------------------------------------------------------- log_event -------------------------------------------------------------------------------
    on importActionForVersions(imageVersionList)
              set tempDir to path to temporary items folder
              set numProc to 0
              set numErr to 0
              set numIgnore to 0
              set numOffline to 0
              set numImage to 0
              set completedFiles to 0
              set theMessage to "Executing importActionForVersion"
      log_event(theMessage, doLog_importAction) of me
              tell application "System Events"
                        set exportFolder to tempDir
                        set theMessage to "exportFolder is " & exportFolder
      log_event(theMessage, doLog_importAction) of me
              end tell
              tell application "Aperture"
                        set numVersions to count of imageVersionList
                        set shouldProceed to checkSetup() of me
                        set theMessage to "-----Starting Convert: " & numVersions & " version(s) passed in and shouldProceed is " & shouldProceed
      log_event(theMessage, doLog_importAction) of me
                        if shouldProceed is true then
                                  set theMessage to "----------If shouldProceed: Beginning evaluation of selected images versions"
      log_event(theMessage, doLog_importAction) of me
                                  repeat with versionReference in imageVersionList
                                            set curImg to contents of versionReference
                                            set numImage to numImage + 1
                                            set theMessage to "---------------Repeat with: Operating on image version " & numImage & " of " & numVersions
      log_event(theMessage, doLog_importAction) of me
                                            set fileName to value of other tag "FileName" of curImg
                                            set theMessage to "---------------Repeat with: The file filename is " & fileName
      log_event(theMessage, doLog_importAction) of me
                                            set curImgonline to online of curImg
                                            set theMessage to "---------------Repeat with: curImg online " & curImgonline
      log_event(theMessage, doLog_importAction) of me
                                            if online of curImg is true then
                                                      set theMessage to "--------------------if online: curImg " & numImage & " of " & numVersions & " is online"
      log_event(theMessage, doLog_importAction) of me
                                                      set theSuffix to (rich text -3 thru -1 of fileName) as string
                                                      set theMessage to "--------------------if online: The file suffix is " & theSuffix
      log_event(theMessage, doLog_importAction) of me
      -- if the suffix identifies files as needing to be converted
                                                      if p_rawSuffices contains theSuffix then
                                                                set theMessage to "--------------------if p_rawSuffices: p_rawSuffices contains theSuffix " & theSuffix
      log_event(theMessage, doLog_importAction) of me
      -- --------------------------------------------------------------------- determine the image's containing Project
                                                                set srcProjPath to value of other tag "MasterLocation" of curImg
                                                                if srcProjPath contains ">" then
                                                                          tell AppleScript
                                                                                    set originalDelimiters to text item delimiters
                                                                                    set the text item delimiters to " > "
                                                                                    set p_list to text items of srcProjPath
                                                                                    set the text item delimiters to originalDelimiters
                                                                                    set srcProjName to (item -1 of p_list)
                                                                          end tell
                                                                else
                                                                          set srcProjName to srcProjPath
                                                                end if
                                                                set theProject to project srcProjName
                                                                set theMessage to "--------------------if p_rawSuffices: Source Project Path is " & srcProjPath & " and the project name is " & srcProjName
      log_event(theMessage, doLog_importAction) of me
                                                                set numProc to numProc + 1
                                                                set theMessage to "--------------------if p_rawSuffices: Number Processed is " & numProc
      log_event(theMessage, doLog_importAction) of me
                                                                set theMessage to "--------------------if p_rawSuffices: tempDir is " & tempDir
      log_event(theMessage, doLog_importAction) of me
                                                                set theMessage to "--------------------if p_rawSuffices: curImg is not empty"
      log_event(theMessage, doLog_importAction) of me
      export curImg to exportFolder metadata embedded
      --naming folders with folder naming policy "Project Name"
                                                                set theMessage to "--------------------if p_rawSuffices: curImg was exported"
      log_event(theMessage, doLog_importAction) of me
      --set theRAWs to export curImg to tempDir
                                                                set theMessage to "--------------------if p_rawSuffices: theRAWS have been set"
      log_event(theMessage, doLog_importAction) of me
                                                                set theRAW to item 1 of theRAWs
                                                                set theMessage to "--------------------if p_rawSuffices: theRaw is " & theRAW & "numProc is " & numProc
      log_event(theMessage, doLog_importAction) of me
                                            --          tell application "Finder" to reveal theRAW
                                            set RAWPOSIX to POSIX path of theRAW
                                            set theMessage to "Convert: RawPOSIX Path is " & RAWPOSIX
                                            log_event(theMessage, doLog_importAction) of me
                                            set s_script to ((quoted form of p_dngPath) & space & p_dngArgs & space & (quoted form of RAWPOSIX)) as string
                                            do shell script (s_script)
                                            set DNGPOSIX to ((rich text 1 thru -4 of (RAWPOSIX as string)) & "dng") as string
                                            set theMessage to "Convert: The DNG POSIX Path is " & DNGPOSIX
                                            log_event(theMessage, doLog_importAction) of me
                                            tell application "Finder"
                                                      set theDNG to (POSIX file DNGPOSIX) as alias
                                                      delete theRAW
                                            end tell
                                            set theNewMasters to import {theDNG} by moving into theProject
                                            set theNewMaster to (item 1 of theNewMasters)
                                            -- ---------------------------------------- Copy annotations from curImg to theNewMaster
                                            repeat with curTag in IPTC tags of curImg
                                                      set tagName to name of curTag
                                                      set tagValue to value of curTag
                                                      tell theNewMaster
                                                                try
                                                                          make new IPTC tag with properties {name:tagName, value:tagValue}
                                                                end try
                                                      end tell
                                            end repeat
                                            repeat with curTag in custom tags of curImg
                                                      set tagName to name of curTag
                                                      set tagValue to value of curTag
                                                      tell theNewMaster
                                                                try
                                                                          make new custom tag with properties {name:tagName, value:tagValue}
                                                                end try
                                                      end tell
                                            end repeat
                                                                set theMessage to "--------------------if p_rawSuffices: Finished processing item " & numProc
      log_event(theMessage, doLog_importAction) of me
                                                      else -- No conversion needed
                                                                set numIgnore to numIgnore + 1
                                                                set theMessage to "--------------------if NOT p_rawSuffices: p_rawSuffices DOES NOT contains theSuffix " & theSuffix & "numIgnore= " & numIgnore
      log_event(theMessage, doLog_importAction) of me
                                                      end if -- if Suffix
                                            else
                                                      set numOffline to numOffline + 1
                                                      set theMessage to "---------------if online: curImg " & numImage & " of " & numVersions & "is OFFLINE numOffline files =" & numOffline
      log_event(theMessage, doLog_importAction) of me
                                            end if -- ---------------------- image is online
                                            set completedFiles to completedFiles + 1
                                            set theMessage to "---------------Repeat with: completedFiles " & completedFiles
      log_event(theMessage, doLog_importAction) of me
                                  end repeat -- imageVersionList
                                  set theMessage to "-----ImportActionsForVersions: Just Finished imageVersionList repeat loop"
      log_event(theMessage, doLog_importAction) of me
                                  set theOut to ("Images selected:    " & numVersions & return)
                                  set theOut to (theOut & "                   Images ignored:     " & numIgnore & return)
                                  set theOut to (theOut & "                   Images processed: " & numProc & return)
                                  set theOut to (theOut & "                   Offline images:       " & numOffline & return)
                                  set theOut to (theOut & "                   Errors:                   " & numErr)
                                  set theMessage to theOut
      log_event(theMessage, doLog_run) of me
      -- display alert "Done!" message theOut
                        else
                                  display alert "Error on setup" message "There was an error with your setup. Please verify that you are running Mac OS X 10.5.2 or later and have the Adobe DNG Converter installed in your Applications folder."
                        end if -- ------------------------- shouldProceed
              end tell
    end importActionForVersions
    -- ------------------------------------------------------- checkSetup -------------------------------------------------------------------------------
    on checkSetup()
              set isOK to true
              set theMessage to "Entered checkSetup"
      log_event(theMessage, doLog_checkSetup)
      -- -------------------------------------- Check Mac OS X's version
              tell application "Finder"
                        set theMessage to "checkSetup-1 tell finder"
      log_event(theMessage, doLog_checkSetup) of me
                        set theVers to (get version)
                        considering numeric strings
                                  if theVers ≥ "10.5.2" then
                                            set isOK to true
                                  else
                                            set isOK to false
                                  end if
                        end considering
              end tell
              set theMessage to "checkSetup-1 theVers is " & theVers
      log_event(theMessage, doLog_checkSetup) of me
      -- -------------------------------------- Check for the DNG converter
              tell application "Finder"
                        set theMessage to "checkSetup: tell Finder"
      log_event(theMessage, doLog_checkSetup) of me
                        try
                                  set theMessage to "checkSetup: tell trying"
      log_event(theMessage, doLog_checkSetup) of me
                                  set theApp to item "Adobe DNG Converter" of folder "Applications" of startup disk
                                  set theMessage to "checkSetup: set theApp"
      log_event(theMessage, doLog_checkSetup) of me
                        on error
                                  set theMessage to "checkSetup: on error"
      log_event(theMessage, doLog_checkSetup) of me
                                  set isOK to false
                                  set theMessage to "checkSetup: set isOK" & isOK
      log_event(theMessage, doLog_checkSetup) of me
                        end try
              end tell
              set theMessage to "checkSetup-on exit isOK is " & isOK
      log_event(theMessage, doLog_checkSetup) of me
              return isOK
    end checkSetup
    -- ------------------------------------------------------- log_event -------------------------------------------------------------------------------
    on log_event(theMessage, yesDo)
              if yesDo then
                        set theLine to (do shell script ¬
                                  "date +'%Y-%m-%d %H:%M:%S'" as string) ¬
                                  & " " & theMessage
                        if firstLog then
                                  do shell script "echo " & quoted form of theLine & "> ~/Library/Logs/Aperture_Convert-events.log"
                                  set firstLog to false
                        else
                                  do shell script "echo " & quoted form of theLine & ">> ~/Library/Logs/Aperture_Convert-events.log"
                        end if
              end if
    end log_event
    -------- LOG FILE
    2012-08-13 20:38:41 Executing importActionForVersion
    2012-08-13 20:38:41 exportFolder is Macintosh HD:private:var:folders:rk:24mylhfd1h7dflbsg90x51100000gn:T:TemporaryItems:
    2012-08-13 20:38:48 -----Starting Convert: 2 version(s) passed in and shouldProceed is true
    2012-08-13 20:38:48 ----------If shouldProceed: Beginning evaluation of selected images versions
    2012-08-13 20:38:48 ---------------Repeat with: Operating on image version 1 of 2
    2012-08-13 20:38:49 ---------------Repeat with: The file filename is IMG_2025.JPG
    2012-08-13 20:38:49 ---------------Repeat with: curImg online true
    2012-08-13 20:38:49 --------------------if online: curImg 1 of 2 is online
    2012-08-13 20:38:49 --------------------if online: The file suffix is JPG
    2012-08-13 20:38:49 --------------------if NOT p_rawSuffices: p_rawSuffices DOES NOT contains theSuffix JPGnumIgnore= 1
    2012-08-13 20:38:49 ---------------Repeat with: completedFiles 1
    2012-08-13 20:38:50 ---------------Repeat with: Operating on image version 2 of 2
    2012-08-13 20:38:50 ---------------Repeat with: The file filename is CRW_2037.CRW
    2012-08-13 20:38:50 ---------------Repeat with: curImg online true
    2012-08-13 20:38:50 --------------------if online: curImg 2 of 2 is online
    2012-08-13 20:38:50 --------------------if online: The file suffix is CRW
    2012-08-13 20:38:50 --------------------if p_rawSuffices: p_rawSuffices contains theSuffix CRW
    2012-08-13 20:38:50 --------------------if p_rawSuffices: Source Project Path is Untitled Project and the project name is Untitled Project
    2012-08-13 20:38:51 --------------------if p_rawSuffices: Number Processed is 1
    2012-08-13 20:38:51 --------------------if p_rawSuffices: tempDir is Macintosh HD:private:var:folders:rk:24mylhfd1h7dflbsg90x51100000gn:T:TemporaryItems:
    2012-08-13 20:38:51 --------------------if p_rawSuffices: curImg is not empty

  • Setting up an Image Server and Selecting boot Images

    I am setting up my first image server and when i perform a network boot I can see that i am reaching the DHCP server but i dont i am not getting a boot image.  I have configured the server with an install image and a boot image but still getting nothing. 
    Can someone please help a novice set up this server.

    If this is for ConfigMgr enter the following in your DHCP 
    Option 066 - the FQDN of your SCCM server.
    Option 067 - the path smsboot\x86\wdsnbp.com 
    Cheers
    Paul | sccmentor.wordpress.com

  • How can you find out an individual image size from multiple images on a canvas

    This is probably a really really simple question but I can't for the life of me find how I can find out an individual image size from multiple images on a canvas. eg I have 3 photos i want to arrange 1 large and the other two next to it half the size. How can I edit individual image size on the canvas as when I select the image on a sperate layer I want to resize it just resizes the entire canvas and not the individual image
    Thanks

    I want to know they exact dimensions though. You can get them by dragging to the 0,0 corner and then reading off of the ruler scale on the sides but its fiddily as you have to zoom right in and work it out. I know in photoshop there is a ruler but is there any other way in Elements?

  • Color profile for Viewer and Canvas?

    I've noticed that the color of the video in the FCPro 4.5 Viewer and Canvas looks absolutely nothing like the color when I output to DVD or QuickTime movie. (The video in FCPro seems to be much darker.) Is there a way to make the Viewer and Canvas look more analagous to what I'm going to get on final output?
    Thanks.

    Nope. Computer monitors colors have such a wide range that they are very unreliable. This is why it is best to hook up a TV, or better yet a properly calibrated NTSC Monitor (the latter only if you are producing professional video).
    #8 External Monitor Viewing.
    Shane's Stock Answer #8:
    A simple path is mac > firewire > camera or deck > rca cables > tv
    Then start up your camera and tv, then open fcp.
    Then go View > External video > all frames
    Video playback should be Apple firewire NTSC (If you are using an NTSC set)
    Audio playback should be Audio follows Video
    Techinially, this should send synched video to your TV
    If for some reason you can't view your timeline on your external monitor, there are a few things to try:
    1) Make sure that the camera/deck is connected and powered on BEFORE you open FCP.
    2) In the Final Cut Pro menu select AUDIO/VIDEO Preferences and make sure your signal is being sent out thru Firewire DV.
    3) Go to the menu and select VIEW>EXTERNAL>ALL FRAMES.
    4) Click in the % box above the image and select FIT TO WINDOW.
    5) Go to VIEW->refresh A/V devices
    6) Make sure the Log & Capture window is closed
    If you want it to play in both the canvas and the external monitor you need to go to the FINAL CUT PRO menu and select AUDIO/VIDIO settings and make sure MIRROR ON DESKTOP is selected under the PLAYBACK OUTPUT section
    For all the stock answers, click on this link:
    Shane Ross, "Stock Answers", 03:58pm Jan 13, 2005 CDT

Maybe you are looking for