home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / Information / Applescript.faq next >
Encoding:
Text File  |  1994-03-30  |  30.5 KB  |  753 lines  |  [TEXT/R*ch]

  1. --------------------------------------------------------------------
  2.  
  3.       FREQUENTLY ASKED QUESTIONS ABOUT APPLESCRIPT
  4.  
  5.             Welcome to the AppleScript FAQ!
  6.                      Version .3.5
  7.                Wednesday, March 17, 1994
  8.  
  9. I started the AppleScript mailing list during April 1993. At the
  10. time, several of us on the Internet were playing with an as-yet-
  11. unreleased version of AppleScript and wanted to swap discoveries,
  12. ideas, and anomalies. Tim Keanani suggested a mailing list
  13. in the comp.sys.mac.programming list, and I volunteered to set
  14. it up and manage it since I was already managing several
  15. lists. Several people have recently expressed an interest in a
  16. collection of the questions that have appeared on the mailing 
  17. list, so I decided to put together an FAQ to make up for my
  18. lack of archiving messages on the list.
  19.  
  20. The purpose is to give some general background information 
  21. about AppleScript, to answer those frequently asked questions
  22. about AppleScript, scriptable applications, and other OSA 
  23. components, to point out hard-to-find features, and to report 
  24. bugs in the program.
  25.  
  26. If you submitted material and it does't appear here, it's
  27. probably because I just haven't had time to incorporate it
  28. yet. You can always send me email to make sure that I got your
  29. submission or just prod me.
  30.  
  31.  
  32. FAQ Philosophy
  33.  
  34. Though Apple events are in integral part of interapplication 
  35. communication under System 7, they aren't documented for the
  36. average Mac user and aren't very easy to understand. AppleScript
  37. provides a more English-like interface, but extensive documentation
  38. for it and other scriptable applications has been hard to
  39. obtain. APDA has been selling the AppleScript Developer's Kit
  40. which includes the AppleScript Language Guide, but its $199
  41. price tag has placed it beyond the reach of all but the most
  42. die-hard hobbyists. The AppleScript Runtime package was cheaper
  43. at $20.00, but it only came with the Language stack. AppleScript
  44. is now being provided with System 7 Pro, but it is currently 
  45. version 1.0.
  46.  
  47. I hope this FAQ will at least take care of some of the basic 
  48. inquiries. 
  49.  
  50. This FAQ isn't a replacement for Apple's Scripting Language
  51. Guide or the third party books available. As a matter of fact,
  52. if you don't own System 7 Pro, the best strategy is to purchase 
  53. one of the books available because the AppleScript Runtime 
  54. package is bundled with them. Derrick Schneider's
  55. Tao of AppleScript was the first book available and is a good 
  56. beginner's introduction to the language. Danny Goodman's
  57. The Complete AppleScript Handbook is also a good introduction
  58. to the language. Its advantage over Schneider's book is that 
  59. it is a more structured approach.
  60.  
  61. Answers assume version 1.1 unless otherwise indicated.
  62.  
  63. New additions to the FAQ are flagged with "NEW."
  64.  
  65. My own comments are in brackets ([]).
  66.  
  67. Script commands and internet addresses in text appear between
  68. <>.
  69.  
  70.  
  71. What's New in This Version
  72. ---------------------------------------------------------------
  73. 3/17/94
  74. Removed some sensitive information.
  75.  
  76. 3/5/94
  77. Added phone numbers for Main Event and Prefab Software.
  78. Made changes to the Version History section.
  79. Revised mailing list information.
  80. Added some programs and corrected some errors in the Scriptable 
  81.     Apps section.
  82. Added a FileMaker problem in the Bugs and Errors section.
  83. Several typos, spelling, and mechanical problems fixed.
  84.  
  85.  
  86. Your $.02?
  87. ---------------------------------------------------------------
  88. If you have suggestions, ideas, typo lists, whatever,
  89. for this FAQ, please let me know.  What else should it include?
  90.  
  91. I can be reached via the internet at:
  92.  
  93.            pfterry@lks.csi.com
  94.  
  95. Snailmail: Fred Terry
  96.            313 Edinburgh Road
  97.            Lawrence, KS  66049-1641
  98.            
  99.  
  100. I do read the various comp.sys.mac newsgroups, but you should 
  101. always email me if you want to be sure and reach me. When I'm
  102. under deadlines, I don't read the newsgroups at all frequently.
  103.  
  104. This FAQ will always be available on gaea.kgs.ukans.edu. If 
  105. interest warrants, I'll send it to the sumex and umich archives.
  106.  
  107.  
  108. Acknowledgments:
  109. ---------------------------------------------------------------
  110. Tim Keanini <Tim_Keanini@broder.com> Tim originally encouraged 
  111. me to start the AppleScript mailing list and answered some of 
  112. the early questions.
  113.  
  114. Jon Pugh <jonpugh@netcom.com> Jon is the original Apple event 
  115. registrar and all-around helpful guy. He is just released 
  116. on an MPW tool that compiles and runs AppleScript scripts along
  117. with a new version of his Jon's Commands osax).
  118.  
  119. John W. Baxter <jwbaxter@pt.olympus.net> John lives in a wet 
  120. country and is another helpful guy. John answers lots of 
  121. questions on the mailing list and in NEWS.
  122.  
  123. Leonard Rosenthal <leonardr@netcom.com> Leonard is the director
  124. of advanced technology at Aladdin Software, and the one responsible 
  125. for making StuffIt Deluxe/Lite scriptable. He also helped Dave
  126. Newman add scripting to Microphone II.  
  127.  
  128. Peter Fleck <fleck@ast1.spa.umn.edu> manages the HyperCard FAQ. I 
  129. borrowed his format for this FAQ because it was one of the cleanest 
  130. and easiest to read I'd ever seen. Thanks, Peter.
  131.  
  132. Other acknowledgements are included with topics.
  133.  
  134.  
  135. Who I am
  136. ---------------------------------------------------------------
  137. I am a freelance writer and consultant. I became interested in 
  138. Apple events while revising the QuicKeys 2.0 manual for CE Software.
  139. That was the first version of the program to support Apple events,
  140. and it was fun to send events to HyperCard. I wrote a book about
  141. QuicKeys a year later (The Automatic Mac, Brady Books), and I 
  142. scattered Apple event examples throughout the book as well as 
  143. devoting a chapter to them.
  144.  
  145.  
  146. ==============================================================
  147. ------------------- TABLE OF CONTENTS ----------------------
  148. BASICS
  149.     What is AppleScript?
  150.     How do I learn AppleScript?
  151.     Version history.
  152.  
  153. GENERAL
  154.     Where can I get my AppleScript questions answered?
  155.     Is AppleScript available on Windows?
  156.     Are there other scripting systems besides AppleScript?
  157.     AppleScript vs. UserTalk. 
  158.     Is there another script editor besides Apple's.
  159.  
  160. SELECTED SCRIPTING INFO
  161.     Reasons why a script doesn't work
  162.     How can I stop a script from running?
  163.     How can I learn to write scripts?
  164.     Do I need to save each script before I can try it? If I
  165.       try to use it after I change it, the older version is used.
  166.     Some of my command lines are too long and difficult to
  167.       read on my screen.
  168.  
  169. SCRIPTING ADDITIONS
  170.     What are sripting aditions?
  171.     What is the plural of osax
  172.  
  173. BUGS AND PROBLEMS
  174.  
  175. APPLESCRIPT PRODUCTS AND RELATED APPLICATIONS
  176.  
  177. SCRIPTABLE APPLICATIONS
  178.  
  179. BOOKS AND OTHER SOURCES OF INFO
  180.     What's a good AppleScript book?
  181.     What other information is available about AppleScript, Apple 
  182.       events, the Object Model, and Open Scripting Architecture?
  183.  
  184. FTP INFO - WHERE TO FIND THE FILES
  185.  
  186. WHAT ELSE
  187.  
  188.  
  189. =============================================================
  190. ->BASICS
  191.    
  192.    
  193. What is AppleScript?
  194. -------------------------------------------------------------
  195. AppleScript is a scripting language for the Macintosh. It is an 
  196. English-like language that has been compared to batch files on 
  197. PCs, but it is more like UNIX shell scripts in its power and 
  198. flexibility.
  199.  
  200.  
  201. How do I learn AppleScript?
  202. -------------------------------------------------------------
  203. Probably the best approach to learning AppleScript is to buy one
  204. of the available AppleScript books or the Scripting Kit and work
  205. through the scripts in the book. Constantly fooling around with 
  206. AppleScript also helps. Because Apple event and object model
  207. support in third party applications is currently rather spotty, 
  208. you will quickly discover that what works in one program may not 
  209. work in another. Experience is the best teacher in these cases.
  210.  
  211. Another anvenue for learning how to script is to study the scripts
  212. that others have written. Look at the example scripts that 
  213. are supplied with the Scripting Kit. You can also watch the 
  214. progress of Apple events in the Log window (AppleScript 1.1) to
  215. learn more about how scripts work.
  216.  
  217. If you are working with an application that is recordable, you 
  218. can record actions in the application and then study the scripts
  219. that it produces. Since the application is "writing" the script,
  220. you will get a better idea of the commands that it understands
  221. and the how they should be scripted.
  222.  
  223.  
  224. Version history.
  225. -------------------------------------------------------------
  226. 1.1 Developer's Toolkit and Scripting Kit versions both released 
  227. 1/94. This version incorporated the Apple Event Manager 1.03 extension, 
  228. which was previously separated, into the AppleScript extension. 
  229.  
  230. 1.0 Runtime released 9/93. The Runtime kit contained all of the 
  231. AppleScript components, the Script Editor and Scriptable Text Editor, 
  232. but it did not contain a manual--only the Language at a Glance stack. 
  233. This version of AppleScript was included with System 7 Pro.
  234.  
  235. 1.0 Developer's Toolkit released 4/93. The Developer's Toolkit
  236. included headers, sample code, and sample applications and scripting
  237. additions. It included the Scripting Language Guide and a CD and floppy.
  238.  
  239.  
  240.  
  241. =============================================================
  242. ->GENERAL
  243.   
  244.  
  245. Where can I get my AppleScript questions answered?
  246. -------------------------------------------------------------
  247. Since Apple has included AppleScript, the Script Editor, and 
  248. the Scriptable Text Edtior with System 7 Pro, a number of users
  249. are becoming interested in scripting their Macs. I have seen 
  250. AppleScript questions posed and answerd in comp.sys.mac.programming, 
  251. comp.sys.mac.hypercard, and comp.sys.mac.system on NEWS. Rumor has
  252. it that a comp.sys.mac.applescript or scripting newsgroup should 
  253. appear soon.
  254.  
  255. I started an AppleScript mailing list in mid April of 1993. You
  256. can subscribe to it by sending the message
  257.  
  258. SUB MACSCRPT Joe Scripter
  259.  
  260. to listserv@dartmouth.edu. While still relatively small (about
  261. 250 subscribers), most of the AppleScript luminaries are on
  262. it--including the Apple programmers who wrote AppleScript. Questions
  263. from beginning to advanced scripting issues as well as all manner
  264. of odd and trivial matters have been answered there.
  265.  
  266. If you have an AppleLink account, you can pose questions in the 
  267. AppleScript Talk forum. Because of the audience, the questions
  268. may be a little more technical there, but I have seen simple 
  269. questions answered without flammage.
  270.  
  271. If you have an account on either AOL or CompuServe, you might want
  272. to check out the MacDeveloper forums.
  273.  
  274.  
  275. Is AppleScript available on Windows?
  276. -------------------------------------------------------------
  277. Though there hasn't been an official statement, Apple has made
  278. comments in some of their marketing brochures and at a WWDC 
  279. that a Windows version of AppleScript will be available
  280. sometime in 1994.
  281.  
  282.  
  283. Are there other scripting systems besides AppleScript?
  284. -------------------------------------------------------------
  285. Frontier was the first scripting system on the Macintosh and can
  286. be considered the most powerful. The trade-off, if you are a new
  287. programmer, is that the its scripting language (UserTalk) is more
  288. like C than HyperTalk or AppleScript. Frontier has been around 
  289. for 2 years, and Userland recently shipped version 3.0, so you can 
  290. get some idea of the head start they have over AppleScript. 
  291. UserLand maintains forums on CompuServe (go userland) and 
  292. AOL (enter the userland keyword). You can email 
  293. userland.dts@applelink.apple.com. They can also be reached via 
  294. snail mail at UserLand Software, 400 Seaport Court, Redwood City, 
  295. CA 94063 (415/369-6600, 415/369-6618--fax). Suggested retail price 
  296. (U.S.) is $249.00.
  297.  
  298. ControlTower has also been around since the early days of Apple 
  299. events. It was one of the first programs that read the aete (or 
  300. dictionary) of another program. It allowed you to construct a 
  301. script in much the same way that Scripter does. [author?
  302. address of the company?]
  303.  
  304. HyperCard is arguably the oldest scripting system for the Macintosh
  305. since it has been around since 198?. While HyperTalk is easy to 
  306. learn and program it, HyperTalk scripts are confined to HyperCard.
  307. Programmers have made a valiant effort to extend HyperTalk by
  308. writing XFCNs and XCMDs, but HyperTalk has always been trapped
  309. inside of HyperCard. In some ways this makes it more like a macro
  310. language than a programming or scripting language. But I'm walking
  311. on thin ice in this comparison. The latest version of HyperCard 
  312. (2.2) is scriptable and OSA compliant.
  313.  
  314. MacPerl is a Macintosh port of the UNIX Perl programming language.
  315. Perl (practical extraction and report language) was written by 
  316. Larry Wall. Mattias Neeracher <neeri@iis.ee.ethz.ch> and Tim Endres
  317. <tickle@ice.com> have ported Perl to the Mac as a standalone 
  318. application and as an MPW tool. MacPerl is primarily worth noting 
  319. because Perl is a very good language for manipulating text 
  320. and because it can be called from AppleScript. Mattias has said 
  321. that he will convert MacPerl to a scripting component once he 
  322. completes a port of Perl 5. The latest version is always 
  323. available from nic.switch.ch (130.59.1.40) in the directory
  324. /software/mac/perl.
  325.  
  326.  
  327. TCL [an abbreviation for Tool Command Language that is pronounced 
  328. "tickle"] was created by John K. Ousterhout. In the UNIX world, it 
  329. is a simple scripting language for controlling and extending applications 
  330. (sound familiar?). In the Mac world TCL has already made an appearance 
  331. in Pete Kehler's Alpha text editor. It is also the basis for Tim Endres 
  332. application Tickle which provides a scripting environment for several 
  333. common UNIX and Mac utilities. More importantly, Tim has already ported 
  334. TCL as an OSA component. The most recent release of Tickle includes an 
  335. OSA component version of the J language. The most recent version of 
  336. Tickle can be obtained from ftp.msen.com (148.59.1.8) in the directory 
  337. /pub/vendor/ice/tickle.
  338.  
  339.  
  340. AppleScript vs. UserTalk. 
  341. ----------------------------------------------------------
  342. [under construction--I haven't finished this yet since it'll take
  343. more than 5 minutes. Can you explain the differences objectively and
  344. without religious fanaticism in less than 100 words? If so, send 
  345. it to me.]
  346.  
  347.  
  348. Is there another script editor besides Apple's?
  349. ----------------------------------------------------------
  350. While the Script Editor, a.k.a. Toy Surprise, has a few unique 
  351. features, it isn't really a development tool and it has some
  352. serious omissions. For instance, it doesn't have a Find command.
  353.  
  354. Main Event Software (202/298-9595) has shown their editor privately 
  355. at several shows, but they went public with the program at the 
  356. MacWorld 1994 Expo in SF. Scripter is a script development environment. 
  357. It has the Find command that is missing in Script Editor along with 
  358. a comment command, script builders, and a collections window to store 
  359. links to your most frequently used scripts. Scripter also has debugging 
  360. commands. It has Observe and Instant windows which let watch variables 
  361. in your script while it is running and let you quickly test those 
  362. short scripts. Scripter can pretty print your scripts the same way 
  363. the Script Editor does.
  364.  
  365. Besides these two editors, you can also use Frontier to write and record 
  366. scripts. It doesn't provide you with pretty printing, but you can use its 
  367. database to store your scripts in. Using Frontier also makes it easier to 
  368. combine AppleScript and Fronter scripts. Unfortunately, Frontier's 
  369. debugger does not work with AppleScript.
  370.  
  371. Object Master from ACIUS (408/252-4444) is a sophisticated development 
  372. environment that can replace the Think Project Manager and MPW's editor, 
  373. but it also supports AppleScript. You can run scripts from the editor, 
  374. though they are not pretty printed. 
  375.  
  376. The recently released Tickle 5.01 has interpreter windows where you can
  377. enter and run scripts. The results of the script are pasted back into 
  378. the window. See TCL just above for ftp information.
  379.  
  380.  
  381. =============================================================
  382. ->SELECTED SCRIPTING INFO
  383.   
  384. Reasons why a script doesn't work
  385. -------------------------------------------------------------
  386. [How can they fail? let me count the ways; and there must be
  387. several. If you have a general suggestion, send it to me.]
  388.  
  389.  
  390. How can I stop a script from running?
  391. -------------------------------------------------------------
  392. If you are running a script from the Script Editor, you can type 
  393. command-period to stop the script or click the Stop button. If the 
  394. script running a droplet, you can also type command-period.
  395.  
  396.  
  397. How can I script an application that isn't scriptable?
  398. -------------------------------------------------------------
  399. Several people are working on solutions to this problem. The most
  400. ready solution is to use one of the macroing programs to drive
  401. the application's interface. QuicKeys 3.0 is the most logical
  402. since it is OSA-complient (in less jargony terms, the QuicKeys
  403. Toolbox is an OSA component like AppleScript, or UserTalk). You can 
  404. encapsulate a QuicKeys script that drives an application's interface 
  405. within your AppleScript script.
  406.  
  407. PreFab Software (617/628-9555, voice and fax;CompuServe: 70214,424) 
  408. is working on an extension called PreFab Player that lets you select 
  409. menu items and click buttons and checkboxes in applications. Due to 
  410. QuicKeys size, PreFab Player would have a smaller memory footprint. At 
  411. this time, PreFab only has the Frontier version working, though the 
  412. AppleScript version shouldn't be far behind.
  413.  
  414. Naturally, the Internet contains a solution. Ross Brown is working
  415. on an extension called Menu Events, which lets you control the
  416. menus in an application that is System 7 savvy though unscriptable.
  417. And James Davis has written an AutoType osax that lets you 
  418. simulate keyboard activity from a script. AutoType sends 
  419. keystrokes to the front application. Recently, Davis and Brown 
  420. are talking about combining the functions of the two scripting
  421. additions.
  422.  
  423.  
  424. I compiled my script and some of the script changed.
  425. ------------------------------------------------------------
  426. Typically, scripts only change it they have properties that
  427. change. The script may also change if it was orginally compiled
  428. under AppleScript 1.0 and then run under 1.1. [from Jon Pugh]
  429.  
  430.  
  431. Some of my script lines are too long and difficult to
  432. read on my screen.
  433. -------------------------------------------------------------
  434. Like HyperTalk, AppleScript supports a continuation character 
  435. if you want to break a line to make it more readable in the editor 
  436. window. To insert the continuation character, type option-return. An 
  437. "L"-shaped character is inserted at the end of the line and your 
  438. cursor is moved to a new line. When the script executes, it treats 
  439. the second part of the line as though it is on the original line.
  440.  
  441. You cannot insert a continuation character within a string. The 
  442. following script breaks because AppleScript interprets the two lines
  443. as separate statements [I've substituted -| for the continuation
  444. character].
  445.  
  446. --this breaks
  447. delete word 1 of paragraph 3 of document "Fundamentals " -|
  448. & "of programming" 
  449.  
  450.  
  451. =============================================================
  452. ->SCRIPTING ADDITIONS
  453.  
  454. What are Scripting Additions?
  455. -------------------------------------------------------------
  456. Scripting Additions are code resources that add commands and 
  457. funtions to the AppleScript language. They are similar to 
  458. HyperCard's XCMDs and XFCNs. The reside in the Scripting 
  459. Additions folder inside of the Extensions folder. Once installed 
  460. in the Scripting Addtions, they behave like a command in the 
  461. AppleScript language. 
  462.  
  463.  
  464. What is the plural of osax?
  465. -------------------------------------------------------------
  466. This question was "hotly" debated on the mailing list. Jon Pugh 
  467. offered the definitive answer 
  468.  
  469. "I believe I [am] in a position to make a definitive statement 
  470. on the plurality of the name osax since I helped Donald Olson 
  471. make up the term. First off, they are all lowercase. In multiples, 
  472. we call them osaxen. In polite company, i.e. documentation, we 
  473. call them Scripting Additions.
  474.  
  475. "...[osax stands] for Open Scripting Architecture eXtensions. We 
  476. wanted to call them osex, but didn't think the Apple laywers would 
  477. let us get away with that.
  478.  
  479. "Also, osaxen are not limited to scripting.  If you have 
  480. AppleScript installed and ANY program sends an event or uses a 
  481. coercion defined in an osax, it will get called. Their use is 
  482. not limited to AppleScript. However, AppleScript must be present 
  483. for them to get loaded and used."
  484.  
  485.  
  486. =============================================================
  487. ->BUGS AND PROBLEMS
  488. [I'm collecting bug and problem reports for this section.]
  489.  
  490. In FileMaker Pro 2.0vx, there is a bug that prevents FMP from correctly
  491. sending AppleEvents to applets created with the Script Editor.
  492. Specifically, FMP confuses the pathnames to applets, and all events are
  493. sent to the most recently created applet available!  This problem was fixed
  494. in the FMP 2.1v1 update, but a similar problem exists with "applications"
  495. (frontlets <grin>) created using the Frontmost interface builder.  Claris
  496. is aware of this problem, and a fix is planned for a future update. 
  497. [Lee Hoong]
  498.  
  499. AfterDark is incompatible with the Apple Event Manager 1.0 that
  500. shipped with AppleScript 1.0. [I'm running a monitor card that is
  501. incompatible with AfterDark, so I can't confirm this.]
  502.  
  503. =============================================================
  504. ->APPLESCRIPT PRODUCTS AND RELATED APPLICATIONS
  505. The following list of AppleScript-related products includes
  506. commercial and shareware/freeware programs. I've indicated the
  507. current version number and how they support AppleScript. As more
  508. products become available, I'll add them to the list. If you 
  509. know of any that I've missed, please let me know. [This is very
  510. inadequate. I'll be expanding this to add more information about
  511. the product, the company address, phone, fax, and email, and the
  512. price of the prodcut. I'd originally intended to include osaxen
  513. in this section, but I think I'll make that list separate.]
  514.  
  515.  
  516. Main Event Software, Scripter. Still in beta. It is a development
  517. environment that replaces Script Editor. In addition to a find
  518. command, Scripter also has debugging tools and script building 
  519. aids. 
  520.  
  521. PreFab, PreFab Player. Still in beta. It allows you to script programs
  522. that aren't scriptable by selecting menu commands and buttons in 
  523. dialogs.
  524.  
  525. IT Makers, Snippets and Decoder Ring. These programs just started 
  526. shipping. Decoder Ring reads the Dictionary from a scriptable 
  527. application and creates a file that you can read with Snippets.
  528. Snippets is a Think Reference-like interface for reading and 
  529. annotating the Dictionaries.
  530.  
  531.  
  532. =============================================================
  533. ->SCRIPTABLE APPLICATIONS
  534. The following list of applications is probably incomplete, but it
  535. should give you a good starting point. I've included both commercial
  536. and shareware/freeware programs. I've also tried to indicate the 
  537. current version number of the program and its level of AppleScript
  538. support. I've Apple's Guide to Scriptable Applications" by
  539. including codes in parentheses to indicate if a program is
  540. (S)criptable, (A)ttachable, or (R)ecordable.
  541.  
  542.  
  543. ACI, Object Master (SA) Core, Text, and Finder suites.
  544.  
  545. Aldus, TouchBase Pro (S) Core and Personal Information
  546. suites; DateBook Pro (S) Core and Scheduling stuies:
  547. PageMaker 4.2 and 5.0 (S) Core suite and a "PageMaker
  548. suite" which contains do script and evaluate commands. 
  549.  
  550. Aladdin, SITcomm (SA) Core and SITcomm Telecommunications
  551. suites; StuffIt Deluxe (SR) Core and StuffIt suites: 
  552. StuffIt Lite (SR) Core and StuffIt suites; Stuffit Expander 
  553. 3.0.7 (S), Required and Expansion suites.
  554.  
  555. Apple, HyperCard 2.2 (SA) Core, Required, and HyperCard
  556. suites: MPW
  557.  
  558. Beyond, Beyond Rules (S) Core suite.
  559.  
  560. Cambridge Scientific, ChemDraw Plus 3.1 (S) Core, Required, and ChemDraw
  561. suites; Chem3D Plus 3.0 (S) Subset of Core and Misc, Required, and Chem3D
  562. suites.
  563.  
  564. Chang Labs, TableServer (S) Core, Text, Personal 
  565. Information, and Table suites.
  566.  
  567. Chena, Fair Witness 2.0 (SAR) Core, Text, Personal 
  568. Information, Scheduling, Table, and Word services suites.
  569.  
  570. Claris, FileMaker Pro 2.1 (S) Core, Database, and Table
  571. suites: MacProject (SA) Core, Scheduling, Table and 
  572. Spreadsheet suites; MacWrite Pro 1.5 (S) Core and MacWrite 
  573. Pro suites.
  574.  
  575. Deneba, Canvas 3.5 (S) Core, Required, and Canvas
  576. suites.
  577.  
  578. DeltaPoint, DeltaGraph Pro 3.0 [I haven't installed it yet,
  579. but a beta version was scriptable]
  580.  
  581. DigiTalk, Smalltalk/V 2.0 [it is supposed to be scriptable, 
  582. but I haven't played with it yet.]
  583.  
  584. Endres, Tickle 4.1 (S) Core, Required, Scriptable TE, and
  585. Tickle (evaluate selection command) suites.
  586.  
  587. Frontmost 1.0 (SA), Required and Frontmost suites. Note: all "applets" (or
  588. is that "frontlets"? <grin>) created by Frontmost are also scriptable and
  589. attachable.
  590.  
  591. Giles, Aaron, JPEGView 3.1 (S) Core and JPEGView
  592. suites.
  593.  
  594. Heilman, Pocket 6.3 (S) Required suite.
  595.  
  596. ISIS, ISIS Notes (SR) Core, Finder, and 
  597. Custom event suites.
  598.  
  599. IT Makers, Snippets and Decoder Ring (SAR) Core and
  600. Custom suites.
  601.  
  602. Jundt, Kevin, Acid Jazz 1.1v1 (SR) Required and Acid Jazz (Do Script, Dial
  603. Phone) suites.
  604.  
  605. Kehler, Pete, Alapha 6.53 (S) Required and Miscellaneous
  606. suites.
  607.  
  608. Lewis, Peter. Anarchie (S) Standard (showabout and help
  609. commands) and Anarchie (find, fetch, store, list, and
  610. nlist commands) suites.
  611.  
  612. Microsoft, Excel 4.0 (S) Core, Charting, and
  613. Spreadsheet suites; Word 6.0 [yep, it's right here
  614. in the Guie to Scrptable Applications, though the
  615. person I spoke with said it might be as much as six
  616. months away] (SR) Core, Text, and EGO suites.
  617.  
  618. Neeracher, MacPerl 4.1.2 (S) Core, Required, Miscellaneous
  619. Standard (Show and Do Script commands), and Text
  620. suites.
  621.  
  622. Nisus Software, Easy Alarms
  623.  
  624. Now, Now Contact (S) Core and Required suites and
  625. the Entity object from the Collaborative Info suite. 
  626. Now Up-To-Date 2.1 (S) Core, Required, and Schedule suites
  627.  
  628.  
  629. Portfolio, DynoDex 3.0 (S) Required and Dynodex suites, 
  630. the Make Call command from the Telephony suite, and a
  631. Miscellaneous suite which contains a Do Menu command.
  632.  
  633. Qualcomm, Eudora 2.01 (S) Core, Required, and 
  634. Eudora suites.
  635.  
  636. Quark, QuarkXPress 3.2 (S) Core, Text, and
  637. QuarkXPress suites.
  638.  
  639. Trilobyte Software, ARACommander 2.0 (S) Required and
  640. ARACommander suite.
  641.  
  642. Software Ventures, MicroPhone Pro (S) Required, Miscellany
  643. (get, set, and do script commands), and Microphone suites. 
  644.  
  645. Concurrent, Sum Total (S) A specialized Sum Total 
  646. suite.
  647.  
  648. Symantec, ThinkC 6.0 (S) Core and Think suites.
  649.  
  650. UserLand Software, Frontier 3.01. (SAR) It supports the 
  651. Required and Standard suites as well as a subset of the 
  652. Miscellaneous suite.
  653.  
  654. WordPerfect, WordPerfect 3.0 (SAR) Core, Required, Text, 
  655. Micellaneous, OCE Mailer, and Word Processing suites. 
  656.  
  657. Working Software, Spellswell 7 (SAR) Core, Text, Finder
  658. and Word Services suites; Writeswell, Jr. 1.05 (SA) Core, 
  659. Text, Finder and Word Services suites
  660.  
  661.  
  662.  
  663. =============================================================
  664. ->BOOKS AND OTHER SOURCES OF INFO
  665.  
  666.  
  667. What's a good AppleScript book?
  668. -------------------------------------------------------------
  669. Besides the AppleScript Language Guide that ships with AppleScript, 
  670. there are only two AppleScript books available:  
  671.  
  672. Derrick Schneider, Tao of AppleScript (ISBN 1-56830-075-1). This guide, 
  673. created by the Berkeley Macintosh User's Group (BMUG), introduces you 
  674. to the process of creating scripts with line-by-line instructions for 
  675. each example.  Ideal for getting started with AppleScript.  Includes 
  676. complete glossary to the AppleScript language and a disk with
  677. AppleScript, scripting additions, and scriptable applications. 
  678. Price: $24.95 (U.S.); $31.95 (Canada.)
  679. Publisher: Hayden Books, 11711 N. College Ave., Carmel, IN
  680. 46032. (800) 776-BMUG
  681.  
  682.  
  683. Danny Goodman, The Complete AppleScript Handbook (ISBN 0-679-79148-5). 
  684. Written by the author of The Complete HyperCard Handbook, this 
  685. guide explains in detail all commands and usage of the AppleScript 
  686. language. Covers topics such as error-checking, agent-creation, and 
  687. common scripting mistakes. Includes disk with sample scripts, 
  688. AppleScript, and TableServer. Price: $35.00 (U.S.); $46.00 (Canada.) 
  689. Publisher: Random House Electronic Publishing.
  690.  
  691. Tom Trinko is working on a more general book (Automating Your Macintosh 
  692. with Scripting--hmm, that title sounds vaguely familiar) which devotes 
  693. equal time to scripting with Frontier and AppleScript.
  694.  
  695.  
  696. What's the AppleScript Language Guide?
  697. -------------------------------------------------------------
  698. System 7 Pro and HyperCard 2.2 owners with sharp eyes have noticed
  699. the sentence "For more information....see the AppleScript Language 
  700. Guide" scattered through the documentation. Since an AppleScript
  701. Language Guide isn't included in either package, they've wondered
  702. where they can get it. Well, you have to buy the AppleScript
  703. Development Kit from APDA or get the AppleScript 1.1 Scripting
  704. Kit. Addison-Wesley also sells the Language Guide separately
  705. (ISBN 0-201-40735-3) [Chris Espinosa <cde@apple.com> supplied
  706. this information].
  707.  
  708.  
  709. What other information is available about AppleScript, Apple 
  710. events, the Object Model, and Open Scripting Architecture?
  711. -------------------------------------------------------------
  712. You can find more information about Apple events, OSA, and AppleScript
  713. in the New Inside Macintosh--Interapplication Communication.
  714. Price: $36.95. Publisher: Addison Wesley Publishing Company, Inc., 
  715. Menlo Park, California. Available at technical bookstores and through
  716. APDA - U.S. (800) 282-2732; Canada (800) 637-0039; or
  717. international (716) 871-6555.
  718.  
  719. You can also find information about Apple events in the earlier 
  720. Inside Macintosh VI. The Apple Event Registry: Standard Suites is 
  721. the last word on the structure of Apple events and the available suites
  722. and their events. It is dated now. 
  723.  
  724. For information about the Object Model, you have to turn to the 
  725. Developer University MiniCourse: Apple events/AppleScript 
  726. Programming Tutorial. It has a reprint of Richard Clark's article 
  727. "Apple Event Objects and You" (develop 10, May 1992, pp. 8-32). Eric
  728. Berdahl's article "Better Apple Event Coding Through Objects" 
  729. (develop 12, December 1992, pp. 58-83) provides more information 
  730. about the Object Model.
  731.  
  732.  
  733. =============================================================
  734. ->FTP INFO - WHERE TO FIND APPLESCRIPT FILES
  735.  
  736. You can find most of the shareware and freeware AppleScript 
  737. scripting additions and AppleScript-related software on the more
  738. popular Internet FTP archives. Both mac.archive.umich.edu
  739. and sumex.stanford.edu contain software. I have consolidated
  740. as much of this software as possible on gaea.kgs.ukans.edu. You
  741. will find scripting additions, sample scripts, and scriptable
  742. applications in the AppleScript directory. There are also
  743. AppleScript-related files in the QuicKeys and Frontier directories.
  744.  
  745.  
  746. =============================================================
  747. ->WHAT ELSE?
  748.  
  749. If there is a question that you think should included send it to me.
  750. I would also like to include any bugs or problems within AppleScript or
  751. any of the scriptable programs. If you know of additional sources of
  752. information, let me know so I can include them.
  753.