• 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: on neophytes vs perfectionists (was Re: Tell Blocks Considered Harmful)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: on neophytes vs perfectionists (was Re: Tell Blocks Considered Harmful)


  • Subject: Re: on neophytes vs perfectionists (was Re: Tell Blocks Considered Harmful)
  • From: David Rouse <email@hidden>
  • Date: Thu, 18 Dec 2008 11:12:22 -0500

Paul Scott wrote:

4) Applescript can't run by itself the way a shell script can. It has to connect to a window server, so it can't run well out of crontab or launchd without the user being "logged in".

5) It's not suited for generalized scripting. Any use beyond controlling an active GUI application is severely limited.

Just from my point of view, that is exactly what AppleScript is all about. At the newspaper I work for we use AppleScript quite frequently to automate repetitive tasks in Quark's QuarkXPress (a GUI page layout application), tasks that standard Perl, Bash, etc. wouldn't be helpful with.


I know, layout the paper in LaTeX or troff or something, thanks ... and in today's economy perhaps we should look that over. :-)

So, when we want to mangle a file we use Perl, command line stuff is automated with shell scripting, when we want to provide a web service we use PHP, and if we don't care about IO at all and just want idealized code we use Haskell (joke!). But when we want to automate GUI applications, so far AppleScript has been the way to go.

Again, just a point of view. Heck, I've gone and created a GUI app using XCode and AppleScript, so I've been pushing the limits as well, and can understand being fustrated.

But I'd like AppleScript to stay close to its GUI application scripting roots and for Apple to have more scripting in their own applications (a point I'm sure has been raised about a million times).

Cheers,
_______________________________________________
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: on neophytes vs perfectionists (was Re: Tell Blocks Considered Harmful)
      • From: Chris Page <email@hidden>
    • Re: on neophytes vs perfectionists (was Re: Tell Blocks Considered Harmful)
      • From: Paul Scott <email@hidden>
References: 
 >Re: on neophytes vs perfectionists (was Re: Tell Blocks Considered Harmful) (From: has <email@hidden>)
 >Re: on neophytes vs perfectionists (was Re: Tell Blocks Considered Harmful) (From: Chris Page <email@hidden>)
 >Re: on neophytes vs perfectionists (was Re: Tell Blocks Considered Harmful) (From: Paul Scott <email@hidden>)

  • Prev by Date: OT Re: ersatz list-mom moment (was Re: Tell Blocks Considered Harmful)
  • Next by Date: Re: on neophytes vs perfectionists (was Re: Tell Blocks Considered Harmful)
  • Previous by thread: Re: on neophytes vs perfectionists (was Re: Tell Blocks Considered Harmful)
  • Next by thread: Re: on neophytes vs perfectionists (was Re: Tell Blocks Considered Harmful)
  • Index(es):
    • Date
    • Thread