Forums | MacLife
You are not logged in.
#26 2005-04-14 8:42 am
- Gary Patterson
- Registered: 2000-09-19
- Posts: 4732
Re: tiger automator - applescript for idiots
I read a few case studies by printing houses using AppleScript to manage workflow. That was a few years ago (back in the System 9 days), but they were linking all sorts of things together, very intelligently.
Offline
#27 2005-04-14 8:46 am
- Marc
- On the run from the MPAA

- Registered: 2003-05-10
- Posts: 13129
Re: tiger automator - applescript for idiots
Yes it is written in a very simplistic not so obvious mannor. when you look at java code you need a book to understand what the code's keywords do, not so in applescript and that's what makes if funky really. ironic really...
You know the hole, the one you put the pie in?
My mean my pie-hole?
Yeah, shut it.
Offline
#28 2005-04-14 8:56 am
- mahakali
- anti-razor

- From: easter egg
- Registered: 2002-11-06
- Posts: 5584
Re: tiger automator - applescript for idiots
assassin_bill wrote:
Um....... I hear it's some language w/ completely illogical syntax that's supposed to make it easier, but only succeeds in complicating it. I also hear that FScript p4wns it bad... AppleScript was never taken as a serious language by anyone worth their salt, so I'm happy that apple's making it available to the masses.
AS is meant for ends users, always been, afaic. I think what makes it not so popular is developers should (have to?) create their own applescript syntaxes (other than basic syntaxes provided by Apple) and AS for OS X itself isn't as mature as AS for OS 9 yet.
1. Instill fear.
2. ???????? (use your imagination)
3. Profit!
Offline
#29 2005-04-14 9:46 am
- assassin_bill
- International Bitch Maker

