Automator and applescript to copy new files in a folder with same name as parent folder

I have an iMac with a pictures folder (Finder folder) containing several subfolders with pictures. As per now, all these subfolders are imported into an iPhoto library (and the structure of the Finder pictures folder is thus maintained: The iPhoto events are named the same as the Finder subfolder). I.e. I have not created any albums in iPhoto.
I have also set up a workflow, where new iPhone photos are automatically being synced to specified Finder folders within the iMac pictures folder. So what I want to do is to make a workflow to import potential new photos from week to week into the existing iPhoto structure. I know iPhoto has this Autoimport folder, so this one is unpacked and "mapped". So, this is what I´m hoping to do:
Automator (iCal - want to do this on a weekly basis):
- Get specified Finder items -- set to target folder = iMac pictures folder
- Get folder content (with subfolders)
- Filter Finder items
     - Items from the last 7 days (which then would be any new files created last week)
- Applescript/shell script loop(?)
     - Get folder name for each file´s (from previous step) parent folder
     - Create new folder with same name as the file´s parent folder (if not already existing) under the iPhoto Autoimport folder
     - Copy the given file into the folder from above
- Run iPhoto application (Automator task), which then should just auto import the new photos according to the Finder folder structure
Whith the workflow above, I aim to maintain the existing iPhoto structure, and just import new photos into the existing structure. Creating folder names under the Autoimport, similar as the existing Finder folder names / iPhoto events should make it possible to have the new files imported under the existing event, right?

Anyone?
I have now switched to Aperture (from iPhoto) due to Aperture´s capability to handle Finder folder structure, and due to the possibility of having the pictures within Aperture as referenced files to the pictures within the Finder folders (i.e. possibility to delete pictures from both library and Finder folder at the same time).
So I have a superior Finder folder called "Album". Within "Album" I have several subfolders (sub albums) containing pictures. The "Album" folder with subfolders are imported into Aperture as "Projects and albums", and the pictures are uploaded within the Aperture structure as referenced files. So for now the Aperture structure is more or less a direct mirror of the Finder folder structure, whereas "Album" is the project.
And this is my current workflow in Automator, but I´m searching help with my Applescript:
- Get specified Finder items (target folder = the superior Finder folder "Album")
- Get Folder content
- Filter Finder items (to look for potential new files to import into Aperture)
     - Kind is not folder
     - Date created last X days
The output files from this task enters an Applescript
on run {input, parameters}
       repeat with f in input (**Loop**)
               tell application "Finder"
                      set fileName to name of (f)
                      set parentFolder to name of container of (f)
                      tell application "Aperture"
                             tell library 1
                                    tell project "Album"
                                           if (exists album parentFolder) then
                                             ** I then would like to check if fileName already exist within the existing album**
                                             ** If not existing, I would like to import file f into the existing album as a referenced file**              
                                           else if not (exists album parentFolder) then
                                                   make new album with properties {name:parentFolder}
                                            ** I then would like to import file f into the new album as a referenced file**
                                           end if
                                    end tell
                             end tell
                      end tell
               end tell
       end repeat
end run

