Using Automator to change metadata in iphoto

Hi,
I've read about difficulties with Automator and iPhoto, however I was hoping there is some way to automate these things.
Noticing this thread: http://discussions.apple.com/thread.jspa?messageID=700185&#700185
I do hope there is some way to change the metadata of photos stored in iPhoto - specifically I want to change the name of photos (sequentially) and want to add comments in a workflow.
I'd greatly appreciate any help!
Thanx in advance

oh, i can do all those things with the batch mode in iPhoto but I would like to integrate these steps in a longer Automator workflow - i.e. not having to open iPhoto and do it manually...

Similar Messages

  • Using automator to change system preferences

    can i use automator to change my network settings. my stupid wireless at home does not automatically connect so everytime i get home i have to open up sys preferences and change the airport settings to manual and enter in the ip address of the router manually. can i create an automator script to do this in one step?
    any help appreciated. thanks.

    I have a similar problem with the ultra sensitive trackpad with the "Clicking, Dragging, Drag lock" checked in Preferences/Keyboard & Mouse. I'm always turning them on and off depending on which application I am using.
    My problem is that when I record a series of actions in Automator, the resulting action list has no text behind the action for the mouse click for the Clicking checkbox. Its as though it doesn't even know that its there. All of the other actions show up.
    Got any ideas on how to fill that void or another workflow that would do the same thing ? I think that running the workflow again would turn it back on as the actions are identical.

  • Using Automator to change Kensington Trackball Settings

    Hi All,
    I have several shared company computers, all have the Expert Kensington Trackball Mouse. The computer in question is an Intel Mac Pro running Leopard. I have 2 sets of users that need to use the rig and both sets of users prefer different settings to the Kensington Mouse (I only need 2 separate profiles, not 4). Kensington does not provide software to quickly switch user profiles. The simplest solution is to create different users for the computer, but that is not an option here. We've been trying to use Automator to script the changes quickly between mouse profiles, but while using the 'Watch Me Do' (none of us are particularly experienced with Automator) feature, we are able to set the bottom two mouse buttons, but the top 2 buttons result in the error message "This operation cannot be performed". The Kensington settings are in System Preferences, and have several drop-down menus and text boxes. There must be a better way to do this. Any ideas? Thanks in advance!

    I have a similar problem with the ultra sensitive trackpad with the "Clicking, Dragging, Drag lock" checked in Preferences/Keyboard & Mouse. I'm always turning them on and off depending on which application I am using.
    My problem is that when I record a series of actions in Automator, the resulting action list has no text behind the action for the mouse click for the Clicking checkbox. Its as though it doesn't even know that its there. All of the other actions show up.
    Got any ideas on how to fill that void or another workflow that would do the same thing ? I think that running the workflow again would turn it back on as the actions are identical.

  • Using automator to change image from pct to tif

    Problem: want to grab frames from an MP4 movie and save them in a format usable by other applications.
    I've written an applescript action in automator to grab and save frames at regularly occurring intervals. QT 7 pro does the grabbing and saving.
    The difficulty is that the images are pct files. I need to send them through PDFlib which doesn't understand this format. Just about any other format would work: PDF, PNG, TIFF, etc.
    Automator has an Action named "Change Type of Images" associated with Preview. Unfortunately, Preview in 10.6 can't open can't open PICTs in 64 bit mode. In Automator, the Change Type action simply fails to do anything w/o complaint.
    I also tried using the CS 3 Automator Action Pack from Complete Digital. But the action pack doesn't seem to include a Save As action.
    (Side question: in fact, I don't see Save As or a Save action in Automator at all. How would one create and Save a TextEdit document?)
    Looks like I'm falling through the cracks here. Anyone have any suggestions??

    jeffrey Berger wrote:
    Problem: want to grab frames from an MP4 movie and save them in a format usable by other applications.
    I've written an applescript action in automator to grab and save frames at regularly occurring intervals. QT 7 pro does the grabbing and saving.
    The difficulty is that the images are pct files. I need to send them through PDFlib which doesn't understand this format. Just about any other format would work: PDF, PNG, TIFF, etc.
    Automator has an Action named "Change Type of Images" associated with Preview. Unfortunately, Preview in 10.6 can't open can't open PICTs in 64 bit mode.
    yes, but it will do so if you run Preview in 32 bit mode. check the box in it's get info panel to open in 32-bit mode and it will open .pct files.
    In Automator, the Change Type action simply fails to do anything w/o complaint.
    I also tried using the CS 3 Automator Action Pack from Complete Digital. But the action pack doesn't seem to include a Save As action.
    (Side question: in fact, I don't see Save As or a Save action in Automator at all. How would one create and Save a TextEdit document?)
    Looks like I'm falling through the cracks here. Anyone have any suggestions??
    another option is to use the terminal "convert" command. It's part of ImageMagic suite and I have it on my system. However, I'm not sure if it's a part of a regular OS X install or one my 3rd party programs installed it. i definitely didn't install it myself.
    the usage is very simple
    convert /path/to/file.pct /path/to/outputfile.jpg
    just add a "run shell script" action to your flow to run the command. this avoids any 64-bit issues.

  • Trying to use automator to change a folders permissions rights when something is put in it

    I'm trying to use automator so that when ever a folder or file is dropped into a shared folder on my desktop the permissions are updated to that new file/folder. Anyone know how to do this? Struggling at the moment. It would basically automate the following actions:
    - Select folder on desktop
    - Command + i to bring up folder info
    - Click lock and input password to allow finder to make changes
    - Click on cog icon to select 'apply to enclosed items...'
    - Close folder info panel
    The folder is a shared folder but when a new directory is put into the folder by myself the other person doesn't have access rights so I need to go through the above to rectify this. Or likewise if she puts an item into the folder I have to do the same so I have access rights. Basically we're too poor right now to set up a proper home network! Any other tips to solve this issue, even if they do need small financial backing would be greatly appreciated

    Yes, you can use the Clone Stamp tool on a precomposition layer, just like any other layer.
    If I understand your problem correctly, you're just having trouble opening the precomposition layer in the Layer panel.
    Here are instructions for After Effects CS4, from the
    "Opening and navigating nested compositions" section of After Effects CS4 Help on the Web:
    "Double-click a precomposition layer in the Timeline panel. Alt-double-click (Windows) or Option-double-click (Mac OS) to open the precomposition layer as a layer in the Layer panel."
    The behavior is reversed for earlier versions.

  • Use Automator to Change a System Setting

    Hi there,
    I was just wondering if there was anyway to use Automator to be able to click one button and be able to turn off/on the F1, F2, F3 etc... functions, so I am able to use F1, F2, F3 etc... when I need it ( mostly using Pro Tools ) and when i'm finished use the Brightness, Volume etc.....
    Thanks Craven

    Here is an AppleScript that will do this: 
    tell application "System Preferences" to activate
    tell application "System Preferences"
              reveal anchor "input" of pane id "com.apple.preference.sound"
    end tell
    tell application "System Events" to tell process "System Preferences"
              tell table 1 of scroll area 1 of tab group 1 of window 1
                        select (row 1 where value of text field 1 is "Internal microphone")
              end tell
    end tell
    quit application "System Preferences"
    You can put this into an AppleScript in AppleScript Editor (it's in Utilities), or run it in Automator.
    The simplest way would be to save it as an AppleScript application and use that as a login item.
    I wrote it up as a standalone AppleScript application called "InputMic" and saved it to my dropbox. You can download it here if you like: https://www.dropbox.com/sh/assrkjdvns0lj9m/RjP7Mc2HcM
    You can put it in your Applications folder and set it as a Login Item in system preferences > Users & Groups.
    Or drag it to the dock and then run it manually, or both. It will ask for your permission to run as an accessability item in Security & Privacy settings; just click the lock in the left corner, check the box next to InputMic, and then close the lock.

  • Using Automator to Add Metadata from Folder Structure

    I have a huge set of .wav files organized in a folder structure like this:
    Artist->Album->Song
    I am trying to write an Automator workflow to import each song into iTunes whilst adding Artist and Album metadata.  I can get the workflow to work for a single artist with a single nested album, but multiple nested albums result in Artist and Album tags which are concatenated versions of all the artist and album names.  This is my workflow:
    I'm using variables to store the artist name and album name.  Somehow, when this gets to "Set Info of iTunes Songs", the artist and album info gets concatenated.  Any ideas much appreciated.  Thank you.

    oh, i can do all those things with the batch mode in iPhoto but I would like to integrate these steps in a longer Automator workflow - i.e. not having to open iPhoto and do it manually...

  • How can i use automator to change my browsers home page

    Hello there,
    I am a junior web developer currently using a macbook, i have wamp server installed on my machine for testing the code that i produce.
    Currently i have 2 browsers on my machine firefox and safari. I would like to create a script that would change my homepage to localhost only when wamp server is running. I am guessing this can be done with automator but i just don't know how.
    If anyone has any ideas that would be sweet!
    Peace

    If the files are in one folder, I'd change them with TextWrangler.
    First, copy the folder with the 12-point files. Work on the copy folder.
    Open TW
    Search > Multi-File Search …
    --Find: fs24  (i.e., an RTF code that indicates a 12-point font)
    --Replace: fs48  (i.e., an RTF code that indicates a 24-point font)
    --Search in:  Other: (target the copy folder)
    --Replace All
    Follow the dialog to Find & Replace All Matches:
    --Save to disk
    (There's no need to use the options to Leave open, Confirm before saving, or Show results.)
    --Proceed
    Quick and dirty but ought to work unless you actually use the string "fs24" somewhere in a document--and if you do, you do still have the original 12-point files.

  • Using Automator to change System Preference when opening an app

    Hello everyone,
    I have been using a Mac for a good 8 years now and I'm a happy user. I recently found out about Automator ('hey what is this little robot for?') and what it can do, yet I lack the knowledge of finding out what I must do to make a script to perform the following thing:
    When I launch an app (FL Studio), I want the box checked next to 'Use F1 and F2 as standard function keys' in the Keyboard preferences pane in the System Preferences app.
    When I close the same app (FL Studio), I want the box unchecked next to 'Use F1 and F2 as standard function keys' in the Keyboard preference pane in the System Preferences app.
    I have found several other topics about this subject, however, those were about scripts when logging in to your computer, and not upon opening/closing an app. Please note that I am seeking for the setting to be changed when the app is opened and closed.
    I hope you can help,
    Sander

    This kind of question comes up a lot - how to run a script when an application launches/quits.
    The short answer is that it's not easy to do directly, unless the application itself supports launching scripts on startup/quit (hint: few do).
    Fortunately, a little difference in thinking can give you the same effect.
    Rather than trying to have your script trigger AFTER the app launches, rethink your process to a script that FIRST changes the preference, THEN launches the app. You get the same result but about 14 billion times easier to implement.
    In this case, write a script to set the function key preference, then launch FL Studio. The script can then hang around to wait for the app to quit and reset the pref.
    Furthermore, don't try to do this the human way (open System preferences, select Keyboard, check the box). You can set the preference directly via the defaults command line utility:
    on run
      do shell script "defaults write .GlobalPreferences com.apple.keyboard.fnState 1"
      tell application "FL Studio" to activate
    end run
    Resetting the preference is a little trickier since you need to detect when FL Studio has quit. You can do this with an idle() handler in your script that hangs around, periodically checking if the app is still running and then taking action:
    on idle
      tell application "System Events"
      if (name of every application process) contains "FL Studio" then
      -- app is still running, so come back and check later:
      return 10
      else
      do shell script "defaults write .GlobalPreferences com.apple.keyboard.fnState 0"
      tell me to quit
      end if
      end tell
    end idle
    Putting these together in a Stay Open script should do much of what you want.

  • Use Automator to Change System Preferences?

    Hi. I want to create a workflow or applescript that will open my system's sound preferences and change the output source. The Applescript editor doesn't record any of my actions.

    Modify the setting from System Preferences, and then look for plist files in ~/Library/Preferences/ and /Library/Preferences/ modified around that time. When you've located a possible plist, open the Terminal application in the /Applications/Utilities/ folder and enter 'defaults read ' without the quote marks. Drag the plist into the Terminal and press Enter; you will then see a list of keys. If a key looks like it contains what you're looking for, remember its value, change the setting again from System Preferences, and check the key again. Once you've found the key, you can use a 'defaults write' action in Automator's shell script option to change the value. If you can't write the key successfully, post back here with the name of the key and where you found it for further assistance.
    (12421)

  • Using Automator to change a font in word documents

    Hi,
    I have hundereds of word documents that are all in a horrible font. I would like to change the font to a more suitable one. Rather than opening every single document - can automator do this? Or is there an alternative solution? Thanks in advance

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

  • Using AUtomator to change OSs

    Hello,
      I use both Snow Leopard and Lion, frequently having to change the hard drive OS because of programs running in Rosetta. Is it possible to automate the action instead of doing System Preferences->Starup Disk-> Choose OS -> Restart?
    Thank you

    I use this AppleScript saved as an application to automate most of it:
    if application "System Preferences" is running then quit application "System Preferences"
    delay 1
    tell application "System Preferences" to activate
    tell application "System Preferences" to set the current pane to pane id "com.apple.preference.startupdisk"

  • Changed name by automator now no pictures in iphoto?

    hi everybody,
    i changed the picture name by automator and i think the link between the pics and iphoto is no more there?
    what shall i do
    thanks

    tda:
    Welcome to the Apple Discussions. If you used Automator to change the file name of your iPhoto photos then you've committed the cardinal sin of iPhoto: Don't tamper with files in the iPhoto Library folder from the Finder.
    There's nothing you can do but start over unless you have a backup copy of the iPhoto LIbrary folder. To start over move your current library to the desktop and then move it's Originals folder also to the desktop.
    Now launch iPhoto and create a new library when it asks you what to do. Then drag the Originals folder from the desktop into the open iPhoto window. This will import you photos into iPhoto and they will be in the same rolls as they were in your first library. The dates on the rolls may be different on some, however.
    Do you Twango?

  • How to resize and change the resolution of a batch of photos using Automator

    I searched for a long time tonight looking for the answer to this (seemingly) simple question:
    How do I use Automator to scale and change the resolution of a batch of images?
    It was not so simple.
    Links to this question:
    https://discussions.apple.com/message/12341246#12341246
    https://discussions.apple.com/message/12342026#12342026
    https://discussions.apple.com/message/5785047#5785047
    https://discussions.apple.com/message/1173358#1173358
    https://discussions.apple.com/message/5641853#5641853
    https://discussions.apple.com/message/3207516#3207516
    These are just the links on this site - I found them all over the place at MacRumors, Apple Tips, Mac Help, etc.
    You can actually manage this in Automator.
    Here are the steps that worked for me:
    Create an Automator APPLICATION - not a workflow (this is due to the way that I'm batch converting images - workflows might be ok for some cases)
    Step 1 is Copy Finder Items
    My flow inserts an SD card, opens the DCIM folder that my Nikon creates, selecting the images that I click (command + click to multi-select) and once I have the photos highlighted, I drag them onto this Automator App we're creating.
    <==  You'll have this guy soon!
    As a result - I want to copy the originals to my computer as step 1.  I don't touch the originals on the SD card (and cards are cheap so I tend to leave them on the cards as well)
    Step 2 is the Scale Images action - you can search the library for this and find it quickly.  For my part, I found that scaling images to about 38.8 percent of their size on the SD card is good for uploading to a blog.  Change this value to whatever you wish.
    Step 3 is Run Shell Script - and here is where we marry the brilliance found at this link with our script.If you have a hard time reading the text in the image, it is as follows:
    #bin/bash
    for f in "$@"
    do
         /usr/bin/sips -s dpiHeight 72.0 -s dpiWidth 72.0 $f
    done
    Save this application (I named mine "Format Photos")
    Place the application inside the target folder where you want the images to end up.  I do this because when I have the SD card window open, I can also open my "Photos" window and see my App sitting there.  I select my images as I mentioned and drag them on top of this app.  The app copies the originals and the conversions into the folder.
    NOTES: When you open a converted pic in Preview, you will see Resolution = 300 dpi if you go to Tools --> Adjust Size...  This reading is explained by another brilliant discussion as sips only touches the JFIF properties inside the file's MetaData.  However, if you look at the bottom of the Adjust Size... window, you'll see the image size is probably around 500 kb (give or take depending on the original).  My goal was to get the images down from the 3.0 MB I shoot at to around 500 kb.  Therefore even though the MetaData still thinks that it is 300 DPI according to Preview, it has been changed to 72 (open it in some other applications mentioned at the links and you'll find different readings - it all depends on what the application reads from the Meta).
    This does not rename the files, so you'll get DSC_1000.jpg and DSC_1000 copy.jpg in all likelihood.  If that annoys you, add a step into the Automator Application that renames the file after the "Run Shell Script" action has run, and you can have each file renamed according to some convention that you like.
    This took a heck of a lot longer than I expected - so I decided to put in the effort to share this with the community and save others the hassle. 

    PPI is pixels per inch of the image.  It is difficult to increase resolution as you are trying to add data that is not there.
    But for printing purposes what you want is dpi or dots per inch.
    The image processor either accessed from Bridge (tools/photoshp) or PS is a good way to change a batch of images.

  • How can I use automator to open terminal change directory run a python script?

    Hi all,
    I dont really ever use automator - which may be my big problem - and I am trying to make an apllication that seems fairly simple in theroy. I want something that will lunch terminal, cd to the place where my python script lives and then run it. I have tried a number of suggested ways and can get the terminal to open and the directory to change but cant figure out how to run the script. This is my workflow if i did it manually each time
    - open terminal
    - type cd "the place where my file lives"
    - type python uploadr.py -d
    I can get terminal to open then cd to the right place but cant get the "python uploadr.py -d" to run without an error.
    any help would be very appricated
    thanks!!!
    J

    this is the script I got closest with - I know its something to do with breaking those two commands up but i just dont know how to do it
    on run {input, parameters}
              tell application "Terminal"
      activate
                        if (the (count of the window) = 0) or ¬
                                  (the busy of window 1 = true) then
                                  tell application "System Events"
      keystroke "n" using command down
                                  end tell
                        end if
                        do script "cd /Users/behole/Desktop/FlickrUpload/" & "python uploadr.py -d" in window 1
              end tell
              return input
    end run
    this is the error I get in terminal after I run it
    Last login: Mon Jul 23 15:37:17 on ttys000
    be-holes-MacBook-Pro:~ behole$ cd /Users/behole/Desktop/FlickrUpload/python uploadr.py -d
    -bash: cd: /Users/behole/Desktop/FlickrUpload/python: No such file or directory
    be-holes-MacBook-Pro:~ behole$

Maybe you are looking for