• 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
Jhead in Applescript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Jhead in Applescript?


  • Subject: Jhead in Applescript?
  • From: Josh Reiss <email@hidden>
  • Date: Wed, 21 Oct 2015 02:08:23 -0700

Hi.. total newbie to Applescript and Automator here.

I'm trying to call jhead from within a folder action. I'm supposed to do that with Applescript, right?

basically I want to
-move all files from a folder
-call jhead command to fix rotations on all files in a folder
jhead -autorot *.jpg

-and then continue on with the next action in the automator script


so would someone be kind enough to explain to this newbie how to put this command line call in the middle of my automator script and to make sure that it runs before automator goes on to the next thing?

Or even better... is there a way if a few images show up at once, am I able to use Applescript to have automator actually run the jhead command on the filename?
like
jhead -autorot <filename passed in from automator>
my automator script starts with "Filter Finder Items" to get all the items in the folder.

Any advice is greatly appreciated. I have experience programming, but little experience in applescript or automator.

thanks!
-Josh
 _______________________________________________
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

  • Follow-Ups:
    • Re: Jhead in Applescript?
      • From: "S. J. Cunningham" <email@hidden>
  • Prev by Date: Re: Calendar scripting
  • Next by Date: Re: Jhead in Applescript?
  • Previous by thread: Re: Logging to the Console
  • Next by thread: Re: Jhead in Applescript?
  • Index(es):
    • Date
    • Thread