Help with Automator workflow!

I work in graphics at a newspaper. I schedule items for publication with iCal. I want to set up an action that will move documents from one folder to another when the event they are associated with in iCal is passed.
For example. I have a calender called legals. I schedule the legals to run on a certain date, repeat them as required and then attach the document to the event so it is right there handy when I get ready to publish them. I have a folder called "legals" where all of these files are kept. I find this a wonderful system. What I want for Automator to do is to move the files to a folder called "old legals" when the event has passed in iCal. I am not very familiar with Automator but have been trying to do this for a while and can't figure it out. Any help in this would be greatly appreciated.
~Chris

If you can identify which files need to be moved on what days, you can still do it. Somehow, you have to name them, or organize them so that the computer can identify which ones need to move.
There is no "mind-reader" action to figure out which files you're thinking about.
Once you've established a method by which you can identify the particular files, instead of 1) and 2), use Find Finder Items, search in the legals folder, and set the criteria by which you can find the appropriate items.
Make a different workflow for each particular set of items.

Similar Messages

  • Help with Automator - create workflow to move files to dated folders

    If anyone could help me, I'd greatly appreciate it.
    I have no idea how to use Automator, but I think it'd be perfect for this job.
    I want to take a folder of files (images) and move them to separate folders which are named for the dates that the files were created on. So, for instance, I have a folder of ten images. Five were created on November 1st and the other five were created on November 2nd. I want to create two folders on the desktop with the dates in the name (like 20071101 & 20071102) and take the five images from 11/1 and move them to the 20071101 folder and the five images from 11/2 and move them to the 20071102 folder (sorry for the run-on sentence).
    Is this possible with Automator? Is this an easy thing to do?
    Thanks,
    Antonio

    I'm trying to do something very similar. I need to open an image sequence in QuickTime and export them to a mov file. Easy enough, but I would also like to create a new Finder folder and name it with today's date and save the mov file to that new folder.
    What frustrates me is that it doesn't appear you can name Finder folders in any way other than using the Rename Folder action. I was hoping to use today's date that I had copied to the clipboard. Also, I have no experience using AppleScript, so hoping to avoid anything advanced there.

  • Help with Automating Contact Editing Please!

    Hey Apple Community!
    I'm having some trouble organizing my contacts and sorting info fields.
    Basically I have a few hundred contacts, and certain fields of the information should be in others.
    Here's some of the things I want to change.
    First and foremost, after I imported Facebook information (either from OS X Facebook integration or iOS') it put most of the contact information in the Notes field.
    Most of the notes are structured like this:
    Note
    "Quote from Facebook blah blah" -if it exists
    Location: City, State
    Facebook: profile.name
    Website:
    Hometown: City, State
    However, the actual Facebook field is blank!
    How can I go about fixing this? I would like an automated option such as AppleScript or an Automator Workflow if possible since I have a lot of contacts.
    Second, after importing LinkedIn information into my contacts, those who are updated have their "Home Page" set as linkedin://#profile/xxxxxxxxx.
    I would like these moved into a field called "LinkedIn" since that way selecting them will automatically open up the LinkedIn app on iOS or a webpage on the desktop.
    I have attemped at making an AppleScript for this, and it runs without errors but doesn't fix the problem.
    Here's what I have:
    tell application "Contacts"
              repeat with thisPerson in every person
                        if thisPerson's home page exists then
                                       set linked to thisPerson's nickname
                       set thisPerson's LinkedIn to linked
                             end if
              end repeat
    end tell
    And there are a multitude of other problems, but these are the biggest.
    Sorry for the long post, but I would be greatful for any help, thanks!
    Regards,
    Tyler

    Third party app did the trick although I figured something like this would be integrated into iOS by now, admin can delete this thread if you want.

  • Help with Automator

    Hello all I am new to the apply community Im playing with automator in mountain lion I have figured out how to do some basic tasks but now I have run into a snag which I can't seem to find an awser for... I remember in the dos days for microsoft you could create batch files to rename a whole directory but there where certain things you could do like   *.* to make it list everything etc... I want to rename files in my DLNA server DIRECTORY
    so if my file name is
    Criminal Minds 2.04 Psychodrama.avi
    Criminal Minds 2.05 Aftermath.avi
    I want automator to change it to
    S02E04 - Psychodrama.avi
    S02E05 - Aftermath.avi
    I can get automator to delete the Criminal Minds etc. but I can't figure out how to get it to remember the numbers etc and change it to the new file
    if anyone can help and maybe send me somewhere where I can get all the info on automator or maybe a script file would be a better soloution to begin with this but I don't know how to script either
    thanks
    Mike Dennison

    If you have gone with A Better Finder Renamer, then that's cool.
    I have rewritten and more thoroughly tested my Python script in Automator. If you use it as an Automator application on your Desktop, it will allow drag and drop folders or single files. It will now detect the folder and walk down through any sub-folders to ferret out your .avi files and (if they match the original filenaming format) rename the files in their present location, to your originally specified output format.
    Note: The script will rename your original files to the specified new naming convention.
    The last thing the script does is write a text logfile of processed files to your desktop. You can double-click this logfile and the OS X Console application will open and display it for you.
    Open Automator.
    Choose Application
    Select Library > Run shell script
    Drag this item to your right into the larger workflow window and release.
    Choose Python from the selection list of script tools.
    Choose Pass input: as arguments.
    Remove all content from this window.
    Copy the entire Python source from below, and paste into the open Automator window.
    Click File > Save...
    Select your Desktop as the save destination
    Name the Automator application moviefix (arbitrary)
    The automator application on your desktop is now enabled for drag and drop folders and files.
    #!/usr/bin/env python
    This program will convert files from one format to another.
    From: Criminal Minds 2.01 The Fisher King (Part 2).avi
    To:   S02E01 - The Fisher King (Part 2).avi
    Author: VikingOSX, Apple Support Community, 10/2013.
    import sys
    import os
    import re
    import time
    #test = "Criminal Minds 2.01 The Fisher King (Part 2).avi"
    LOGFILE = 'file-list.log'
    DESKTOP = "~/Desktop"
    # You can add to this list as comma-separated, single-quoted values.
    valid_extension = ( '.avi' )
    rename_list = []
    def log_files(filelist):
        Write processed files to logfile with time stamp.
        cwdlog = os.path.join(os.path.expanduser(DESKTOP), LOGFILE)
        with open(cwdlog, 'a+') as log:
            # if new logfile, place header text in it
            if os.stat(log.name).st_size == 0:
                log.write("Processed Files\n")
                log.flush()
            for item in filelist:
                log.write(logstamp(item))
    def logstamp(thefile):
        yyyy-mm-dd hh:mm:ss full path to filename.
        stamp = time.strftime('%Y-%m-%d %X ') + thefile + '\n'
        return stamp
    def rename_file(path, thefile):
        Renames files in their current directory location.
        m = re.match(u'(\D*)(\d)\.(\d{2})(\s+\D*\S*)', thefile)
        if m:
            #show = m.group(1)
            season = m.group(2)
            episode = m.group(3)
            title = m.group(4).lstrip()
            newfile = "S" + season.zfill(2) + "E" + episode + " - " + title
            rename_list.append(thefile)
            os.rename(thefile, os.path.join(path, newfile))
        return
    def main():
        for f in sys.argv[1:]:
            # recursively process folders or n-tuple dropped files
            if os.path.isdir(f):
                for root, dirs, files in os.walk(os.path.abspath(f)):
                    for each in files:
                        if each.endswith(valid_extension):
                            rename_file(root, os.path.join(root, each))
            else:
                frp = os.path.realpath(f)
                rename_file(frp)
        if len(rename_list):
            log_files(rename_list)
    sys.exit(main())

  • Needed help with Automator - System Prefs

    Hi,
    I'm hoping to make an automator workflow that changes some system preferences that I have to change frequently in switching between a work computer and media center.
    When it's used as a media center it's setup with a lower resolution to match the TV and the energy settings and screensaver are set to never be used when in media center mode.
    Is there a way to use automator or even apple script to change the resolution, energy, and screensaver settings back to my normal settings?
    I tried using the record option in Automator but it doesn't seem to recognize anything specific at all.
    Could someone please help me set this up?

    See http://discussions.apple.com/thread.jspa?threadID=2039384 and Introduction to Automator tutorial at http://automator.us/leopard/video/index.html

  • Snapper needs some help with photo workflow.

    I guys I am a photographer who has just moved over from a PC to a iMac and i am having a small problem with my workflow and hoping that maybe someone can help me out.
    When using my PC after covering one of my events I would plug my memory card into a reader conected to my PC it would then prompt me to save the files to a new folder which I would name after the event covered.  Once this was done I would then review the photos delete any that were of no use i would then open up photoshop locate the folder and then work on the images and then save them to the same folder before e-mailing them to my publisher.
    Now using the Mac this is my work flow plan.  I plug the memory card into the reader and save the photos in iPhoto using the name of the event to name the folder. I can then review the photos in iPhoto deleting any that are of no use.  I open up photoshop and using bridge to select the files to open but I cannot get the photoshop or bridge to find the folder in iPhoto.  I have to make a copy of the photo folder on my desktop and then select the files from this folder in bridge but this means that I am doing things twice any ideas on how to get photoshop or bridge to find the iPhoto folder.
    I am using OS Lion and Photoshop CS5

    Okay, how about getting iPhoto out of the picture (so to speak)? You'll need to change a couple of preferences, but the result will be: you will see your card reader's icon on your desktop - click on it and open the folder. You can take a look at the pics in Preview (should open automatically) and then decide what to do with them (Photoshop, iPhoto, Aperture, other app, or trash?). Or you can simply create a folder on your desktop and "park" them there until you know what you want/need to do with them. You can create subfolders with the event/date//whatever.
    So, if that is what you'd like, here is where to change a couple of things:
    1. CD/DVD Pane in System Preferences:
    2. Finder Preferences: make sure CDs & DVD are checked to show on desktop.
    3, Open iPhoto: Preferences > General: make sure "connecting camers opens" shows: No Application.

  • Help with a workflow question...

    Hi all,
    I have been the designated backstage photographer for my son's school play. I have a bunch of photos that I shot from various evenings, and I've put them all in an album.
    The person who is going to be preparing a DVD for the kids would like me to give them the photos on a disk, but mentioned keeping the photo size to 2-3 megapixels (did she mean MB?).
    So, what I want to do is take all the photos in the specified album and change them to the desired size. Is there a quick, efficient way to do this?
    Thanks,
    Boris

    Boris:
    If you're exporting from iPhoto to resize you can save back into iPhoto. Besides you want to burn the photos to disk from the Finder and not from iPhoto via the Share->Burn menu option. Export to a folder on the desktop and burn that folder to disk vis the Finder.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 6 and 7 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    Note: There's now an Automator backup application for iPhoto 5 that will work with Tiger or Leopard.

  • Help with automating "System Update"

    edit:
    please help - who do I contact in Lenovo / IBM to get real help with this ?
    this is a corporate project and I need to resolve this as soon as possible.
    does anyone from Lenovo actually read this forum?
    I've opend a support call in Lenovo's helpdesk (via email) but no reply except an automated one for... like a week.
    help! help! help! we don't mind paying for it, we NEED to resolve this.
    any help at all would be greatly appretiacted. please point me at the right direction?
    sorry for this venting but really, I just need to get a move on this already... :-0
    can anyone at all help ?
    any idea where I can find more information / expert assistance ?
    thanks for any help...
    -Shay
    Hi,
    I've been able to fully automate System Update distribution using Group Policy. this works perfectly.
    I am now trying to achive the same functionality using scritps.
    the problem: I get quite a few prompts for "License Agreement" - not the "master" initial one, only a few for the different installs.
    here's my setup:
    1. a local server is the repository.
    2. I import a .reg file before installing "System Update" using an automated install.
    3. after a restart, a command runs on the local machine.
    here are the details:
    registry settings:
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Lenovo\System Update]
    "LanguageOverride"="EN"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Lenovo\System Update\UserSettings\General]
    "IgnoreLocalLicense"="YES"
    "DisplayLicenseNotice"="NO"
    "DisplayLicenseNoticeSU"="NO"
    "ExtrasTab"="NO"
    "RepositoryLocation1"="***my internal server here ****"
    "RepositoryLocation2"=""
    "RepositoryLocation3"=""
    "NotifyInterval"="36000"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Lenovo\System Update\UserSettings\Scheduler]
    "SchedulerAbility"="YES"
    "SchedulerLock"="LOCK"
    [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Lenovo\MND\TVSUAPPLICATION]
    *** network drive mapping here, this part works ***
    also, I use this command to run the updates:
    call "C:\Program Files\Lenovo\System Update\tvsu.exe" /CM -search A -action INSTALL -IncludeRebootPackages 1,3,4 -noicon
    I am just about desperate... I would REALLY REALLY appreciate any help, hint etc :-)
    Thanks for ...even trying... lol
    regards,
    Shay
    Message Edited by catman2u on 03-18-2008 05:04 AM
    Message Edited by catman2u on 03-25-2008 02:41 AM

    catman2u wrote:
    does anyone from Lenovo actually read this forum?
    From the Communiy Rules in the Welcome section....
     Objectives of Lenovo Discussion Forums
    These communities have been created to provide a high quality atmosphere in which users of Lenovo products and services may share experiences and expertise. While members from Lenovo may participate at intervals to engage in the discussions and offer advice and suggestions, this forum is not designed as a dedicated and staffed support channel. This is an informal and public forum, and Lenovo does not guarantee the accuracy of information and advice posted here -- see important Warranty information below.
    No amount of ranting is going to get you anything more than you will achieve with a clear exposition of your issue... so you might want to try doing that instead of ranting and assuming that everyone already knows what you know etc etc.
    Cheers,
    Bill
    I don't work for Lenovo

  • Need help with a workflow that will restrict resize to 720x540

    I need help constructing a workflow that will resize any image I choose to 720x540. I want this to be restrictive to this size, in other words I don't want 720x468 or etc. I have tried this too many times, will no success so now I am reaching out for help. HELP. Once I have correct resized an image as needed I want to change its format and save a copy.
    As always thanks for your reading and replying to my Post,
    Sebastian

    Hi there,
    what Image editing software do you have, if any ?
    regards
    Ric

  • Import video in iPhoto 11 with Automator workflow

    Hello,
    I'm trying to do a workflow to convert and import video into a new iPhoto 11 album but the Automator action import only photos in.
    How can i do that?
    Thanks.

    Hum, well...
    Is it possible to modify this action or create a new one with XCode to accept videos too?
    I'm not often using XCode but I'm web developer so maybe I can do that if it's not too complicated.
    Some help? Thanks.

  • Help with Automator Script for QuickTime Pro Movie Conversion from Vado

    All my videos from my Creative Vado do not show up in iMovie 09 initially on import. By trial and error, I have discovered that the old version of QuickTime Pro 7 ($29.95) will convert them to .mov files that can be seen by iMovie 09 once the converted videos are imported back into iPhoto.
    I am (very) new to mac things, and it looks like in theory I could use Automator to handle to conversion process, and perhaps even the re-import into iPhoto. Does anyone have any suggestions on how to go about this? Where would be a good site to post this as a project that I could pay some one to help me, provide an automator script/workflow?
    Are any other solutions available? Buy Final Cut etc?
    PS (Rant): One of the reasons I bought a MacBook Pro and iLife was to take advantage of what I thought was supposed to be Apple's superior multimedia handling. It seems ludicrous to me that with a MacBook Pro running the latest software (10.6.4), and using the latest versions of iLife, I'd have to buy an old version of QuickTime to convert my videos so that I could manipulate them in iMovie. Sigh.

    MPeg Stram clip will export files which are compatible with iMovie '09. It (iMovie )can import the following.
    DV
    AIC
    Motion-JPEG
    Photo-JPEG
    MPEG-4 (Supported profiles)
    H.264 (Supported profiles)
    Apple Animation (Movie '09 only)
    Apple Video (iMovie '09 only)
    iMovie '08/'09 will not accept files containing extraneous data tracks such as:
    'Tween
    Text
    Chapter
    Closed Caption
    Secondary audio such as AC3
    etc.
    iMovie '08/'09 Will not accept files that rely on proprietary/third-party components such as
    DivX
    WMV
    XviD
    etc.

  • Help with automator and folder actions please

    Hi all!
    I'd like to attach a folder action to a folder, so that any time i drag something in it, it'll be sent to my mobile phone.
    I just dont get it how to do it.
    Can please someone help? I'm totaly incapable of writing an applescript to do so...
    Best regards,

    Hi!
    So next step...
    I create a folder so and right-click "configure actions" (sorry my
    system is french so the terms are probably different on the US
    system....)
    Automator launches, and I add the push to BT part to my workflow. I save
    it all, and return to the finder.
    I right click on the folder, the script appears as it should.
    I click on the created script, a window opens with the device selection.
    I click OK. and get a message saying that this kind of file (a standard
    .sis file) won't be accpted from my device (a 6680 nokia). I click "try
    anyway", the window of file transfer opens, but I get the error
    "Transfer failed, operation not handled".
    I don't get it. Where did I go wrong?
    Thanx fo your feedback!

  • Need help with Export workflow.

    Hello again.
    Today I was experimenting with exporting a project using Export QT Movie and QT Conversion.
    My goal is to show a QT project on the web, either 640x480 or 320xx240, depending on how monstrous the file size is.
    My initial impression was that export QT Movie simply generates (I'm guessing) a full size rendering of the project. It's icon is a FC icon. What I did then was an "Open with..." quicktime(pro). This is where I get confused: I know that the next steps are for for preparing the project for sizes, compressions and so on. The export to QT movie seems to be a longer route to get to the settings that you need to use in QT Conversion, which after selecting QT conversion, you have the Format, Use, and Options settings.
    Am I right so far?
    Some background about my project- Easy setup= DV-NTSC. If I look in my browser, my clips are 720x480, 29.97fps, Compressor(?)DV/DVCPRO-NTSC, pixel aspect ratio, NTSC-CCIR 601 and anamorphic is checked.
    I also have still photos motion control stuff, PS tiffs, that do not have anamorphic checked.
    Form here on is where I get confused.
    Under settings, I am selecting DV/dvc-NTSC for compression frame rate 29.97, medium compressor, scan mode, interlaced, and aspect 4:3.
    The filters setting I don't use.
    The size setting I'm trying 320x240 with aspect ratio and de interlace video UNCHECKED.
    Is this a good workflow for the web. I notice on 640x480 my titles (livetype) seem kind of jagged.
    Any help preparing a project for the web would be appreciated. If you need more info let me know.
    Thanks so much.
    Jonathan

    Thanks for the additional comments and ideas.
    In terms of profile, as I mentioned, the intermediates will be going off to the editor (off-site) for editing on his FCP suite.  I'll stick to working in the prescribed HDTV (Rec. 709) space, and I've given him all the detail I can of how I'm working, but crucially I haven't stood at his edit-suite to see how the stuff looks.
    But, he's no newbie, so I'm hoping it'll be OK.
    Blasted shame about the H.264 BluRay not being compatible with QT - I thought I had this whole issue beat until that came along.  It's not a matter of disk space here, but the editor is mithering that the intermediates we are testing, in either PNG, or Animation, and a couple of others, are choking his playback.
    I'm not sure what to say about that, other than to go down this road of trying to squish these intermediates as low as possible without wrecking the look, hence finding that the DNxHD is providing the best solution.  If it had been a SD project, I might well have tried the native H.264, even over our normal PNG workflow.
    So what will play the native H.264 BluRay compressed output?
    Julian.

  • Can you help with automator & disk utility?

    I'm trying to set up an automated "permissions repair" to run every night. I set up a workflow using automator and saved it as an iCal item. If I double-click on the resulting .app, or run from Automator, the workflow works as I expected, but all I find in the morning is an open Disk Utility with no repair performed & no error messages. Examining the log file confirms that nothing happened except the launch.
    Here's what the wf does: Launch Application-Disk Utility, Watch Me Do-Click in the text "Macintosh HD" Click the "Repair DIsk Permissions" button, Pause-for 10 seconds, Play QuicKeys Shortcut-(types admin username, tab, admin password, enter).
    Like I said, works just fine except when iCal runs it. What am I doing wrong?

    ..."I'm trying to set up an automated "permissions repair" to run every night."...
    As others have mentioned, it shouldn't be necessary to "repair permissions" every night.
    And if you are an administrator in charge computers used in a shared environment (eg. schools, libraries, a shared machine in a work place, etc.), I would go further and say that "repair permissions" should definitely not be run at all without verifying them first to make sure everything checks out, and certainly should not be automated unless some sort of verification routine is included.
    With Leopard's version of "repair permissions", failure to exercise sufficient caution could allow even "standard" users to gain "root" level privileges.

  • Help with Automator to copy text from multiple files

    Hello,
    I'm new to automator and applescript but it seems like what I'm trying to accomplish is fairly easy.
    I'd like to run a workflow that will open a text file, copy the contents, paste the contents into a given application and then take a screenshot.
    I'd like to be able to do this for several hundred text files.
    I've tried with a Service but can't figure out how to provide the text input after "Get Specified Finder Items".
    Get Specified Finder Items --> Get Contents of TextEdit Document --> Copy to Clipboard --> results in no data.

    You'll need to use Applescript (you could use the Automator Run Applescript Action).
    set recipientAddress to do shell script "cat <filename.txt>"
    set theSubject to "Type your subject here!"
    set theContent to "Type your message content here!"
    tell application "Mail"
      activate
              set theMessage to make new outgoing message with properties {subject:theSubject, content:theContent, visible:true}
              tell theMessage
      make new to recipient with properties {address:recipientAddress}
      -- Uncomment send to Send the Message:
      -- send
              end tell
    end tell

Maybe you are looking for