From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 100159,a6651c54e2ca158b X-Google-Attributes: gid100159,public X-Google-Thread: f53ba,a6651c54e2ca158b X-Google-Attributes: gidf53ba,public X-Google-Thread: 10e148,a6651c54e2ca158b X-Google-Attributes: gid10e148,public X-Google-Thread: 1164f8,a6651c54e2ca158b X-Google-Attributes: gid1164f8,public From: Joel Peterson Subject: Re: UNIX, UNIX everywhere... Date: 1998/10/08 Message-ID: <361C2248.8118E2E5@odin-consulting.com>#1/1 X-Deja-AN: 398852477 Content-Transfer-Encoding: 7bit References: <6tjgqf$kne@journal.concentric.net> <1dflxih.1lumqqc1vbnn5sN@pec-95.au4.m.uunet.de> <6u48gr$i1i$1@vixen.cso.uiuc.edu> <3611E778.6A59F47A@Concentric.net> <6uv980$1io$1@news.clinet.fi> <36137245.3F54@s054.aone.net.au> <6v2n4o$jst$1@news.clinet.fi> <1dgjk28.9kuhbu17eiovkN@pec-106.au2.m.uunet.de> Content-Type: text/plain; charset=us-ascii Organization: Odin Properties MIME-Version: 1.0 NNTP-Posting-Date: Wed, 07 Oct 1998 19:20:24 PDT Newsgroups: comp.sys.sgi.misc,comp.sys.mac.misc,comp.sys.ibm.pc.misc,comp.sys.dec Wolfgang Keller wrote: > > Kristoffer Lawson wrote: > > > I'm actually aware of that scripting capability. Still it doesn't feel the > > same as a CLI-based script language. In fact, I'd claim that GUI-based > > scripting is a bit of a kludge > > I don't know what you mean with 'GUI-based scripting', but PSA has > _nothing_ at all to do with simulating keystrokes and the like. > > Through its OSA interface, an application exposes its internal object > model. And the scripting abilities of OSA go _far_ beyond what you can > do with batch-converters in a standard CLI (trivial stuff like somecmnd > < input.txt > output.txt). > I think you underestimate the true power of UNIX shell - it goes far beyond trivial stuff involving redirection from/to input and output files. I know from experience that 'GUI-based scripting' can often be a kludge. However, it doesn't have to be that way. I know from experience long, long ago that Amiga had a rather elegant interface between GUI applications and its REXX scripting language. I don't often get the pleasure of using a Macintosh, so I'm personally unfamiliar with its scripting capabilities, but from browsing http://applescript.apple.com it appears similar in concept. Applescript is a real language, with variables, conditionals and loops. It can communicate with other applications through a defined interface. Each application is responsible for defining operations that it supports. Sounds to me exactly like the way GUI-based scripting is supposed to work. -- Index of Alternative Operating Systems http://www.indexos.com Joel Peterson joel@odin-consulting.com Odin Consulting, Inc. http://www.odin-consulting.com