- From: (__
- Registered: 2003-08-06
- Posts: 1293
- Website
Re: tiger automator - applescript for idiots
mahakali wrote:
AS is meant for ends users, always been, afaic.
Remember we're talking about a user base that can only handle one button mice here. The majority of apple users I've dealt with abhor any sort of text based interface and need to be coddled by gui. The principle of a users programming language seems like an oxymoron to me...
Last edited by assassin_bill (2005-04-14 9:48 am)
Innovation will not be included in the intel switch
Offline
#30 2005-04-14 9:57 am
- C. Ives
- We're All Mad Here

- From: Wonderland
- Registered: 2001-03-05
- Posts: 2064
Re: tiger automator - applescript for idiots
assassin_bill wrote:
The majority of windows users I've dealt with abhor any sort of text based interface and need to be coddled by gui.
Wow. It's neat how that works, too!
Offline
#31 2005-04-14 11:25 am
- assassin_bill
- International Bitch Maker

- From: (__
- Registered: 2003-08-06
- Posts: 1293
- Website
Re: tiger automator - applescript for idiots
Smurfing filters are even messing up citations...

Them too.... (if not more so)
Last edited by assassin_bill (2005-04-14 11:29 am)
Innovation will not be included in the intel switch
Offline
#32 2005-04-14 12:19 pm
- tech1na
- Member

- From: Molten Core
- Registered: 2005-03-04
- Posts: 27
Re: tiger automator - applescript for idiots
its DLANTZ again.... wrote:
Is there anything like this for Windows?
![]()
![]()
![]()
Sorry, hadda ask. Youse guys might wanna rub it in the faces of any wondows users you know......
VB? 
Offline
#33 2005-04-14 12:28 pm
- Pariah
- James Carville Fan..

- From: Belly Of The Beast, Oklahoma!
- Registered: 2001-05-24
- Posts: 18394
Re: tiger automator - applescript for idiots
What was always cool about AS was the way you could simply record a series of tasks then save as a small application that you could run with one click.
One very simple use I had for this was to launch groups of applications I used together depending one what I was doing.
Working of graphics? Click on the script I made to launch Photoshop, Image ready and Graphic Converter and launch all 3 at once. Or working on my web site? opening Dreamweaver, PhotositeTimeSavior and transmit.
I have a AS application that with drag and drop strips resource forks from image files and another that automates posting binaries with my newsreader.
Prior to Photoshop using actions one used Applescript to do the same thing and while I have never done this myself I understand quark can be extensively scripted.
Apple script can be quite sophisticated or very simple depending on what you want to do with it.
"and it's not surprising that they get bitter, they cling to guns or religion or antipathy to people who aren't like them or anti-immigrant sentiment or anti-trade sentiment as a way to explain their frustrations."
Barack Obama
Offline
#34 2005-04-14 12:31 pm
Re: tiger automator - applescript for idiots
tech1na wrote:
its DLANTZ again.... wrote:
Is there anything like this for Windows?
![]()
![]()
![]()
Sorry, hadda ask. Youse guys might wanna rub it in the faces of any wondows users you know......VB?
i was going to say that... actually there are more options for automating windows than there are for osx. osx just makes it a part of the OS, while in windows it is all 3rd party.
"the bible is cooler than i thought.... most of the main characters get stoned!!!"
"let's get back to the good ol' days when the "opiate of the masses" was still actually opium." -me
"kids don't beat me. i beat kids." -HJS
the above post is proudly antihammer
Offline
#35 2005-04-14 9:22 pm
Re: tiger automator - applescript for idiots
I used to do so much insanely great stuff with Applescript in Mac OS 7 through 9. Fortunately Mac OS X just does all the stuff I did with it anyways, so I don't miss it anymore.
hello
Offline
#36 2005-04-14 10:11 pm
- smeghead
- Intel Core Duo inside

- From: ZZ9 Plural Z Alpha
- Registered: 2004-07-24
- Posts: 587
Re: tiger automator - applescript for idiots
is assassin_bill drunk or was he just born that way? Or maybe he's 9 years old?
"Will you marry me, Le Chan?" "You bet I will!"
iMac Core Duo, 1.83 GHz AKA Pegasus
PowerBook 12'' 1.5 GHz... no nickname yet.
Offline
#38 2005-04-15 2:28 am
- Moses
- Life is like a box of Cactuar

- From: The O.C.
- Registered: 2004-12-08
- Posts: 3094
Re: tiger automator - applescript for idiots
This is all very confusing.
,xtG
.tsooJ
Offline
#39 2005-04-15 4:26 am
- assassin_bill
- International Bitch Maker

- From: (__
- Registered: 2003-08-06
- Posts: 1293
- Website
Re: tiger automator - applescript for idiots
I'm sorry for having an opinion.
*assassin visualizes a hammer and tries to become the tool...
Innovation will not be included in the intel switch
Offline
#40 2005-04-15 4:54 am
Re: tiger automator - applescript for idiots
assassin_bill wrote:
I'm sorry for having an opinion.
*assassin visualizes a hammer and tries to become the tool...
Having an opinion is not the problem, it's the manner in which you express it. And you damn well know it.
You can't be an assassin without first being an ass!
Offline
#41 2005-04-15 5:26 am
- assassin_bill
- International Bitch Maker

- From: (__
- Registered: 2003-08-06
- Posts: 1293
- Website
Re: tiger automator - applescript for idiots
Since I'm obviously not wanted, could you delete my user account on the way out? I don't like having information in unused databases...
Innovation will not be included in the intel switch
Offline
#42 2005-04-15 11:23 am
- WindowsBreakerG4
- Banned

- From: Jo mamas smurfn smurfity smurf
- Registered: 2004-01-10
- Posts: 136
- Website
Re: tiger automator - applescript for idiots
I stand behind assassin here. You can ditch my account too
Halbie's Law:
As an online discussion involving underage girls grows longer, the probability of invoking Fido's name approaches one.
Offline
#43 2005-04-15 11:41 am
- Twisted Guy
- President of the Galactic Confederacy

- Registered: 1999-03-28
- Posts: 15984
- Website
Re: tiger automator - applescript for idiots
AppleScript is cool, but a bit unwieldy, despite the power it contains. Automator is going to be a great addition, and I hope some of Apple's included Automator tasks inspire me to figure out creative ways to use it. Maybe I can use it to make posts here, since posting here is the most repetitive, tedious thing I use my computer for.
Offline
#44 2005-04-15 12:10 pm
- C. Ives
- We're All Mad Here

- From: Wonderland
- Registered: 2001-03-05
- Posts: 2064
Re: tiger automator - applescript for idiots
assassin_bill wrote:
tries to become the tool...
You're succeeding.
Offline
#45 2005-04-15 12:13 pm
- Twisted Guy
- President of the Galactic Confederacy

- Registered: 1999-03-28
- Posts: 15984
- Website
Offline
#46 2005-04-15 5:25 pm
- ViralDoctor
- Member
- From: Calgary
- Registered: 2003-01-18
- Posts: 2213
- Website
Re: tiger automator - applescript for idiots
I've found AS to be useful for some tasks. For example, Entourage X doesn't have a way to export every message in a mailbox to individual text files. If I wanted to do that, I'd have to go through them one by one. I can do it in a couple seconds with a script.
It's good for inter-application communication too. I suppose a downside is that it doesn't really run in the background, so you can't do other things when a script is running. Apple made Applescript Studio, which gave you more options for adding a GUI and some other coding stuff. That's what I used to jump to Cocoa programming.
Offline
#47 2005-04-15 8:23 pm
- Gary Patterson
- Registered: 2000-09-19
- Posts: 4732
Re: tiger automator - applescript for idiots
I saw a very interesting post from an Apple developer on Slashdot about Automator. Looks like it's more than an AppleScript UI...
As Seen on TV, in Slashdot wrote:
Automator is really just a nice UI for AppleScript
No, it's not. I'm not sure where this rumor got started. Maybe somebody misunderstood it during the demo.
Automator is the modern equivalent of the venerable UNIX command line. You know what makes the command line cool? Pipelines and loops. You can route the output from one command-line tool to the input of another and create pipelines, and you can loop those pipelines over input. You can type, for example,
for i in *.jpg;
do sips "$i" --resampleHeightWidthMax 300 --setProperty format tiff
done
(The sips command is the Mac's command-line image processing utility. Other platforms have their equivalents.)
What Automator does it it lets you create the equivalent of UNIX command lines without having to learn a command-line language and without being locked into just what the command-line gives you. In place of UNIX tools like "find" and "sips," you use Automator actions. Instead of building command lines, you build workflows.
For instance, to implement the same basic operation as an Automator workflow, I'd start by dragging the "Get Selected Finder Items" action to the workflow pane, then follow it with a "Scale Images" action, then a "Change Type of Images" action.
Then I can save my workflow as a Finder plug-in, which means it's available from the Action menu in any Finder window. I can select any file (or group of files), choose the workflow from the Automator sub-menu of the Action menu, and off we go.
That's a ridiculously simple example, sure, but in a work environment it can be amazingly useful. For example, say your job is to post news stories and accompanying photographs on the Web. Each photograph has to be scaled and converted from CMYK to RGB, applying the correct ColorSync profile in the process and embedding IPTC copyright metadata. You could do that today with a program like Photoshop using scripting, or you can do it with Automator in much less time and with a much higher degree of desktop integration. Just click an image and run the "Make ready for Web" workflow. Easy.
Automator actions can be either compiled AppleScripts or Objective-C code fragments (strongly recommended). Into any workflow you can insert a "Run AppleScript" action if you absolutely have to call AppleScript; you can even insert a "Run Shell Script" action if you absolutely have to call a shell script. But the actions themselves are little tiny code fragments written in Objective-C that implement runWithInput:fromAction:error.
Think of a UNIX command-line tool that accepts standard input and sends standard output and standard error and you'll have the idea. An Automator action is basically a command-line tool without the nasty command-line interface.
Will most people use Automator? Frankly, probably not. But most people don't create command-line pipelines and scripts either, even the ones who know how. But for those who want to, Automator is there.
Frankly, I never thought I would like it. It just didn't interest me. But then one day I had to do a tedious repetitive task, and ever since I've been a big-time Automator junkie.
Last edited by Gary Patterson (2005-04-15 8:24 pm)
Offline
#48 2005-04-15 8:50 pm
Re: tiger automator - applescript for idiots
Funkey Monkey wrote:
I would definitely consider myself a power user.
Since OS X came around, I've never gotten Applescript to work effectively. The program's Record feature doesn't work for beans. The documentation sucks donkey balls, and I don't have the time/inclination to find a book to explain it all to me.
Back when I did stuff in AppleScript on OS X - I found the Apple newsgroup to be an excellent resource for doing stuff, a better resource than I had found for any other scripting language, with possible exception of php
Apple has (or at least had) info on the newsgroup in their developer section of the website.
If you google for "applescript newsgroup" you will likely find it.
Using the IDE provided with the developer tools (AppleScript Studio) is highly recommended.
In her right hand Jenny held the Bible of her mother
Jenny had a pistol in the other
-- Steve Taylor
Online