Similar Messages

  • How to send File with Same name to Receiver

    HI Frnds,
    In my peoject i have one scenario,
    I have to access Orders is the name of file , available in FTP Server, i have to send same file to Receiver side with same name Orders
    Is it possible with same name dynamically??
    Regards,
    Raj

    hi,
    You have to go for variable substitution option available in receiver file adapter,but for that you have to get the file name in receiver payload.
    http://help.sap.com/saphelp_NW04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/frameset.htm
    these links are  also helpful
    /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i
    /people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii
    /people/sriram.vasudevan3/blog/2005/11/21/effective-xsl-for-multimapping-getting-source-filenames-in-legacy-legacy-scenarios
    regards,
    ujjwal kumar

  • Pass Finder reference between Automator and Applescript

    Hi - This is doing my head in !
    I have an Automator script that encrypts a PDF and then runs an AppleScript within the Automator workflow that does a rename on the resultant encrypted PDF. The result of this workflow is a filename I need within another calling Applescript.
    So in the Automator workflow I have the following code:
    set the new_item to (move item target_name of the temp_folder to container of the source_item)
    end tell
    return new_item as alias
    When I view the response in the calling Applescript I see this:
    "{alias "Macintosh HD:Support:test-28 (encrypted).pdf"}"
    How do I consume this in my Applescript ?? I need to get it into a POSIX format or something I can use.
    This is my test Applescript:
    http://bit.ly/fQ3s1i
    This is the Applescript within the Automator workflow:
    on run {input, parameters}
    set the result_item to item 1 of input
    set the source_item to item 2 of input
    set the target_item to result_item
    tell application "Finder"
    set the temp_folder to the container of the target_item
    copy my derivefilename(sourceitem, "pdf", "-", "") to {target_name, target_HFSpath}
    set the name of the target_item to target_name
    set the new_item to (move item target_name of the temp_folder to container of the source_item)
    end tell
    return new_item as alias
    end run
    on derivefilename(thisitem, new_extension, increment_separator, target_folder)
    -- A sub-routine used for deriving the name and path of a new file using the name of an existing file
    -- Pass in file ref in alias format, the new name extension, an increment separator, and any target directory (in alias format)
    -- Name and HFS path for new file are returned. The name is incremented if a file exists in the target location.
    -- Pass a null string for the target directory to use the item's parent directory
    -- Pass a null string for the new name extension to use the item's current name extension
    tell application "Finder"
    if target_folder is "" then
    set the target_folder to the container of this_item
    end if
    set the file_name to the name of this_item
    set file_extension to the name extension of this_item
    if the file_extension is "" then
    set the trimmed_name to the file_name
    set extension_separator to " (encrypted)"
    else
    set the trimmed_name to text 1 thru -((length of file_extension) + 2) of the file_name
    set extension_separator to " (encrypted)."
    end if
    if the new_extension is "" then
    set target_name to file_name
    set target_extension to file_extension
    else
    set target_extension to new_extension
    set target_name to (the trimmed_name & extension_separator & target_extension) as Unicode text
    end if
    if (exists document file target_name of target_folder) then
    set the name_increment to 1
    repeat
    set the new_name to (the trimmed_name & increment_separator & (name_increment as Unicode text) & extension_separator & target_extension) as Unicode text
    if not (exists document file new_name of the target_folder) then
    set the target_HFSpath to ((target_folder as Unicode text) & new_name)
    return {new_name, target_HFSpath}
    else
    set the name_increment to the name_increment + 1
    end if
    end repeat
    else
    set the target_HFSpath to ((target_folder as Unicode text) & target_name)
    return {target_name, target_HFSpath}
    end if
    end tell
    end derive_filename
    This is the workflow - I use Automator because I need that Encrypt PDF action, I can't find any other way of doing it:
    http://bit.ly/fzhbyU
    Can anyone help ??
    Message was edited by: brantwinter

    It's not entirely clear what your issue is.
    It sounds like your first script is returning:
    "{alias \"Macintosh HD:Support:test-28 (encrypted).pdf\"}"
    which is pretty easy to follow... you have a list containing one item, and that item is an alias (pointer to a file).
    What's probably confusing you is the fact that you have a list, but that's because Automator always passes lists as the parameters, so the first thing to do is extract the alias from the list:
    set my_file to item 1 of input
    which will result in:
    alias "Macintosh HD:Support:test-28 (encrypted).pdf"
    so now you have a working file reference. If you want the POSIX form of that path, just ask for it:
    set posix_path to quoted form of POSIX path of my_file
    --> '/Support/test-28 (encrypted).pdf'
    (note that I used 'quoted form of' since you have spaces (and, potentially, other non-shell safe characters) in the path.)

  • Error message when I try to copy new files (images, documents) to mac from flash drive/SD card

    I am recieving an error message when I try to copy new files (images, documents) to mac from flash drive/SD card. The message is saying "operation cannot be completed because an item already exists with that name." They are brand new therefore not the same name? I cannot even put them in a brand new folder...  How can I fix this?
    Please help me!

    You don't need to recover the system.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running Mac OS X 10.7 or later, open LaunchPad. Click Utilities, then Terminal in the page that opens.
    Drag or copy — do not type — the following line into the Terminal window, then press the space bar:
    dot_clean -m
    Switch to the Finder and drag the icon of the flash drive into the Terminal window. Some text will appear after what you entered. Press return.
    The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear. Then quit Terminal and try the copy again.

  • I can not delete or copy new files to my Iomega external hard drive

    Hi,
    I can not delete or copy new files to my Iomega external hard drive. Opening hard drive folder I can see that I can not overwrite it. I have heard that I need to install some program for the external hard drive to operate properly in Mac.
    Please help what to install or there is some other option.
    Thnx

    I'm not the expert on this since I have never done it. It sounds like you may need a data rescue program like Data Rescue III. I believe you can download a demo and see if you can see the files. If you can, then you can buy the program and retrieve the files. I don't know if Disk Utility can restore them--I think they have to be visible but this is not something I have ever had to do.
    In the meantime, don't do anything with the drive--you don't want to overwrite any files. Hopefully all or most of the files are still there and you will be able to retrieve them. The less the drive is used, the better your chances are of retrieving the data.
    Forgive me for not realizing that there were files on the drive that you wanted to save. Upon re-reading your question, I now see that there were. I should have known to warn you, and my bad that I didn't.
    Good luck!

  • Copy new file when dropped in one folder to another

    Hi!
    I have two folders, FolderA and FolderB
    When a file is dropped in FolderA I want it to be copied to FolderB.
    FolderA will contain other items, I only want to copy new files as they are dropped in FolderA regardless of what else is in either Folder and without copying the entire contents of FolderA.
    This seems such a simple request but I cannot fathom it out.
    Any suggestions greatly received.
    Thanks
    Colin

    make the following folder action attached to folder A. (I tested it and it works).
    on adding folder items to this_folder after receiving added_items
    tell application "Finder"
    try
    duplicate added_items to folder "B" of folder "Desktop" of folder "username" of folder "Users" of startup disk
    end try
    end tell
    end adding folder items to
    In place of "username" put the name of your home directory. Also the above script works if folder B sits on the desktop. If it's somewhere else, modify the path in the above script.
    Hope this helps.

  • Elements 9 Organiser "Copy new files only" problem

    Whenever I import pictures into Elements 9 Organiser it still imports pictures that I've previously imported even though in the Preferences "Copy new files only (ignore already imported files" is ticked. I have to deselect all the pictures and reselect the new ones. Never was a problem with Elements 5 & 6.
    Any suggestions..??

    In the download dialog box, have set any constants like owner or copyright fields?
    Once you have downloaded the image for the first time, do you make any changes to the original in PSE?
    Brian

  • Time Machine is not copying new files to new drive

    I was just searching thru my TM to restore some old files and realise that my TM has not been backing up new files after a certain date. After much pondering, I  realise that was when I changed my old TM drive to a larger drive. I copied all my old backups from the old drive to the new larger drive using this method shown in https://support.apple.com/kb/HT5096. After which TM has been backuping up the files with no errors so I thought all was well.
    What i didin't realise was that TM has been backing up the same 43 files over and over again and they are all dated 20 March 2013.
    Starting standard backup
    Backing up to: /Volumes/an_mew backup/Backups.backupdb
    1.42 GB required (including padding), 874.70 GB available
    Copied 20 files (93 bytes) from volume Macintosh SSD.
    Copied 23 files (93 bytes) from volume Macintosh HD.
    Starting post-backup thinning
    Deleted /Volumes/an_mew backup/Backups.backupdb/Angela Wangsawidjaja's iMac/2013-04-24-021045 (24.0 KB)
    Post-back up thinning complete: 1 expired backups removed
    Backup completed successfully.
    Nothing after 20 March 2103 has been backed up.
    I have tried repairing the TM drive thru Disk Utility, removing the TM drive from Time Machine Preferences and re-adding it back, turning Time Machine Preferences off then on again, and restarting from Safe Mode to force a deep traversal scan. Nothing works... my latest backup still shows my latest files as 20 March 2013 only.
    Can someone tell me how I can make Time Machine to do a full backup of my SSD and HD without losing all old my backups (before 20 March 2013) that I copied from my old drive?
    Thank you.

    Looks like it didn't work for http://pondini.org/TM/A4.html
    I checked a few days later and none of the newer files are being backup again!!
    when i check the TM messages it give me the same thing for the past backups from 25 April 2013.
    Starting standard backup
    Backing up to: /Volumes/an_mew backup/Backups.backupdb
    1.42 GB required (including padding), 873.27 GB available
    Copied 20 files (93 bytes) from volume Macintosh SSD.
    Copied 23 files (93 bytes) from volume Macintosh HD.
    Starting post-backup thinning
    No post-back up thinning needed: no expired backups exist
    Backup completed successfully.
    any other advice or help please?

  • Exchange 2010 SP3 RU5 installation hangs on "Copying new files"

    Dear forum,
    I meet an issue installing the rollup 5 of Exchange 2010 SP3 on a HUB server with WS 2008 R2.
    After launching the install from an elevated command prompt,  and after the setup stops and disables some services, it starts "Copying new files" and then hangs. Nothing in the events logs, no popup message.
    I let it alone for more than an hour but nothing happens.
    Launching it with /log returns this line at the end:
         "InstallFiles: File: Copying new files,  Directory: ,  Size: "
    Do you have already meet this issue or do you have any idea about the cause?
    Thanks for your help.

    Hi Amy,
    You'll find below the errors found in the rollup setup log:
    DEBUG: Error 2826:  Control BottomLine on dialog PrepareDlg extends beyond the boundaries of the dialog to the right by 5 pixels
    The installer encountered an unexpected error while installing this package. This may indicate a problem with this package. The error code is 2826. The arguments are: PrepareDlg, BottomLine, to the right
    1: ExPatchCa: GetProperty: Failed to get property: CheckUrlResponseTimeout (CheckUrlResponseTimeout): NULL. (ec: 0xd)
    CAQuietExec:  Failed to load dependency Microsoft.Passport.RPS of assembly Microsoft.Exchange.Security, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified. (Exception
    from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Passport.RPS of assembly Microsoft.Exchange.Security, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified. (Exception
    from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Passport.RPS of assembly Microsoft.Exchange.Security, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified. (Exception
    from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Passport.RPS of assembly Microsoft.Exchange.Security, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified. (Exception
    from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Passport.RPS of assembly Microsoft.Exchange.Security, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified. (Exception
    from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Passport.RPS of assembly Microsoft.Exchange.Security, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified. (Exception
    from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Passport.RPS of assembly Microsoft.Exchange.Security, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified. (Exception
    from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Migration of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified.
    (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Rtc.Collaboration of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified.
    (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Management.ExchangeServicesHelper of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot
    find the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Transport.Sync.MigrationRpc of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find
    the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Management.LiveServicesHelper of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find
    the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.WebServices of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified.
    (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Transport.Sync.MigrationRpc of assembly Microsoft.Exchange.Transport.Sync.Worker, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system
    cannot find the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Migration of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified.
    (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Rtc.Collaboration of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified.
    (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Management.ExchangeServicesHelper of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot
    find the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Transport.Sync.MigrationRpc of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find
    the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Management.LiveServicesHelper of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find
    the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.WebServices of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified.
    (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Passport.RPS of assembly Microsoft.Exchange.Security, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified. (Exception
    from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Transport.Sync.MigrationRpc of assembly Microsoft.Exchange.Transport.Sync.Worker, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system
    cannot find the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Passport.RPS of assembly Microsoft.Exchange.Security, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified. (Exception
    from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Migration of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified.
    (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Rtc.Collaboration of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified.
    (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Management.ExchangeServicesHelper of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot
    find the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Transport.Sync.MigrationRpc of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find
    the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Management.LiveServicesHelper of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find
    the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.WebServices of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified.
    (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Transport.Sync.MigrationRpc of assembly Microsoft.Exchange.Transport.Sync.Worker, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system
    cannot find the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Passport.RPS of assembly Microsoft.Exchange.Security, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified. (Exception
    from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Migration of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified.
    (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Rtc.Collaboration of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified.
    (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Management.ExchangeServicesHelper of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot
    find the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Transport.Sync.MigrationRpc of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find
    the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Management.LiveServicesHelper of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find
    the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.WebServices of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified.
    (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Transport.Sync.MigrationRpc of assembly Microsoft.Exchange.Transport.Sync.Worker, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system
    cannot find the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Passport.RPS of assembly Microsoft.Exchange.Security, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified. (Exception
    from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Migration of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified.
    (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Rtc.Collaboration of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified.
    (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Management.ExchangeServicesHelper of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot
    find the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Transport.Sync.MigrationRpc of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find
    the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Management.LiveServicesHelper of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find
    the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.WebServices of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified.
    (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Transport.Sync.MigrationRpc of assembly Microsoft.Exchange.Transport.Sync.Worker, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system
    cannot find the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Passport.RPS of assembly Microsoft.Exchange.Security, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified. (Exception
    from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Migration of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified.
    (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Rtc.Collaboration of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified.
    (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Management.ExchangeServicesHelper of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot
    find the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Transport.Sync.MigrationRpc of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find
    the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Management.LiveServicesHelper of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find
    the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.WebServices of assembly Microsoft.Exchange.Management, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system cannot find the file specified.
    (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Exchange.Transport.Sync.MigrationRpc of assembly Microsoft.Exchange.Transport.Sync.Worker, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35 because of the following error : The system
    cannot find the file specified. (Exception from HRESULT: 0x80070002)
    CAQuietExec:  Failed to load dependency Microsoft.Passport.RPS of assembly Microsoft.Exchange.Security, V
    DEBUG: Error 2726:  Action not found: PreNgenEndDlg
    The installer encountered an unexpected error while installing this package. This may indicate a problem with this package. The error code is 2726. The arguments are: PreNgenEndDlg, ,
    Action 16:21:13: CA_REQUIRED_ADMIN_OS_ERROR.
    Action start 16:21:13: CA_REQUIRED_ADMIN_OS_ERROR.
    Action ended 16:21:13: CA_REQUIRED_ADMIN_OS_ERROR. Return value 0.
    CAQuietExec:  Error 0x80070001: Command line returned an error.
    CAQuietExec:  Error 0x80070001: CAQuietExec Failed
    CustomAction CA_CUSTOMER_PREPATCH_INSTALL returned actual error code 1603 but will be translated to success due to continue marking
    MSI (s) (F8:20) [16:53:32:036]: Internal MSI error. Installer terminated prematurely.
    Just tell me if you need the whole log.
    Thanks

  • Need a perl script which monitors a network folder and sends email when new files/folders arrived...

    I need a perl script (or something else better) which monitors a network folder and sends email when new files/folders arrived. I tried it in Automator but failed.
    Thanks!

    Yes. I tried it. But whenever I restart m Mac, the watch folder doesn't work until I reconnect to network or run the Automator... I need a simple system that automatically connects to the network and monitor the folder, even I restart the Mac.
    Thanks!

  • ITunes stops at "copying new files" during installation?

    Well, my laptop is new and I wanted to install iTunes. I downloaded it directly from the official Apple website, but whenver I try to install it, it stops at "copying new files". The whole laptop stops functioning and I have to shut it down via the power button. I tried installing iTunes at least 3 times and it ended in the same result. I was afraid that shutting down my laptop that way anymore would harm my laptop, so I decided to get some help.

    Any help? I need an answer to this as soon as possible.

  • How can I use Applescript to copy a file's icon to the clipboard?

    Hello,
    How can I use Applescript to copy a file's icon to the clipboard?
    Thanks.
    Lennox

    there is no way to do that that I know of. but you can extract an icon of a file to another file using command line tool [osxutils|http://sourceforge.net/projects/osxutils]. you can then call the relevant command from apple script using "do shell script".

  • When I minimize a window in INDD and then open a new file, my minimized window pops back up. How do I keep it minimized?

    When I minimize a window in INDD and then open a new file, my minimized window pops back up. How do I keep it minimized?

    amandaecarroll wrote:
    How do I keep it minimized?
    Actually, I suspect you can't. You get various behaviors based on a combination of settings in Preferences > Interface; namely Open Documents as Tabs and Enable Floating Document Window Docking; but it doesn't seem to make much sense as far as I can tell. Throw in the additional "application frame" wildcard on a Mac, and even just exploring the effects of the settings and drawing conclusions about them gets tricky. It sounds like you've got your windows floating, whereas I suspect many if not most users have opted for the more structured and seemingly more logical tabbed/docked method, in which case they haven't encountered your issue and don't really understand it. One might ask; if your new/current document is "in front" then what difference does it make if others behind it are minimized, maximized, or something in between?

  • I need applescript to change all files in a folder and its subfolders ending in .xlsx changed to .xlsb

    I need applescript to change all files in a folder and its subfolders ending in .xlsx changed to .xlsb

    try something like this:
    with timeout of 3600 seconds
      -- long timeout to because the Finder is horribly slow
              tell application "Finder"
      -- collects the files from a folder called "whatever" in your user home folder
                        set xlsbFiles to every file of entire contents of folder "Whatever" of home whose name extension is "xlsb"
                        repeat with thisFile in xlsbFiles
                                  set name extension of thisFile to "xlsx"
                        end repeat
              end tell
    end timeout
    you could make a more efficient script using System Events.app, but this will get the job done with a minimum of thought.

  • Automator - new file in a folder

    hi all
    any script that recognise a new file in a folder which can then trigger off other scripts
    basically I am sending in a file via a remote mac using FTP into a hot folder
    when the file is complete I want it to be FTPd to a particular destination
    (I have droplets to auto FTP so no need for help on this)
    kind regards
    Matt

    on adding folder items to this_folder after receiving added_items
    activate application "Transmit"
    tell application "Transmit"
    -- create new window to upload files with
    make new document at before front document
    tell document 1 -- send commands to the frontmost document window
    tell session 1 -- sends commands to the first session in the window
    -- CHANGE: connects to the favorite with the name specified
    -- You may also use the connect to command to connect to a non-favorite server
    if {connect to favorite with name " name here "} then
    -- CHANGE: change remote path if desired
    -- set their stuff to "Upload Destination"
    -- upload all items dropped onto the droplet
    try
    repeat with theFile in added_items
    -- ignoring result from upload
    upload item theFile
    end repeat
    end try
    else
    display dialog ("An error occured, could not connect to favorite")
    end if
    -- once the upload has finished, disconnect
    disconnect
    end tell
    end tell
    end tell
    tell application "Transmit"
    -- create new window to upload files with
    make new document at before front document
    tell document 1 -- send commands to the frontmost document window
    tell session 1 -- sends commands to the first session in the window
    -- CHANGE: connects to the favorite with the name specified
    -- You may also use the connect to command to connect to a non-favorite server
    if {connect to favorite with name " name here "} then
    -- CHANGE: change remote path if desired
    -- set their stuff to "Upload Destination"
    -- upload all items dropped onto the droplet
    try
    repeat with theFile in added_items
    -- ignoring result from upload
    upload item theFile
    end repeat
    end try
    else
    display dialog ("An error occured, could not connect to favorite")
    end if
    -- once the upload has finished, disconnect
    disconnect
    end tell
    end tell
    end tell
    end adding folder items to

Maybe you are looking for

  • New features and updates with iPhone iOS 7.0.06?

    I wonder exactly what the new features is on the iOS 7.0.06? This is the only information I get if I google it. https://encrypted.google.com/#q=new+features+on+ios+7.0.6

  • Mobile module modbus I/O Server

    Hi, Is it possible to establish a communiccation with modbus protocol between the PDA (master) and the slave device via WIFI connection? I like to do this with configuring the I/O Server, not with the modbus library. Best regards, Zdenko.

  • Running xscreensaver in the background after resume from hibernate

    I'm using hibernate-script with my tuxonice kernel. One of the things that annoys me about xscreensaver is how when I resume its always running (because the requisite time has passed), so I have to type my password again, having just typed it at BIOS

  • Re: UnsatisfiedLInkError: No muxer in java.library.path

    In the default weblogic.properties file, this should be the first property listed under the System Properties section: # SYSTEM PROPERTIES # System properties in this section are set to system defaults # Performance pack. The shared library must be a

  • Ical error 500 what to do?

    I get this error message every time I want to use iCal on mu iMac. Anmodningen om konto "iCloud" mislykkedes.  Serveren svarede med "500" på handlingen CalDAVAccountRefreshQueueableOperation. Is there anything I can do or am I doomed?