• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Batch Processing Image files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Batch Processing Image files


  • Subject: Re: Batch Processing Image files
  • From: Ed Stockly <email@hidden>
  • Date: Sun, 21 Sep 2008 18:31:54 -0700

Yes, yes, yes, if there were ever a project well suited for applescript, this would be it.

If possible to trigger a script as a folder action, activated when a number of files are added to

Yes. You can attach a script that run whenever files are added to a folder.


Modify the filename of all files in the batch by adding a string (user response to a dialogue, representing the entrant reference number) at a fixed number of characters from the start of the filename.

Yes. Essentially the script would use the display dialog command, prompting users for whatever response. You have the option of having the user click one of three buttons, enter text in a field or choose options from a pre-defined list, or any combination of the above. (For example, if the user doesn't see his choice on the list he can enter text in a dialog and that text can appear in the list next time).


Modify some of the metadata fields of all files in the batch (author and country) as a result of user response to a dialogue.

Sure, the script could then open each file in Graphic Converter or Photoshop and modify the metadata. There are other tools for doing that, but those are the simplest in implement.


Move the files (individually) to a series of designated folder (based on characters 1 and 2 of the filename, i.e. if filename starts with D1 then the file is moved to a folder of that name).

Yes, the script could easily handle this, whether the designated folders are on the same volume, a local volume or a networked volume.


If it is possible to be really sophisticated, then the ability to modify an additional metadata field, based on a result of user response to a dialogue, on an individual file basis, when the filename starts with a given character (i.e. D) would also be very useful. This would be a step between 2 & 3.

Sure. If I were doing this I'd have the script process those files in need of this extra step first.


This kind of workflow would probably be good for an intermediate scripter or a very confidant beginner.

This list is a good source for tips and advice.

HTH,

ES
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
References: 
 >Batch Processing Image files (From: Nigel <email@hidden>)

  • Prev by Date: Is it possible to script - Preferences, keyboard shortcuts?
  • Next by Date: Re: Is it possible to script - Preferences, keyboard shortcuts?
  • Previous by thread: Batch Processing Image files
  • Next by thread: Re: Batch Processing Image files
  • Index(es):
    • Date
    • Thread