Repeat movie

I am making a slideshow for a banquet in iMovie with pictures and music.  Is there anyway after I export it for quicktime or a program to keep repeating it?  Thanks!!!

awesome, thanks so much.  can it do a continuous loop.  sorry, im not at my computer and this project was thrown at me at the last minute. 
EDIT: nvrmind found it online. thanks for the info!

Similar Messages

  • Quicktime keeps repeating movie

    Made a slideshow movie in iPhoto with repeat=off. Exported it as MOV and play it in Quicktime 7.5.5 and it keeps repeating. Looping is off and I can't find any other repeat controls.
    How do I stop it from repeating?

    Is there anyway to set Loop as a default In QT 7 Pro?
    You can create a QT Medial Link file with the "Loop" option set for "True" that "points" to the original file. Thereafter, just open/play the QTL file in the QT Player and it will repeatedly loop the playback of your original file.

  • Repeating Movies On Apple TV

    I know I can repeat 1 particular SONG on my Apple TV but is it possible to loop a movie in the same fashion?

    My TiVo HD box has a life-time subscription (transferred from an older analog Series 2) and recording shows is incredibly easy with its interface, so I will still use that for recording TV shows.
    My main interest now is looking at downloadable movies. I just read a review of Vudu on Crave. That sounds like it is a strong competitor of Apple TV in terms of movie quality. Also the rentals are cheaper with a bigger library. Crave will do a head-to-head comparison of Vudu to the software-upgraded ATV soon. I think I'll hold off on my decision until this settles out more.

  • Non-repeating movie clip

    On the stage of a flash app I  have several movieclips that keep repeating. Now I need a movieclip  that doesn't repeat. It should play once, and then keep its last state  on stage. I can't find out how to stop this movieclip from repeating.

    put a
    stop();
    on its last frame.

  • Newbie Help: Single Axis Repeated Movement

    Hi there - I have a (hopefully) simple question about creating a VI with NI Motion to help me control a stepper motor.
    I have an NI 7334 Motion Controller box attached to a simple stepper motor. I've already used MAX to make sure that it works correctly, and I've already made a simple one-axis motion vi based off of the examples provided within the FlexMotion pack. My current predicament is in trying to code a VI that performs a cyclic movement (forward to max length, stop, reverse to minimum length). I can't seem to find a way to just make the motor go forward without any position input (essentially, I want three "operating states": on and extending, off, on and reversing). Right now, the only way I can do that is to have the stepper move to a position well outside its highest step.
    I'm not a LabView expert, so any and all help on this will be appericated!
    Thanks!

    Imran,
    you should use the "Set Operation Mode.flx" vi to configure your axis to operate in Velocity Mode. In this mode you don't need to specify a target position and the axis will keep turning until you send the stop command.
    I hope this helps,
    Jochen Klier
    National Instruments

  • Repeated movie transfer

    iTunes insists on transferring the same movie from apple tv where it was purchased to itunes each time I launch iTunes. Not a big deal, but is annoying now that its transferred the same movie 20 times now. Any way to get it to stop?
    Thanks!

    There should be a trash can icon to the right of the listing, if there isn't the file may be damaged, which is why it might be doing what it's doing. Ultimately a restore will resolve it.

  • Movies no longer repeat?

    Up until today, movies on my iPod Classic 30GB were repeating, which is what I want. After adding several new movies today (from iTunes v8.1.1) now NONE of my movies will repeat. I've made sure that the Repeat setting on the iPod is still set to "One" and while songs will still repeat, movies won't. I've tried toggling the Repeat setting through each option, but movies still won't repeat.
    Was this a new "feature" with iTunes 8.1.1, because as I said, my previously transferred movies (from an earlier version of iTunes) did repeat?
    Does anyone have a solution for this? Suggestions I can try? Thanks in advance.
    My iPod has software version 1.3.

    Hi Everline
    You've probably solved this by now but,
    highlight/select a movie or playlist
    in the pulldown menu's go to Controls > Repeat > All  (or One if it's a single movie you want to loop)
    now Play
    Hope this of help to someone 

  • AppleScript: Move the oldest Item of a folder

    Hi,
    i'm a newbie in AppleScript and trying to get my simple Script running, but it doesn't want.
    The Script should look into "Folder_1" and should move only the OLDEST Item (File or Subfolder) in this Folder to another directory called "Folder_2"
    But this is not running, some Ideas?
    Code:
    tell application "Finder"
      activate
      set sourceFolder to "System:Users:Administrator:Desktop:Folder_1"
      set destinationFolder to "System:Users:Administrator:Desktop:Folder_2"
      move oldest item 1 of folder sourceFolder to folder destinationFolder
    end tell
    Any Ideas?
    It would be nice if someone can assist me in my first steps.

    Better formatted:
    set homePath to (path to home folder) as text
    tell application "Finder"
         set sourceFolder to folder (homePath & "Desktop:Folder_1")
         set destinationFolder to folder (homePath & "Desktop:Folder_2")
         set creationDates to creation date of items of sourceFolder
         -- Which item is the oldest?
         set theOldestDate to item 1 of creationDates
         set j to 1
         repeat with i from 1 to count creationDates
               set thisDate to item i of creationDates
               if thisDate < theOldestDate then
                     set theOldestDate to thisDate
                     set j to i
               end if
         end repeat
         move item j of sourceFolder to destinationFolder
    end tell

  • Powerpoint make movie - how to script this?

    I want to convert a Powerpoint File (ppt) to a QT movie. Does anybody know how to script this with AppleScript?
    Thanks!

    Bernhard,
    Here is a follow-up script that works in the previous version of PowerPoint (v.X). I am not sure how much the latest version of PowerPoint has changed with regards to the location of the "Make Movie..." command or the dialog windows that are related to that command but hopefully not at all. Try it out and see whether it does what you are wanting. I assumed that you would want the movie placed in your Movies folder and that the default settings in the dialogs were okay.
    click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">property delayTime : 2
    on run {}
    -- Use the "Make Movie..." command in PowerPoint to make a QuickTime movie
    tell application "System Events"
    tell process "Microsoft PowerPoint"
    set frontmost to true
    set theNameOfPresentation to title of last window
    -- Click on the Make Movie... command in the File menu
    perform action "AXPress" of menu item "Make Movie..." of menu 1 of menu bar item "File" of menu bar 1
    repeat until ((exists of sheet 1 of window theNameOfPresentation) is true)
    end repeat
    -- Move to the the Desktop
    keystroke "d" using {command down}
    delay delayTime
    -- Enter the name of the Presentation
    set value of text field 1 of sheet 1 of window theNameOfPresentation to theNameOfPresentation & ".mov"
    delay delayTime
    -- Click on the Save button
    perform action "AXPress" of button "Save" of sheet 1 of window theNameOfPresentation
    delay delayTime
    end tell
    end tell
    -- Move the newly created movie from the Desktop to the Users Movies folder
    tell application "Finder"
    delay delayTime
    try
    move file (theNameOfPresentation & ".mov") of desktop to (path to movies folder)
    on error errNum
    display dialog errNum
    end try
    end tell
    end run
    </pre>
    PowerBook 12" Mac OS X (10.4.6)

  • Thoroughly disappointed with Apple & Lion...

         I have never been disapointed with Apple before, but after using Lion for nearly a week I am really upset. I used to work at an Apple Store, I have used Macs since I was about 4, I try to convert all my friends, I follow nearly every rumor site I can find, I use my mac or my iPhone for basically anything I possibly can, and I bring my Mac to work with me and use it instead of my office-supplied PC whenever humanly possible. For the first time ever, I actually chose to use the PC over my Mac because of Lion...
         Last night I tried to use TimeMachine to backup my computer to my 2TB G-Drive. After "Preparing backup" for nearly an hour, it finally started to backup and it crawled through the backup slower than I have ever seen it before. After about an hour and a half it finished backing up 24GB. I turned it off for the night thinking it had been running at full capacity for a while and needed a break. Now whenever I boot up my mac, I have one of a few different problems: Either finder will not load at all and my desktop will be blank and the menubar will have gaps in it, or finder will load and none of the icons on the desktop will be responsive and the dock will not load. Earlier I did get it to boot up correctly and I used it for about 30 minutes until I got the pinwheel in safari, then mail became unresponsive, then iCal became unresponsive, then System Prefs became unresponsive... I had to restart my computer and then it got stuck at the grey screen with the spinning wheel on the restart.
    Since I have installed and used Lion:
    My system is gotten really really slow; evertything from logging in to changing settings to opening applications has become a taxing chore that works by CPU to the bone (I can't even launch Activity Monitor without it freezing up!)
    I have gotten the pinwheel on many occasions and I have frequently been forced to force quit apps or force restart my computer
    I have had problems with a few of the new getstures; I have gotten fully used to the idea of scrolling up to go down and vice versa, but frequently I will have my thumb on the trackpad and when I scroll up, Mission control will launch (I changed the settings to 4 finger swipe up so this no longer happens, but still annoying Apple wouldn't have thought to address this)
    I have noticed minor glitches in many different areas of use; i.e., when logging in with a desktop background that changes on login, the translucent menubar will show the previous photo while the desktop shows the new photo.
    Many useful gestures have dissapeared: there is a gesture for swiping through windows in the iTunes store/app store/finder etc. but it is very irritating and not as functional (why couldn't they just use the 2 finger swipe?!?), there is no longer an expose that shows minimized windows (unless you do a 3 finger down with the app already open)
    No easy shortcut for fullscreen apps!!! Come on Apple, CMD+CTRL+F is a pain to do with one hand... why not create a simple shortcut or a gesture to enter fullscreen
    TimeMachine constantly displays "Last Backup: Delayed" even though it has been less than 24hrs since my last backup
    Whenever I try to use the dock (unhide it by moving my mouse to the right side of the screen), the dock rarely responds the first time and I will have to repeatedly move my mouse to the side for the dock to pop up.
    For a company that never seems to dissapoint, Lion seems like an absolute disaster. I have had more problems with my computer in the last 6 days than I have had in the last 6 months with Snow Leopard. I think Apple needs to step-up, man-up, acknowledge their customers, acknowledge the complaints from customers, acknowledge the issues customers have found, and work 24-7 until they can release a patch to fix this stuff...

    Forums like these exist to help solve people's problems. Happy users don't tend to post on support forums.
    You'll find that the huge majority of users are happy, and in fact the feedback on Lion has been very positive.
    I would focus on trying to resolve your personal issues, before having a rant about Lion.
    First of all, I started off my commenting on issues last week defending Lion and trying to convince everyone that there were some minor issues and that the software was a significant improvement at the least.
    The reason why the feedback for Lion has been so positive is the exact reason you claim the discussion boards are all negative. For the most part, people who are upset with Lion are not going to go to the App Store and give Lion a negative review; they are going to search for similar issues online and try to find solutions before giving a bad review.
    And personal issues? Either you are trying to insult me by bringing an unrelated matter into this or you are claiming I have not tried to resolve any of the issues stated above. I have spent hours upon hours scouring the discussion board articles for answers to these problems and have found nothing but pleas for help from other members. This is not a rant, it is simply voicing my opinion regarding Lion.
    Going back to SL would more than likely cause more problems if not excacerbate the problems that already exist. Not to mention that would be a "sweeping it under the rug" kind of solution...

  • Renaming Files In 2-Number-Steps ... how to? (w. or w/o Automator)

    Dear all,
    I have Mac OS X Yosemite 10.10 and a question: I have a 2-pages-per-sheet-PDF-document. I exported the file as single .jpgs in my Adobe Acrobat 11 program. Now I have 10 sheets (20 pages) as jpg. I want to batch crop them with Photo Batch for Mac which is not my problem. I now have 10 left pages (1-3-5-7-9-...) and 10 right pages (2-4-6-8-...).
    I made the left - hand - pages first, they are now 001.jpg, 002.jpg, 003.jpg etc.
    I thence made the right - hand - pages, they are now 011.jpg, 012.jpg, 013.jpg, etc.
    Now I could rearrange everything in one single PDF with 20 pages / 20 sheets, but then I had to manually sort everything in the right way. I need help for the following:
    How can I batch rename a heap of files to odd numbers in ascending order?
    How can I batch rename a heap of files to even numbers in ascending order?
    Then I could just hit the merge button in Acrobat and did not have to sort everything in Adobe :-)
    Thanks for help!
    Yours truly Holger Rogoll

    Hi,
    Use this AppleScript to rename JPEG's files:
    set tFolder to choose folder with prompt "Select the folder which contains JPEG's file"
    tell application "Finder"
        set jpegs to document files of tFolder whose name extension is "jpg"
        set tc to (count jpegs) div 2
        set tmpF to make new folder at tFolder
        set rJpegs to move items (tc + 1) thru -1 of jpegs to tmpF -- move  right - hand - pages to new folder ( to avoid name conflict when renaming)
        set j to (tc * 2) - 1
        repeat with i from tc to 2 by -1 -- rename left, skip the first item because the name of the first JPEG is OK
            set name of item i of jpegs to (text -3 thru -1 of ("00" & j)) & ".jpg"
            set j to j - 2
        end repeat
        set j to 2
        repeat with i from 1 to (tc - 1) -- rename right, skip the last item because the name of the last JPEG is OK
            set name of item i of rJpegs to (text -3 thru -1 of ("00" & j)) & ".jpg"
            set j to j + 2
        end repeat
        move document files of tmpF to tFolder -- move  right - hand - pages to the original folder
        delete tmpF -- delete the created folder
    end tell

  • Moving items up and down in a JList

    Hello I posted this query in the wrong forum and so now I am trying to correct the problem Here is the link
    http://forum.java.sun.com/thread.jspa?threadID=5267663&tstart=0
    Hi-
    I have a problem with moving selected items up and down in a JList..
    When I select an item in the JList and press ctrl + (the up or down arrow key),
    I want the selected item to move up (or down).
    My code works. That is to say it does what I want, only the highlighted item does not correspond to the selected item.
    When I move an item up I would like it to remain selected, which I guess it is as repeated moves will move the item.
    But it does not appear to be working. because the highlight is above the selected item when moving up and below the selected item when moving down.
    Here is my code:
    public class MyClass  implements MouseListener,KeyListener
    private JList linkbox;
    private DefaultListModel dlm;
    public List<String> Links= new ArrayList<String>();
    private String Path;
    private JScrollPane Panel;
        public MyClass  (String path,JScrollPane panel){
        super();
            Path=path;
            Panel=panel;
    //Populate the ArrayList "Links" etcetera.
         dlm = new DefaultListModel();
            linkbox = new JList(dlm);
            for(int k=0;k<Links.size();k++){
                dlm.addElement(Links.get(k));
        public void keyPressed(KeyEvent e) {
        System.out.println("You pressed "+e.getKeyCode());
           if(e.getKeyCode()==38&&e.getModifiers()==KeyEvent.CTRL_MASK){
            Link sellink =linkbox.getSelectedValue();
                MoveUP(sellink);
            if(e.getKeyCode()==40&&e.getModifiers()==KeyEvent.CTRL_MASK){
                Link sellink =get(linkbox.getSelectedValue();
                MoveDown(sellink);
    private void MoveUP(Link link){
        int pos=-1;
        for(int p=0;p<Links.size();p++){
            Link l=Links.get(p);
            if(l.indexOf(link)==0){
            pos=p;
            break;
        if(pos!=-1&&pos>0){
            Links.remove(link);
            Links.add(pos-1,link);
            dlm.removeAllElements();
            for(int k=0;k<Links.size();k++){
            dlm.addElement(Links.get(k));
            Panel.setViewportView(linkbox);
            linkbox.setSelectedIndex(pos-1);
        private void MoveDown(Link link){
            int pos=-1;
            for(int p=0;p<Links.size();p++){
                Link l=Links.get(p);
                if(l.indexOf(link)==0){
                pos=p;
                break;
            if(pos!=Links.size()-1&&pos>0){
            System.out.println("pos= "+pos);
                Links.remove(link);
                Links.add(pos+1,link);
                dlm.removeAllElements();
                for(int k=0;k<Links.size();k++){
                dlm.addElement(Links.get(k));
                Panel.setViewportView(linkbox);
                linkbox.setSelectedIndex(pos+1);
        }And here is a compileable version...
    import java.awt.event.KeyEvent;
    import java.awt.event.KeyListener;
    import java.util.ArrayList;
    import java.util.List;
    import javax.swing.DefaultListModel;
    import javax.swing.JFrame;
    import javax.swing.JList;
    import javax.swing.JScrollPane;
    import javax.swing.UIManager;
    class MoveableItems  implements KeyListener
         private JList jlist;
         private List<String> items = new ArrayList<String>();
         private DefaultListModel dlm;
         private JScrollPane sp;
         public MoveableItems(){
             JFrame f = new JFrame();
           items.add("Fox");
           items.add("Hounds");
           items.add("Cart");
           items.add("Horse");
           items.add("Chicken");
           items.add("Egg");
             dlm = new DefaultListModel();
            jlist = new JList(dlm);
             KeyListener[] kls=jlist.getKeyListeners();
             for(int k=0;k<kls.length;k++){
                 jlist.removeKeyListener(kls[k]); 
             jlist.addKeyListener(this);
             for(int k=0;k<items.size();k++){
                dlm.addElement(items.get(k));
              sp = new JScrollPane();
                sp.setViewportView(jlist);
             f.getContentPane().add(sp);
             f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
             f.setSize(650, 250);
             f.setVisible(true);
         public static void main(String[] args)
             try{
                UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");
                }catch(Exception e){System.out.println(e.getMessage());}
             new     MoveableItems();
        public void keyPressed(KeyEvent e) {
        System.out.println("You pressed "+e.getKeyCode());
            if(e.getKeyCode()==38&&e.getModifiers()==KeyEvent.CTRL_MASK){
            String selString =(String)jlist.getSelectedValue();
                MoveUP(selString);
            if(e.getKeyCode()==40&&e.getModifiers()==KeyEvent.CTRL_MASK){
                String selString =(String)jlist.getSelectedValue();
                MoveDown(selString);
        public void keyReleased(KeyEvent e) {
         public void keyTyped(KeyEvent e) {
    private void MoveUP(String link){
        int pos=-1;
        for(int p=0;p<items.size();p++){
            String l=items.get(p);
            if(l.indexOf(link)==0){
            pos=p;
            break;
        if(pos!=-1&&pos>0){
            items.remove(link);
            items.add(pos-1,link);
            dlm.removeAllElements();
            for(int k=0;k<items.size();k++){
            dlm.addElement(items.get(k));
            sp.setViewportView(jlist);
            jlist.setSelectedIndex(pos-1);
            jlist.requestFocus();
        private void MoveDown(String link){
            int pos=-1;
            for(int p=0;p<items.size();p++){
                String l=items.get(p);
                if(l.indexOf(link)==0){
                pos=p;
                break;
            if(pos<items.size()){
            System.out.println("pos= "+pos);
                items.remove(link);
                items.add(pos+1,link);
                dlm.removeAllElements();
                for(int k=0;k<items.size();k++){
                dlm.addElement(items.get(k));
                sp.setViewportView(jlist);
                jlist.setSelectedIndex(pos+1);
                jlist.requestFocus();
    }Now for some reason this works better.
    I notice that the highlight does follow the selection but there is also something else there.
    Still in my original version the highlight seems to appear where the dotted lines are?
    There seems to be dotted lines around the item above or below the selected item (depending on whether you are going up or down).
    Any thoughts at this point would be appreciated.
    -Reg.
    Can anyone explain to me why this is so and if it can be fixed?
    If any one can help I would be grateful,
    -Reg

    You seem to be making a genuine effort. Key Bindings like anything else involves getting familiar with the code and the idiosyncrasies involved and just playing with the code yourself. To get you started, if the JList were called myList I'd do something like this for the up key:
            KeyStroke ctrlUp = KeyStroke.getKeyStroke(KeyEvent.VK_UP, InputEvent.CTRL_DOWN_MASK);
            myList.getInputMap().put(ctrlUp, "Control Up");
            myList.getActionMap().put("Control Up", new AbstractAction()
                public void actionPerformed(ActionEvent e)
                    // do stuff to move your item up
            });Please read the tutorial for details, explanation, etc...

  • Windows biometric framework - Bad Capture Images

    I'm developing a .net application, which is necessary to obtain the image of a fingerprint through a biometric scanner.
    Now I am using the following code:
    https://msdn.microsoft.com/es-es/library/ee207405(v=vs.85).aspx
    This we supplement with the proposal in this posthttps://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/f6f09403-e0b6-4977-b697-d5aabeb5b8ff/how-to-convert-winbiobir-data-into-image-using-windows-biometric-framework?forum=wdkto
    to obtain a jpg image.
    So far so good, but I found the problem with wbf the image is cut off on the sides,
    I show examples (I show only the edges):
    In this example, the image is cut on the left and right, but sometimes also makes it up and down and not very regular shapes, my theory
    is that short sections where the image does not have a very good quality, but my case is important that information.
    The image on the left is taken with this method, while the right is taken with neurotecnologic (same scanner).This
    may seem minimal, I validations traces difficult as cutting your image removes some features on the edges,
    so sometimes you have to repeatedly move your finger across the scanner to validate.
    My question is if this is a problem Framework or is there some parameter in the capture function that allows me to return the whole
    picture?
    Regards Dario

    Anybody ?
    -R___K

  • Aperture Script - Can't replicate problem

    I wrote this script to rename and File Aperture projects by date : http://www.johneday.com/9/rename-and-file-aperture-projects-by-date .
    A Mountain Lion user has given me this feedback:
    OK, so I get the error that the EXIF tag does not have capture year. I'm on Mountain Lion, and recall that it worked on one project the very first time I ran the script after downloading and installing it... it's almost as if some flag gets set to true or false and it needs to be reset.
    Can anyone running Mountain Lion replicate this problem for me? Any insights about what is going wrong for him would be appreciated.
    set yourFolder to "Imported by Date" -- Name your folder here
    set appendParent to false -- If true, the selected parent's name will be appended to the new project name
    set makeSubfolders to false -- If true, new projects will be created in year/month/ folders.
    property delimiter : "-"
    try
        tell application "Aperture"
            activate
            -- Wait until Aperture is finished processing other tasks
            repeat
                set taskCount to count of tasks
                if taskCount is 1 then
                    display alert "Aperture is processing another task" message "Please wait for the task to complete and try again" buttons {"Try again", "Cancel"} default button {"Try again"} cancel button {"Cancel"}
                else if taskCount > 1 then
                    display alert "Aperture is processing " & taskCount & " tasks" message "Please wait for the tasks to complete and try again" buttons {"Try again", "Cancel"} default button {"Try again"} cancel button {"Cancel"}
                else
                    exit repeat
                end if
            end repeat
            -- Verify that at least one item is selected
            if selection is {} then display alert "The selection {} is empty" message "Please select ONE Project, Folder or Album from the Library tab in the sidebar and try again." buttons {"OK"} cancel button {"OK"}
            -- Get the selected Parent ID
            tell item 1 of (selection as list) to set theParent to parent
            set {parentClass, parentName} to {class, name} of theParent
            if parentClass is album then display dialog "Albums may contain images from multiple projects. Are you sure you want to move these images from their projects?"
            -- Get date of every image in the selected Parent
            tell theParent to set dateList to every image version's (value of EXIF tag "ImageDate")
            tell library 1
                -- Create your folder if it does not exist
                if not (exists folder yourFolder) then make new folder with properties {name:yourFolder}
                -- Assign name of every project in your folder to a list for the Create project command below
                -- (exists project isoImageDate) command is too slow to be included in the loop
                if not makeSubfolders then tell folder yourFolder to set parentList to name of every project
                set dateTest to {}
                repeat with aDate in my dateList
                    -- Test each date to avoid processing duplicates
                    set shortDate to short date string of aDate
                    if dateTest does not contain shortDate then
                        set end of dateTest to shortDate
                        -- Convert the image date to YYYY-MM-DD format
                        set projectYear to year of aDate as string
                        set projectMonth to (month of aDate as integer) as string
                        if length of projectMonth is 1 then set projectMonth to "0" & projectMonth
                        set projectDay to (day of aDate as integer) as string
                        if length of projectDay is 1 then set projectDay to "0" & projectDay
                        set isoImageDate to projectYear & delimiter & projectMonth & delimiter & projectDay as string
                        if appendParent then set isoImageDate to isoImageDate & space & parentName
                        tell folder yourFolder
                            if makeSubfolders then
                                --Create year and month folders if year folder does not exist
                                if not (exists folder projectYear) then make new folder with properties {name:projectYear}
                                tell folder projectYear
                                    if not (exists folder projectMonth) then make new folder with properties {name:projectMonth}
                                end tell
                                --Create project if it does not exist
                                if ((name of every project of folder projectMonth of folder projectYear) does not contain isoImageDate) then tell folder projectMonth of folder projectYear to make new project with properties {name:isoImageDate}
                                -- Move the images into the project
                                move (every image version of theParent whose value of EXIF tag "CaptureYear" is year of aDate and value of EXIF tag "CaptureMonthOfYear" is month of aDate as integer and value of EXIF tag "CaptureDayOfMonth" is day of aDate) to project isoImageDate of folder projectMonth of folder projectYear
                            else -- If not makeSubfolders
                                --Create project if it does not exist
                                if parentList does not contain isoImageDate then make new project with properties {name:isoImageDate}
                                -- Move the images into the project
                                move (every image version of theParent whose value of EXIF tag "CaptureYear" is year of aDate and value of EXIF tag "CaptureMonthOfYear" is month of aDate as integer and value of EXIF tag "CaptureDayOfMonth" is day of aDate) to project isoImageDate
                            end if
                        end tell
                    end if
                end repeat
                -- Move the initial container to the Trash if no images remain or if it is an album           
                if parentClass is album then
                    delete theParent
                else if (count of image versions of theParent) is 0 then
                    delete theParent
                end if
                beep
            end tell
        end tell
    on error errMsg number errNum
        tell me
            activate
            display alert errMsg & return & return & "Error number" & errNum buttons "Cancel"
        end tell
    end try
    EXIF Tag Name Mapping
    The following table provides a mapping between EXIF tag names found in the Aperture 3 interface and EXIF tag names that appear in AppleScript.

    Well, the obvious answer to your question is that Aperture in not seeing a 'CaptureYear' EXIF tag on an image. The way you have your try block set up, that amounts to a fatal error in your script.  why it's not seeing a capture year is a different question.  you might try asking the user with the problem to log the EXIF names for the images s/he's working on:
    get name of every EXIF tag of image versions of theParent
    you might also try breaking the complex command down into two simpler commands, in case ML has introduced a race condition:
    set movables to get (image versions of theParent whose (value of EXIF tag "CaptureYear" is year of aDate) and (value of EXIF tag "CaptureMonthOfYear" is (month of aDate as integer)) and (value of EXIF tag "CaptureDayOfMonth" is day of aDate))
    move movables to project isoImageDate of folder projectMonth of folder projectYear
    Of course, it could just be goofy user error as well - trying to run the script on an empty album or somesuch.
    Sorry I can't test this myself; my copy of aperture is an expired demo I keep around so I have access to the scripting dictionary (aperture questions are common enough to make that worthwhile), so I can't actually use it for anything.

  • AppleScript: Safari - Save As Web Archive

    The title says it all: Can someone tell me please how - most likely via UI scripting, since I can't see anything in the dictionary - I can get Safari to save the front most document as a Web Archive using AppleScript?

    This is one I have recently written that saves all tabs in a window, it remembers the parent folder until next time, and also uses the webarchive  ending when Safari is in doubt. You can set properties for whether you like it to overwrite or not. Please look at Macscripter for any updates.
    property tlvl : me
    # Release 1.0.1
    # © 2012 McUsr and  put in Public Domain under GPL 1.0
    # Please refer to this post: http://macscripter.net/post.php?tid=30892
    property shallClose : false # set this to false if you don't want to close the windows, just saving them
    property dontOverWriteSavedTabs : false # set this to true if you don't want to overwrite already saved tabs in the folder
    script saveTabsInSafariWindowsToFolder
              property parent : AppleScript
              property scripttitle : "SafariSaveTabs"
              on run
                        if downloadWindowInFront() then return 0 # activates Safari
                        local script_cache
                        set script_cache to my storage's scriptCache()
                        set saveFolder to POSIX path of (getHFSFolder({theMessage:"Choose or create folder to save Safari-tabs in.", hfsPath:DefaultLocation of script_cache as alias}))
                        if saveFolder = false then return 0 -- we were obviously mistaken, about what we wanted to do.
                        my storage's saveParenFolderInScriptCache(saveFolder, script_cache)
                        tell application "Safari"
                                  tell its window 1
                                            local tabc, oldidx
                                            set tabc to count tabs of it
                                            if not tlvl's shallClose then
                                                      set oldidx to index of current tab
                                                      tell tab tabc to do JavaScript "self.focus()"
                                            end if
                                            local saveCounter
                                            set saveCounter to 1 -- regulates setting of save folder to only first time in Safari.
                                            repeat while tabc > 0
                                                      local theUrl, theIdx, theProtocol, alreadyClosed
                                                      set {theUrl, theIdx, alreadyClosed} to {URL of its current tab, index of its current tab, false}
                                                      if my isntAduplicateTab(theIdx, it) then
                                                                set theProtocol to my urlprotocol(theUrl)
                                                                if theProtocol is in {"http", "https"} then
                                                                          # save it
                                                                          set saveCounter to my saveCurrentTab(saveFolder, saveCounter)
                                                                else if theProtocol is "file" then
                                                                          # make an alias of it
                                                                          my makeAliasForAFurl(saveFolder, theUrl)
                                                                end if
                                                      else
                                                                if tlvl's shallClose then
                                                                          close current tab
                                                                          set alreadyClosed to true
                                                                end if
                                                      end if
                                                      if not alreadyClosed and tlvl's shallClose then
                                                                close current tab of it
                                                                set tabc to tabc - 1
                                                      else if not tlvl's shallClose then
                                                                set tabc to tabc - 1
                                                                if tabc > 0 then tell tab tabc to do JavaScript "self.focus()"
                                                      end if
                                            end repeat
                                            # move forwards
                                            if not tlvl's shallClose then
                                                      tell tab oldidx to do JavaScript "self.focus()"
                                            end if
                                  end tell
                        end tell
              end run
              to makeAliasForAFurl(destinationFolder, furl)
                        local ti, tids, thefilePath
                        set ti to "file://"
                        set {tids, AppleScript's text item delimiters} to {AppleScript's text item delimiters, ti}
                        set thefilePath to text item 2 of furl
                        set AppleScript's text item delimiters to tids
                        set theFile to POSIX file thefilePath as alias
                        set theFolder to POSIX file destinationFolder
                        tell application "Finder"
                                  make alias at theFolder to theFile
                                  # I don't care if there was one there from before, as it could equally
                                  # be a file with the same name.
                        end tell
              end makeAliasForAFurl
              to saveCurrentTab(destinationFolder, timeNumber)
                        tell application id "sfri" to activate
                        tell application "System Events"
                                  set UI elements enabled to true
                                  tell process "Safari"
                                            keystroke "s" using {command down}
                                            tell window 1
                                                      repeat until exists sheet 1
                                                                delay 0.2
                                                      end repeat
                                                      tell sheet 1
                                                                if timeNumber = 1 then -- We'll set the savepath upon first call
                                                                          keystroke "g" using {command down, shift down}
                                                                          repeat until exists sheet 1
                                                                                    delay 0.2
                                                                          end repeat
                                                                          tell sheet 1
                                                                                    set value of text field 1 to destinationFolder
                                                                                    click button 1
                                                                                    delay 0.1
                                                                          end tell
                                                                end if
                                                                keystroke return
                                                                delay 0.2
                                                                if exists sheet 1 then -- We are being asked if we want to overwrite already saved tab
                                                                          if dontOverWriteSavedTabs then
                                                                                    keystroke return # if it was already saved. We don't overwrite it
                                                                                    click button 3
                                                                          else
                                                                                    keystroke tab
                                                                                    keystroke space # we are  to overwrite
                                                                          end if
                                                                else
                                                                          try
                                                                                    set dummy to focused of sheet 1
                                                                          on error
                                                                                    # click button 1 of panel of application "Safari"
                                                                                    keystroke return
                                                                                    delay 0.2
                                                                                    if exists sheet 1 then -- We are being asked if we want to overwrite already saved tab
                                                                                              if dontOverWriteSavedTabs then
                                                                                                        keystroke return # if it was already saved. We don't overwrite it
                                                                                                        click button 3
                                                                                              else
                                                                                                        keystroke tab
                                                                                                        keystroke space # we are  to overwrite
                                                                                              end if
                                                                                    end if
                                                                          end try
                                                                end if
                                                      end tell
                                            end tell
                                  end tell
                        end tell
                        set timeNumber to timeNumber + 1
                        return timeNumber
              end saveCurrentTab
              on downloadWindowInFront()
                        tell application "Safari"
                                  activate
                                  set tabCount to count tabs of its window 1
                                  if tabCount < 1 then
                                            tell application "SystemUIServer" to activate
                                            activate
                                            return true # Downloads window or somethingelse
                                  end if
                        end tell
                        return false
              end downloadWindowInFront
              on isntAduplicateTab(idxOfCurrentTab, theWin)
                        using terms from application "Safari"
                                  tell theWin
                                            set curTabname to name of tab idxOfCurrentTab
                                            set curTabUrl to URL of tab idxOfCurrentTab
                                            repeat with i from (idxOfCurrentTab - 1) to 1 by -1
                                                      if name of tab i = curTabname and URL of tab i = curTabUrl then return false
                                            end repeat
                                            return true
                                  end tell
                        end using terms from
              end isntAduplicateTab
              on getHFSFolder(R) -- Returns hfsPathAsText
                        -- R : {Amessage:theMessage,hfsPath:aStartPath}
                        local new_path, failed
                        set failed to false
                        tell application "SystemUIServer"
                                  activate
                                  repeat while true
                                            try
                                                      set new_path to (choose folder with prompt (theMessage of R) default location (hfsPath of R) without invisibles) as text
                                            on error e number n
                                                      if n is -128 then
                                                                set failed to true
                                                                exit repeat
                                                      end if
                                            end try
                                            exit repeat
                                  end repeat
                        end tell
                        if failed is true then
                                  return false
                        else
                                  return new_path
                        end if
              end getHFSFolder
              on urlprotocol(anUrl)
                        # returns the protocol of an Url, i.e. http, https, file, localhost etc.
                        local tids, theProtocol
                        set {tids, AppleScript's text item delimiters} to {AppleScript's text item delimiters, "://"}
                        set theProtocol to text item 1 of anUrl
                        set AppleScript's text item delimiters to tids
                        return theProtocol
              end urlprotocol
              to parentfolder for aPath
                        local colons, slashes, origDelims
                        set {colons, slashes} to {false, false}
                        if (offset of ":" in aPath) > 0 then set colons to true
                        if (offset of "/" in aPath) > 0 then set slashes to true
                        if colons and slashes then
                                  return null
                        else if colons then
                                  set origDelims to ":"
                        else if slashes then
                                  set origDelims to "/"
                        else
                                  return null
                        end if
                        local tids
                        set {tids, AppleScript's text item delimiters} to {AppleScript's text item delimiters, origDelims}
                        if aPath = "/" then
                                  -- we return root when we get root
                                  set AppleScript's text item delimiters to tids
                                  return "/"
                        end if
                        local theParentFolder
                        if text -1 of aPath is in {":", "/"} then
                                  set theParentFolder to text items 1 thru -2 of text 1 thru -2 of aPath
                        else
                                  set theParentFolder to text items 1 thru -2 of aPath
                        end if
                        set theParentFolder to theParentFolder as text
                        if slashes and theParentFolder = "" then set theParentFolder to "/"
                        -- sets the root path if we got a folder one level below it
                        if colons and (":" is not in theParentFolder) then set theParentFolder to theParentFolder & ":"
                        -- we return volumename, if we are given volumename
                        set AppleScript's text item delimiters to tids
                        return theParentFolder
              end parentfolder
              script storage
                        property cachespath : ((path to library folder from user domain as text) & "caches:" & "net.mcusr." & scripttitle)
                        on scriptCache()
                                  local script_cache
                                  try
                                            set script_cache to load script alias (my cachespath)
                                  on error
                                            script newScriptCache
                                                      property DefaultLocation : (path to desktop folder as text)
                                                      # edit any of those with default values
                                            end script
                                            set script_cache to newScriptCache
                                  end try
                                  return script_cache
                        end scriptCache
                        to saveScriptCache(theCache)
                                  store script theCache in my cachespath replacing yes
                        end saveScriptCache
                        to saveParenFolderInScriptCache(theFolderToSaveIn, script_cache)
                                  local containingFolder
                                  set containingFolder to (parentfolder of saveTabsInSafariWindowsToFolder for theFolderToSaveIn) & "/"
                                  local theLoc
                                  set theLoc to POSIX file containingFolder as alias
                                  set DefaultLocation of script_cache to theLoc
                                  my saveScriptCache(script_cache)
                        end saveParenFolderInScriptCache
              end script
    end script
    tell saveTabsInSafariWindowsToFolder to run

Maybe you are looking for

  • Error - cannot send message using the server....

    Until today I thought the following error message was due to a limitation imposed by my IP (Roadrunner). While talking with their Tech support on an unrelated matter I mentioned this error appears whenever I send an e-mail containing multiple groups

  • How do I get sound working again on macbook air?

    Hi all My sound has stopped working on my Macbook Air. I've tried restarting and visited System Preferences/Sound but to no avail. Can you help? Thanks Susie

  • Help needed with iphoto book

    I am putting together a photobook.  When I format it for 8'x10 hardcover some of the photos come up with a warning of low resolution.  Is there anyway to preview how the pictures will print so I can figure if they are acceptable?  Is there anything I

  • Macbook pro retina wont boot

    A week old laptop refuses to boot have tried everything availiable online still no luck! Are apple skiming on quality?

  • I want to have a progress bar monitor and display the progress of a file being opened, How do I do it?

    I have written large files for a report. When I open the files in the VI by pushing a button I want to view the progress of the file being opened. My first thought was to get the file size, some how measure the number of bytes comming out and monitor