• 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: convert AS syntax to CLI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: convert AS syntax to CLI


  • Subject: Re: convert AS syntax to CLI
  • From: Matt Neuburg <email@hidden>
  • Date: Fri, 16 Sep 2005 08:38:04 -0700

On Thu, 15 Sep 2005 16:40:14 -0400, Jeramey Valley <email@hidden>
said:
>I'm finding that I need to get many of the functions I've used
>AppleScript for to now work in a shell script. A lot of the tools and
>the way I need to run them have to run in a shell script as I can't
>call an application for the functions. Mainly it's during login/out
>that this needs to do.
>Question is: Does anyone have resources to recommend that would help
>in "converting" the syntax from an AS to a shell script?
>Things like comparing the contents of two folders and taking action
>on the non-matching files in one of those folders. Pretty simple in
>AS. I don't know how to do this in Terminal or a shell script. I'd
>rather not do perl or some actual language.

Shell scripting *is* an actual language. If you're going to use it, learn
it. m.

PS Perl makes this sort of thing easier, not harder.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: How to deal with Asynchronous Finder operations
  • Next by Date: Re: Using selective color command/ any decent Photoshop Applecripts guidebooks out there?
  • Previous by thread: Re: convert AS syntax to CLI
  • Next by thread: AppleScript, Login hook or login item
  • Index(es):
    • Date
    • Thread