home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Information / Digests / MacScripting Digest / The Digests / mac-script-94-07.txt < prev    next >
Encoding:
Internet Message Format  |  1994-10-16  |  959.5 KB  |  [TEXT/R*ch]

  1. Return-Path: LISTSERV@DARTCMS1.DARTMOUTH.EDU
  2. Received: from dartcms1.dartmouth.edu by lks.lks.csi.com (5.65/6.930123)
  3.      with SMTP id AA03754; Mon, 1 Aug 94 14:05:28 -0500
  4. Message-Id: <9408011905.AA03754@lks.lks.csi.com>
  5. Received: from DARTCMS1.DARTMOUTH.EDU by DARTCMS1.DARTMOUTH.EDU
  6.    (IBM VM SMTP V2R2) with BSMTP id 5514; Mon, 01 Aug 94 15:05:28 EDT
  7. Received: from DARTCMS1.DARTMOUTH.EDU (NJE origin LISTSERV@DARTCMS1) by
  8.  DARTCMS1.DARTMOUTH.EDU (LMail V1.2a/1.8a) with BSMTP id 5512; Mon,
  9.  1 Aug 1994 14:57:22 -0400
  10. Date:         Mon, 1 Aug 1994 14:56:50 -0400
  11. From: BITNET list server at DARTCMS1 (1.8a)
  12.               <LISTSERV@DARTCMS1.DARTMOUTH.EDU>
  13. Subject:      File: "MACSCRPT LOG9407"
  14. To: F Terry <pfterry@lks.csi.com>
  15.  
  16. =========================================================================
  17. Date:         Thu, 30 Jun 1994 22:20:28 -0800
  18. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20. From:         Nick Arnett <nicka@MCCMEDIA.COM>
  21. Subject:      Index & full-text archive of these lists
  22.  
  23. As I mentioned now and then, here and there, I've put together an
  24. World-Wide Web archive of a number of mailing lists accessible via a
  25. hierarchical menu system.  My system automatically converts the text of the
  26. message to HTML, including making HREFs live.  The conversion doesn't deal
  27. very well with detecting formatted text and it interprets all HTML it finds
  28. in the text, since its presence can be ambiguous.  Messages are somewhat
  29. threaded -- there are pointers to replies in each parent message.
  30.  
  31. The newest addition to this system is a full-text engine for the archived
  32. messages.  I'm using AppleSearch via a beta of Chuck Shotten's
  33. AppleWebSearch.cgi, through MacHTTP.  The archives are files that contain
  34. complete threads with internal links.
  35.  
  36. This whole system is experimental, so I can't promise it'll always work
  37. just as you expect, but it's been fairly stable for several weeks, so I'm
  38. comfortable with this informal announcement.  You'll find a few menus that
  39. might not work exactly as advertised and there are things that are under
  40. construction.  What you can't see is the system I'm building for creating
  41. and maintaining the hierarchical menu system.
  42.  
  43. Enjoy!  Feedback, bug reports, suggestions, etc. are welcome.  Please e-mail me.
  44.  
  45. The home page is:
  46.  
  47. http://asearch.mccmedia.com/
  48.  
  49. Nick
  50.  
  51.  
  52. Multimedia Computing Corp.
  53. Campbell, California
  54. ----------------------------------------------------------
  55. "We are surrounded by insurmountable opportunity." -- Pogo
  56. =========================================================================
  57. Date:         Fri, 1 Jul 1994 09:09:40 EETDST
  58. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  59. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  60. From:         Tero Loimuneva <Tero.Loimuneva@TH.TELE.FI>
  61. Subject:      Re: Folder Trash Not Found Error
  62. In-Reply-To:  <9406301929.AC03725@smtp.tele.fi>; from "Dave Griffin,
  63.               Ferris State University" at Jun 30, 94 2:28 pm
  64.  
  65. > >             copying files to Novell volumes
  66. ...
  67. > >    I have run into a problem in that when I copy to a folder on a Novell
  68. > >volume I get a message "volume name:folder trash not found" when I try to use
  69. > >copyFiles or moveFiles without warning.  In the testing stage when I was
  70. > >copying with warning I never got this error.
  71.  
  72. Did you notice that the trash can on Novel volume (3.12) is named "Network Trash
  73.  Folder" which contains folders "Trash Can #1", "Trash Can #2" etc. and also the
  74.  "Trash Can Usage Map" while pure Mac volume contains only the folder "trash".
  75.  
  76.         - Loimu
  77. =========================================================================
  78. Date:         Thu, 30 Jun 1994 23:47:16 -0700
  79. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  80. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  81. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  82. Subject:      Re: Address & number for UseLand?
  83.  
  84. >Silly question, but I can't find it anywhere-
  85. >What is the phone number, fax number and address for UseLand?
  86. >Need the info for a requisition...
  87. >
  88. >thanks-
  89.  
  90. UserLand voice:  415-369-6600    Fax:  415-369-6618
  91.  
  92. The office recently moved...I didn't write down the new address.
  93.  
  94. [For those who know I do phone tech support for them, that's not as odd as
  95. it sounds...I work remotely.]
  96.  
  97.    --John
  98.  
  99. --
  100. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  101. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  102. =========================================================================
  103. Date:         Fri, 1 Jul 1994 04:53:58 -0400
  104. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  105. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  106. From:         Barry Chern <bchern@FREENET.COLUMBUS.OH.US>
  107. Subject:      last word
  108.  
  109. Thanks for the responses. (Yea! I finally got some!) There were some
  110. valuable hints that spurred me on to further adventures. I'll try to
  111. recreate some of them for you if I can. No really good solutions yet, so I
  112. hope this generates some new ideas.
  113.  
  114. (Too bad no one seems to be trying to script Quark, so they could confirm
  115. my findings.)
  116.  
  117. I'm going to throw the quotes in at random without attribution. You know
  118. who you are.
  119.  
  120. > The correct way, documented in the language errata file on disk is:
  121. > set foo to "This is a test"
  122. > text from word 1 to word 3 of foo
  123. > "This is a"
  124.  
  125. Ah, that would be much better. I was almost about to get into dealing with
  126. one of those lists of characters, replacing them one at a time and putting
  127. them back together. (almost)
  128.  
  129. BUT, unfortunately, Quark doesn't do this. It returns an error, "can't
  130. make some data into expected type." when you try to get text from ___ to
  131. ___ of ____.
  132.  
  133. > You usually cannot change individual words in a paragraph (or string)
  134. > unless the app supports it. I don't have Quark, but you may be able
  135. > to to something like this?
  136. >
  137. > select last word of paragraph x set contents of selection to "NEW WORD"
  138.  
  139. Nope, Quark doesn't seem to have any selection properties. I was looking
  140. for that right away when I started into this.
  141.  
  142. > If you want to do word replacement in AS strings you must cut & paste
  143. > yourself.
  144.  
  145. I'm beginning to think I'll have to do this. Would have been better to
  146. keep it in Quark, though.
  147.  
  148. > I don't have XPress--which is why I didn't answer earlier, but...it
  149. > has one of the better Apple event implementations around.
  150.  
  151. Well, it looks like it does. It has a huge dictionary and reams of
  152. documentation. It just doesn't seem to do anything right.
  153.  
  154. > I think we need to see more of the context. How are you making clear
  155. > to XPress what contains the paragraph you care about?
  156.  
  157. Okay, if you want the grizzly details. The idea is that you've got catalog
  158. entries with an order number at the beginning of a paragraph and the price
  159. at the end. Say that one of the things that changes most often in the
  160. catalog is the prices, it would be a natural use of scripting to update
  161. them. So, I want to find the entry by the order # and change the price.
  162. Sounded really basic to me.
  163.  
  164. I'm referencing the paragraph with the construct:
  165.  
  166.      tell every story of front document
  167.                    tell (every paragraph where it contains "490-85-110")
  168.  
  169. (I'm not always using the second tell,  the part in parenthesis is the
  170. crux, and has been used with many, many different statements in the course
  171. of my test.
  172.  
  173. This way of finding the paragraph does have some bearing on the problem
  174. with accessing words of the paragraph. For those who came in late, if I say:
  175.  
  176.      word -1 of (every paragraph where it contains "490-85-110")
  177.  
  178. I get the whole paragraph returned. If I put it into a variable, I get the
  179. price returned as I would hope. The other issue, besides referencing the
  180. word, is doing anything with it once i've got it. I can set the "word"
  181. (the whole paragraph) to another word, but when I went about trying to
  182. deal with the characters, I couldn't do anything to them.
  183.  
  184. I did find one statement that Quark wouldn't choke on, involving making
  185. words or text with data "foo" after or at somewhere, but....nothing seemed
  186. to happen! It executed, but "foo" never appeared anywhere in the document.
  187.  
  188. Late-breaking news in the word defining scene: I just found that I could
  189. get less than the whole paragraph returned if I use:
  190.  
  191.      text of (every paragraph where it contains "490-85-110")
  192.  
  193. (Didn't I do that before?)
  194.  
  195. BUT...now, the last word is returned as just the two digits after the
  196. decimal!!! (Applescript returned the whole price as a word.)
  197. Seems to be a catch at every turn. Oh, yeah, I also didn't mention that
  198. the price should be a different color than the rest of the text, which is
  199. another reason it would be better to be able to refer to the word in Quark
  200. and deal with it there. sigh.
  201.  
  202. Barry
  203. =========================================================================
  204. Date:         Fri, 1 Jul 1994 20:57:44 +0800
  205. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  206. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  207. From:         Todd Hooper <todd@PERTH.DIALIX.OZ.AU>
  208. Subject:      ScriptLink
  209.  
  210. I am new to the list so here is a brief introduction...
  211.  
  212. My company has just announced a Newton developer kit which lets you
  213. send AppleScript from the Newton to a Macintosh server, execute it
  214. and return the results to the Newton, in a secure multi-user environment
  215. with full logging etc. Let me know if you would like a copy of the
  216. press release.
  217.  
  218. I have written most of the AppleScript we use in our sample programs,
  219. primarily with FileMaker Pro. I look forward to learning whatever the
  220. AppleScript SDK and Danny Goodman couldn't teach me!
  221.  
  222. I'm especially interested if anyone has any good samples scripts for
  223. Eudora or SITComm.
  224.  
  225. Regards,
  226.  
  227. Todd
  228.  
  229. --
  230.  
  231. Todd Hooper                                Internet  : todd@perth.dialix.oz.au
  232. Marketing Director                         AppleLink : MOMENTUM.AUS
  233. Momentum Pty Ltd                           Phone     : +61 9 483 2649
  234. Western Australia                          Fax       : +61 9 227 5447
  235. =========================================================================
  236. Date:         Fri, 1 Jul 1994 08:42:24 CDT
  237. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  238. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  239. From:         Mario Garcia <mario@HP375Z.ARLUT.UTEXAS.EDU>
  240. Subject:      help
  241.  
  242. Help.
  243. How do I post ?
  244. =========================================================================
  245. Date:         Fri, 1 Jul 1994 10:18:27 -0700
  246. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  247. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  248. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  249. Subject:      Re: last word
  250.  
  251. At 04:53 7/1/94 -0400, Barry Chern wrote:
  252. >(Too bad no one seems to be trying to script Quark, so they could confirm
  253. >my findings.)
  254.  
  255. XPress is being scripted heavily around the country, producing newspaper
  256. classified sections, large catalogs with pictures, etc etc.  When I talk to
  257. the portion of these users who call UserLand for support with Frontier
  258. scripting of Quark, I tend to get EMail addresses on commercial services,
  259. not here, when I ask.  And, there are active discussions in such places as
  260. the Desktop Publishing forum on CIS, and the UserLand forum on CIS (which
  261. has a section devoted to XPress).
  262.  
  263. There may also be an active area on the Internet...I haven't looked.
  264.  
  265.  
  266.  
  267. >> I don't have XPress--which is why I didn't answer earlier, but...it
  268. >> has one of the better Apple event implementations around.
  269. >
  270. >Well, it looks like it does. It has a huge dictionary and reams of
  271. >documentation. It just doesn't seem to do anything right.
  272.  
  273. On the contrary, XPress' scripting support was put in by a developer to
  274. took great care to implement things according to the Registry.  And worked
  275. hard in many cases to be sure that his reading of the Registry agreed with
  276. others (sometimes I agreed with him, sometimes I didn't).
  277.  
  278. Nonetheless, there are glitches.  There is also a simple fact:  what one
  279. expects out of an application may not be what one gets, yet BOTH your
  280. expectations and the application can be completely right.  There are many
  281. different ways to correctly implement this stuff.
  282.  
  283. Since you don't seem to be having luck changing one word of the contents of
  284. a textbox, you may have to get the whole contents, change them in your
  285. script, and put them back as a unit.  I would hope not.
  286.  
  287. You should also look around for Quark Xtensions which help with this stuff.
  288. There are some, and more appear regularly, so I'm told.  [No, I don't have
  289. a source to point you to.]
  290.  
  291.    --John
  292.  
  293. --
  294. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  295. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  296. =========================================================================
  297. Date:         Fri, 1 Jul 1994 08:24:16 EST
  298. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  299. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  300. From:         "Aaron E. McClennen" <Aaron_E._McClennen@HABITAT.ORG>
  301. Organization: Habitat for Humanity International
  302. Subject:      Re: error -610
  303.  
  304. John Baxter was right.
  305. I duplicated the error -610 error last night. Frontier Runtime would have put up
  306. the program sharing password dialog, except Frontier was in the background.
  307.  
  308. Now that I has replicated the problem How to deal with it. . .
  309.  
  310. Thanks for all the help.
  311.  
  312. Aaron_E._McClennen@habitat.org
  313.  
  314. Habitat for Humanity International
  315. "Building houses with God's people in need."
  316. =========================================================================
  317. Date:         Fri, 1 Jul 1994 13:42:06 -0500
  318. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  319. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  320. From:         "Brian C. Forney" <umich.edu@?C~.BITNET>
  321. Subject:      Re: ScriptLink
  322. In-Reply-To:  Your message <199407011321.JAA12935@totalrecall.rs.itd.umich.edu>
  323.               of Fri, 1 Jul 1994 20:57:44 +0800
  324.  
  325. I'm sorry about that. Just ignore it. Thanks.
  326. =========================================================================
  327. Date:         Fri, 1 Jul 1994 15:18:35 EDT
  328. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  329. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  330. From:         "Andy J. Williams" <Andy.J.Williams@DARTMOUTH.EDU>
  331. Subject:      Re: help
  332.  
  333. --- Mario Garcia wrote:
  334. Help.
  335. How do I post ?
  336. --- end of quoted material ---
  337.  
  338. You just did. Below is the help file (aka the monthly harange -- which I am
  339. considering making a bi-weekly harange).
  340.  
  341. Special Note: please send notes NOT to me but to
  342. macscript-request@dartmouth.edu. I wouldn't want Fred to miss out on the fun!
  343. Also, if one of us goes on vacation, your mail will be handled rather than
  344. sitting around for awhile.
  345.  
  346. -A
  347.  
  348. ------
  349. Save this mail message. It includes all the e-mail addresses you need when
  350. dealing with the Mac Scripting mailing list.
  351.  
  352. *** To Unsubscribe from this list:
  353.  
  354. Send to: LISTSERV@dartmouth.edu
  355. Subject: unsubscribe
  356. Message: signoff macscrpt
  357.  
  358.  
  359. *** To subscribe to this list:
  360.  
  361. Send to: LISTSERV@dartmouth.edu
  362. Subject: subscribe
  363. Message: subscribe macscrpt <your full name here>
  364.  
  365.  
  366. *** To receive the mail as daily digest:
  367.  
  368. Send to: LISTSERV@dartmouth.edu
  369. Subject: digest
  370. Message: set macscrpt digest
  371.  
  372.  
  373. *** To get other info on using this automated system:
  374.  
  375. Send to: LISTSERV@dartmouth.edu
  376. Subject: help
  377. Message: help
  378.  
  379.  
  380. *** To ask the human moderators a question:
  381.  
  382. Send to: MacScripting-Request@dartmouth.edu
  383.  
  384.  
  385. *** To send a message to the mailing list:
  386.  
  387. Send to: MacScripting@dartmouth.edu
  388.  
  389.  
  390. Thanks.
  391.  
  392. -The Moderators (a very offcial way of saying "Fred & Andy")
  393. =========================================================================
  394. Date:         Fri, 1 Jul 1994 21:18:51 +0200
  395. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  396. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  397. From:         Dario Lopez =?iso-8859-1?Q?K=E4sten?= <cl2dlope@HAL.CLING.GU.SE>
  398. Subject:      Subscribe
  399.  
  400. I want to subscribe. Is this correct or am I just messing things up?
  401.  
  402. ____________________________________________________________________________=
  403. __
  404. Dario Lopez K=E4sten,
  405. student of Computational Linguistics, G=F6teborg University, SWEDEN
  406.  
  407. "This is the working hour. We are paid by those who learn from our mistakes"
  408.  /Tears for Fears
  409.  
  410. ____________________________________________________________________________=
  411. __
  412. =========================================================================
  413. Date:         Fri, 1 Jul 1994 15:47:19 -0000
  414. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  415. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  416. From:         Jason Titus <Jason_Titus@ODSNET.COM>
  417. Organization: Open Data Solutions, Inc.
  418. Subject:      Fwd: Applescript Questions...
  419.  
  420. For the longest time, I have a few questions about Applescript that I can't
  421. seem to find the answer to...
  422.  
  423. 1.  What determines the speed of Applescript?  I'm on a 6100 and setting
  424. properties in FaceSpan is really slow (along with doing most other thngs in
  425. Ascript).
  426.  
  427.  
  428. 2.  Where can I get good info on working with scripting objects?  I'm pretty
  429. new to oop, and am in the process of trying to design an object to carry a
  430. bunch of data throughout an app.  Any sources on oop concepts would be
  431. great...
  432.  
  433. 3.  I'm also looking into how to write an OSAX...  Is there any code on the
  434. net for some?  The 'playsound' wasn't quite enough for this novice....
  435.  
  436. Any help would be much appreciated!
  437.  
  438. Jason.
  439. jason_titus@odsnet.com
  440. =========================================================================
  441. Date:         Fri, 1 Jul 1994 15:45:10 -0700
  442. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  443. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  444. From:         Rob Dewhirst <robd@FARALLON.COM>
  445. Subject:      Excel scripts
  446.  
  447. I pages back through all the digests I had and couldn't find any good examples
  448. of scripting excel.  Anyone have some scripts they want to send me?
  449. =========================================================================
  450. Date:         Fri, 1 Jul 1994 15:46:13 -0700
  451. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  452. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  453. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  454. Subject:      Re: Fwd: Applescript Questions...
  455.  
  456. >For the longest time, I have a few questions about Applescript that I can't
  457. >seem to find the answer to...
  458. >
  459. >1.  What determines the speed of Applescript?  I'm on a 6100 and setting
  460. >properties in FaceSpan is really slow (along with doing most other thngs in
  461. >Ascript).
  462.  
  463. Are you running with the Modern Memory Manager turned on?  You should be.
  464. It should help in this situation, since there's a lot of memory management
  465. going on, and MMM really does speed that up.
  466.  
  467.    --John
  468.  
  469.  
  470. --
  471. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  472. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  473. =========================================================================
  474. Date:         Sun, 3 Jul 1994 19:46:06 +0000
  475. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  476. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  477. From:         Borre Ludvigsen <borrel@DHHALDEN.NO>
  478. Subject:      Writing to the modem port.
  479.  
  480. I want to send strings to a Miniboard sitting on the end of the modem
  481. port of my MacHTTP server. In Hypertalk the command looks like this:
  482.  
  483.   on mousedown
  484.     sendSPort "z" & cd fld 1 & "005E"
  485.     sendSPort "z1100005d"
  486.   end mousedown
  487.   on mouseup
  488.     sendSPort "z0000005e"
  489.   end mouseup
  490.  
  491. The first part sets the speed to be sent to a motor being run by the
  492. Miniboard (the Miniboard is a small single board MC6811 computer that I'm
  493. using to control a LEGO pan & tilt unit for a small video camera) and
  494. sends the "motor on" command to a monitor program on the board. The
  495. second part when the mouse comes back up is to stop the motor. Later I
  496. also want my script to read the port too, returning values from sensors
  497. that tell me which way the camera is pointing exactly.
  498.  
  499. I want to do this remotely by pressing buttons on a WWW page. Would
  500. someone like to volunteer the script code that picks up the click from
  501. the html code and sends the equivelant string to the modem port?
  502.  
  503. - Barre
  504.  
  505.  ----------------------------------------------------------------------
  506.    Barre Ludvigsen - Ostfold Regional College- N-1750 HALDEN - Norway
  507.  ----------------------------------------------------------------------
  508.  vox:+4769185400/home+4769341922/direct+4769185577ext219fax:+4769185485
  509.  ----------------------------------------------------------------------
  510.    <A HREF="http://www.ludvigsen.dhhalden.no/"> Come and visit! </A>
  511. =========================================================================
  512. Date:         Sun, 3 Jul 1994 17:59:15 -0400
  513. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  514. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  515. From:         Mark Hadfield <hadfield@RESUNIX.RI.SICKKIDS.ON.CA>
  516. Subject:      Re: Excel scripts
  517.  
  518. >I pages back through all the digests I had and couldn't find any=
  519.  good examples
  520. >of scripting excel.  Anyone have some scripts they want to send=
  521.  me?
  522.  
  523.  
  524. I downloaded these from AppleLink a while ago - very useful.
  525.  
  526. AUTHOR: ADVLOGTECH (I can't remember his name).
  527.  
  528. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DMake Commands
  529. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  530.    make new Window
  531. end tell
  532. =20
  533. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DExists Commands
  534. Answer found in the result window of Script Editor
  535. =20
  536. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  537.    exists Window "AE Test"
  538. end tell
  539. =20
  540. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  541.    exists table "Table_1"
  542. end tell
  543. =20
  544. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  545.    exists Range "Tom"
  546. end tell
  547. =20
  548. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  549.    exists Cell "fred"
  550. end tell
  551. =20
  552. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  553.    exists Document "AE Test"
  554. end tell
  555. =20
  556. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DDelete Commands
  557. No reply, check spreadsheet for deletion
  558. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  559.    delete Cell "Fred"
  560. end tell
  561. =20
  562. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  563.    delete table "Table_1"
  564. end tell
  565. =20
  566. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DDuplicate
  567. =20
  568. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  569.    duplicate Cell "Bob" to Cell "Fred"
  570. end tell
  571. =20
  572. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  573.    duplicate Cell "R1C1" to Cell "R6C1"
  574. end tell
  575. =20
  576. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DMove
  577. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  578.    move Cell "R1C1" to Cell "R6C1"
  579. end tell
  580. =20
  581. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  582.    move Cell "Bob" to Cell "R1C1"
  583. end tell
  584. =20
  585. =20
  586. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DRead Cell
  587. =20
  588. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  589.    value of Cell 1 of Row 9
  590. end tell
  591. =20
  592. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  593.    set Cell 1 of Row 9 to "999"
  594. end tell
  595.  
  596. These Applescript scripts are known to work with Excel
  597. =20
  598. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DCell Scripts
  599. =20
  600. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  601.    set the font of Cell "R1C1" to "Times"
  602. end tell
  603. =20
  604. =20
  605. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  606. --this also increases the height of the entire row
  607.    set the size of Cell "R1C1" to "36"
  608. end tell
  609. =20
  610. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  611.    set the name of Cell "R1C1" to "Texas_Cities"
  612. end tell
  613. =20
  614. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  615. --cell should show 25
  616.    set the formula of Cell "R1C1" to "=3D5*5"
  617. end tell
  618. =20
  619. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  620.    --You make a cell bold by setting its bold property to True or=
  621.  False
  622.    set the bold of Cell "R1C1" to true
  623. end tell
  624. =20
  625. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  626.    --You make a cell italic by setting its italic property to True=
  627.  or False
  628.    set the italic of Cell "R1C1" to true
  629. end tell
  630. =20
  631. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  632.    --You make a cell underlined by setting its underline property=
  633.  to True or
  634. =46alse
  635.    set the underline of Cell "R1C1" to true
  636. end tell
  637. =20
  638. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  639.    --You make a cell strikethrough by setting its strikethrough property=
  640.  to Tru
  641. or False
  642.    set the strikethrough of Cell "R1C1" to true
  643. end tell
  644. =20
  645. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  646.    --You make a cell outline by setting its outline property to True=
  647.  or False
  648.    set the outline of Cell "R1C1" to true
  649. end tell
  650. =20
  651. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  652.    --You make a cell shadow by setting its shadow property to True=
  653.  or False
  654.    set the shadow of Cell "R1C1" to true
  655. end tell
  656. =20
  657. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  658.    --This command sets all text style properties to False
  659.    set the plain of Cell "R1C1" to true
  660. end tell
  661. =20
  662. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  663.    --This command sets all text style properties to False
  664.    set the plain of Cell "R1C1" to true
  665. end tell
  666. =20
  667. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  668.    --text the formatting code for a cell as indicated
  669.    --in the Number dialog in the Format menu
  670.    set the number format of Cell "R1C1" to "0.00%"
  671. end tell
  672. =20
  673. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  674. --You must use the index (1-7) for the alignment found in the
  675. -- Excel Function Reference page 15-16
  676.    set the alignment of Cell "R1C1" to "3"
  677. end tell
  678. =20
  679. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  680.    --the borders are set using a macro code found o page 39 of the=
  681.  Excel Functi
  682. Reference
  683.    set the left border of Cell "R1C1" to "5"
  684. end tell
  685. =20
  686. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DRange Scripts
  687. =20
  688. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  689.    set the font of Range "Table_1" to "times"
  690. end tell
  691. =20
  692. =20
  693. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DRow Scripts
  694. =20
  695. =20
  696. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  697.    --set the height of a row of cells
  698.    set the height of Row 6 to "24"
  699. end tell
  700. =20
  701. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  702.    set the font of Row 7 to "times"
  703. end tell
  704. =20
  705. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DColumn Scripts
  706. =20
  707. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  708.    set the font of Column 1 to "times"
  709. end tell
  710. =20
  711. =20
  712. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  713.    --set the width of a column of cells
  714.    set the width of Column 2 to "14"
  715. end tell
  716. =20
  717. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  718.    --set the name of a column of cells
  719.    set the name of Column 2 to "STATES"
  720. end tell
  721. =20
  722. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DWindow Scripts
  723. =20
  724. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  725.    get name of Window 1
  726. end tell
  727. =20
  728. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  729.    the type of Window 1
  730. end tell
  731. =20
  732. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  733.    the selection of Window 1 as string
  734. end tell
  735. =20
  736. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  737.    the user selection of Window 1 as string
  738. end tell
  739. =20
  740. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  741.    the bounds of Window 1
  742. end tell
  743. =20
  744. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  745.    the titled of Window 1
  746. end tell
  747. =20
  748. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  749.    the index of Window "AE Test"
  750. end tell
  751. =20
  752. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  753.    the floating of Window 1
  754. end tell
  755. =20
  756. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  757.    the modal of Window 1
  758. end tell
  759. =20
  760. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  761.    the resizable of Window 1
  762. end tell
  763. =20
  764. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  765.    the zoomed of Window 1
  766. end tell
  767. =20
  768. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  769.    the visible of Window 1
  770. end tell
  771. =20
  772. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DDocument Scripts
  773. =20
  774. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  775.    the pathname of Document "AE Test"
  776. end tell
  777. =20
  778. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  779.    the type of Document "AE Test"
  780. end tell
  781. =20
  782. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  783.    the cell protection of Document "AE Test"
  784. end tell
  785. =20
  786. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  787.    the object protection of Document "AE Test"
  788. end tell
  789. =20
  790. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  791.    the number of windows of Document "AE Test"
  792. end tell
  793. =20
  794. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  795.    the selection of Document "AE Test" as string
  796. end tell
  797. =20
  798. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  799.    the user selection of Document "AE Test" as string
  800. end tell
  801. =20
  802. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  803.    the protection of Document "AE Test"
  804. end tell
  805. =20
  806. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  807.    the name of Document 1
  808. end tell
  809. =20
  810. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  811.    the modified of Document 1
  812. end tell
  813. =20
  814. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DApplication Scripts
  815. =20
  816. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  817.    the name
  818. end tell
  819. =20
  820. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  821.    the Calculation
  822. end tell
  823. =20
  824. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  825.    the Iteration
  826. end tell
  827. =20
  828. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  829.    the selection as string
  830. end tell
  831. =20
  832. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  833.    the clipboard as string
  834. end tell
  835. =20
  836. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  837.    the frontmost
  838. end tell
  839. =20
  840. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  841.    the version as string
  842. end tell
  843. =20
  844. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DChart Scripts
  845. =20
  846. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  847.    the number of series of Chart 1
  848. end tell
  849. =20
  850. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  851.    the type of Chart 1
  852. end tell
  853. =20
  854. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  855.    the variant of Chart 1
  856. end tell
  857. =20
  858. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  859.    the has legend of Chart 1
  860. end tell
  861. =20
  862. This file is for scripters trying to tap into Excel with AppleScript.
  863. =20
  864. There are virtually no syntaxical examples available for communicating
  865. specifically with Excel via Applescript. And as usual Microsoft does=
  866.  everything
  867. a little differently. If you have tried to use TableServer scripts=
  868.  to access
  869. Excel you will know what I mean. Some work and some don't.
  870. =20
  871. Using Excel and the Script Editor, and working by trial and error,=
  872.  I have found
  873. that the scripts below  work with Excel. Hopefully, you can use them=
  874.  to quickly
  875. climb the learning curve in building your own scripts to manipulate=
  876.  Excel.
  877. =20
  878. Please post any scripts that you have used successfully with Excel.
  879. =20
  880. J.P. Adams
  881. =20
  882. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
  883. =3D=3D=3D=3D=3DReading Data=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
  884. =3D=3D=3D=3D=3D=3D=3D
  885. =20
  886. --Reads a range of Excel cells in R1C1 format
  887. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  888.    get Range "R1C1:R3C1" of Document 1 as text
  889.    display dialog result
  890. end tell
  891. =20
  892. --Reads a range of Excel cells by name
  893. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  894.    get Range "TOM" of Document 1 as text
  895.    display dialog result
  896. end tell
  897. =20
  898. --Reads an Excel cell by number
  899. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  900.    get value of Cell 3 of Row 2 of Document 1
  901.    display dialog result
  902. end tell
  903. =20
  904. --Reads a value from a cell by name
  905. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  906.    get value of Cell "Fred" of Document 1
  907. end tell
  908. =20
  909. --Reads a value from a cell by "R1C1" format
  910. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  911.    get value of Cell "R1C1" of Document 1
  912.    display dialog result
  913. end tell
  914. =20
  915. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
  916. =3D=3D=3D=3D=3DWriting Data=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
  917. =3D=3D=3D=3D=3D=3D=3D
  918. =20
  919. --Writes to a range of Excel cells using R1C1 format
  920. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  921.    set Range "R1C1:R3C1" of Document 1 to {"4", "5", "6"}
  922. end tell
  923. =20
  924. --Writes to a range of a Excel cells using name format
  925. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  926.    set Range "Tom" of Document 1 to {"4", "5", "6"}
  927. end tell
  928. =20
  929. --Writes to an Excel cell by number
  930. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  931.    set value of Cell 3 of Row 2 of Document 1 to "99"
  932. end tell
  933. =20
  934. --Writes to an Excel cell by name
  935. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  936.    set value of Cell "Fred" of Document 1 to "99"
  937. end tell
  938. =20
  939. --Writes to an Excel cell by R1C1 format
  940. tell application "ALT2:Applications:Excel 4.0 =9F:Microsoft Excel"
  941.    set value of Cell "R1C1" of Document 1 to "99"
  942. end tell
  943. =========================================================================
  944. Date:         Sun, 3 Jul 1994 18:45:07 -0700
  945. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  946. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  947. From:         James Edward Davis <jedavis@CS.STANFORD.EDU>
  948. Subject:      Re: working with nonscriptable applic.
  949.  
  950. Watching for a window to open in another app, is almost impossible.
  951. It would be difficult even from raw C code. If you find a way, Id sure
  952. like to know. Meanwhile, as to other things to do with non-scriptable
  953. apps. Check out AutoType/AutoClick, an osax I wrote to let you send
  954. key strokes and mouse clicks to unscriptable apps. KeyQuencer and
  955. QuicKeys could both do it as well. Otherwise controling non-scriptable
  956. apps is hard.
  957.  
  958. -James
  959. =========================================================================
  960. Date:         Mon, 4 Jul 1994 03:11:34 -0400
  961. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  962. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  963. From:         Barry Chern <bchern@FREENET.COLUMBUS.OH.US>
  964. Subject:      Re: Excel scripts (via Digest)
  965.  
  966. So, is there a source anywhere with a translation of all these MIME
  967. commands, so I could maybe at least attempt a find/replace of some sort on
  968. a file like this?
  969. =========================================================================
  970. Date:         Mon, 4 Jul 1994 11:14:03 BST
  971. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  972. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  973. From:         Simon Jensen-Fellows <sjf@COGSCI.ED.AC.UK>
  974. Subject:      Re: working with nonscriptable applic.
  975.  
  976. I haven't explicitly tried this, but in most C apps, when you call
  977. FrontWindow() you check to make sure that the handle returned refers to
  978. your window, not the window of another app. Presumably, you could do
  979. the reverse and look for a window that doesn't belong to your app ?
  980.  
  981. Just a guess.
  982.  
  983. Simon.
  984. =========================================================================
  985. Date:         Mon, 4 Jul 1994 14:02:37 EDT
  986. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  987. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  988. From:         INRA000 <INRA@MUSICB.MCGILL.CA>
  989. Subject:      Re[2]: working with nonscriptable applic.
  990. In-Reply-To:  In reply to your message of MON 04 JUL 1994 18:14:03 EDT
  991.  
  992. >I haven't explicitly tried this, but in most C apps, when you call
  993. >FrontWindow() you check to make sure that the handle returned refers to
  994. >your window, not the window of another app. Presumably, you could do
  995. >the reverse and look for a window that doesn't belong to your app ?
  996.  
  997.     FrontWindow() returns the front window in *your layer*. The checking
  998. you're thinking of dates back to the time of DAs under pre-MultiFinder
  999. System 6. One is still supposed to check that the FrontWindow() in your
  1000. layer is one of your own windows, and not something put there by the
  1001. System. Nothing in the System currently puts windows into applications'
  1002. layers, but that could change in the future...
  1003.  
  1004.     Examining another application's windows could be done from an INIT,
  1005. which can execute while another application is active. It gets kind of
  1006. hairy, though, and one can't collect much meaningful information. It
  1007. would be possible to determine the title of the window, but not much
  1008. else.
  1009.  
  1010.     Cheers,
  1011.  
  1012.     Mark Aiken
  1013.     inra@musicb.mcgill.ca
  1014. =========================================================================
  1015. Date:         Mon, 4 Jul 1994 17:35:12 -0500
  1016. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1017. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1018. From:         David Boroditsky <sage!dave@NOC.TOR.HOOKUP.NET>
  1019. Organization: Sage Design
  1020. Subject:      Re(2): last word
  1021.  
  1022. I am quite familiar with scripting Quark, but unfortunately (for you) all of
  1023. this scripting has been done with Frontier.
  1024.  
  1025. In Frontier, getting the last word of a paragragh could be done like
  1026.  
  1027. with document[1].page[1].textbox[foo]
  1028.   wordcount = count(paragraph[bar],word)
  1029.   theword = get(paragraph[bar].word[wordcount])
  1030.  
  1031. 'theword' will be the text of the last word of the paragraph. (Please note
  1032. that non a-z or 0-9 characters are not considered to be a part of the word.
  1033. This can be changed by use of the delimittable property.)
  1034.  
  1035. The support for scripting in Quark is extensive, as almost anything can be
  1036. done. I have on many occasions been extremely frustrated by Quark not
  1037. appearing to respond to scripts correctly, but have always found out that the
  1038. error was mine. Quark is extremely picky about how you specify something or
  1039. how you ask for info about something.
  1040.  
  1041. I'm not sure if this will help you at all, so I'll stop now. Let me know if
  1042. you have any other questions.
  1043.  
  1044. +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
  1045. |       Everything is very very deeply      \
  1046. |    I  N  T  E  R  T  W  I  N  G  L  E  D   \
  1047. | dave@sage.uucp/sage!dave@noc.tor.hookup.net \
  1048. +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
  1049. =========================================================================
  1050. Date:         Mon, 4 Jul 1994 17:52:01 -0700
  1051. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1052. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1053. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  1054. Subject:      Re: Re(2): last word
  1055.  
  1056. >I am quite familiar with scripting Quark, but unfortunately (for you) all of
  1057. >this scripting has been done with Frontier.
  1058. >
  1059. >In Frontier, getting the last word of a paragragh could be done like
  1060. >
  1061. >with document[1].page[1].textbox[foo]
  1062. >  wordcount = count(paragraph[bar],word)
  1063. >  theword = get(paragraph[bar].word[wordcount])
  1064. >
  1065. >'theword' will be the text of the last word of the paragraph. (Please note
  1066. >that non a-z or 0-9 characters are not considered to be a part of the word.
  1067. >This can be changed by use of the delimittable property.)
  1068.  
  1069. Hi, David...
  1070.    Thanks for the post.  You *ought* to be able to reduce your most welcome
  1071. example to (assuming you don't need wordcount for something else, of
  1072. course)
  1073.  
  1074. with document[1].page[1].textbox[foo]
  1075.   theword = get(paragraph[bar].word[-1])
  1076.  
  1077. Negative indices should count from the end of a container forward.
  1078.  
  1079. Fairly direct translation of the above
  1080.  
  1081. tell application "QuarkXPress"  -- or whatever
  1082.     tell textbox foo of page 1 of document 1
  1083.        set theword to word -1 of paragraph bar
  1084.                 --or:  last word of paragraph bar
  1085.     end tell
  1086. end tell
  1087.  
  1088. I don't, of course, know whether the translation works.
  1089.  
  1090.    --John
  1091.  
  1092. --
  1093. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  1094. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  1095. =========================================================================
  1096. Date:         Tue, 5 Jul 1994 09:20:12 +0800
  1097. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1098. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1099. From:         Todd Hooper <todd@PERTH.DIALIX.OZ.AU>
  1100. Subject:      Scripting FileMaker Pro
  1101.  
  1102. Is anyone on the list scripting FileMaker Pro? I've found it pretty
  1103. difficult, even with a set of sample scripts from FM Pro 2.0.
  1104.  
  1105. Is there a better source of documentation on scripting FileMaker
  1106. than the standard FileMaker manuals?
  1107.  
  1108. Two problems I am having:
  1109.  
  1110. 1) Get data returns records which are the nearest match e.g.
  1111.  
  1112.   set rec to Get Data (first Record whose first Cell = partnum)
  1113.   of Window dbname
  1114.  
  1115.  
  1116. with a partnum of "1" will return records "100", "110" etc. Is there any way to
  1117. do an exact match?
  1118.  
  1119. 2) Can you get a count of found records as opposed to total records? E.g.
  1120.  
  1121. Show (every Record of Database "mydatabase" whose Cell "Name" = "Todd")
  1122.         set n to (Count of Database "mydatabase" Class Record)
  1123.  
  1124. returns the total number of records rather than the found set.
  1125.  
  1126. Thanks for any help.
  1127.  
  1128. Todd
  1129. =========================================================================
  1130. Date:         Tue, 5 Jul 1994 07:40:12 -0400
  1131. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1132. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1133. From:         Boris Levitin <boris@WORLD.STD.COM>
  1134. Subject:      Debugging an applet properly
  1135.  
  1136. I'm writing a large AppleScript applet, and have two problems:
  1137.  
  1138. 1. I need to have a reliable way to refer to the applet's own
  1139. parent folder, because that's where I store some configuration
  1140. files the applet uses (I donUt want to hardcode the path).
  1141. "path to me" returns the path to the applet only when it's running
  1142. as an applet. When it's run from inside Script Editor, "me" is
  1143. interpreted to be Script Editor -- not the desirable effect. I'm
  1144. tired of having to hardcode in a path every time I need to debug
  1145. the applet; is there any way to say, path to this very script file?
  1146.  
  1147. 2. I have a large idle handler in my applet, and there doesn't seem
  1148. to be a way to have Script Editor send an idle message to the applet
  1149. when it's being debugged in it. Consequently, I have to comment out
  1150. the on idle and end idle statements every time I debug. It's annoying,
  1151. like item 1.
  1152.  
  1153. I would appreciate any suggestions.
  1154.  
  1155. Boris Levitin                                  WGBH Public Broadcasting, Boston
  1156.                                    boris@world.std.com * boris_levitin@wgbh.org
  1157.               I produced this message and am solely responsible for its content
  1158. =========================================================================
  1159. Date:         Tue, 5 Jul 1994 08:49:30 -0500
  1160. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1161. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1162. From:         David Boroditsky <sage!dave@NOC.TOR.HOOKUP.NET>
  1163. Organization: Sage Design
  1164. Subject:      Re(2): Re(2): last word
  1165.  
  1166. >You *ought* to be able to reduce your most welcome
  1167. >example to (assuming you don't need wordcount for something else, of
  1168. >course)
  1169.  
  1170. >with document[1].page[1].textbox[foo]
  1171. >  theword = get(paragraph[bar].word[-1])
  1172.  
  1173. >Negative indices should count from the end of a container forward.
  1174.  
  1175. Indeed they do! Thanks! It never occured to me... it makes perfect sense, but
  1176. somehow I never thought... wow :>
  1177.  
  1178. If paragraph bar (in the Quark document) is
  1179.   Go to the end of the road to see what you can see.
  1180.  
  1181. theword will be 'see'
  1182.  
  1183. Please note that the period is missing.
  1184.  
  1185.   set(delimittable[1].delimititem["."],canstartorendorbecontainedinword)
  1186.  
  1187. will tell Quark to include period in the set of characters that can start or
  1188. end or be contained in a word. Other possible values are notwordmember,
  1189. canstartorendword, canbecontainedinword. These changes to the delimit table
  1190. are not saved in documents or in the Quark app itself, so they must be set
  1191. every time if your script needs them.
  1192.  
  1193.  
  1194.   with document[1].page[1].textbox[foo]
  1195.     thedata = get(word[contents == bar].offset)
  1196.  
  1197. thedata will be a list of the integer locations of the word bar in the
  1198. textbox if there is more than one match, an integer otherwise. If you want to
  1199. search a whole textflow (or story, textflow[1] seems to me to be identical to
  1200. story[1])
  1201.  
  1202.   with document[1].page[1].textbox[foo].story[1]
  1203.  
  1204. will search the entire textflow (a potentially slow process) and also return
  1205. a list or integer.
  1206.  
  1207. One more potential problem (it has caused me many frustrating moments)
  1208.  
  1209.   with document[1].page[foo].textbox[bar]
  1210.  
  1211. foo may be any type that is coercable to an integer.
  1212.  
  1213. If bar is a string, Quark assumes that it is the name of the textbox rather
  1214. than its number.
  1215.  
  1216. Don't give up! Quark is extremely scriptable, it really does work.
  1217.  
  1218. +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
  1219. |       Everything is very very deeply      \
  1220. |    I  N  T  E  R  T  W  I  N  G  L  E  D   \
  1221. | dave@sage.uucp/sage!dave@noc.tor.hookup.net \
  1222. +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
  1223. =========================================================================
  1224. Date:         Tue, 5 Jul 1994 09:02:52 -0500
  1225. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1226. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1227. From:         David Boroditsky <sage!dave@NOC.TOR.HOOKUP.NET>
  1228. Organization: Sage Design
  1229. Subject:      Re: working with nonscriptable applic.
  1230.  
  1231. >I would like to create an Applescript interface that "watches" for a
  1232. >particular icon or window to open in a nonscriptable application
  1233. >(FirstClass) and then launches another application while maintaining the...
  1234.  
  1235.  
  1236. Why not check to see if the application file is busy (ie. executing)?
  1237.  
  1238. +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
  1239. |       Everything is very very deeply      \
  1240. |    I  N  T  E  R  T  W  I  N  G  L  E  D   \
  1241. | dave@sage.uucp/sage!dave@noc.tor.hookup.net \
  1242. +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
  1243. =========================================================================
  1244. Date:         Tue, 5 Jul 1994 14:31:44 +0100
  1245. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1246. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1247. From:         David Davies <d.a.davies@BHAM.AC.UK>
  1248. Subject:      Macromedia Director and AppleScript
  1249.  
  1250. Does anyone know how I can get Macromedia Director (v4.0) to exchange data
  1251. with an AppleScript script or app. I would have thought that with
  1252. Director's extensive scripting language (Lingo) it would be able to pass
  1253. data to and from another application but I can't see any way of doing it.
  1254.  
  1255. Thanks for any help...
  1256.  
  1257.  
  1258. David Davies (D.A.Davies@bham.ac.uk)
  1259.  
  1260. Research Fellow in Computer Based Learning
  1261. Department of Physiology, The Medical School,
  1262. University of Birmingham, Edgbaston, Birmingham B15 2TT. UK.
  1263.  
  1264. Tel: +44-(0)-21-414-3255        Fax: +44-(0)-21-414-6924
  1265.  
  1266. http://med152.bham.ac.uk/http/signatures/davies.html
  1267. =========================================================================
  1268. Date:         Tue, 5 Jul 1994 09:58:52 EDT
  1269. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1270. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1271. Comments:     Resent-From: David Avery <DAVID@DARTCMS1>
  1272. Comments:     Originally-From: "Evad, Paul" <PEVAD@PUBAFFAIR.env.gov.bc.ca>
  1273. From:         David Avery <DAVID@DARTCMS1.BITNET>
  1274. Subject:      FilMaker windows
  1275.  
  1276. This may not follow under the applescript class of questions, so I hope I'm
  1277. not out of line posting this.
  1278.  
  1279. I have been dabbling with applescript and I can see how I can create an
  1280. applescript to set a FileMaker window to a certain position and size. However
  1281. we have about 20 users for the database on the network and not everyone has
  1282. applescript access. I was hoping to be able to use the send apple event in
  1283. the FileMaker script maker to do this, but I can't seem to get FileMaker to
  1284. send the command to itself.
  1285.  
  1286. Has anyone tackled a similar problem?
  1287.  
  1288. - Paul Evad
  1289. pevad@pubaffair.env.gov.bc.ca
  1290. =========================================================================
  1291. Date:         Tue, 5 Jul 1994 10:07:20 -0700
  1292. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1293. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1294. From:         Rob Dewhirst <robd@FARALLON.COM>
  1295. Subject:      Re: Excel scripts (via Digest)
  1296.  
  1297. Barry Chern <bchern@FREENET.COLUMBUS.OH.US> writes:
  1298.  
  1299. >So, is there a source anywhere with a translation of all these MIME
  1300. >commands, so I could maybe at least attempt a find/replace of some
  1301. >sort on a file like this?
  1302.  
  1303. I just put them on gaea, along with a couple of other examples
  1304. from the same source.
  1305. =========================================================================
  1306. Date:         Tue, 5 Jul 1994 08:00:35 -0800
  1307. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1308. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1309. From:         Kee Nethery +1 510 843 6140 <kee@KAGI.COM>
  1310. Subject:      Re: Macromedia Director and AppleScript
  1311.  
  1312. >Does anyone know how I can get Macromedia Director (v4.0) to exchange data
  1313. >with an AppleScript script or app. I would have thought that with
  1314. >Director's extensive scripting language (Lingo) it would be able to pass
  1315. >data to and from another application but I can't see any way of doing it.
  1316. >
  1317.  
  1318. There is a QuickTime Player that can be used within Director that can
  1319. trigger AppleScript. You can define hot buttons inside a QuickTime movie
  1320. and when the user presses that button you either transfer to another
  1321. quicktime movie or you trigger an ApleScript. It is Video Navigator sold by
  1322. Radiant Enterprises <radiant@applelink.apple.com> I understand it works
  1323. quite well from within Director.
  1324.  
  1325. Kee Nethery
  1326.  
  1327. _________________________________________________________________
  1328. Kagi Engineering, 1442-A Walnut #362, Berkeley, CA 94709-1405 USA
  1329. =========================================================================
  1330. Date:         Tue, 5 Jul 1994 10:10:50 -0500
  1331. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1332. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1333. From:         Fred Terry <pfterry@LKS.CSI.COM>
  1334. Subject:      Re: Excel scripts (via Digest)
  1335. In-Reply-To:  Your message of "Tue, 05 Jul 94 10:07:20 PDT"
  1336.  
  1337. Everyone,
  1338.  
  1339. >>So, is there a source anywhere with a translation of all these MIME
  1340. >>commands, so I could maybe at least attempt a find/replace of some
  1341. >>sort on a file like this?
  1342. >
  1343. >I just put them on gaea, along with a couple of other examples
  1344. >from the same source.
  1345.  
  1346. You'll find them in
  1347.  
  1348. ftp://gaea.kgs.ukans.edu/applescript/scripts/ExcelExamples.cpt.hqx
  1349.  
  1350. Enjoy.
  1351.  
  1352. pf
  1353. =========================================================================
  1354. Date:         Tue, 5 Jul 1994 11:25:38 EST
  1355. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1356. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1357. From:         "John P. Doughtie Jr." <jpd@AMHERST.COM>
  1358. Subject:      Re: Returned mail
  1359.  
  1360. >John,
  1361. >
  1362. >I got a couple returned mail messages (attached). Was there a problem?
  1363. >
  1364. >drc
  1365. >
  1366. Dave,
  1367.  
  1368. Yes, something crashed my mac AGAIN!
  1369.  
  1370. Don't worry about the mail -- you may get more of them.
  1371.  
  1372. Thanks for checking.
  1373.  
  1374. John
  1375. =========================================================================
  1376. Date:         Tue, 5 Jul 1994 09:02:57 -0800
  1377. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1378. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1379. From:         Erik Speckman <especkma@REED.EDU>
  1380. Subject:      What are FrontMost and FaceSpan.
  1381.  
  1382. I scrounged AppleScript off of some PowerMac disk images on one of Apple's
  1383. servers so I don't have much.
  1384.  
  1385. I was wondering what FaceSpan and FrontMost are.  I plan on buying
  1386. something about AppleScript in the next month or so and I am trying to see
  1387. what comes with what packages.
  1388.  
  1389. Thanks
  1390. =========================================================================
  1391. Date:         Tue, 5 Jul 1994 11:19:10 -0500
  1392. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1393. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1394. From:         Fred Terry <pfterry@LKS.CSI.COM>
  1395. Subject:      Re: What are FrontMost and FaceSpan.
  1396. In-Reply-To:  Your message of "Tue, 05 Jul 94 09:02:57 -0900"
  1397.  
  1398. >I was wondering what FaceSpan and FrontMost are.  I plan on buying
  1399. >something about AppleScript in the next month or so and I am trying to see
  1400. >what comes with what packages.
  1401.  
  1402. Frontmost is the original name of FaceSpan (also referred to as FaceSpam by
  1403. the mailing list wags). The name was changed when the AppleScript Scripter's
  1404. Kit was released in Dec 93 (it is also included in the AppleScript Developer's
  1405. Kit and the Updates--for those who bought earlier versions of the Scripter's
  1406. and Developer's kits). In the simplest terms, FaceSpan is a user interface
  1407. builder for your AppleScripts. It allows you to create windows, dialog boxes,
  1408. etc. with attached scripts. Though it is a bit buggy, some users on the list
  1409. seem to have used it successfully.
  1410.  
  1411. I'm sure others will contribute more to this sketchy bit of info.
  1412.  
  1413. pf
  1414. =========================================================================
  1415. Date:         Tue, 5 Jul 1994 11:12:31 -0500
  1416. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1417. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1418. From:         David Boroditsky <sage!dave@NOC.TOR.HOOKUP.NET>
  1419. Organization: Sage Design
  1420. Subject:      Re: Quark Halftone screen bombs
  1421.  
  1422. >    I'm having some trouble with Quark 3.3 and scripting.  I wrote a script
  1423. to
  1424. >update all of our templates, and all works fine, except sometimes the
  1425. halftone
  1426. >screen command causes Quark to bomb.
  1427. >
  1428. >Yes, sometimes.  Usually it's tied to the page, but I've had one instance
  1429. where
  1430. >it wasn't (the script bombed a couple of times, then worked.)
  1431. >
  1432. >Has anyone else has trouble with this?  I'm wanting to set up a script to
  1433. make
  1434. >printing one step for any printer in the building, and we like different
  1435. line
  1436. >screens for different resolutions.  I could just omit this command, but ...
  1437. >
  1438. >Any ideas?
  1439.  
  1440. There is a patch for Quark that fixes a problem with halftone sceens/dot
  1441. shapes etc...
  1442.  
  1443. It is free and available from Quark. It might fix your problem.
  1444.  
  1445. +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
  1446. |       Everything is very very deeply      \
  1447. |    I  N  T  E  R  T  W  I  N  G  L  E  D   \
  1448. | dave@sage.uucp/sage!dave@noc.tor.hookup.net \
  1449. +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
  1450. =========================================================================
  1451. Date:         Tue, 5 Jul 1994 10:08:59 -0800
  1452. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1453. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1454. From:         "B. Bruce Brinson" <bbrinson@ARUBA.APPLE.COM>
  1455. Subject:      Re: What are FrontMost and FaceSpan.
  1456.  
  1457. >I scrounged AppleScript off of some PowerMac disk images on one of Apple's
  1458. >servers so I don't have much.
  1459. >
  1460. >I was wondering what FaceSpan and FrontMost are.  I plan on buying
  1461. >something about AppleScript in the next month or so and I am trying to see
  1462. >what comes with what packages.
  1463. >
  1464. Why not just BUY one of the packages?
  1465.  
  1466. Bruce
  1467.  
  1468. >B. Bruce Brinson
  1469. >Internet    : bbrinson@aruba.apple.com
  1470. >AppleLink : b.brinson
  1471. >FAX           : (408) 253-9281
  1472. =========================================================================
  1473. Date:         Tue, 5 Jul 1994 18:11:56 GMT
  1474. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1475. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1476. From:         Paul G Smith <paul@CTALK.EXNET.COM>
  1477. Organization: commstalk, & Full Moon Software Inc
  1478. Subject:      Mailing list for ScriptWizard users/info
  1479.  
  1480. Hi folks,
  1481.  
  1482. We are going to start a mailing list for users of, and people
  1483. interested in, ScriptWizard. This mailing list will run on our UUCP
  1484. server here at Full Moon Software, via email only.
  1485.  
  1486. To join the list, or remove yourself from the list, or to ask
  1487. administrative questions, please send email to:
  1488.         list.admin@ctalk.exnet.com
  1489. (please note this list is administered manually, so it may take
  1490. up to a few days to add or remove names).
  1491.  
  1492. The ScriptWizard mailing list will be a forum for us to announce new
  1493. versions, and (most important) for users to discuss their likes,
  1494. dislikes, and suggestions for new versions of the product. It is not
  1495. intended to stop people discussing general scripting issues that relate
  1496. to SW on the MACSCRPT mailing list, but we expect it will help to limit
  1497. commercially oriented traffic on the main MACSCRPT list (which, we
  1498. are sure, will please the MACSCRPT moderators :-) ).
  1499.  
  1500.  
  1501. best regards, Paul
  1502.  
  1503. ----------------------------------------------------------------
  1504. Paul G Smith, Commstalk HQ          ||  UK ph: +44 727 844232
  1505. P O Box 116, ST ALBANS              ||    fax: +44 727 856139
  1506. Hertfordshire. AL1 2RL. UK          ||  US ph: 408 253 7199
  1507. & Full Moon Software, Inc           ||    fax: 408 252 2378
  1508. P O Box 700237, SAN JOSE, CA 95170  ||  AppleLink: COMMSTALK.HQ
  1509. =========================================================================
  1510. Date:         Tue, 5 Jul 1994 10:21:52 -0800
  1511. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1512. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1513. From:         Leonard Rosenthol <leonardr@NETCOM.COM>
  1514. Subject:      Re: Debugging an applet properly
  1515.  
  1516. >1. I need to have a reliable way to refer to the applet's own
  1517. >parent folder, because that's where I store some configuration
  1518. >files the applet uses (I donUt want to hardcode the path).
  1519. >"path to me" returns the path to the applet only when it's running
  1520. >as an applet. When it's run from inside Script Editor, "me" is
  1521. >interpreted to be Script Editor -- not the desirable effect. I'm
  1522. >tired of having to hardcode in a path every time I need to debug
  1523. >the applet; is there any way to say, path to this very script file?
  1524. >
  1525.         There does not appear to be anything built into AppleScript to do
  1526. this, as some folks have been asking me about that for OSAMenu so they can
  1527. change their script names, etc.   I'll probably put an event into OSAMenu
  1528. that can return that currently running script's FSSpec, but that doesn't
  1529. help you.
  1530.  
  1531.         It MIGHT be possible for an OSAX to find out the info you need, but
  1532. it wouldn't be trivial...
  1533.  
  1534.  
  1535. Leonard
  1536.  
  1537. -----------------------------------------------------------------------------
  1538. Leonard Rosenthol                       Internet:       leonardr@netcom.com
  1539. Director of Advanced Technology         AppleLink:      MACgician
  1540. Aladdin Systems, Inc.                   GEnie:          MACgician
  1541. =========================================================================
  1542. Date:         Tue, 5 Jul 1994 13:36:31 -0400
  1543. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1544. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1545. From:         Scott Williams <scottdw@CSCSUN2.LARC.NASA.GOV>
  1546. Subject:      stuffit & applescript samples?
  1547.  
  1548. Hello, newbie here!
  1549.  
  1550.     Would somebody kindly furnish a pointer to sample
  1551. applescripts which demonstrate control of Stuffit Deluxe?
  1552.  
  1553. [ Ultimately, I want to be able to replace each file over
  1554. 500k (or some arbitrary size) with a compressed one on a
  1555. large disk(s) of archived (mostly Illustrator and Photoshop) files.
  1556. Note that the folder structure and smaller files remain unchanged.]
  1557.  
  1558. Thanks very much!
  1559.  
  1560. --Scott D. Williams
  1561. scottdw@cscsparc.larc.nasa.gov
  1562. =========================================================================
  1563. Date:         Sat, 2 Jul 1994 14:38:29 EDT
  1564. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1565. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1566. From:         Shaddar@AOL.COM
  1567. Subject:      Number of windows open
  1568.  
  1569. My dad has this nasty habit of leaving applications running after he is done
  1570. with them because he clicks the close box and forgets to choose "quit."  Not
  1571. only is this annoying, it causes memory crashes when I want to run a large
  1572. program.
  1573.  
  1574. Sooooo, I'm writing a script to yell at him when it finds an application with
  1575. no windows open... my only problem, I don't know how to tell if a
  1576. non-scriptable application has any windows open.  Does anyone know a way to
  1577. do this?  If it's not possible, would it be hard to write an addition to do
  1578. it?
  1579.  
  1580. I'm using Applescript 1.0.1 with Finder 7.1 on a Performa 475.
  1581.  
  1582. Thanks!  :)
  1583.  
  1584. ~josh~
  1585. =========================================================================
  1586. Date:         Tue, 5 Jul 1994 12:13:22 -0700
  1587. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1588. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1589. From:         Rennie Innis <rinnis@TCSGI.MHS.MENDOCINO.K12.CA.US>
  1590. Subject:      Re: FilMaker windows
  1591.  
  1592. In message <9407051414.AA07076@mhs.mendocino.k12.ca.us> Macintosh Scripting
  1593. Systems writes:
  1594. > This may not follow under the applescript class of questions, so I hope I'm
  1595. > not out of line posting this.
  1596. >
  1597. > I have been dabbling with applescript and I can see how I can create an
  1598. > applescript to set a FileMaker window to a certain position and size. However
  1599. > we have about 20 users for the database on the network and not everyone has
  1600. > applescript access. I was hoping to be able to use the send apple event in
  1601. > the FileMaker script maker to do this, but I can't seem to get FileMaker to
  1602. > send the command to itself.
  1603. >
  1604. > Has anyone tackled a similar problem?
  1605. >
  1606. > - Paul Evad
  1607. > pevad@pubaffair.env.gov.bc.ca
  1608.  
  1609. Have you tried to create a "dummy file" which is a separate file just for the
  1610. purpose of receiving the Appleevent and then passing it on the the original db?
  1611.  
  1612.  
  1613. Rennie Innis
  1614. Regional Occupation Program
  1615. Mendocino County Office of Education
  1616. "Nerd Heaven"
  1617. 707-937-1100 lab
  1618. 707-937-2615 home
  1619. 707-937-0733 fax
  1620. =========================================================================
  1621. Date:         Tue, 5 Jul 1994 14:06:29 -0500
  1622. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1623. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1624. From:         Terry Thiel <tthiel@FIREFLY.PRAIRIENET.ORG>
  1625. Subject:      Re: Mailing list for ScriptWizard users/info
  1626. In-Reply-To:  <199407051717.AA09714@firefly.prairienet.org>
  1627.  
  1628. What is Script Wizard?
  1629. -Terry
  1630. ###
  1631. =========================================================================
  1632. Date:         Tue, 5 Jul 1994 14:13:12 -0500
  1633. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1634. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1635. From:         Fred Terry <pfterry@LKS.CSI.COM>
  1636. Subject:      Re: Mailing list for ScriptWizard users/info
  1637. In-Reply-To:  Your message of "Tue, 05 Jul 94 14:06:29 CDT"
  1638.  
  1639. Terry,
  1640.  
  1641. >What is Script Wizard?
  1642.  
  1643. Check out the press release in
  1644.  
  1645. ftp://gaea.kgs.ukans.edu/applescript/PRs/ScriptWizardPR.sit.hqx
  1646.  
  1647. Hope that helps.
  1648.  
  1649. pf
  1650.  
  1651.  
  1652. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  1653. Fred Terry, The Alta Group, pfterry@lks.csi.com, +1 913/841-1283
  1654. =========================================================================
  1655. Date:         Tue, 5 Jul 1994 14:26:35 -0600
  1656. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1657. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1658. From:         Frank Concannon <frank-concannon@UOKHSC.EDU>
  1659. Subject:      Measuring Idle time under script
  1660.  
  1661. Greetings
  1662.  
  1663. I would like to auto powerdown a Mac that has been sitting Idle for several
  1664. hours. Is there a way to find how long a Mac has been sitting Idle using
  1665. AppleScript?
  1666.  
  1667. Frank C.
  1668. R&E
  1669. =========================================================================
  1670. Date:         Tue, 5 Jul 1994 15:18:14 EST
  1671. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1672. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1673. From:         "Klaus P. Fechner" <klaus@SPARKY.RAD.MED.UMICH.EDU>
  1674. Subject:      Re: Number of windows open
  1675.  
  1676. >My dad has this nasty habit of leaving applications running after he is done
  1677. >with them because he clicks the close box and forgets to choose "quit."  Not
  1678. >only is this annoying, it causes memory crashes when I want to run a large
  1679. >program.
  1680. >
  1681. >Sooooo, I'm writing a script to yell at him when it finds an application with
  1682. >no windows open... my only problem, I don't know how to tell if a
  1683. >non-scriptable application has any windows open.  Does anyone know a way to
  1684. >do this?  If it's not possible, would it be hard to write an addition to do
  1685. >it?
  1686.  
  1687. I remembered something similar having been done and found it on info-mac:
  1688.  
  1689. /info-mac/gui/quit-it-121.hqx
  1690.  
  1691. Here is the description from the abstracts file:
  1692.  
  1693. ----
  1694. From: Berrie.Kremers@kub.nl
  1695. Subject: Quit It
  1696. Date: Mon, 31 Jan 1994 22:44:35 +0100
  1697.  
  1698. Enclosed is Quit It v1.2.1, which is a replacement of v1.1 and
  1699. v1.2. Please remove all versions 1.2, because they contain a
  1700. serious bug!!!
  1701.  
  1702. A description of Quit It:
  1703. A Macintosh is very easy to use, but neverteless there are naive
  1704. users who don't understand anything about processes etc. All they
  1705. see is windows on the screen, and to stop working they just close
  1706. the window using the close box. But this leaves the application open,
  1707. which can lead to confusion on one side, and on a shortage of memory
  1708. on the other side. Quit It can take away this problem: whenever the
  1709. last window of an application is closed using the close box, it will
  1710. quit the application. That's all there is to it.
  1711. ----
  1712.  
  1713. Of course, if you insist on reinventing the wheel with Applescript ...
  1714.  
  1715. :-)
  1716.  
  1717. Klaus
  1718.  
  1719. ------------------------------------------------------------------------
  1720. Klaus P. Fechner<klaus@sparky.rad.med.umich.edu> VAMC Palo Alto, CA, USA
  1721. =========================================================================
  1722. Date:         Tue, 5 Jul 1994 13:26:03 -0700
  1723. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1724. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1725. From:         Kevin Purcell <xenolith@HALCYON.COM>
  1726. Subject:      Re: help
  1727.  
  1728. >Help.
  1729. >How do I post ?
  1730.  
  1731. You just did!
  1732.  
  1733.  
  1734. Kevin Purcell, N7WIM / G8UDP   Are you a Mac developer? Live close to Seattle?
  1735. xenolith@halcyon.com           We need you in the dBug Mac Dev SIG. Mail me!
  1736. (206) 649-6489                 "Organising programmers is like herding cats"
  1737. =========================================================================
  1738. Date:         Tue, 5 Jul 1994 16:43:24 -0400
  1739. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1740. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1741. From:         "Andy J. Williams" <ack@COOS.DARTMOUTH.EDU>
  1742. Subject:      Re: Subscribe
  1743. In-Reply-To:  <no.id> from "Dario Lopez =?iso-8859-1?Q?K=E4sten?=" at Jul 1,
  1744.               94 09:18:51 pm
  1745.  
  1746. Dario Lopez =?iso-8859-1?Q?K=E4sten?= hath writ:
  1747. >
  1748. > I want to subscribe. Is this correct or am I just messing things up?
  1749.  
  1750. Send mail to "listserv@dartmouth.edu" and in the body of the message put
  1751.  
  1752. subscribe macscrpt <your name>
  1753.  
  1754. (replace "<your name>" with your actual name. For example, I would type
  1755. "subscribe macscrpt Andy Williams")
  1756.  
  1757. If you get stuck, send mail to macscript-request@dartmouth.edu
  1758.  
  1759. -A
  1760.  
  1761. --
  1762. Andy J. Williams (AndyJW@dartmouth.edu)
  1763. Manager, Computer Resource Center, Dartmouth College
  1764.  
  1765. "Doing strange things in the name of art..."
  1766. =========================================================================
  1767. Date:         Tue, 5 Jul 1994 17:27:41 -0400
  1768. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1769. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1770. From:         Data <czen@COLUMBIA.EDU>
  1771. Subject:      Kill Faceless Processes
  1772. In-Reply-To:  <199407052019.AA10676@mailhub.cc.columbia.edu>
  1773.  
  1774. hi,
  1775.         is there a utilities that will lemme kill those "faceless"
  1776. processes that does not show up in the application menus? thanx much.
  1777.  
  1778.  
  1779. /data                                                  <czen@columbia.edu>
  1780.               Matrix 29.12 Op and Control Strip Modules Archive Maintainer
  1781. --------------------------------------------------------------------------
  1782. voice 212-853-2280                      Matrix 29.12 now fully operational
  1783. --------------------------------------------------------------------------
  1784. Love your enemies: they'll go crazy trying to figure out what you're up to.
  1785. =========================================================================
  1786. Date:         Tue, 5 Jul 1994 16:46:15 -0500
  1787. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1788. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1789. From:         Fred Terry <pfterry@LKS.CSI.COM>
  1790. Subject:      Re: Kill Faceless Processes
  1791. In-Reply-To:  Your message of "Tue, 05 Jul 94 17:27:41 EDT"
  1792.  
  1793. >        is there a utilities that will lemme kill those "faceless"
  1794. >processes that does not show up in the application menus? thanx much.
  1795. >
  1796.  
  1797. You might want to take a look at one of these two.
  1798.  
  1799. ftp://mac.archive.umich.edu/mac/util/developer/peekaboo1.1.cpt.hqx
  1800. ftp://mac.archive.umich.edu/mac/util/multifinder/processwatcher2.0.sit.hqx
  1801.  
  1802. I'm not sure about peekaboo, but I have used processwatcher for killing fba's.
  1803.  
  1804. pf
  1805. =========================================================================
  1806. Date:         Tue, 5 Jul 1994 17:52:17 -0400
  1807. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1808. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1809. From:         Data <czen@COLUMBIA.EDU>
  1810. Subject:      Re: Kill Faceless Processes
  1811. In-Reply-To:  <199407052148.AA20439@mailhub.cc.columbia.edu>
  1812.  
  1813. > You might want to take a look at one of these two.
  1814. > ftp://mac.archive.umich.edu/mac/util/developer/peekaboo1.1.cpt.hqx
  1815. > ftp://mac.archive.umich.edu/mac/util/multifinder/processwatcher2.0.sit.hqx
  1816. > I'm not sure about peekaboo, but I have used processwatcher for killing fba's.
  1817.  
  1818. thanx much. btw, peekaboo is a stupid afterdark module :(
  1819. (i remember downloaded it in the past)
  1820.  
  1821. /data                                                  <czen@columbia.edu>
  1822.               Matrix 29.12 Op and Control Strip Modules Archive Maintainer
  1823. --------------------------------------------------------------------------
  1824. voice 212-853-2280                      Matrix 29.12 now fully operational
  1825. --------------------------------------------------------------------------
  1826. Love your enemies: they'll go crazy trying to figure out what you're up to.
  1827. =========================================================================
  1828. Date:         Tue, 5 Jul 1994 18:32:39 EDT
  1829. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1830. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1831. From:         Shaddar@AOL.COM
  1832. Subject:      Re: Kill Faceless Processes
  1833.  
  1834. Excuse me if I'm totally offbase, but it seems to me it wouldn't be that hard
  1835. to write a script which simply presented a dialog box for each app running (I
  1836. think this would get faceless ones too) and give you an option to quit.  I
  1837. haven't tried it so it might be wrong, but I thought it might help.
  1838.  
  1839. ~josh~
  1840. =========================================================================
  1841. Date:         Tue, 5 Jul 1994 18:17:00 -0500
  1842. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1843. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1844. From:         Steve Martin <martin@METRONET.COM>
  1845. Subject:      Re: Kill Faceless Processes
  1846.  
  1847. >hi,
  1848. >        is there a utilities that will lemme kill those "faceless"
  1849. >processes that does not show up in the application menus? thanx much.
  1850.  
  1851. Hypercard works pretty good.  Type "close <app name>" into the message box.
  1852.  
  1853. Steve Martin (Please don't ask, I'm not the actor.)
  1854.   Internet: martin@metronet.com   NewtonMail: SFMartin@eworld.com
  1855. Compuserve: 72727,1471    AppleLink: SteveMartin  AOL: Steve Mart
  1856. WWW: http://www.metronet.com/1/HomePages/martin which contains...
  1857. Upcoming letterboxed movie TV schedule and latest version of Dockernaut and
  1858. lots of links.
  1859. =========================================================================
  1860. Date:         Tue, 5 Jul 1994 19:46:01 -0400
  1861. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1862. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1863. From:         Data <czen@COLUMBIA.EDU>
  1864. Subject:      Re: Kill Faceless Processes
  1865. In-Reply-To:  <199407052233.AA24180@mailhub.cc.columbia.edu>
  1866.  
  1867. > to write a script which simply presented a dialog box for each app running (I
  1868. > think this would get faceless ones too) and give you an option to quit.  I
  1869. > haven't tried it so it might be wrong, but I thought it might help.
  1870.  
  1871. would someone like to volunteer and write a script that does such?
  1872. thanx much
  1873.  
  1874. /data                                                  <czen@columbia.edu>
  1875.               Matrix 29.12 Op and Control Strip Modules Archive Maintainer
  1876. --------------------------------------------------------------------------
  1877. voice 212-853-2280                      Matrix 29.12 now fully operational
  1878. --------------------------------------------------------------------------
  1879. Love your enemies: they'll go crazy trying to figure out what you're up to.
  1880. =========================================================================
  1881. Date:         Tue, 5 Jul 1994 22:30:54 -0400
  1882. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1883. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1884. From:         anthony brown <anbrown@HUSC9.HARVARD.EDU>
  1885. Subject:      scripting control panels...
  1886.  
  1887. Does anyone out there know how to script control panels using
  1888. applescript?  I am interested if scripting the extensions manager control
  1889. panel.  Can anyone out there help?
  1890.  
  1891. Anthony
  1892.  
  1893. *************************************************************************
  1894. *                                                                       *
  1895. *  Anthony Brown, Harvard University                                    *
  1896. *                                                                       *
  1897. *  "You need my love, baby oh so bad,                                   *
  1898. *  "You're not the only one I've ever had,                              *
  1899. *  "And if I say I wanna set you free,                                  *
  1900. *  "Don't you know you'll be in misery?                                 *
  1901. *  "They call me Dr. Love. I've got the cure you're thinking of!        *
  1902. *  Gene Simmons circa 1976                                              *
  1903. *                                                                       *
  1904. *  The Dolphins will win the superbowl in '95!!!                        *
  1905. *                                                                       *
  1906. *************************************************************************
  1907. =========================================================================
  1908. Date:         Tue, 5 Jul 1994 23:35:59 -0400
  1909. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1910. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1911. From:         Data <czen@COLUMBIA.EDU>
  1912. Subject:      Re: Kill Faceless Processes
  1913. In-Reply-To:  <199407052148.AA20439@mailhub.cc.columbia.edu>
  1914.  
  1915. > ftp://mac.archive.umich.edu/mac/util/multifinder/processwatcher2.0.sit.hqx
  1916. > I'm not sure about peekaboo, but I have used processwatcher for killing fba's.
  1917.  
  1918. i downloaded ProcessWatcher, it appears that it can kill most of the
  1919. faceless processes, except Gimmick that keyboard hack, anyone have any
  1920. sugggestions or guesses why it probabaly did ont work? thanx much
  1921.  
  1922.  
  1923. /data                                                  <czen@columbia.edu>
  1924.               Matrix 29.12 Op and Control Strip Modules Archive Maintainer
  1925. --------------------------------------------------------------------------
  1926. voice 212-853-2280                      Matrix 29.12 now fully operational
  1927. --------------------------------------------------------------------------
  1928. Love your enemies: they'll go crazy trying to figure out what you're up to.
  1929. =========================================================================
  1930. Date:         Wed, 6 Jul 1994 00:57:33 -0400
  1931. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1932. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1933. From:         Data <czen@COLUMBIA.EDU>
  1934. Subject:      Control Strip Modules Archive Site
  1935. In-Reply-To:  <199407060428.AA18354@mailhub.cc.columbia.edu>
  1936.  
  1937. > Does anyone out there know how to script control panels using
  1938. > applescript?  I am interested if scripting the extensions manager control
  1939. > panel.  Can anyone out there help?
  1940.  
  1941. as the archive maintainer , i would like you all to know about
  1942. availability of this control-strip-modules-site (i am also thinking of
  1943. puttin a script and a source dir in the archive)
  1944.  
  1945. attached is my announcement posting on usenet.
  1946. --- cut from posting ---
  1947. Hi, Control Strip Fans:
  1948.  
  1949.   Welcome to the first "Control Strip Module Archive" on the net(as far
  1950. as I know and hope) :-) It will run 24 hours a day, 7 days a week until
  1951. the end of August 1994 (I will have an IP address change then,  so just
  1952. email me and i will send you the new site address)
  1953.  
  1954.                     The current archive site is at:
  1955. -----------------------------------------------------------------------------
  1956.                   matrix29.schapiro.dorm.columbia.edu
  1957.                            128.59.222.82
  1958.  
  1959. To ensure that this archive is up-to-date,  I will be compiling Freeware,
  1960. Shareware, and "any-other-ware" Modules off the net, CompuServe, America
  1961. OnLine, etc. on a regular basis(ususally dialy). However, Control Strip
  1962. Developers, please upload or emai me your new module(s), and It will be
  1963. available to the net within 1-4 hours.
  1964.  
  1965. The modules contained in this archive are NOT commerical softwares.
  1966.  
  1967. I would like to thank the following people for their advice and support:
  1968. (the names are in the order of their product releases)
  1969. Mr. Robert S. Mah<rmah@panix.com>, author of "Control Strip Patcher"
  1970. Patrick McClaughry<patm@parcplace.com>, author of "Ballon Help ME"
  1971. Jeremy Kezer<jbkezer@aol.com>, author of "Jeremy's Control Strip Modules"
  1972.  
  1973. Last but maybe the most, please do expect some connection refused messages
  1974. as well as the slow transfer rate between the hours of 20:00 - 24:00 EST, for
  1975. the simple reason that I am at the console (unfortunately system 7 does
  1976. still
  1977. crash too often)
  1978.  
  1979. have fun.
  1980.  
  1981. /Data <czen@columbia.edu>
  1982. Matrix 29.12 Op and Control Strip Modules Archive Maintainer.
  1983. 7/2/1994
  1984.  
  1985. --- end post cut ---
  1986.  
  1987.  
  1988.  
  1989. /data                                                  <czen@columbia.edu>
  1990.               Matrix 29.12 Op and Control Strip Modules Archive Maintainer
  1991. --------------------------------------------------------------------------
  1992. voice 212-853-2280                      Matrix 29.12 now fully operational
  1993. --------------------------------------------------------------------------
  1994. Love your enemies: they'll go crazy trying to figure out what you're up to.
  1995. =========================================================================
  1996. Date:         Wed, 6 Jul 1994 11:07:16 -0500
  1997. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1998. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  1999. From:         David Boroditsky <sage!dave@NOC.TOR.HOOKUP.NET>
  2000. Organization: Sage Design
  2001. Subject:      Need real text editor
  2002.  
  2003. I am sooooo tired of the wimpy 32K file size limit that TeachText and now
  2004. (why?!?) SimpleText have. My frustration is compounded by the fact that we
  2005. use the FirstClass BBS as our UUCP Gateway and mail thing-a-ma-bobber, and it
  2006. automatically (no choice) takes any mail message larger than 32K and turns it
  2007. into a TeachText type text file attachment! In my mind, this is one of the
  2008. top ten examples of frustration.
  2009.  
  2010. Where o where is a replacement for the all too wimpy offerings from Apple. I
  2011. want a program that will take over SimpleText's file type and creator
  2012. signature and let me open whatever file I want.
  2013.  
  2014. Losing it... please help...
  2015.  
  2016. +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
  2017. |       Everything is very very deeply      \
  2018. |    I  N  T  E  R  T  W  I  N  G  L  E  D   \
  2019. | dave@sage.uucp/sage!dave@noc.tor.hookup.net \
  2020. +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
  2021. =========================================================================
  2022. Date:         Wed, 6 Jul 1994 08:34:38 -0800
  2023. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2024. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2025. From:         Mark Alldritt <alldritt@WIMSEY.COM>
  2026. Subject:      Re: Debugging an applet properly
  2027.  
  2028. Hi,
  2029.  
  2030. Script Tools allows you to figure out the file spec of the running script
  2031. (compiled script applications only).  Try the following:
  2032.  
  2033. get process (get current process)
  2034. display dialog ((application file of the result) as string)
  2035.  
  2036. Cheers
  2037. -Mark
  2038. =========================================================================
  2039. Date:         Wed, 6 Jul 1994 13:47:17 -0400
  2040. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2041. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2042. From:         Data <czen@COLUMBIA.EDU>
  2043. Subject:      Re: Need real text editor
  2044. In-Reply-To:  <199407061526.AA10747@mailhub.cc.columbia.edu>
  2045.  
  2046. > Where o where is a replacement for the all too wimpy offerings from Apple. I
  2047. > want a program that will take over SimpleText's file type and creator
  2048. > signature and let me open whatever file I want.
  2049.  
  2050. have you tried BBEdit? it was such a cool editor, until it went
  2051. commercial, but you can still get the lite version on sumex.
  2052.  
  2053. /data                                                  <czen@columbia.edu>
  2054.               Matrix 29.12 Op and Control Strip Modules Archive Maintainer
  2055. --------------------------------------------------------------------------
  2056. voice 212-853-2280                      Matrix 29.12 now fully operational
  2057. --------------------------------------------------------------------------
  2058. Love your enemies: they'll go crazy trying to figure out what you're up to.
  2059. =========================================================================
  2060. Date:         Wed, 6 Jul 1994 10:47:55 -0700
  2061. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2062. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2063. From:         Kevin Purcell <xenolith@HALCYON.COM>
  2064. Subject:      Re: Folder Trash Not Found Error
  2065.  
  2066. >> >             copying files to Novell volumes
  2067. >...
  2068. >> >    I have run into a problem in that when I copy to a folder on a Novell
  2069. >> >volume I get a message "volume name:folder trash not found" when I try to
  2070. >>use
  2071. >> >copyFiles or moveFiles without warning.  In the testing stage when I was
  2072. >> >copying with warning I never got this error.
  2073. >
  2074. >Did you notice that the trash can on Novel volume (3.12) is named "Network
  2075. >Trash
  2076. > Folder" which contains folders "Trash Can #1", "Trash Can #2" etc. and also
  2077. >the
  2078. > "Trash Can Usage Map" while pure Mac volume contains only the folder "trash".
  2079. >
  2080. >        - Loimu
  2081.  
  2082. Drifting of the scripting topic this is true for all AFP servers (check out
  2083. Windows NT Advanced Server AppleTalk services for example).
  2084.  
  2085. So this might be something worth noting in general for networked disks.
  2086.  
  2087. Kevin Purcell, N7WIM / G8UDP   Are you a Mac developer? Live close to Seattle?
  2088. xenolith@halcyon.com           We need you in the dBug Mac Dev SIG. Mail me!
  2089. (206) 649-6489                 "Organising programmers is like herding cats"
  2090. =========================================================================
  2091. Date:         Wed, 6 Jul 1994 10:26:22 -0700
  2092. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2093. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2094. From:         "Dr. Barrett Stridiron" <BSTRIDIRON@CC.WEBER.EDU>
  2095. Subject:      Re: Need real text editor
  2096.  
  2097. > Where o where is a replacement for the all too wimpy offerings from Apple. I
  2098. > want a program that will take over SimpleText's file type and creator
  2099. > signature and let me open whatever file I want.
  2100.  
  2101. May I suggest SaintEdit? It's small, fast (AND has a Search & Replace function,
  2102. wonder of wonders).  Filesize is only limited to available memory.
  2103.  
  2104. It can be found on any Info-Mac fileserver, in the App directory.
  2105.  
  2106. Give it a try!
  2107.  
  2108.  
  2109.           +------+
  2110.           | \|/  |
  2111.           | -+-  +----+  Dr. Barrett Stridiron
  2112.           | /|\       |  Weber State University
  2113.           |   This    |  Ogden, Utah
  2114.           |   space   |
  2115.           |   for     |  InterNet   : BSTRIDIRON@CC.WEBER.EDU
  2116.           |   rent!   |  ICBM-Net   : 41'20" N  112'73" W
  2117.           +-----------+               (Last resort use only)
  2118. =========================================================================
  2119. Date:         Wed, 6 Jul 1994 15:50:42 -0400
  2120. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2121. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2122. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  2123. Subject:      Re: Need real text editor
  2124. In-Reply-To:  <no.id> from "Dr. Barrett Stridiron" at Jul 6, 94 10:26:22 am
  2125.  
  2126. --Dr. Barrett Stridiron wrote:
  2127. >
  2128. >May I suggest SaintEdit? It's small, fast (AND has a Search & Replace
  2129. >function, wonder of wonders).  Filesize is only limited to available
  2130. >memory.
  2131. >
  2132. >It can be found on any Info-Mac fileserver, in the App directory.
  2133.  
  2134.     Actually, it's found in the info-mac/text directory. Btw, just what
  2135. does this subject have to do with Scripting on the Mac?
  2136.  
  2137. -Hades
  2138. =========================================================================
  2139. Date:         Wed, 6 Jul 1994 13:04:51 -0800
  2140. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2141. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2142. From:         Jamie Lawrence <jamiel@SYBASE.COM>
  2143. Subject:      wierd variable substitution problem
  2144.  
  2145. Does anybody know what is going on here?
  2146. line 2 works just fine, but line 3 errors with "Could not
  2147. make "To" into an integer."
  2148.  
  2149.  
  2150. 1) tell application "Eudora"
  2151.  
  2152. 2)   set mfolder to ""
  2153.  
  2154. 3)   set theMessage to "Message " & messageNum & " of Mailbox Out"
  2155.        & " of Mail Folder " & mfolder
  2156.  
  2157. 4)   set ETo to Field "To" of Message messageNum of Mailbox
  2158.        "Out" of Mail Folder mfolder
  2159.  
  2160. 5)   set EFrom to Field "From" of theMessage
  2161.  
  2162. 6) end tell
  2163.  
  2164. I suppose I don't have to do it this way (with the variable
  2165. theMessage) but I am very curious as to why it doesn't work.
  2166.  
  2167. Any ideas?
  2168.  
  2169. thanks-
  2170.  
  2171.  
  2172. -j
  2173. --
  2174. "Blah Blah Blah"
  2175. ___________________________________________________________________
  2176. Jamie Lawrence                                  <jamiel@sybase.com>
  2177. =========================================================================
  2178. Date:         Wed, 6 Jul 1994 16:44:29 -0400
  2179. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2180. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2181. From:         Data <czen@COLUMBIA.EDU>
  2182. Subject:      Re: Need real text editor
  2183. In-Reply-To:  <199407061952.AA11226@mailhub.cc.columbia.edu>
  2184.  
  2185. > >May I suggest SaintEdit? It's small, fast (AND has a Search & Replace
  2186. >     Actually, it's found in the info-mac/text directory. Btw, just what
  2187. > does this subject have to do with Scripting on the Mac?
  2188.  
  2189. i guess you use a text editor to write scripts? :)
  2190.  
  2191. /data                                                  <czen@columbia.edu>
  2192.               Matrix 29.12 Op and Control Strip Modules Archive Maintainer
  2193. --------------------------------------------------------------------------
  2194. voice 212-853-2280                      Matrix 29.12 now fully operational
  2195. --------------------------------------------------------------------------
  2196. Love your enemies: they'll go crazy trying to figure out what you're up to.
  2197. =========================================================================
  2198. Date:         Mon, 4 Jul 1994 12:39:06 EDT
  2199. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2200. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2201. From:         Shaddar@AOL.COM
  2202. Subject:      Applescript development kit
  2203.  
  2204. I'm going to be buying a PowerPC 7100/66 AV in August when the prices drop
  2205. and through my school at an educational discount.  Will it come with
  2206. Applescript?  The scriptable Finder?
  2207.  
  2208. I bought Danny Goodman's book and have been using AS 1.0.1 on my Performa.
  2209.  If the scriptable Finder and latest version of AS *don't* come with my PPC,
  2210. then I'll buy them now.  If they do, I'll save a few hundred bucks ($199 for
  2211. AS Development kit) ($??? for SF) and wait.
  2212.  
  2213. Thanks to anyone who can help me out.  :)
  2214.  
  2215. ~josh~
  2216. =========================================================================
  2217. Date:         Wed, 6 Jul 1994 17:04:20 -0400
  2218. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2219. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2220. From:         David Brown <dlb1@SEQUOIA.LLE.ROCHESTER.EDU>
  2221. Subject:      Applescripting Serial Port
  2222.  
  2223. Greetings,
  2224.         Is there an osax for simple serial port communications through
  2225. Applescript?  I suppose SITComm might do what I need, but it's overkill for
  2226. my purposes.  If not, what's available for Hypercard 2.1?  I remember this
  2227. being asked before, but I didn't find an answer in my search of the list
  2228. archives.  Thanks in advance.
  2229.  
  2230. -- Dave
  2231.  
  2232.  
  2233. David L. Brown <dlb1@lle.rochester.edu>
  2234. Laboratory for Laser Energetics
  2235. 250 East River Road
  2236. Rochester, NY 14623 USA                                           UR  \|/
  2237. -----------------------------------------------------------------------*--
  2238. (716) 275-6880                                                    LLE /|\
  2239. =========================================================================
  2240. Date:         Thu, 7 Jul 1994 09:36:00 +1200
  2241. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2242. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2243. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  2244.               NZ" <LDO@WAIKATO.AC.NZ>
  2245. Subject:      Re: Need real text editor
  2246.  
  2247. David Boroditsky <sage!dave@NOC.TOR.HOOKUP.NET> writes:
  2248.  
  2249. >I am sooooo tired of the wimpy 32K file size limit that TeachText and now
  2250. >(why?!?) SimpleText have.
  2251. ...
  2252. >Where o where is a replacement for the all too wimpy offerings from Apple. I
  2253. >want a program that will take over SimpleText's file type and creator
  2254. >signature and let me open whatever file I want.
  2255.  
  2256. In my mind, there is only one non-wimpy text editor on the Mac. It's an Apple
  2257. product: MPW Shell. It's a combination shell/editor, you can drive it via
  2258. scripts, define custom menus, redefine key bindings, and write new tools that
  2259. run under it. You can also feed it commands via "Do Script" AppleEvents. You
  2260. can fix the creator codes on all your text files with one "SetFile" command,
  2261. then they will open in MPW when you double-click them.
  2262.  
  2263. Does that sound like what you're after?
  2264.  
  2265. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  2266. Info & Tech Services Division              fax: +64-7-838-4066
  2267. University of Waikato            electric mail: ldo@waikato.ac.nz
  2268. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  2269. =========================================================================
  2270. Date:         Wed, 6 Jul 1994 14:51:17 -0800
  2271. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2272. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2273. From:         Leonard Rosenthol <leonardr@NETCOM.COM>
  2274. Subject:      Re: Need real text editor
  2275.  
  2276. >> Where o where is a replacement for the all too wimpy offerings from Apple. I
  2277. >> want a program that will take over SimpleText's file type and creator
  2278. >> signature and let me open whatever file I want.
  2279. >
  2280. >have you tried BBEdit? it was such a cool editor, until it went
  2281. >commercial,
  2282. >
  2283.         And now it it even cooler!!  Especially the forthcoming version
  2284. which is scriptable!
  2285.  
  2286. Leonard
  2287.  
  2288. -----------------------------------------------------------------------------
  2289. Leonard Rosenthol                       Internet:       leonardr@netcom.com
  2290. Director of Advanced Technology         AppleLink:      MACgician
  2291. Aladdin Systems, Inc.                   GEnie:          MACgician
  2292. =========================================================================
  2293. Date:         Wed, 6 Jul 1994 22:59:44 +0000
  2294. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2295. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2296. From:         Neil Christie <Neil@CHRISTIE.DEMON.CO.UK>
  2297. Subject:      How to pause in scripts (trying to script mail operations)
  2298.  
  2299. This is my first posting so please ecxuse any mistakes, excessive length,
  2300. points covered in faqs etc. Does anyone know of a way to pause a script
  2301. either for a set period of time or until something has happened. I need to
  2302. do this as I am trying to script my mail programs, Eudora to logon, get my
  2303. mail then close the connection and quit and Leemail to receive my mail. My
  2304. service provider, Demon,  sends SMTP mail as soon as I login so all I have
  2305. to do is have my PPP connection opened by Leemail which it does
  2306. automatically or have it running when the connection is opened.
  2307.  
  2308. I am using the MacPPP Control scripting addition to control any opening or
  2309. closing of my PPP connection where necessary, and the Menu Events Scripting
  2310. Addition to select send queued mail from within Eudora.
  2311.  
  2312. The main problem is making the scripts wait until Eudora has finished
  2313. sending mail before quitting and until Leemail has finished receiving
  2314. before quitting.
  2315.  
  2316. I have tried using timeouts and dialog boxes but they require me to be
  2317. present defeating the purpose of the programs. I have also tried using the
  2318. time the program has been running returned by the Application Info
  2319. scripting addition in a repeat until. A sort of repeat until time = 180
  2320. with the get the info line just before and also within the loop to give the
  2321. programs three minutes but this didn't work. I know that Eudora is
  2322. AppleScriptable but its commands are mainly related to filing messages and
  2323. replying to existing messages. At present I am using Eudora v1.4, maybe the
  2324. later versions are more scriptable I will have to have a look.
  2325.  
  2326. I ideally want to be able to set the scripts to run at a certain time of
  2327. the day, any suggestions as to how, preferably allowing the mac to be used
  2328. in the meantime.
  2329.  
  2330. If anyone has already scripted these mail operations using any non
  2331. commercial applications particularly the two I am using then scripts or
  2332. details of these other programs would be greatly appreciated.
  2333.  
  2334. Thanks a lot, Neil.
  2335.  
  2336. Neil Christie       |Voice/Fax: 031 229 6507
  2337. 14 West Castle Road |E-Mail:    Neil@christie.demon.co.uk
  2338. Edinburgh           |-------------------------------------
  2339. EH10 5AU            |Apple Macintosh Centris 660AV 8/230 CD.
  2340. Scotland            |System 7.1, running PPP on a 14.4K modem
  2341. =========================================================================
  2342. Date:         Mon, 4 Jul 1994 19:15:31 EDT
  2343. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2344. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2345. From:         Shaddar@AOL.COM
  2346. Subject:      Re: working with nonscriptable applic.
  2347.  
  2348. >    Examining another application's windows could be done from an INIT,
  2349. >which can execute while another application is active. It gets kind of
  2350. >hairy, though, and one can't collect much meaningful information. It
  2351. >would be possible to determine the title of the window, but not much
  2352. >else.
  2353.  
  2354. All I need to know is if an app has any windows open, nothing about the
  2355. window's characteristics, just if it exists.
  2356.  
  2357. ~josh~
  2358. =========================================================================
  2359. Date:         Wed, 6 Jul 1994 16:16:46 -0700
  2360. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2361. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2362. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  2363. Subject:      Re: Applescript development kit
  2364.  
  2365. >I'm going to be buying a PowerPC 7100/66 AV in August when the prices drop
  2366. >and through my school at an educational discount.  Will it come with
  2367. >Applescript?  The scriptable Finder?
  2368.  
  2369. For the CD and hard disk which came with my early Power Mac, the answers
  2370. are that a bare AppleScript (1.1) comes with the Power Mac, but the
  2371. Scriptable Finder doesn't.
  2372.  
  2373.  
  2374. >I bought Danny Goodman's book and have been using AS 1.0.1 on my Performa.
  2375. > If the scriptable Finder and latest version of AS *don't* come with my PPC,
  2376. >then I'll buy them now.  If they do, I'll save a few hundred bucks ($199 for
  2377. >AS Development kit) ($??? for SF) and wait.
  2378.  
  2379. If you're willing to wait anyhow, then perhaps you can wait until System 7.5.
  2380.  
  2381. But...if you put any reasonable value on your time (what you could sell it
  2382. for, what having more of it is worth to you in terms of doing free time
  2383. things, etc), the time wasted fooling with FinderLib, Finder Liaison,
  2384. Scripting Additions, etc etc is worth more than the cost of the Scriptable
  2385. Finder today.  [But...the outlay is real cash, while the gain is unreal:
  2386. even better, since there's no income tax on the gain as there would be if
  2387. you sold that much time to someone.]
  2388.  
  2389.    --John
  2390.  
  2391. --
  2392. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  2393. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  2394. =========================================================================
  2395. Date:         Thu, 7 Jul 1994 09:18:09 +1000
  2396. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2397. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2398. From:         Jeremy Peter Howard <jhoward@ARIEL.UCS.UNIMELB.EDU.AU>
  2399. Subject:      Re: Applescript development kit
  2400. In-Reply-To:  <199407062130.HAA15384@ariel.ucs.unimelb.EDU.AU> from
  2401.               "Shaddar@AOL.COM" at Jul 4, 94 12:39:06 pm
  2402.  
  2403. >
  2404. > I'm going to be buying a PowerPC 7100/66 AV in August when the prices drop
  2405. > and through my school at an educational discount.  Will it come with
  2406. > Applescript?  The scriptable Finder?
  2407. >
  2408. > I bought Danny Goodman's book and have been using AS 1.0.1 on my Performa.
  2409. >  If the scriptable Finder and latest version of AS *don't* come with my PPC,
  2410. > then I'll buy them now.  If they do, I'll save a few hundred bucks ($199 for
  2411. > AS Development kit) ($??? for SF) and wait.
  2412. >
  2413. > Thanks to anyone who can help me out.  :)
  2414. >
  2415. It will come with AS1.1 (mine did). The scriptable Finder hadn't been
  2416. released when I bought mine, so I don't know if it is included now.
  2417.  
  2418. You could wait for Sys7.5, though.
  2419.  
  2420. Hope this helps,
  2421.  
  2422.  
  2423. /==============================\
  2424. | Jeremy P. Howard              |    07062328.JAA25675@ariel.ucs.unimelb.EDU.AU> from
  2425.               "christopher edward etesse" at Jul 6, 94 07:21:17 pm
  2426.  
  2427. >
  2428. > I need some help -- I've got a database that I'm extracting data from (Very
  2429. > large) and need to fill in missing information (Blank spaces).  I wrote this
  2430. > Macro in Excel 4.0 to that but it replaced the entire area selected with the
  2431. > word "Blank".  What I want it to do is check cell by cell for a blank space
  2432.  and
  2433. > then replace those with the word "Blank".
  2434. > The main reason I'm doing this is because when I extract a record (say a state
  2435. > with numerous fields of data) the last half of the extraction is not correct
  2436. > with the initial data.  The only criteria I set is the name of the State and
  2437.  so
  2438. > it brings only one record up.  The  first half of this record corresponds
  2439. > exactly with the data in the database, but the second half is wrong.....I'm
  2440. > hoping that filling in the blank spaces with the word "Blank" will solve this
  2441. > problem.
  2442. >
  2443. > replace (r)
  2444. > =FOR.CELL("Cell_ref")
  2445. > =FORMULA("=REPLACE("""",1,5,""Blank"")",Cell_ref)
  2446. > =NEXT()
  2447. > =RETURN()
  2448. >
  2449. I'm not sure that I understand why your blank cells are causing a problem.
  2450. However, to replace blank cells with the word blank, loop through the cells
  2451. in the range to check, with a command like the following,
  2452.  
  2453. =if(cell("type")="b")
  2454. =formula("Blank")
  2455. =end.if()
  2456.  
  2457. Or in Applescript flavor, where the required range is called "reqRange"
  2458.  
  2459. repeat with thisRow in reqRange
  2460.         repeat with theCell in thisRow
  2461.                 if type of thisCell = "b"       --can't remember if this is
  2462. the right property name
  2463.                         set value of thisCell to "Blank"
  2464.                 end if
  2465.         end repeat
  2466. end repeat
  2467.  
  2468. I don't have docs for AS or XL in front of me, so these examples are
  2469. probably full of syntax problems, but the idea should still work.
  2470.  
  2471. Note that you can loop through a range with two repeat statements, since XL
  2472. considers a table a list of lists. Note also that the cell function returns
  2473. information about the currently selected cell if you do not include a
  2474. second parameter.
  2475.  
  2476. Hope this helps,
  2477.  
  2478.  
  2479. /==============================\
  2480. | Jeremy P. Howard              |       "Logic must take care of itself."
  2481. | jhoward@ariel.unimelb.edu.au  |        Ludwig Wittgenstein
  2482. \==============================/                 Tractatus Logico-Philisophicus
  2483. =========================================================================
  2484. Date:         Wed, 6 Jul 1994 20:39:54 EDT
  2485. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2486. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2487. From:         Chris Etesse <UK05899@UKCC.UKY.EDU>
  2488. Subject:      Re: Excel Macros --> Turning blanks into "Blank"
  2489. In-Reply-To:  Message of Thu,
  2490.               7 Jul 1994 10:26:00 +1000 from <jhoward@ARIEL.UCS.UNIMELB.EDU.AU>
  2491.  
  2492. Thanks, I'll try it -- basically I've heard that when extracting a database
  2493. all fields must contain entries for individual records.  Any fields left blank
  2494. in a record might possibly cause the extraction to fail which is what the secon
  2495. d half of my fields are doing.  THe only other thing I can think of is that
  2496. 216 columns by 52 rows is simply too much infomation for Excel to extract and
  2497. that is causing my problem...
  2498.  
  2499. All for now,  Chris
  2500. =========================================================================
  2501. Date:         Wed, 6 Jul 1994 17:42:33 -0700
  2502. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2503. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2504. From:         Christopher Allen <ChristopherA@CONSENSUS.COM>
  2505. Organization: Consensus Development Corporation, San Francisco, CA USA
  2506. Subject:      UPDATE: Everyday AppleScript(tm) Contest Winners
  2507.  
  2508. This is the current list of winners for the Everyday AppleScript(tm)
  2509. Contest. In addition to the list of winners and prizes, it includes a brief
  2510. description of each entry, and a URL to find it.
  2511.  
  2512. I am missing a few URLs, so if you know of another place where one of the
  2513. winning files is archived, please let me know before I post it to MacWeek
  2514. and to NetNews.
  2515.  
  2516. ------------------------------------------------------------------------
  2517. ..Christopher Allen                  Consensus Development Corporation..
  2518. ..<ChristopherA@consensus.com>                   4104-24th Street #419..
  2519. ..                                        San Francisco, CA 94114-3615..
  2520. ..                                        o415/647-6383  f415/647-6384..
  2521. ..Mosaic/World-Wide-Web Front Door:                                   ..
  2522. ..ftp://netcom7.netcom.com/pub/consensus/www/ConsensusFrontDoor.html  ..
  2523.  
  2524.  
  2525. Everyday AppleScript(tm) Contest Winners
  2526. ========================================
  2527. The winners of the Everyday AppleScript(tm) Contest are:
  2528.  
  2529. Best AppleScript(tm) Script
  2530. ---------------------------
  2531. DEADLINE PUSHED BACK: We received a number of interesting scripts in this
  2532. category, but after having showed them to people at the MacHack
  2533. conference we decided to reopen this category and allow another month
  2534. for entries. We did receive a couple of compelling scripts, but those
  2535. that were most interesting tended to be too vertical in orientation
  2536. (i.e. useful scripts automating Eudora and Think C.)
  2537.  
  2538. Thus we are moving the deadline to Friday, July 29th to allow for people
  2539. to polish their entries and to allow for new AppleScript entries. The
  2540. winners will be announced at MacWorld Boston!
  2541.  
  2542. Remember, your script does not have to be large or super-fancy. For
  2543. instance, at MacHack we heard of scripts that automatically organize and
  2544. move files in the Finder for you based on different criteria. We also
  2545. saw a game written completely in AppleScript and FrontMost. If we had
  2546. had such scripts submitted, we might already have a winner in this
  2547. category.
  2548.  
  2549. Though we will still consider interesting vertical scripts (such as the
  2550. Eudora oriented ones already received) the more broadly useful or
  2551. interesting the script is, the better an impression it may make on the
  2552. judges.
  2553.  
  2554. Some additional companies have donated a number of prizes to award to
  2555. the winners in this category, including:
  2556.  
  2557. Best AppleScript:   $750
  2558.                     Metrowerks' CodeWarrior Gold CD-ROM
  2559.                     Full Moon Software's ScriptWizard 1.0
  2560.                     10 Hours Free Time on America Online
  2561.                     MacHack '94 CD-ROM
  2562.  
  2563. Runnerup:           CE Software's QuicKeys 3.0
  2564.                     Full Moon Software's ScriptWizard 1.0
  2565.                     10 Hours Free Time on America Online
  2566.                     MacHack '94 CD-ROM
  2567.  
  2568. Honorable Mentions: 10 Hours Free Time on America Online
  2569.                     MacHack '94 CD-ROM
  2570.  
  2571. More prizes may be announced at a later date.
  2572.  
  2573.  
  2574. Best Scriptable Application
  2575. ---------------------------
  2576. WINNER:
  2577. Aaron Giles <giles@med.cornell.edu> or <AGiles@aol.com>
  2578. JPEGView 3.3/JPEG Preview & Icon - JPEGView is a fast, powerful,
  2579. scriptable utility for viewing JPEG, GIF, PICT, TIFF, BMP,
  2580. StartupScreen, and MacPaint images. JPEGView is fully scriptable and
  2581. recordable, making it easy to write simple scripts to control image
  2582. viewing and the built-in slide show. JPEGView comes as a fat binary,
  2583. running at native speeds on the PowerPC. JPEG Preview & Icon is a simple
  2584. yet powerful script which creates QuickTime preview images and custom
  2585. Finder icons for any number of image files dropped on the icon.
  2586. FREEWARE - The author requests that you send a postcard if you like
  2587. JPEGView. For US$20 the author will send you a printed manual and disk.
  2588. http://www.med.cornell.edu/jpegview.html
  2589. ftp://ftp.med.cornell.edu/pub/jpegview/
  2590. ftp://gaea.kgs.ukans.edu//applescript/scriptableapps/jpegview3.3.sit.hqx
  2591.  
  2592. Prizes:     $500
  2593.             Full Moon Software's ScriptWizard 1.0
  2594.             10 Hours Free Time on America Online
  2595.             MacHack '94 CD-ROM
  2596.  
  2597. RUNNERUP:
  2598. Peter N. Lewis <peter.lewis@info.curtin.edu.au>
  2599. Anarchie 1.2.0 - Anarchie is an FTP and Archie client that allows you to
  2600. browse FTP sites, download files, or find them using an archie server.
  2601. Anarchie is scriptable and recordable and supports the Drag Manager,
  2602. allowing you to drag files to or from the Finder. Anarchie comes with
  2603. bookmarks to all the major Macintosh FTP sites, decodes files using
  2604. StuffIt Expander, and supports UserLand's MenuSharing.
  2605. SHAREWARE - $10 for individual user, world-wide source code license:
  2606. US$5000 world-wide license: US$2000, university or company site license:
  2607. US$500 Curtin University and the University of Western Australia are
  2608. exempt. Commercial distribution prohibited without permission of
  2609. author.
  2610. ftp://nic.switch.ch/software/mac/peterlewis/anarchie-120.sit.hqx
  2611. ftp://gaea.kgs.ukans.edu//applescript/scriptableapps/anarchie1.10.sit.hqx
  2612.  
  2613. Prizes:     Full Moon Software's ScriptWizard 1.0
  2614.             10 Hours Free Time on America Online
  2615.             MacHack '94 CD-ROM
  2616.  
  2617. HONORABLE MENTIONS:
  2618. Hugh Sontag <qdea@eworld.com>
  2619. Synchronize! 3.1.1 - Synchronize! is a file synchronization and backup
  2620. utility, designed for  people who work on more than one Mac. It
  2621. automatically keeps the documents on two or more Macs up to date by
  2622. copying the newest version of those documents to the other Mac.
  2623. Synchronize! will also backup a folder or an entire disk to another,
  2624. removing any files which don't exist on the primary disk. Synchronize!
  2625. can automatically connect to a remote network, mount AppleShare
  2626. volume, synchronize files, and disconnect at a preset time or
  2627. periodically. Passwords can be entered in advance so the
  2628. synchronization can be done any time.
  2629. LIMITED VERSION - Unlimited use of the advanced features requires the
  2630. purchase of the program, which is $29.95, plus shipping.
  2631. ftp://sumex-aim.stanford.edu//mac/disk/synchronize-311.sea
  2632.  
  2633. John A. Schlack <John40@aol.com>
  2634. Color Fractal Generator (CFG) 2.21 - CFG is a fractal program designed
  2635. to be customized and automated. It supports both AppleScript and
  2636. Frontier, comes with a vocabulary of dozens of verbs, provides a 100+
  2637. page scripting manual, and has the commands in DocServer format for
  2638. Frontier users. Additional features include a detailed manual, online
  2639. help, background processing, palettes, and 16 to 16 million colors.
  2640. Several scripting examples have also been provided. CFG has been
  2641. accelerated for the Power Macintosh.
  2642. SHAREWARE - $15 for standard version, $25 for standard version with printed
  2643. manual, $40 for source code.
  2644. ftp://gaea.kgs.ukans.edu//applescript/scriptableapps/CFG2.1UR.sit.hqx
  2645.  
  2646. Takashi Suzuki <setsu@lab2.yamaha.co.jp>
  2647. MIDI Pack'en/DX7/Juno/K1 Librarian - These AppleScript recordable applications
  2648. allow you to make up a library of voice data for a variety of synthesizers,
  2649. as well as allowing you to keep system exclusive data in files (so called MIDI
  2650. Data Filer) for any MIDI synthesizer.
  2651. SHAREWARE - Each are $10.
  2652. ftp://?
  2653.  
  2654. Prizes:     10 Hours Free Time on America Online
  2655.             MacHack '94 CD-ROM
  2656.  
  2657.  
  2658. Best Scripting Utility
  2659. ----------------------
  2660. WINNER:
  2661. Leonard Rosenthol <leonardr@netcom.com>
  2662. OSA Menu 1.0.1 - The OSA Menu is an iconic system menu (like the Help
  2663. menu) that appears on the right side of the menu bar. Its menu items
  2664. are scripts: choose an item from the menu and the script will run.
  2665. Some commands are always available, and some are only available within
  2666. particular applications.
  2667. FREEWARE - Commercial distribution prohibited without permission of
  2668. author.
  2669. ftp://ftp.netcom.com//pub/leonardr/Hacks/OSA_Menu_1.0.1.sit
  2670. ftp://gaea.kgs.ukans.edu//applescript/addons/OSA_Menu_1.0.1.sit.hqx
  2671.  
  2672. Prizes:     $250
  2673.             Full Moon Software's ScriptWizard 1.0
  2674.             10 Hours Free Time on America Online
  2675.             MacHack '94 CD-ROM
  2676.  
  2677. RUNNERUP:
  2678. Allessandro Levi Montalcini <lmontalcini@pmn.it>
  2679. KeyQuencer 1.1 - KeyQuencer 1.1 is a powerful and solid Macro Engine
  2680. that uses a simple scripting approach and can be expanded through
  2681. external extensions. It is designed to use very little memory and can
  2682. perform complex tasks that are described by simple scripts. All of its
  2683. commands are kept in external extension files (more than 30 are
  2684. bundled.)
  2685. ftp://gaea.kgs.ukans.edu//applescript/addons/KeyQuencer_1.1.sit.hqx
  2686.  
  2687. Prizes:     Full Moon Software's ScriptWizard 1.0
  2688.             10 Hours Free Time on America Online
  2689.             MacHack '94 CD-ROM
  2690.  
  2691. HONORABLE MENTIONS:
  2692. Mark Aiken <inra@musicb.mcgill.ca>
  2693. File Tracker 1.0 - File Tracker 1.0 is a utility package that can
  2694. "watch" files or folders on your hard drive or on drives over a
  2695. network, and that can perform complex actions on items involved in any
  2696. changes. A library of "pre-fab" actions is supplied, but extensive
  2697. tie-ins with AppleScript permit powerful customization. A wide variety
  2698. of events can be detected.
  2699. SHAREWARE - US$15, Canadian$20. Commercial distribution prohibited
  2700. without permission of author.
  2701. ftp://gaea.kgs.ukans.edu//applescript/addons/File_Tracker_100.sit.hqx
  2702.  
  2703.  
  2704. Ross Browne <ab026@freenet.carleton.ca>
  2705. The Menu Events extension adds a system event handler which allows any
  2706. application or script to query  the menus of another application
  2707. (perhaps on  another Mac), then to execute its menu commands. All that
  2708. is required of the target application is that it support the Required
  2709. suite in the usual System 7 fashion, so non-scriptable applications
  2710. become scriptable. A MenuSelect patch lets the user record menu
  2711. commands into any standard script recorder. the Menu Grabber
  2712. application sends Menu events to construct a copy of any application's
  2713. menus, enabling a degree of remote control. Both programs are fully
  2714. documented.
  2715. FREEWARE - Commercial distribution prohibited without
  2716. permission of author.
  2717. ftp://gaea.kgs.ukans.edu//applescript/addons/Menu_Events_1.1.2.sit.Hqx
  2718. ftp://gaea.kgs.ukans.edu//applescript/addons/Menu_Grabber_1.1.2.sit.Hqx
  2719.  
  2720. Prizes:     10 Hours Free Time on America Online
  2721.             MacHack '94 CD-ROM
  2722.  
  2723.  
  2724. Best Scripting Addition (OSAX)
  2725. ------------------------------
  2726. WINNER:
  2727. Greg Quinn <gtq1@cornell.edu>
  2728. GTQ Scripting Library 1.2 - The GTQ Scripting Library 1.2 contains 65
  2729. scripting additions (osaxen) including ones supporting PowerTalk.
  2730. FREEWARE - Commercial distribution prohibited without permission of
  2731. author.
  2732. ftp://gaea.kgs.ukans.edu//applescript/osaxen/gtqscriptlib1.2.sit.hqx
  2733.  
  2734. Prizes:     $250
  2735.             Full Moon Software's ScriptWizard 1.0
  2736.             10 Hours Free Time on America Online
  2737.             MacHack '94 CD-ROM
  2738.  
  2739. RUNNERUP: (tie)
  2740. Mark Alldritt <alldritt@wimsey.com>
  2741. Script Tools 1.3 -  Script Tools was the first publicly available
  2742. collection of useful AppleScript Additions.  Script Tools allows your
  2743. scripts to prompt for files and folders, Perform I/O on text files, do
  2744. text pattern matching with Regular Expressions, control running
  2745. processes, and use the Speech Manager.
  2746. FREEWARE - Commercial distribution prohibited without permission of
  2747. author.
  2748. ftp://gaea.kgs.ukans.edu//applescript/osaxen/ScriptTools1.3.sit.hqx
  2749.  
  2750. Jon Pugh <jonpugh@netcom.com >
  2751. Jon's Commands 1.1.3 - An essential collection of scripting additions
  2752. which perform many needed and useful functions for the professional
  2753. AppleScripter. The collection includes such commands as finder selection,
  2754. keys pressed, a suite of file commands (copy, move, delete & rename),
  2755. access to the clipboard, a monitor list, the machine environment, and
  2756. innovative and simple way to walk a disk for files and folders.
  2757. FREEWARE - Commercial distribution prohibited without permission of
  2758. author.
  2759. ftp://gaea.kgs.ukans.edu//applescript/osaxen/JonsCommands113.hqx
  2760.  
  2761. Prizes:     Full Moon Software's ScriptWizard 1.0
  2762.             10 Hours Free Time on America Online
  2763.             MacHack '94 CD-ROM
  2764.  
  2765. HONORABLE MENTIONS:
  2766. Giulio Zambon <giulio@perth.dialix.oz.au>
  2767. Wild 1.0.1 - Wild is a free AppleScript addition which lets you select
  2768. files and folders with wildcarded names. It also supports other
  2769. filtering criteria to identify specific files (eg. file creator and
  2770. type). Wild accepts a list of folder and file names (one or more of them
  2771. can be wildcarded) and returns a list of actual names which match the
  2772. initial list and satisfy the additional filtering criteria that you
  2773. selected. The Wild package includes full C sources and a Think C 5.0
  2774. project file.
  2775. FREEWARE - See GNU General Public License.
  2776. ftp://gaea.kgs.ukans.edu//applescript/osaxen/wild1.00.cpt.hqx
  2777.  
  2778. Prizes:     10 Hours Free Time on America Online
  2779.             MacHack '94 CD-ROM
  2780.  
  2781.  
  2782. Best Scripting Hack
  2783. -------------------
  2784. WINNER:
  2785. Atul Butte <Atul_Butte@brown.edu>
  2786. TCP/IP Scripting Addition - This Scripting Addition allows the developer
  2787. to use MacTCP from within a script by writing Internet client-server
  2788. software. Potential uses of this addition include sending e-mail through
  2789. a script, checking if users are logged on (via finger), automating FTP,
  2790. automating Gopher and NetNews, writing scripts to check whether machines
  2791. are up, UNIX lpr, and quickly writing many other TCP/IP client-server
  2792. programs. SHAREWARE - the licensing fee is $20 per copy, or $200 for a
  2793. company-wide or university-wide site license (including students), or
  2794. $500 per year for unlimited distribution. Commercial distribution
  2795. prohibited without permission of author.
  2796. ftp://gaea.kgs.ukans.edu//applescript/osaxen/tcpip.osax.hqx
  2797.  
  2798. Prizes:     $250
  2799.             Full Moon Software's ScriptWizard 1.0
  2800.             10 Hours Free Time on America Online
  2801.             MacHack '94 CD-ROM
  2802.  
  2803. RUNNERUP:
  2804. Mark Aiken <inra@musicb.mcgill.ca>
  2805. Script Hider 1.0 - Script Hider is a small extension that can hide
  2806. scripts, making them safe from tampering by uniformed parties. Script
  2807. Hider is especially useful for concealing 'Stay-open" monitoring
  2808. scripts in lab environments.
  2809. FREEWARE
  2810. ftp://gaea.kgs.ukans.edu//applescript/addons/Script_Hider_100.hqx
  2811.  
  2812. Prizes:     Full Moon Software's ScriptWizard 1.0
  2813.             10 Hours Free Time on America Online
  2814.             MacHack '94 CD-ROM
  2815.  
  2816. HONORABLE MENTIONS:
  2817. John Schettino <js12@gte.com>
  2818. Netnews Browser - This AppleScript and FaceSpan Application gives the
  2819. user a way to filter the endless stream of information available via the
  2820. Internet NetNews. Users can specify words or phrases that they are
  2821. interested in, within a newsgroup. The NewsGrazer will watch the
  2822. newsgroup and will pull out interesting articles.
  2823. FREEWARE
  2824.  
  2825. Lawrence D'Oliveiro <LDO@waikato.ac.nz>
  2826. ScriptKey/ScriptKey Scripts - ScriptKey is an FKEY for executing
  2827. AppleScript scripts.
  2828. FREEWARE
  2829.  
  2830. Prizes:     10 Hours Free Time on America Online
  2831.             MacHack '94 CD-ROM
  2832.  
  2833. THANKS!
  2834. -------
  2835. * MacHack '94 Committee -- for allowing me to do this in conjunction with
  2836.   MacHack, and for donating the MacHack '94 CD-ROM.
  2837. * Full Moon Software for donating ScriptWizard, Metrowerks for donating
  2838.   CodeWarrior, CE Software for donating QuicKeys, and America Online
  2839.   Mac Developers Forum for free time.
  2840. * Don Olson, Leonard Rosenthal, and Kelvy Bird who helped review the
  2841.   entries.
  2842. * Everyone who entered -- the entries were fun to go through!
  2843. =========================================================================
  2844. Date:         Wed, 6 Jul 1994 18:42:41 -0800
  2845. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2846. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2847. From:         Mike Cohen <isis@NETCOM.COM>
  2848. Subject:      Re: Applescript development kit
  2849.  
  2850. At  9:18 AM 7/7/94 +1000, Jeremy Peter Howard wrote:
  2851. >>
  2852. >> I'm going to be buying a PowerPC 7100/66 AV in August when the prices drop
  2853. >> and through my school at an educational discount.  Will it come with
  2854. >> Applescript?  The scriptable Finder?
  2855. >>
  2856. >> I bought Danny Goodman's book and have been using AS 1.0.1 on my Performa.
  2857. >>  If the scriptable Finder and latest version of AS *don't* come with my PPC,
  2858. >> then I'll buy them now.  If they do, I'll save a few hundred bucks ($199 for
  2859. >> AS Development kit) ($??? for SF) and wait.
  2860. >>
  2861. >> Thanks to anyone who can help me out.  :)
  2862. >>
  2863. >It will come with AS1.1 (mine did). The scriptable Finder hadn't been
  2864. >released when I bought mine, so I don't know if it is included now.
  2865. >
  2866. >You could wait for Sys7.5, though.
  2867. >
  2868. >Hope this helps,
  2869. >
  2870. The scriptable finder is included with PowerMacs. It's really the same
  2871. finder with an aete resource added.
  2872. =========================================================================
  2873. Date:         Wed, 6 Jul 1994 22:07:58 -0400
  2874. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2875. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2876. From:         Mark Duffield <duffiem@AA.WL.COM>
  2877. Subject:      Re: Need real text editor
  2878. In-Reply-To:  <9407062146.AA00900@envoy.wl.com>
  2879.  
  2880. On Thu, 7 Jul 1994, Lawrence D'Oliveiro, Waikato University, Hamilton, NZ wrote:
  2881.  
  2882. > David Boroditsky <sage!dave@NOC.TOR.HOOKUP.NET> writes:
  2883. >
  2884. > >I am sooooo tired of the wimpy 32K file size limit that TeachText and now
  2885. > >(why?!?) SimpleText have.
  2886. > ...
  2887. > >Where o where is a replacement for the all too wimpy offerings from Apple. I
  2888. > >want a program that will take over SimpleText's file type and creator
  2889. > >signature and let me open whatever file I want.
  2890. >
  2891. > In my mind, there is only one non-wimpy text editor on the Mac. It's an Apple
  2892. > product: MPW Shell. It's a combination shell/editor, you can drive it via
  2893. > scripts, define custom menus, redefine key bindings, and write new tools that
  2894. > run under it. You can also feed it commands via "Do Script" AppleEvents. You
  2895. > can fix the creator codes on all your text files with one "SetFile" command,
  2896. > then they will open in MPW when you double-click them.
  2897. >
  2898. > Does that sound like what you're after?
  2899. >
  2900. > Lawrence D'Oliveiro                       fone: +64-7-856-2889
  2901. > Info & Tech Services Division              fax: +64-7-838-4066
  2902. > University of Waikato            electric mail: ldo@waikato.ac.nz
  2903. > Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  2904. >
  2905.  
  2906. Problem is that you have to put out ALOT of bucks MPW.  BBedit and Alpha
  2907. (my personal favorite) are inexpensive or shareware.  Is the MPW shell REALLY
  2908. that good?
  2909.  
  2910. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2911.  Mark J. Duffield                    | duffiem@aa.wl.com
  2912.  Sr. Systems Analyst                 |
  2913.  Preclinical Scientific Computing    | MIME Spoken here.
  2914.  Parke Davis Pharmaceutical Research |
  2915.  Ann Arbor, MI  48105                |
  2916. =========================================================================
  2917. Date:         Thu, 7 Jul 1994 14:18:00 +1200
  2918. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2919. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2920. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  2921.               NZ" <LDO@WAIKATO.AC.NZ>
  2922. Subject:      Re: Need real text editor
  2923.  
  2924. Mark Duffield <duffiem@AA.WL.COM> writes:
  2925.  
  2926. >Problem is that you have to put out ALOT of bucks MPW.  BBedit and Alpha
  2927. >(my personal favorite) are inexpensive or shareware.
  2928.  
  2929. According to the latest APDA, US$250 buys you a CD-ROM with the Shell, the
  2930. standard tools (no compilers), the Assembler, SourceBug, ToolServer,
  2931. SourceServer, and a few other odds and ends.
  2932.  
  2933. >  Is the MPW shell REALLY that good?
  2934.  
  2935. It does everything I said it does. Whether you need that kind of power is
  2936. entirely up to you. Me, I use it every day.
  2937.  
  2938. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  2939. Info & Tech Services Division              fax: +64-7-838-4066
  2940. University of Waikato            electric mail: ldo@waikato.ac.nz
  2941. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  2942. =========================================================================
  2943. Date:         Wed, 6 Jul 1994 22:29:20 -0400
  2944. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2945. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2946. From:         Boris Levitin <boris@WORLD.STD.COM>
  2947. Subject:      Re: Debugging an applet properly
  2948.  
  2949. Mark Alldritt <alldritt@WIMSEY.COM> writes in response to my request for a
  2950. way to find out the path to the script file *even when it's running inside
  2951. Script Editor*:
  2952.  
  2953. >Script Tools allows you to figure out the file spec of the running script
  2954. >(compiled script applications only).
  2955.  
  2956. Thanks, Mark, but I can already do that using the expression "path to me".
  2957. My whole point was that the expression breaks (points to Script Editor) when
  2958. the compiled script application is executed from Script Editor during
  2959. debugging.
  2960.  
  2961. Boris Levitin                                  WGBH Public Broadcasting, Boston
  2962.                                    boris@world.std.com * boris_levitin@wgbh.org
  2963.               I produced this message and am solely responsible for its content
  2964. =========================================================================
  2965. Date:         Wed, 6 Jul 1994 20:10:31 -0800
  2966. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2967. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2968. From:         Malcolm Pradhan <pradhan@CAMIS.STANFORD.EDU>
  2969. Subject:      Re: Need real text editor
  2970.  
  2971. Lawrence D'Oliveiro <ldo@waikato.ac.nz> writes:
  2972. > According to the latest APDA, US$250 buys you a CD-ROM with the Shell,
  2973. > the standard tools (no compilers), the Assembler, SourceBug,
  2974. > ToolServer, SourceServer, and a few other odds and ends.
  2975.  
  2976.  If you are in a university the cheapest way to get MPW is to buy
  2977. CodeWarrior for US$99 (the Gold version). You get MPW 3.3.1 with about 50
  2978. tools, ToolServer, AppleScript 1.1, SourceServer, Drag and Drop kit,
  2979. MacsBugs, and a few other odds and ends :-)
  2980.  
  2981.  Regards,
  2982.  Malcolm
  2983. =========================================================================
  2984. Date:         Thu, 7 Jul 1994 15:16:00 +1200
  2985. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2986. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  2987. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  2988.               NZ" <LDO@WAIKATO.AC.NZ>
  2989. Subject:      Re: Applescript development kit
  2990.  
  2991. Mike Cohen <isis@NETCOM.COM> writes:
  2992.  
  2993. >The scriptable finder is included with PowerMacs. It's really the same
  2994. >finder with an aete resource added.
  2995.  
  2996. Yes and no. That aete resource does nothing more than describe the minimal
  2997. AppleEvents understood by every Finder since 7.0. To make Finder 7.1.3/7.1.4
  2998. fully scriptable, you need the Finder Scripting Extension. This was included
  2999. with the AppleScript Developer's Kit; I understand it is now also included
  3000. with the AppleScript Scripter's Kit.
  3001.  
  3002. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  3003. Info & Tech Services Division              fax: +64-7-838-4066
  3004. University of Waikato            electric mail: ldo@waikato.ac.nz
  3005. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  3006. =========================================================================
  3007. Date:         Wed, 6 Jul 1994 23:54:07 EDT
  3008. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3009. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3010. From:         INRA000 <INRA@MUSICB.MCGILL.CA>
  3011. Subject:      Re[2]: working with nonscriptable applic.
  3012. In-Reply-To:  In reply to your message of MON 04 JUL 1994 19:15:31 EDT
  3013.  
  3014. >>    Examining another application's windows could be done from an INIT,
  3015. >>which can execute while another application is active. It gets kind of
  3016. >>hairy, though, and one can't collect much meaningful information. It
  3017. >>would be possible to determine the title of the window, but not much
  3018. >>else.
  3019. >
  3020. >All I need to know is if an app has any windows open, nothing about the
  3021. >window's characteristics, just if it exists.
  3022.  
  3023.     This is fairly easy. I'm not sure whether it's worth the effort to
  3024. write this, though, since I can't think of a whole lot of reasons why
  3025. one might want this information...
  3026.  
  3027.     I'll play with this when I get the chance... I'm working on v1.5 of
  3028. File Tracker right now, and it's taking a lot of my time... ;-)
  3029.  
  3030.     Mark Aiken
  3031.     inra@musicb.mcgill.ca
  3032. =========================================================================
  3033. Date:         Wed, 6 Jul 1994 22:05:11 -0700
  3034. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3035. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3036. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  3037. Subject:      Re: Applescript development kit
  3038.  
  3039. >>
  3040. >The scriptable finder is included with PowerMacs. It's really the same
  3041. >finder with an aete resource added.
  3042.  
  3043. No...that's not the Scriptable Finder...that's the same finder events as
  3044. 7.0 had, back in May 1991, with the addition of an 'aete' describing them.
  3045.  
  3046. The Scriptable Finder is a 7.1 or later finder plus the Finder Scripting
  3047. Extension.  I don't think that's on the PowerMac CD (the issue I got in
  3048. March...at least a Finder Find looking for "Finder Sc" didn't find one on
  3049. the CD, but did find one in my Extensions folder.
  3050.  
  3051. The real Scriptable Finder is far better.  --John
  3052.  
  3053. --
  3054. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  3055. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  3056. =========================================stems <MACSCRPT@DARTCMS1.BITNET>
  3057. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3058. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  3059. Subject:      Re: Applescript development kit
  3060. In-Reply-To:  <no.id> from "Lawrence D'Oliveiro, Waikato University, Hamilton,
  3061.               NZ" at Jul 7, 94 03:16:00 pm
  3062.  
  3063. --Lawrence D'Oliveiro wrote:
  3064. >
  3065. >Mike Cohen <isis@NETCOM.COM> writes:
  3066. >
  3067. >>The scriptable finder is included with PowerMacs. It's really the same
  3068. >>finder with an aete resource added.
  3069. >
  3070. >Yes and no. That aete resource does nothing more than describe the minimal
  3071. >AppleEvents understood by every Finder since 7.0. To make Finder 7.1.3/7.1.4
  3072. >fully scriptable, you need the Finder Scripting Extension. This was included
  3073. >with the AppleScript Developer's Kit; I understand it is now also included
  3074. >with the AppleScript Scripter's Kit.
  3075.  
  3076.     Yup. You can now also buy the Finder Scripting Kit from APDA. It
  3077. will cost you about $25, and comes with a printed manual.
  3078.  
  3079. -Hades
  3080. =========================================================================
  3081. Date:         Thu, 7 Jul 1994 09:28:49 -0400
  3082. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3083. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3084. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  3085. Subject:      Re: Scripting FileMaker Pro
  3086. In-Reply-To:  <no.id> from "Todd Hooper" at Jul 5, 94 09:20:12 am
  3087.  
  3088. --Todd Hooper wrote:
  3089. >
  3090. >Is anyone on the list scripting FileMaker Pro? I've found it pretty
  3091. >difficult, even with a set of sample scripts from FM Pro 2.0.
  3092.  
  3093.     I've done a bit with FM Pro. I'll see if I can answer your questions
  3094. for you...
  3095.  
  3096. >Is there a better source of documentation on scripting FileMaker
  3097. >than the standard FileMaker manuals?
  3098.  
  3099.     There are no real sources of documentation for scripting FM Pro
  3100. using AppleScript. It's lots of trial and error, but since FM Pro
  3101. conforms to the Object Database and the Open Scripting Architecture it's
  3102. a bit easier to deal with than some other applications.
  3103.  
  3104. >Two problems I am having:
  3105. >
  3106. >1) Get data returns records which are the nearest match e.g.
  3107. >
  3108. >  set rec to Get Data (first Record whose first Cell = partnum)
  3109. >  of Window dbname
  3110.  
  3111.     One of the first things I'm going to tell you about AppleScript is
  3112. there are many commands that can be implied rather than expressed. You
  3113. can actually leave out the "Get Data" part of your command above, and if
  3114. there is only one database open you don't need to specify a Window for
  3115. the script to act on. If there is more than one database open, you are
  3116. probably better off specifying the "Database dbname" since the Window
  3117. class really doesn't know anything about the database. Only the
  3118. properties of the window being displayed.
  3119.  
  3120. >with a partnum of "1" will return records "100", "110" etc. Is there any
  3121. >way to do an exact match?
  3122.  
  3123.     You really just can't do exact mathces in FM Pro on text fields,
  3124. unless you know the exact text you are looking for. Partial text
  3125. searches will always return all hits. To get exact matches you need to
  3126. use number or date fields. So you need to make sure that the part number
  3127. cell in your database is a number field, and then you need to make sure
  3128. that you are using an integer value in the variable partnum rather than
  3129. the string "1". Also, you will be better off if you don't use Cell
  3130. indexes since they can be confusing. Saying "First Cell" can change by
  3131. the layout that you are using. It's better to say "Cell "Part Number"".
  3132.  
  3133. >2) Can you get a count of found records as opposed to total records? E.g.
  3134.  
  3135.     Absolutely. This is very easy to do...
  3136.  
  3137. >Show (every Record of Database "mydatabase" whose Cell "Name" = "Todd")
  3138. >set n to (Count of Database "mydatabase" Class Record)
  3139. >
  3140. >returns the total number of records rather than the found set.
  3141.  
  3142.     Again, you are being way too verbose in this statement, and in doing
  3143. so you have asked FM Pro to give you the total count in the database.
  3144. The statement you want to use is:
  3145.  
  3146.         set n to Count Records
  3147.  
  3148.     This returns the number of records in the current found set. If you
  3149. say "Count Records of Database "mydatabase"" you will get all of the
  3150. records in the file.
  3151.  
  3152. -Hades
  3153. =========================================================================
  3154. Date:         Thu, 7 Jul 1994 09:39:07 -0400
  3155. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3156. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3157. From:         Frank Lowney <flowney@MAIL.GAC.PEACHNET.EDU>
  3158. Subject:      Re: Applescripting Serial Port
  3159.  
  3160. >Greetings,
  3161. >        Is there an osax for simple serial port communications through
  3162. >Applescript?  I suppose SITComm might do what I need, but it's overkill for
  3163. >my purposes.  If not, what's available for Hypercard 2.1?  I remember this
  3164. >being asked before, but I didn't find an answer in my search of the list
  3165. >archives.  Thanks in advance.
  3166. >
  3167. There are two possibilities that I know of, both produced at Apple by Harry
  3168. Chesley.  One is the "Serial Port XCMDs" and the other is the "CTB XCMDs".
  3169. The former is more robust but hasn't been supported in a long while,
  3170. consequently, there's no Y/Z Modem or other "advanced" stuph.  The latter
  3171. has more potential but never made it out of beta before development ceased
  3172. on it so may not be sufficiently robust.  Six of one, half-a-dozen of the
  3173. other.
  3174.  
  3175. SITComm would likely overcome these liabilities but would raise "speed of
  3176. execution" issues.  Having SITComm active would resolve some of these but
  3177. bring up the question of the additional memory required to do so.  I
  3178. suppose its like the folks in auto racing say (or used to say), "Horsepower
  3179. costs money, how fast do you want to go?".
  3180.  
  3181.  
  3182. *********************************************************************
  3183. Dr. Frank Lowney, Director, Regional Teacher Education Center
  3184.                   System Administrator, The GC EduNET Project
  3185. CBX 034, School of Education
  3186. Georgia College, Milledgeville, GA 31061-0490
  3187. Voice: (912) 453-5121
  3188. via GC EduNET, Georgia's Statewide K-12 Education Network, telnet to:
  3189.         gcedunet.peachnet.edu
  3190. *********************************************************************
  3191. =========================================================================
  3192. Date:         Thu, 7 Jul 1994 10:00:43 -0400
  3193. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3194. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3195. From:         christopher edward etesse <uk05899@MADONNA.MIK.UKY.EDU>
  3196. Subject:      Excel: Selecting cell and adding text to it
  3197.  
  3198. I have a huge spread sheet I'm working on (56 rows by 216 Columns) -- I've
  3199. made a database out it to extract the information for printing, but I've
  3200. run into a problem.  The guy that put the spreadsheet together used the
  3201. exact same labels in several different parts (Hence my earlier post
  3202. about only extracting half the records correctly).  What I want to do
  3203. is write a macro that will copy the text in a cell and then paste it back
  3204. to that cell while adding a prefix (Such as (1) -- The database is further
  3205. divided into 18 groups so I could name each field with its group prefix and
  3206. avoid extraction problems). This is what I've tried, but I'am not able
  3207. to add the prefix when I paste back to the cell.  Also I want to do thismultiple
  3208.  cells so that should be taken into account.
  3209.  
  3210. Record9 (n)
  3211. =SELECT("R9C5")
  3212. =CUT()
  3213. =SELECT("R9C5")
  3214. =PASTE()
  3215.  
  3216. =RETURN()
  3217.  
  3218. Thanks in advance,
  3219.  
  3220. Chris Etesse
  3221. =========================================================================
  3222. Date:         Thu, 7 Jul 1994 11:30:06 -0800
  3223. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3224. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3225. From:         Jamie Lawrence <jamiel@SYBASE.COM>
  3226. Subject:      stopping a moving train
  3227.  
  3228. I admit it- I'm one of the dummies that bought Tao of
  3229. Applescript. I can't afford a better reference right
  3230. now, and I also can't figure out a way to abort a script
  3231. in mid execution. And Tao ain't helpin'. I've tried "Exit"
  3232. which turns into "Exit Repeat", which tries to do just that
  3233. (only there is no repeat to exit out of), "Abort" (which
  3234. obviously isn't a command), and "Quit" gives the a mystery
  3235. error "Could not run the script because a script is running.
  3236.  
  3237. Anybody have any hints?
  3238.  
  3239. thanks-
  3240.  
  3241.  
  3242. -j
  3243. --
  3244. "Blah Blah Blah"
  3245. ___________________________________________________________________
  3246. Jamie Lawrence                                  <jamiel@sybase.com>
  3247. =========================================================================
  3248. Date:         Thu, 7 Jul 1994 06:49:58 -0700
  3249. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3250. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3251. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  3252. Subject:      Re: Scripting FileMaker Pro
  3253.  
  3254. >Is anyone on the list scripting FileMaker Pro? I've found it pretty
  3255. >difficult, even with a set of sample scripts from FM Pro 2.0.
  3256. >
  3257. >Is there a better source of documentation on scripting FileMaker
  3258. >than the standard FileMaker manuals?
  3259.  
  3260. After you've tried a few scripts, try browsing around in the database which
  3261. comes with FileMaker.  On my system, it is at
  3262.    Vashon:FileMaker:FileMaker and Apple Events:FileMaker and Apple Events
  3263.  
  3264. [Your volume name, at least, will differ.]
  3265.  
  3266. Almost everything you need is in there.  Most (unfortunately not all) of
  3267. what's in there is true.
  3268.  
  3269.   Earlier versions of FileMaker had an older database with a slightly
  3270. different name, which was pretty good but not as useful as this one.
  3271.  
  3272.   If you have a CompuServe account, drop by GO USERLAND, and ask FileMaker
  3273. questions.  There are some heavy FileMaker users there, some of whom speak
  3274. AppleScript in addition to UserTalk (some don't, but the scripting is the
  3275. same, it only looks different).
  3276.  
  3277.  
  3278. >Two problems I am having:
  3279.    Brian handled those nicely
  3280.  
  3281. --John
  3282.  
  3283. --
  3284. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  3285. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  3286. =========================================================================
  3287. Date:         Thu, 7 Jul 1994 14:39:50 -0400
  3288. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3289. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3290. From:         Pete 'Happy' Thomas <gt5139c@PRISM.GATECH.EDU>
  3291. Subject:      MacPGP2.6
  3292.  
  3293. I'm trying to write a script or other tool to "automagically" use the
  3294. clipboard encrypting capability of MacPGP2.6 to sign my mail messages from
  3295. a menu pick.
  3296.  
  3297. A few problems:
  3298.  
  3299. Eudora has all sorts of AppleEvent friendliness.  After muddling over why
  3300. it wouldn't give me the text of my message with:
  3301.  
  3302. set the clipboard to field "" of message 0 of mailbox "Out" of folder ""
  3303.  
  3304. I found that a simple
  3305.  
  3306. set the clipboard to field "" of message 0
  3307.  
  3308. works (as long as the message I want to encrypt is on top).
  3309.  
  3310. There are a couple of tools that send menu events to non-scriptable apps,
  3311. but none that will make dialog box picks (for instance, to tell MacPGP that
  3312. I want to sign the clipboard).
  3313.  
  3314. Also, I'm not sure how to add a menu item to Eudora that calls a
  3315. script--can I do this?  I want to put a new item in the "Message" menu that
  3316. calls the script.  Other problems:  ideally the menu item would either only
  3317. be active, or only appear, while I am editing a message to be
  3318. sent--preferably only when there is a non-empty message text.
  3319.  
  3320. To summarize, desired behavior of my script will be:
  3321.  
  3322.   a)  cuts the message text to the clipboard
  3323.   b)  activates MacPGP2.6
  3324.   c)  selects File...Sign only (cmd-S)
  3325.   d)  selects the clipboard option
  3326.   e)  waits until I have entered my pass phrase
  3327.   f)  waits until PGP finishes signing (this may be very tricky?)
  3328.   g)  goes back to Eudora
  3329.   h)  pastes the signed message now residing on the clipboard into the
  3330.       body of the message
  3331.   i)  (optionally) and queues it off, since if I'm signing the msg, I'm
  3332.       probably done with it
  3333.  
  3334. If it helps, I am using the commercial version of Eudora, latest public
  3335. update (2.0.3).  I'm resedit-friendly, but still just barely learning
  3336. AppleScripting.  I've skimmed Eudora's AE dictionary, once, but I need to
  3337. get a new copy and look at it again.
  3338.  
  3339. Thanks!
  3340.  
  3341. --Pete
  3342.  
  3343. -----
  3344.   Peter L. Thomas, Graduate Research Assistant--GTRI
  3345.   Internet Mail Address:   gt5139c@prism.gatech.edu
  3346.   Postal:  35139 Georgia Tech Station/Atlanta, GA  30332-5139
  3347.   Phone: (H) (404)881-8302, (O) (404)894-7223
  3348.   Internet Talk/Finger Requests:  Pete@demmers.gatech.edu
  3349. | PGP Public Key: available from MIT PGP key server and others
  3350. =========================================================================
  3351. Date:         Thu, 7 Jul 1994 15:15:36 -0400
  3352. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3353. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3354. From:         Pete 'Happy' Thomas <gt5139c@PRISM.GATECH.EDU>
  3355. Subject:      Got it all
  3356.  
  3357. The following is the first successful test of my new KQ macro:
  3358.  
  3359. -----BEGIN PGP SIGNED MESSAGE-----
  3360.  
  3361. But I had to drop completely out of AppleScripting, and do it all in KeyQuencer.
  3362.  
  3363. Here is the magic:
  3364.  
  3365. KeyQuencer script "Sign Eudora Message" with minimal error checking, no
  3366. menu item, keystroke set to "cmd-opt-S":
  3367. - -----
  3368. Application "Eudora" partial quiet
  3369. Key cmd "A"
  3370. Key cmd "X"
  3371. SwitchApp "MacPGP" partial
  3372. Key cmd "S"
  3373. Button "Clipboard"
  3374. WaitWindow dialog close
  3375. WaitApp "Eudora" partial
  3376. Key cmd "V"
  3377. - -----
  3378. Definitely not beautiful--I want AppleScripting because that can _ensure_
  3379. that I am copying and/or pasting from the right sources, do better error
  3380. checking, etc., etc--but I must admit that I'm impressed with the power of
  3381. KeyQuencer.
  3382.  
  3383. Other bugs fixable by scripting, since KQ doesn't have a launching ability
  3384. (AE, of course, does), I need this, otherwise I must ensure MacPGP is up
  3385. first.
  3386.  
  3387. - --Pete
  3388.  
  3389. -----BEGIN PGP SIGNATURE-----
  3390. Version: 2.6
  3391.  
  3392. iQB1AgUBLhxUBBJUT+km4Nx9AQFIAwL/WOEDsv9zVgFkp0wb8hBNov+yWR5mg/ft
  3393. umcd7m7jw7jkINElu2Nm1wWQ/5aBA6vIiAyXG7LO8Rargb9Pv800YEKTDSlyWBIg
  3394. IJWRjcx6PNH1J93X1RKOFh8y4S/syVRV
  3395. =sM1e
  3396. -----END PGP SIGNATURE-----
  3397.  
  3398. -----
  3399.   Peter L. Thomas, Graduate Research Assistant--GTRI
  3400.   Internet Mail Address:   gt5139c@prism.gatech.edu
  3401.   Postal:  35139 Georgia Tech Station/Atlanta, GA  30332-5139
  3402.   Phone: (H) (404)881-8302, (O) (404)894-7223
  3403.   Internet Talk/Finger Requests:  Pete@demmers.gatech.edu
  3404. | PGP Public Key: available from MIT PGP key server and others
  3405. =========================================================================
  3406. Date:         Thu, 7 Jul 1994 14:52:21 -0400
  3407. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3408. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3409. From:         Pete 'Happy' Thomas <gt5139c@PRISM.GATECH.EDU>
  3410. Subject:      follow-up to encrypting-scripting
  3411.  
  3412. More net.surfing has uncovered the KeyQuencer tool.  Three outstanding
  3413. issues remain:
  3414.  
  3415. 1)  there is still no way to know whether MacPGP has done it's work and
  3416. pasted the clipboard.  Right now I simply have a WaitApp "Eudora" partial,
  3417. so the user must bring Eudora back when MacPGP finishes.
  3418.  
  3419. 2)  The example script demonstrating how to use KQ macros in AppleScript
  3420. scripts is unreadable by my version of the Script Editor, hence I don't
  3421. know how to piece together my two working hunks of code--the AppleScript
  3422. that chops the current outgoing message to the clipboard [calls the macro]
  3423. and dumps the signed version back into the message buffer and the macro
  3424. that brings up MacPGP, signs the message, and waits for Eudora to return
  3425. which should go between the brackets above.
  3426.  
  3427. 3)  How to put the finished product when (at least) (2) above is fixed into
  3428. a menu pick.
  3429.  
  3430. Script-and-Macro-fully yours,
  3431.  
  3432. --Pete "whose Mac II is starting to groan under the weight of new extensions"
  3433.  
  3434. -----
  3435.   Peter L. Thomas, Graduate Research Assistant--GTRI
  3436.   Internet Mail Address:   gt5139c@prism.gatech.edu
  3437.   Postal:  35139 Georgia Tech Station/Atlanta, GA  30332-5139
  3438.   Phone: (H) (404)881-8302, (O) (404)894-7223
  3439.   Internet Talk/Finger Requests:  Pete@demmers.gatech.edu
  3440. | PGP Public Key: available from MIT PGP key server and others
  3441. =========================================================================
  3442. Date:         Thu, 7 Jul 1994 15:40:31 -0400
  3443. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3444. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3445. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  3446. Subject:      Re: stopping a moving train
  3447. In-Reply-To:  <no.id> from "Jamie Lawrence" at Jul 7, 94 11:30:06 am
  3448.  
  3449. --Jamie Lawrence wrote:
  3450. >
  3451. >I admit it- I'm one of the dummies that bought Tao of Applescript. I
  3452. >can't afford a better reference right now, and I also can't figure out a
  3453. >way to abort a script in mid execution. And Tao ain't helpin'. I've
  3454. >tried "Exit" which turns into "Exit Repeat", which tries to do just that
  3455. >(only there is no repeat to exit out of), "Abort" (which obviously isn't
  3456. >a command), and "Quit" gives the a mystery error "Could not run the
  3457. >script because a script is running.
  3458.  
  3459.     Can you give us an idea of the script you are trying to abort? At
  3460. worst you could wrap the whole script in a "repeat 1 time" statement and
  3461. then you would be able to place "exit repeat" statements anwhere within
  3462. the repeat loop to give you what you want.
  3463.  
  3464. -Hades
  3465. =========================================================================
  3466. Date:         Thu, 7 Jul 1994 16:07:55 -0400
  3467. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3468. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3469. From:         anthony brown <anbrown@HUSC9.HARVARD.EDU>
  3470. Subject:      anoth fmpro scripting question...
  3471.  
  3472. This should be a simple question for more experienced scriptors out there...
  3473. I am able to get the data of certain fields in a fmpro database, but no
  3474. matter what I try, I cannot figure out how to just get the data of a
  3475. particular field of a particular record...
  3476.  
  3477. I'm a newbie to fmPro, and to scripting db's... can anyone help?
  3478.  
  3479. Anthony
  3480.  
  3481. *************************************************************************
  3482. *                                                                       *
  3483. *  Anthony Brown, Harvard University                                    *
  3484. *                                                                       *
  3485. *  "You need my love, baby oh so bad,                                   *
  3486. *  "You're not the only one I've ever had,                              *
  3487. *  "And if I say I wanna set you free,                                  *
  3488. *  "Don't you know you'll be in misery?                                 *
  3489. *  "They call me Dr. Love. I've got the cure you're thinking of!        *
  3490. *  Gene Simmons circa 1976                                              *
  3491. *                                                                       *
  3492. *  The Dolphins will win the superbowl in '95!!!                        *
  3493. *                                                                       *
  3494. *************************************************************************
  3495. =========================================================================
  3496. Date:         Thu, 7 Jul 1994 23:25:59 +0000
  3497. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3498. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3499. From:         WalrathW <walrathw@RFERL.ORG>
  3500. Subject:      Re: stopping a moving train
  3501.  
  3502. > From: Macintosh Scripting Systems on Thu, 7 Jul, 1994 22:06
  3503. > Subject: stopping a moving train
  3504. > To: Multiple recipients of list MACSCRPT
  3505. >
  3506. > I admit it- I'm one of the dummies that bought Tao of
  3507. > Applescript. I can't afford a better reference right
  3508. > now, and I also can't figure out a way to abort a script
  3509. > in mid execution. And Tao ain't helpin'. I've tried "Exit"
  3510. > which turns into "Exit Repeat", which tries to do just that
  3511. > (only there is no repeat to exit out of), "Abort" (which
  3512. > obviously isn't a command), and "Quit" gives the a mystery
  3513. > error "Could not run the script because a script is running.
  3514. >
  3515. > Anybody have any hints?
  3516.  
  3517. "return" works for me.
  3518.  
  3519. -wayne
  3520. =========================================================================
  3521. Date:         Thu, 7 Jul 1994 17:27:43 -0400
  3522. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3523. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3524. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  3525. Subject:      Re: anoth fmpro scripting question...
  3526. In-Reply-To:  <no.id> from "anthony brown" at Jul 7, 94 04:07:55 pm
  3527.  
  3528. --anthony brown wrote:
  3529. >
  3530. >This should be a simple question for more experienced scriptors out there...
  3531. >I am able to get the data of certain fields in a fmpro database, but no
  3532. >matter what I try, I cannot figure out how to just get the data of a
  3533. >particular field of a particular record...
  3534.  
  3535.     In FM Pro a Field returns a list of the data found for all of the
  3536. record in the found set. If you want the data from a particular record
  3537. you have to acces the Cells of the record. Thus you would say:
  3538.  
  3539.         Cell "Name" of Record 1
  3540.  
  3541.     When you are using this syntax you must supply a record number to
  3542. get the Cell from. This number is the position of the record in the
  3543. current found set based on sort order (if the records are unsorted then
  3544. the order is oldest to youngest). It is possible to work with the
  3545. Current Record that is visible in an FM Pro database. This is the
  3546. syntax:
  3547.  
  3548.         Set cRec to Current Record of Database "My Database"
  3549.         Cell "Name" of cRec
  3550.  
  3551.     You need to make a reference to the current record, and then you
  3552. can treat that reference just like any other record in a FM Pro
  3553. database.
  3554.  
  3555. -Hades
  3556. =========================================================================
  3557. Date:         Fri, 8 Jul 1994 09:05:07 +1000
  3558. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3559. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3560. From:         Jeremy Peter Howard <jhoward@ARIEL.UCS.UNIMELB.EDU.AU>
  3561. Subject:      Re: Excel: Selecting cell and adding text to it
  3562. In-Reply-To:  <199407071920.FAA11035@ariel.ucs.unimelb.EDU.AU> from
  3563.               "christopher edward etesse" at Jul 7, 94 10:00:43 am
  3564.  
  3565. >
  3566. > I have a huge spread sheet I'm working on (56 rows by 216 Columns) -- I've
  3567. > made a database out it to extract the information for printing, but I've
  3568. > run into a problem.  The guy that put the spreadsheet together used the
  3569. > exact same labels in several different parts (Hence my earlier post
  3570. > about only extracting half the records correctly).  What I want to do
  3571. > is write a macro that will copy the text in a cell and then paste it back
  3572. > to that cell while adding a prefix (Such as (1) -- The database is further
  3573. > divided into 18 groups so I could name each field with its group prefix and
  3574. > avoid extraction problems). This is what I've tried, but I'am not able
  3575. > to add the prefix when I paste back to the cell.  Also I want to do
  3576.  thismultiple
  3577. >  cells so that should be taken into account.
  3578. >
  3579. > Record9 (n)
  3580. > =SELECT("R9C5")
  3581. > =CUT()
  3582. > =SELECT("R9C5")
  3583. > =PASTE()
  3584. >
  3585. > =RETURN()
  3586.  
  3587. It's great to see people trying to use Excel's macro capability. It's
  3588. really quite powerful once you get the hang of it, but it takes a while to
  3589. become familiar with the syntax, and the vast number of commands. I
  3590. recommend the 'Excel Macro Reference' from Microsoft Press (can't remember
  3591. the exact title), which covers _everything_ in this area.
  3592.  
  3593. There are various levels of complexity to answering your question. The
  3594. easiest method would be to use a for loop, and add a incremental suffix to
  3595. every cell. e.g
  3596.  
  3597. =for(x,1,columns(reqRange))     --can't remeber the argument order!
  3598. newContents=cell("contents") & x        --might need string(x,0)
  3599. =formula(newContents)
  3600. =select("RC[1]")
  3601. =next()
  3602.  
  3603. columns functions counts the columns in 'reqRange' (name the range you
  3604. require). for function takes three arguments; counter variable, start
  3605. value, end value. cell function I mentioned yesterday.
  3606.  
  3607. Adding a suffiex only where necessary would be trickier. You could create
  3608. an array with the values so far found in cells, and check each new cell
  3609. against the values in this array.
  3610.  
  3611. Hope this helps,
  3612.  
  3613.  
  3614. /==============================\
  3615. | Jeremy P. Howard              |       "Logic must take care of itself."
  3616. | jhoward@ariel.unimelb.edu.au  |        Ludwig Wittgenstein
  3617. \==============================/                 Tractatus Logico-Philisophicus
  3618. =========================================================================
  3619. Date:         Thu, 7 Jul 1994 16:10:31 -0700
  3620. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3621. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3622. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  3623. Subject:      Re: stopping a moving train
  3624.  
  3625. >I admit it- I'm one of the dummies that bought Tao of
  3626. >Applescript. I can't afford a better reference right
  3627. >now, and I also can't figure out a way to abort a script
  3628. >in mid execution. And Tao ain't helpin'. I've tried "Exit"
  3629. >which turns into "Exit Repeat", which tries to do just that
  3630. >(only there is no repeat to exit out of), "Abort" (which
  3631. >obviously isn't a command), and "Quit" gives the a mystery
  3632. >error "Could not run the script because a script is running.
  3633.  
  3634. It's not clear what you want, but...
  3635.  
  3636. If you want to leave one handler and return to its caller, use
  3637.  
  3638.     return
  3639. or
  3640.     return somethingWhichMakesSenseToYourCaller
  3641.  
  3642. The statements "loose" in your script are in a run handler, (you can also
  3643. put them there explicitly), so this works from what looks like the top
  3644. level, too.
  3645. ----------
  3646.  
  3647. If you want to abort a whole script, regardless of how deep you are in the
  3648. calls to handlers, protect all of your run handler with
  3649.  
  3650. try
  3651.     -- all the run handler stuff
  3652. on error
  3653. end error
  3654.  
  3655. And, at the point where you want to abort, execute
  3656.     error -128
  3657.  
  3658. or
  3659.  
  3660.     error someCodeYouPick
  3661.  
  3662. -128 is the user cancelled error.
  3663.  
  3664. The error handling above has a major flaw:  it makes any error silent (or
  3665. most errors).  Probably, you want to improve that:
  3666.  
  3667. try
  3668.     -- all the run handler stuff
  3669. on error errorString number errorCode
  3670.     if errorCode is -128 (* or the special code you picked *) then return
  3671.     display dialog "Error: " & errorString & " (" & (errorCode as string) & ")"
  3672. end error
  3673.  
  3674. --------------------
  3675. If you mean that you want the user to be able to abort the script from
  3676. outside (for example, you see that it is having trouble), that is done with
  3677. command-.
  3678. Command-. produces an error -128 (which you can trap, see above).
  3679.  
  3680.    --John
  3681.  
  3682. --
  3683. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  3684. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  3685. =========================================================================
  3686. Date:         Thu, 7 Jul 1994 16:10:45 -0700
  3687. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3688. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3689. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  3690. Subject:      Re: anoth fmpro scripting question...
  3691.  
  3692. >This should be a simple question for more experienced scriptors out there...
  3693. >I am able to get the data of certain fields in a fmpro database, but no
  3694. >matter what I try, I cannot figure out how to just get the data of a
  3695. >particular field of a particular record...
  3696. >
  3697. >I'm a newbie to fmPro, and to scripting db's... can anyone help?
  3698.  
  3699. There is a pretty good database shipped with FileMaker Pro.  In its most
  3700. recent form, it is probably found in this folder, with this name, inside
  3701. your FileMaker folder.  There are lots of examples in there.  [Yes...the
  3702. same name (folder and document) twice.]
  3703.  
  3704.     FileMaker and Apple Events:FileMaker and Apple Events
  3705.  
  3706.   --John
  3707.  
  3708. --
  3709. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  3710. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  3711. =========================================================================
  3712. Date:         Fri, 8 Jul 1994 09:13:35 +1000
  3713. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3714. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3715. From:         Jeremy Peter Howard <jhoward@ARIEL.UCS.UNIMELB.EDU.AU>
  3716. Subject:      Re: Scriptable Finder docs
  3717. In-Reply-To:  <199407071318.XAA12461@ariel.ucs.unimelb.EDU.AU> from "Brian V.
  3718.               Hughes" at Jul 7, 94 09:12:46 am
  3719.  
  3720. >
  3721. > --Kevin Purcell wrote:
  3722. > >
  3723. > >The docs come on the AppleScript 1.1 CD.
  3724. >
  3725. >     And they come on disks with the latest version of the Scripter's
  3726. > Kit.
  3727. >
  3728. > >You won't find them on gaea as they're copyright Apple (they're DocWriter
  3729. > >documents).
  3730. >
  3731. >     Correct. And for the most part they look OK printed out on 3-hole
  3732. > punch paper.
  3733. >
  3734. > >Spend you $25 with APDA and you too can have a copy!
  3735. >
  3736. >     Actually, if you buy the Finder Scripting Kit from APDA you get a
  3737. > real Finder Scripting manual. Done in the same format as the rest of the
  3738. > AppleScript docs.
  3739. >
  3740. Nice idea... APDA in Australia isn't exactly always up-to-date with the
  3741. latest. How do I persuade them that the Finder Scripting Kit exists, and
  3742. that they can get it? Perhaps a part number?
  3743.  
  3744. If anyone from Apple is reading this, they might be interested in
  3745. discussing with me the difficulty in receiving development help in
  3746. Australia.
  3747.  
  3748. Thanks for the info,
  3749.  
  3750.  
  3751. /==============================\
  3752. | Jeremy P. Howard              |       "Logic must take care of itself."
  3753. | jhoward@ariel.unimelb.edu.au  |        Ludwig Wittgenstein
  3754. \==============================/                 Tractatus Logico-Philisophicus
  3755. =========================================================================
  3756. Date:         Fri, 8 Jul 1994 09:18:35 +1000
  3757. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3758. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3759. From:         Jeremy Peter Howard <jhoward@ARIEL.UCS.UNIMELB.EDU.AU>
  3760. Subject:      Re: stopping a moving train
  3761. In-Reply-To:  <9407072057.15567@munnari.oz.au> from "Brian V. Hughes" at Jul 7,
  3762.               94 03:40:31 pm
  3763.  
  3764. >
  3765. > --Jamie Lawrence wrote:
  3766. > >
  3767. > >I admit it- I'm one of the dummies that bought Tao of Applescript. I
  3768. > >can't afford a better reference right now, and I also can't figure out a
  3769. > >way to abort a script in mid execution. And Tao ain't helpin'. I've
  3770. > >tried "Exit" which turns into "Exit Repeat", which tries to do just that
  3771. > >(only there is no repeat to exit out of), "Abort" (which obviously isn't
  3772. > >a command), and "Quit" gives the a mystery error "Could not run the
  3773. > >script because a script is running.
  3774. >
  3775. >     Can you give us an idea of the script you are trying to abort? At
  3776. > worst you could wrap the whole script in a "repeat 1 time" statement and
  3777. > then you would be able to place "exit repeat" statements anwhere within
  3778. > the repeat loop to give you what you want.
  3779. >
  3780. I seem to remember that you can use 'my quit' or 'quit of me'.
  3781. Alternatively you can just use 'return' if you're not in a subroutine.
  3782.  
  3783. Jeremy
  3784. =========================================================================
  3785. Date:         Fri, 8 Jul 1994 09:17:05 +1000
  3786. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3787. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3788. From:         Jeremy Peter Howard <jhoward@ARIEL.UCS.UNIMELB.EDU.AU>
  3789. Subject:      Re: wierd variable substitution problem
  3790. In-Reply-To:  <199407071315.XAA12173@ariel.ucs.unimelb.EDU.AU> from "Brian V.
  3791.               Hughes" at Jul 7, 94 09:10:38 am
  3792.  
  3793. >
  3794. > --Jamie Lawrence wrote:
  3795. > >
  3796. > >Does anybody know what is going on here?
  3797. > >line 2 works just fine, but line 3 errors with "Could not
  3798. > >make "To" into an integer."
  3799. >
  3800. >     This looks a vriable reference problem...
  3801. >
  3802. > >1) tell application "Eudora"
  3803. > >2)   set mfolder to ""
  3804. > >3)   set theMessage to "Message " & messageNum & " of Mailbox Out"
  3805. > >       & " of Mail Folder " & mfolder
  3806. >
  3807. >     What you need to do, if you want to use theMessage in this manner is
  3808. > make it a reference. It would look like this:
  3809. >
  3810. > set theMessage to a reference to Message messageNum of Mailbox "Out" of Mail
  3811. >     Folder mfolder
  3812. >  [...]
  3813.  
  3814. Just in case anyone's interested, there is a abbreviation for 'a reference
  3815. to' (it gets annoying if you are scripting something which needs refs all
  3816. the time). Just use the single word 'ref'.
  3817.  
  3818. There are other abbrevs around - try shortening things and you might be
  3819. surprised at how often it works. For example, 'app' instead of
  3820. 'application'.
  3821.  
  3822. Hope this helps,
  3823.  
  3824. Jeremy
  3825. /==============================\
  3826. | Jeremy P. Howard              |       "Logic must take care of itself."
  3827. | jhoward@ariel.unimelb.edu.au  |        Ludwig Wittgenstein
  3828. \==============================/                 Tractatus Logico-Philisophicus
  3829. =========================================================================
  3830. Date:         Thu, 7 Jul 1994 18:50:32 EDT
  3831. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3832. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3833. From:         Shaddar@AOL.COM
  3834. Subject:      Re[2]: working with nonscriptable applic.
  3835.  
  3836. >>>    Examining another application's windows could be done from an INIT,
  3837. >>>which can execute while another application is active. It gets kind of
  3838. >>>hairy, though, and one can't collect much meaningful information. It
  3839. >>>would be possible to determine the title of the window, but not much
  3840. >>>else.
  3841.  
  3842. >>All I need to know is if an app has any windows open, nothing about the
  3843. >>window's characteristics, just if it exists.
  3844.  
  3845. >   This is fairly easy. I'm not sure whether it's worth the effort to
  3846. >write this, though, since I can't think of a whole lot of reasons why
  3847. >one might want this information...
  3848.  
  3849. >   I'll play with this when I get the chance... I'm working on v1.5 of
  3850. >File Tracker right now, and it's taking a lot of my time... ;-)
  3851.  
  3852. If you do get around to it, please post it and let me know on this newsgroup.
  3853.  :)
  3854.  
  3855. Thanks,
  3856.  
  3857. ~josh~
  3858. =========================================================================
  3859. Date:         Fri, 8 Jul 1994 01:18:38 +0000
  3860. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3861. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3862. From:         Dewi Williams <dewi@ALERT.DEMON.CO.UK>
  3863. Subject:      AppleScript heritage problems
  3864.  
  3865. I'm trying to AppleScript (v1.1) an old piece of code that shipped before
  3866. the AppleScript specs were nailed down. With a certain amount of enthusiasm
  3867. (and some ResEdit patching) it's working, but I'm wondering if there's a
  3868. more elegant way of doing it...
  3869.  
  3870. Question #1 : AppleScript's "the result" references the direct parameter in
  3871. the reply as returned by the target application. Is there any way of
  3872. accessing non-direct parameters? Especially when there isn't a direct one?
  3873. I tried fooling with "on error", but no success...
  3874.  
  3875. Question #2: the AppleEvent registry documents a 32 bit unsigned quantity
  3876. (typeMagnitude), but AppleScript doesn't believe in it (i.e. it happily
  3877. represents it as a negative quantity if the high bit is set). Am I missing
  3878. something, or is it just a leftover pascalism?
  3879.  
  3880. The background : I'm trying to script a poor orphan unsupported On Location
  3881. extension : version 2.0.1 (is there a later version?). It appears to be
  3882. working (caveat: minimal testing) after updating the 'aete' resource and
  3883. patching the AppleEvent code (resource 'EDOC' 18, if you're curious) to
  3884. return results as a direct parameter, but I'd prefer a solution that was
  3885. less invasive. On Location was abandoned back in 1991, so somebody may have
  3886. tackled this by now...
  3887.  
  3888.      Cheers,
  3889.  
  3890.          Dewi
  3891.  
  3892. ========
  3893. Dorothy Signature is innocent.
  3894. =========================================================================
  3895. Date:         Thu, 7 Jul 1994 17:43:16 -0700
  3896. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3897. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3898. From:         Andy Kington <andyk@TELEPORT.COM>
  3899. Subject:      Re: Scripting FileMaker Pro
  3900.  
  3901. >Todd Says:
  3902.  
  3903. >Two problems I am having:
  3904. >
  3905. >1) Get data returns records which are the nearest match e.g.
  3906. >
  3907. >  set rec to Get Data (first Record whose first Cell = partnum)
  3908. >  of Window dbname
  3909. //======================
  3910. try this one:
  3911.  
  3912. tell application "filemaker pro"
  3913. try
  3914.    set rec to Get Data (every Record whose Cell "part number" = 1)
  3915. on error
  3916.    display dialog "Couldn't find record" buttons {"Bummer"} default button 1
  3917. end try
  3918. end tell
  3919.  
  3920. NOTE: I don't think there was anything wrong with your script, If however
  3921. your first cell is a
  3922. text cell and not a number cell what you described would happen.
  3923.  
  3924. //======================
  3925.  
  3926. >2) Can you get a count of found records as opposed to total records? E.g.
  3927. >
  3928. >Show (every Record of Database "mydatabase" whose Cell "Name" = "Todd")
  3929. >        set n to (Count of Database "mydatabase" Class Record)
  3930.  
  3931. //=======================
  3932. tell application "filemaker pro"
  3933. try
  3934.    Show (every Record in Window "as test" whose Cell "description" = "Andy")
  3935.    set y to Record Count
  3936.    display dialog "There are " & y & " records that match" buttons
  3937. {"Coolness"}
  3938.        default button 1
  3939. on error
  3940.    display dialog "No Matches" buttons {"Humpf"} default button 1
  3941. end try
  3942. end tell
  3943. //===================
  3944. If you don't have Filemaker pro version 2.1v2 you can get the update from
  3945. info-mac.
  3946.  
  3947. Hope this helps ;-p
  3948.  
  3949. ______________________________andyk@teleport.com______________________________
  3950. |The Opinions I call mine I have gleaned from everyone I have ever    \|||||/
  3951. |known... And most of them were idiots... you know who you are.  If  (o)   (o)
  3952. |I am offensive it is my own fault.                                      U
  3953. |______________________________ The Quote _________________________  \_____^_/
  3954. |  Well I wish, I was born a thousand years ago / And I wish that I sailed   |
  3955. |  the darkened seas / On a great big clipper ship goin' from this land into |
  3956. |  that / In a sailor suit and cap, Away from the big city                   |
  3957. |                         <Billy Idol Cyberpunk CD>
  3958. |
  3959. =========================================================================
  3960. Date:         Thu, 7 Jul 1994 21:13:54 -0500
  3961. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3962. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3963. From:         "Sean Carton (Theoretical Basketweaving THBW)"
  3964.               <scarto1@GL.UMBC.EDU>
  3965. Subject:      Open Doc/MacMosaic/Scriptability
  3966. In-Reply-To:  <199407072346.TAA28667@ds1.gl.umbc.edu> from "Jeremy Peter
  3967.               Howard" at Jul 8, 94 09:13:35 am
  3968.  
  3969. Hi!
  3970.  
  3971. After many months of avid lurking, I have a question-- does anyone know
  3972. what, if any, plans there are for integrating Mac Mosaic and Applescript
  3973. and/or Mac Mosaic with OpenDoc? Has anyone had any luck using MacHTTP and
  3974. Applescript, Frontier, or Quickeys to do stuff on a Mac WWW server that
  3975. you could accomplish on a Unix HTTP server?
  3976.  
  3977. Hope 'yall can help!
  3978.  
  3979. Sean
  3980. =========================================================================
  3981. Date:         Thu, 7 Jul 1994 21:54:13 -0400
  3982. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3983. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  3984. Comments:     A VAX cluster with VMS V5.5-2, PMDF V4.2-10, JNET V3.6 & MU V3.2
  3985. From:         "Richard L. Upchurch" <RUPCHURCH@UMASSD.EDU>
  3986. Organization: University of Massachusetts Dartmouth, North Dartmouth, MA, USA
  3987. Subject:      Re: Open Doc/MacMosaic/Scriptability
  3988.  
  3989. >After many months of avid lurking, I have a question-- does anyone know
  3990. >what, if any, plans there are for integrating Mac Mosaic and Applescript
  3991. >and/or Mac Mosaic with OpenDoc?
  3992.  
  3993. Checking the dictionary for MacMosaic 2.0a2 you would find OpenURL as the only
  3994. event listed.
  3995.  
  3996. >Has anyone had any luck using MacHTTP and
  3997. >Applescript, Frontier, or Quickeys to do stuff on a Mac WWW server that
  3998. >you could accomplish on a Unix HTTP server?
  3999.  
  4000. We use MacHTTP here at UMass Dartmouth.  Our current work involves using
  4001. MacHTTP, AppleScript, AppleSearch,... to support our Campus Wide Information
  4002. system.  We have successfully served image maps, created forms and collected
  4003. the information from them to determine the next document to serve.  We are playi
  4004. ng
  4005. with a CGI to AppleSearch now to see what things we can/should deliver that way.
  4006. We also are working with scripting FoxPro (not my choice) to deliver info
  4007. that resides in that app (from a commercial service).
  4008.  
  4009. One interesting task we implemented used the information submitted in a form,
  4010. one info field was email address, and returned the information to the user
  4011. via email using Butte's TCP/IP OSAX.
  4012.  
  4013. R. Upchurch
  4014. CIS Dept.
  4015. UMass Dartmouth
  4016. =========================================================================
  4017. Date:         Thu, 7 Jul 1994 20:23:14 -0700
  4018. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4019. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4020. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  4021. Subject:      Re: AppleScript heritage problems
  4022.  
  4023. >I'm trying to AppleScript (v1.1) an old piece of code that shipped before
  4024. >the AppleScript specs were nailed down. With a certain amount of enthusiasm
  4025. >(and some ResEdit patching) it's working, but I'm wondering if there's a
  4026. >more elegant way of doing it...
  4027. >
  4028. >Question #1 : AppleScript's "the result" references the direct parameter in
  4029. >the reply as returned by the target application. Is there any way of
  4030. >accessing non-direct parameters? Especially when there isn't a direct one?
  4031. >I tried fooling with "on error", but no success...
  4032.  
  4033. Not with AppleScript, which only understands the '----' parameter in the
  4034. reply (and the error stuff including the extra recently-added error stuff
  4035. (partial result and offensive object <er, offending object>).
  4036.  
  4037. Frontier has no problem with any parameters in the reply, if one uses the
  4038. complexEvent () verb (which puts each reply parameter into a table entry in
  4039. a table you designate, with the name equal to the key of the parameter).
  4040. If you really must deal with an older application which returns other
  4041. parameters, you need to build a simple forwarder application to sit between
  4042. the real server and AppleScript.  It's pretty easy...I've built a few.
  4043.  
  4044.  
  4045. >Question #2: the AppleEvent registry documents a 32 bit unsigned quantity
  4046. >(typeMagnitude), but AppleScript doesn't believe in it (i.e. it happily
  4047. >represents it as a negative quantity if the high bit is set). Am I missing
  4048. >something, or is it just a leftover pascalism?
  4049.  
  4050. It's not a leftover Pascalism...Pascal doesn't do unsigned (which is why
  4051. some things that "feel like" they should have 65535 limits have 32767
  4052. limits).  C, of course is happy with unsigned.
  4053.  
  4054. If you're quick enough, you might get away with coercing to a real (if you
  4055. end up creating a forwarder, you can do it there, of course...a forwarder
  4056. could also coerce to string, if you don't want to compute with the number
  4057. but only look at it.  Either coercion is built in to the AE Manager.).
  4058.  
  4059.  
  4060. >The background : I'm trying to script a poor orphan unsupported On Location
  4061. >extension : version 2.0.1 (is there a later version?). It appears to be
  4062. >working (caveat: minimal testing) after updating the 'aete' resource and
  4063. >patching the AppleEvent code (resource 'EDOC' 18, if you're curious) to
  4064. >return results as a direct parameter, but I'd prefer a solution that was
  4065. >less invasive. On Location was abandoned back in 1991, so somebody may have
  4066. >tackled this by now...
  4067.  
  4068. I abandoned On Location before that ;-)
  4069.  
  4070.    --John (who does Tech Support for UserLand Frontier, but is speaking for
  4071. himself)
  4072.  
  4073. --
  4074. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  4075. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  4076. =========================================================================
  4077. Date:         Thu, 7 Jul 1994 20:29:46 -0700
  4078. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4079. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4080. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  4081. Subject:      Re: Open Doc/MacMosaic/Scriptability
  4082.  
  4083. >Hi!
  4084. >
  4085. >After many months of avid lurking, I have a question-- does anyone know
  4086. >what, if any, plans there are for integrating Mac Mosaic and Applescript
  4087. >and/or Mac Mosaic with OpenDoc? Has anyone had any luck using MacHTTP and
  4088. >Applescript, Frontier, or Quickeys to do stuff on a Mac WWW server that
  4089. >you could accomplish on a Unix HTTP server?
  4090.  
  4091. Mosaic is written using MacApp (not sure which MacApp version).  So adding
  4092. scripting is tied to the availability of scripting and Open Doc support
  4093. there.  Scripting support is available from 3rd party vendors, for various
  4094. MacApp versions (I don't know whether that includes the version used for
  4095. Mosaic).
  4096.  
  4097. In another venue, the rumor was recently spread that Apple had licensed the
  4098. source code for Mosaic.  If true, one would suspect an Open Doc connection.
  4099. If.
  4100.  
  4101.    --John
  4102.  
  4103. --
  4104. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  4105. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  4106. =========================================================================
  4107. Date:         Fri, 8 Jul 1994 00:43:56 EDT
  4108. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4109. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4110. From:         Chris Etesse <UK05899@UKCC.UKY.EDU>
  4111. Subject:      Re: Excel: Selecting cell and adding text to it
  4112. In-Reply-To:  Message of Fri,
  4113.               8 Jul 1994 09:05:07 +1000 from <jhoward@ARIEL.UCS.UNIMELB.EDU.AU>
  4114.  
  4115. Hey, thanks a bunch for your suggestion. I had to play with it a little
  4116. but this is what worked:
  4117. Record2 (e)
  4118. =FOR.CELL("atccell",,TRUE)
  4119. newContents=CELL("contents")&" (1)"
  4120. =FORMULA(newContents)
  4121. =SELECT("RC[1]")
  4122. =NEXT()
  4123. =RETURN()
  4124.  
  4125. It worked like a charm and saved me a ton of time -- maybe I take a crack at
  4126. AppleScript next!!!
  4127.  
  4128. Thanks again,
  4129.  
  4130. Chris Etesse
  4131. =========================================================================
  4132. Date:         Thu, 7 Jul 1994 22:05:16 -0800
  4133. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4134. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4135. From:         Mark Alldritt <alldritt@WIMSEY.COM>
  4136. Subject:      Re: How to pause in scripts (trying to script mail operations)
  4137.  
  4138. Hi,
  4139.  
  4140. I strongly suggest you switch to using Eudora's scripting interface.  It
  4141. allows you to delay while lengthy operations take place, and many other
  4142. things.  Below is a script I use daily to dialup and read mail via MacPPP
  4143. and Eudora:
  4144.  
  4145. --
  4146. --      Check The Mail
  4147. --      Copyright ) 1994  Mark Alldritt
  4148. --
  4149. --      This simple script establishes a MacPPP connection, checks for new
  4150. mail (and
  4151. --      uploades queued mail), and finally shuts down the MacPPP connection.
  4152. --
  4153. --      Notes:
  4154. --
  4155. --      Requires MacPPP Control 1.1 or later and Eudora 1.4.2 or later
  4156. --
  4157. --
  4158.  
  4159. try
  4160.         --
  4161.         --      Get Eudora started so we don't have to wait for it once
  4162. we've started the PPP
  4163.         --      connection (time is money!).
  4164.         --
  4165.         tell application "Eudora" to launch
  4166.  
  4167.         --
  4168.         --      Establish a PPP connection to the Mail Server
  4169.         --
  4170.         openPPP
  4171.  
  4172.         --
  4173.         --      waste some time while the connection is established.  This
  4174. is needed because MacPPP
  4175.         --      operates asynchronously.
  4176.         --
  4177.         set i to 1
  4178.         repeat while (i < 100 and not (PPPopened)) -- may need to increase
  4179. 100 on fast Macs
  4180.                 set i to i + 1
  4181.         end repeat
  4182.         if not (PPPopened) then
  4183.                 error "MacPPP connection not opened"
  4184.         end if
  4185.  
  4186.         --
  4187.         --      Send queued messages and check for new mail
  4188.         --
  4189.         with timeout of 9999 seconds
  4190.                 tell application "Eudora"
  4191.                         connect with Send and Check
  4192.                 end tell
  4193.         end timeout
  4194.  
  4195.         --
  4196.         --      Shutdown the PPP connection
  4197.         --
  4198.         activate -- several activates are used to ensure the script is the
  4199. foreground
  4200.         activate -- process to avoid problems with closePPP when its called
  4201. from the
  4202.         activate -- background.
  4203.         activate
  4204.         closePPP
  4205.  
  4206. on error errorString
  4207.         --
  4208.         --      Something went wrong.  Let the user know, and offer to
  4209. close the connection
  4210.         --
  4211.  
  4212.         activate
  4213.         if PPPopened then
  4214.                 display dialog "Can't check the mail (" & errorString & ").
  4215.  
  4216. Close MacPPP connection?" buttons {"Close", "Don't Close"} default button
  4217. "Close"
  4218.                 if button returned of the result = "Close" then
  4219.                         closePPP
  4220.                 end if
  4221.         else
  4222.                 display dialog "Can't check the mail (" & errorString & ,
  4223.                         ")." buttons "OK" default button "OK"
  4224.         end if
  4225. end try
  4226.  
  4227. As for having your script run at regular times, I suggest you check out my
  4228. Scheduler package (available from the MACSCRPT archive and other sources).
  4229. It does just this, and many other things you may find usefull.
  4230.  
  4231. -Mark
  4232. =========================================================================
  4233. Date:         Fri, 8 Jul 1994 13:47:03 +0200
  4234. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4235. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4236. From:         Tilmann Robbe <robbe@MIBM.RUF.UNI-FREIBURG.DE>
  4237. Subject:      Replacing an element of a string
  4238.  
  4239. I thought what I wanted to do with AppleScript was trivial, but it wasn't,
  4240. at least for me...
  4241. I have a database in FileMaker Pro and I'd like to replace one single word
  4242. in a field, leaving the other words in the field untouched. As far as I
  4243. see this is impossible for FileMaker.
  4244. I told my script to get the appropriate cellValues of the found set of
  4245. records as a list of strings and I thought I should now be able to set
  4246. the word oldWord to newWord in each of the strings.
  4247. The AppleScript Language Guide states: "You cannot set the value of an
  4248. element of a string" (p. 64) which is what I wanted to do. Danny Goodman
  4249. writes: "In concert with a number of reference forms, script statements
  4250. can get and set anyone or all of an element of a string" (AppleScript
  4251. Handbook, p. 188). Who is right?
  4252. I tried
  4253.  
  4254. set word 3 of myString to newWord
  4255.  
  4256. but this indeed didn't work although I can _get_ word 3 of myString. I
  4257. tried a number of other things which I would not dare to post to the list
  4258. :-) but I couldn't find a solution for my problem. I know I could have
  4259. Scriptable Text Editor do the work and re-import the data into my database
  4260. but this seems rather unelegant. Any hints?
  4261. (This was my first posting in English - I hope it was english enough so
  4262. that you did understand my problem... :-> )
  4263.  
  4264. Thanks in advance!
  4265.  
  4266. Tilmann
  4267.  
  4268. -----------------------------------------------------------------------------
  4269. * Tilmann Robbe                  *  E-Mail: robbe@mibm.ruf.uni-freiburg.de
  4270. * SystemAdministrator            *  SnailMail: Klarastrasse 78
  4271. * Seminar fuer Alte Geschichte   *             D-79106 Freiburg
  4272. * Universitaet Freiburg/Brsg.    *  Phone: 0049 - (0)761 - 273813
  4273. -----------------------------------------------------------------------------
  4274. =========================================================================
  4275. Date:         Fri, 8 Jul 1994 08:14:56 -0500
  4276. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4277. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4278. From:         "Sabatucci, Joe" <SBTCCJ@PRINCE.MM.WYETH.COM>
  4279. Subject:      Filemaker Pro scripting
  4280.  
  4281. From: Sabatucci, Joe
  4282. Date: Fri, Jul 8, 1994 8:14 AM
  4283. Subject: Filemaker Pro scripting
  4284. To: MacScript
  4285. "Can you get a count of found records as opposed to total records?"
  4286.  
  4287. You can say:
  4288. set numRecs to Count Records of Database 1
  4289.  to get the  number of records in the entire Database, but:
  4290.  
  4291.         set numFound to Count Records of Document 1
  4292. to get number of records in the found set, i.e. using "Document" instead of
  4293. "database" refers to the found set.
  4294. =========================================================================
  4295. Date:         Fri, 8 Jul 1994 07:38:29 -0500
  4296. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4297. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4298. From:         Steve Alex <steve_alex@POSTOFFICE.AIDT.EDU>
  4299. Subject:      Re: How to pause in scripts (trying to script mail operations)
  4300.  
  4301. On July 6th, Neil Christie wrote:
  4302.  
  4303. >...I have tried using timeouts and dialog boxes but they require me to be
  4304. >present defeating the purpose of the programs. I have also tried using the
  4305. >time the program has been running returned by the Application Info
  4306. >scripting addition in a repeat until. A sort of repeat until time = 180
  4307. >with the get the info line just before and also within the loop to give the
  4308. >programs three minutes but this didn't work. I know that Eudora is
  4309. >AppleScriptable but its commands are mainly related to filing messages and
  4310. >replying to existing messages. At present I am using Eudora v1.4, maybe the
  4311. >later versions are more scriptable I will have to have a look.
  4312.  
  4313. If you just want to pause or wait x seconds, the below function should work
  4314.  
  4315.         on wait(xSeconds)
  4316.                 set returnTime to (current date) + xSeconds
  4317.                 repeat until (current date) >= returnTime
  4318.                         --null do nothing except evaluate until condition
  4319.                 end repeat
  4320.         end wait
  4321.  
  4322.  
  4323. You'd call it with
  4324.  
  4325.         wait(5) -- to wait 5 seconds
  4326.  
  4327. >I ideally want to be able to set the scripts to run at a certain time of
  4328. >the day, any suggestions as to how, preferably allowing the mac to be used
  4329. >in the meantime.
  4330.  
  4331. You can set up a cron type application with the AS idle handler. For instance
  4332. you can create a script application that does something every hour.
  4333.  
  4334.         doSomething()
  4335.                 set x to ...
  4336.                 ...
  4337.         end
  4338.  
  4339.         on idle
  4340.                 doSomething()
  4341.                 return 3600
  4342.         end
  4343.  
  4344. I don't think there is any real overhead until the callback is made to the
  4345. script.
  4346.  
  4347. Steve Alex
  4348. steve_alex@aidt.edu             Alabama Industrial Development Training
  4349. =========================================================================
  4350. Date:         Fri, 8 Jul 1994 15:02:24 +0200
  4351. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4352. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4353. From:         Andrew Maier <maier@ARIEL.PAP.UNIVIE.AC.AT>
  4354. Subject:      Choosing a printer form a script
  4355.  
  4356. Hi all,
  4357. I would like to be able to choose a printer from a script. Something like:
  4358.  
  4359. choose printer "StyleWriter" at "ModemPort" with background printing on
  4360.  
  4361. or something simular. Is this possible?
  4362.  
  4363. cheers  Andrew
  4364.  
  4365.  
  4366. Andrew Maier            maier@ariel.pap.univie.ac.at
  4367. Glockengasse 6/20               or
  4368. A-1020 Vienna           maier@qhepm1.oeaw.ac.at
  4369. Austria/Europe
  4370. =========================================================================
  4371. Date:         Fri, 8 Jul 1994 10:05:20 -0400
  4372. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4373. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4374. From:         David Brown <dlb1@SEQUOIA.LLE.ROCHESTER.EDU>
  4375. Subject:      Re: Applescripting Serial Port
  4376.  
  4377.         Thanks to those who replied, especially Paul Stoll who sent me the
  4378. excellent Dartmouth XCMD's 4.0.3 package.  That package has a serial port
  4379. XCMD which works with HC 2.1.  I whipped up a little interface to control
  4380. and read out a Fluke Scopemeter hand-held oscilloscope and save the data to
  4381. a file.  It works perfectly too!  Now that I think about it, HC should have
  4382. been my first choice anyway.  However, I want to have the data dumped into
  4383. a graph properly formatted.  This looks like a job for... AppleScript.
  4384. I'll write a script which triggers the HC stack (I added the aete for HC
  4385. 2.1 that was floating around) and then use Excel to plot and print.  If
  4386. anyone has a better idea please let me know.
  4387.  
  4388.         I still think it would be great to have a serial port osax.  Is
  4389. anyone working on such a creature?  There seems to be a need.
  4390.  
  4391.         Thanks again Paul, and to the group at Dartmouth.
  4392.  
  4393. -- Dave
  4394.  
  4395.  
  4396.  
  4397. David L. Brown <dlb1@lle.rochester.edu>
  4398. Laboratory for Laser Energetics
  4399. 250 East River Road
  4400. Rochester, NY 14623 USA                                           UR  \|/
  4401. -----------------------------------------------------------------------*--
  4402. (716) 275-6880                                                    LLE /|\
  4403. =========================================================================
  4404. Date:         Fri, 8 Jul 1994 12:40:08 EST
  4405. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4406. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4407. From:         Kim-Son Tran <KTran@CC.ATINC.COM>
  4408. Subject:      ccMail Scripting
  4409.  
  4410. Hi, I'm new to AppleScripting and this is my first post so here goes...
  4411.  
  4412. I seem to be having problems trying to script ccMail to print messages that
  4413. arrives with a text item file attachment. As you may know if you receive Mac
  4414. Script forum through e-mail in digest form, you'll sometime receive files that
  4415. are 32K or large as a text file attachment. Therefore, I'm trying develop a
  4416. script to automate the process of printing all MacScript digest I receive. Let
  4417. me elaborate a little further....
  4418.  
  4419. My script brings up ccMail login prompt waiting for my input of name and
  4420. password. Once a I've logged-in, I use the repeat statement to loop and check
  4421. each message in my inbox to see if the subject field contains "MACSCRPT Digest".
  4422. If it does, I invoke ccMail's PrintMessage command then move the message to its
  4423. appropriate folder for storage. Everything seems to work fine except the print
  4424. statement causes messages containing a text file attachment to print only one
  4425. page with a header (as I want it to) and a blank body. For those messages under
  4426. the 32K limit (which displays upon opening in the body of the message), the
  4427. entire message prints out fine. My Print Message settings does have the Print
  4428. Attached Files option checked.
  4429.  
  4430. So what's going on? Is this a bug with ccMail's PrintMessage command? I've even
  4431. tried to open the message via ccMail's OpenTheSelection command before issuing
  4432. the PrintMessage statement but no luck. When I do not have the script running
  4433. and I open the inbox, select the message with a text file attachment, and choose
  4434. Print Message from the File menu, everything prints out as expected. Strange...
  4435.  
  4436. Can anyone confirm this? Can anyone tell me how to do it better? Below is the
  4437. script's statements after a LoggedIn status has been determined:
  4438.  
  4439. on startTask()
  4440.     tell application "ccMail 2.1"
  4441.         activate
  4442.         OpenInbox
  4443.         set newMail to GetCount --Sets total number of messages in the inbox
  4444.         repeat until newMail = 0
  4445.             SelectNthLine newMail
  4446.             copy newMail - 1 to newMail
  4447.             if "MACSCRPT Digest" is contained by (GetSubject) then
  4448.                 PrintMessage
  4449.                 MoveToFolder "Mac Script Digest"
  4450.             end if
  4451.         end repeat
  4452.     end tell
  4453. end startTask
  4454.  
  4455. You can reply to me directly at kim-son_tran@cc.atinc.com
  4456.  
  4457. Thanks.
  4458. =========================================================================
  4459. Date:         Fri, 8 Jul 1994 09:45:39 -0700
  4460. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4461. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4462. From:         Kevin Purcell <xenolith@HALCYON.COM>
  4463. Subject:      Re: Scriptable Finder docs
  4464.  
  4465. I said (three levels deep):
  4466. >> >Spend you $25 with APDA and you too can have a copy!
  4467.  
  4468. Jeremy P. Howard replied:
  4469.  
  4470. >Nice idea... APDA in Australia isn't exactly always up-to-date with the
  4471. >latest. How do I persuade them that the Finder Scripting Kit exists, and
  4472. >that they can get it? Perhaps a part number?
  4473. >
  4474. >If anyone from Apple is reading this, they might be interested in
  4475. >discussing with me the difficulty in receiving development help in
  4476. >Australia.
  4477. >
  4478.  
  4479. Personal expereince from when I was in the UK (at the University of
  4480. Liverpool) says that Apple support for developers outside the USA sucked.
  4481. We'ed ask Apple UK for stuff and they'ed claim they didn't have it or worse
  4482. yet that it didn't exist.
  4483.  
  4484. The solution: short circuit the bozos (and let Apple US know they're
  4485. screwing up) and order direct from APDA. All you need is a phone or fax and
  4486. a credit card. We also found that we could get stuff faster from APDA in
  4487. the US than from Apple in the UK even when they admitted having the
  4488. product. The total costs are not that much different.
  4489.  
  4490. APDA can be contacted at +1 716 871 6555 (voice) or +1 716 871 6511 (fax).
  4491. If you ask they will add you to their catalog mailing list.
  4492.  
  4493. Good luck,
  4494.  
  4495. Kevin Purcell, N7WIM / G8UDP   Are you a Mac developer? Live close to Seattle?
  4496. xenolith@halcyon.com           We need you in the dBug Mac Dev SIG. Mail me!
  4497. (206) 649-6489                 "Organising programmers is like herding cats"
  4498. =========================================================================
  4499. Date:         Fri, 8 Jul 1994 09:45:53 -0700
  4500. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4501. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4502. From:         Kevin Purcell <xenolith@HALCYON.COM>
  4503. Subject:      Re: Applescripting Serial Port
  4504.  
  4505. >        Thanks to those who replied, especially Paul Stoll who sent me the
  4506. >excellent Dartmouth XCMD's 4.0.3 package.  That package has a serial port
  4507. >XCMD which works with HC 2.1.  I whipped up a little interface to control
  4508. >and read out a Fluke Scopemeter hand-held oscilloscope and save the data to
  4509. >a file.  It works perfectly too!  Now that I think about it, HC should have
  4510. >been my first choice anyway.  However, I want to have the data dumped into
  4511. >a graph properly formatted.  This looks like a job for... AppleScript.
  4512. >I'll write a script which triggers the HC stack (I added the aete for HC
  4513. >2.1 that was floating around) and then use Excel to plot and print.  If
  4514. >anyone has a better idea please let me know.
  4515.  
  4516. Get the best of both worlds and upgrade to Hypercard 2.2 where you can
  4517. write scripts in Hypertalk and AppleScript. This would be ideal for your
  4518. application, I suspect. The you will only have one tack to maintain. The
  4519. upgrade shouldn't break the bank (it also has some other nice features).
  4520.  
  4521. Hypercard 2.2: it slices, it dices, its a dessert topping and a floor polish.
  4522.  
  4523. Kevin Purcell, N7WIM / G8UDP   Are you a Mac developer? Live close to Seattle?
  4524. xenolith@halcyon.com           We need you in the dBug Mac Dev SIG. Mail me!
  4525. (206) 649-6489                 "Organising programmers is like herding cats"
  4526. =========================================================================
  4527. Date:         Fri, 8 Jul 1994 13:17:27 -0600
  4528. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4529. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4530. From:         Frank Concannon <frank-concannon@UOKHSC.EDU>
  4531. Subject:      Measuring Idle time under AppleScript
  4532.  
  4533. Hi
  4534.  
  4535. This is a second attempt to get this question addresed. (Mail Problems!)
  4536.  
  4537.         I want to do some stuff with the Mac based on the ammount of time
  4538. it sits idle
  4539.  
  4540. if idle for a period of time play a sound
  4541. if idle for longer period shutdown etc
  4542.  
  4543. that sort of thing.
  4544.  
  4545.         What I need to know is there a way to measure the idle time using
  4546. AppleScript ( the elapsed time since an event was generated i.e. mouse
  4547. moved key clicked etc. ) I guess its something similar to the mechanism
  4548. used by screen savers !.
  4549.  
  4550.         Any hints or suggestions would be appreciated!
  4551.  
  4552. Frank C.
  4553. R&E
  4554. =========================================================================
  4555. Date:         Fri, 8 Jul 1994 15:31:43 -0500
  4556. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4557. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4558. From:         mike hurley <mgh3@PO.CWRU.EDU>
  4559. Subject:      Re: Measuring Idle time under AppleScript
  4560.  
  4561. >Hi
  4562. >
  4563. >This is a second attempt to get this question addresed. (Mail Problems!)
  4564. >
  4565. >        I want to do some stuff with the Mac based on the ammount of time
  4566. >it sits idle
  4567. >
  4568. >if idle for a period of time play a sound
  4569. >if idle for longer period shutdown etc
  4570. >
  4571. >that sort of thing.
  4572. >
  4573. >        What I need to know is there a way to measure the idle time using
  4574. >AppleScript ( the elapsed time since an event was generated i.e. mouse
  4575. >moved key clicked etc. ) I guess its something similar to the mechanism
  4576. >used by screen savers !.
  4577. >
  4578. >        Any hints or suggestions would be appreciated!
  4579. >
  4580.  
  4581. >From within applescript I have no idea; but Chris Johnson's cron
  4582. application can detect idle time, and could presumably then
  4583. launch an applescript application (not that I've tried this).
  4584.  
  4585. As of a month or so ago cron could be found at:
  4586. ** the microlib/mac/util directory of
  4587. ** microlib.cc.utexas.edu, the pub/chrisj directory of ftp.cc.utexas.edu and
  4588. ** through the World-Wide Web at:
  4589. **
  4590. **     http://gargravarr.cc.utexas.edu/cron/cron.html
  4591. **
  4592. =========================================================================
  4593. Date:         Fri, 8 Jul 1994 13:37:25 -0700
  4594. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4595. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4596. From:         Dennis Birch <fja04@HALCYON.COM>
  4597. Subject:      "Is there a file?" command
  4598.  
  4599. I am new to AppleScript, and to this list, so I hope you will excuse me if
  4600. this question is too elementary, or if it has already been covered. Here's
  4601. what I'm wondering: Is there any way of testing for the existence of a file
  4602. from within AppleScript? In HyperCard I can use the statement "if there is
  4603. a file fileName then ..." I haven't been able to figure out a workaround
  4604. for doing the same thing in AppleScript. Thanks for any advice anyone can
  4605. offer.
  4606.  
  4607. -- Dennis Birch
  4608. =========================================================================
  4609. Date:         Fri, 8 Jul 1994 13:54:56 -0800
  4610. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4611. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4612. From:         Leonard Rosenthol <leonardr@NETCOM.COM>
  4613. Subject:      Re: Measuring Idle time under AppleScript
  4614.  
  4615. >        What I need to know is there a way to measure the idle time using
  4616. >AppleScript ( the elapsed time since an event was generated i.e. mouse
  4617. >moved key clicked etc. ) I guess its something similar to the mechanism
  4618. >used by screen savers !.
  4619. >
  4620.         The folks at UserLand released an init called something like
  4621. IdleTime which could be queried via AE's to return the amount of time since
  4622. the last user action.  Chances are it's on gaea.
  4623.  
  4624. Leonard
  4625.  
  4626. -----------------------------------------------------------------------------
  4627. Leonard Rosenthol                       Internet:       leonardr@netcom.com
  4628. Director of Advanced Technology         AppleLink:      MACgician
  4629. Aladdin Systems, Inc.                   GEnie:          MACgician
  4630. =========================================================================
  4631. Date:         Fri, 8 Jul 1994 14:40:02 -0700
  4632. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4633. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4634. From:         Kevin Purcell <xenolith@HALCYON.COM>
  4635. Subject:      Re: "Is there a file?" command
  4636.  
  4637. >Is there any way of testing for the existence of a file
  4638. >from within AppleScript? In HyperCard I can use the statement "if there is
  4639. >a file fileName then ..." I haven't been able to figure out a workaround
  4640. >for doing the same thing in AppleScript. Thanks for any advice anyone can
  4641. >offer.
  4642.  
  4643. Using the scriptable finder each of the following scripts returns a boolean
  4644. in the result:
  4645.  
  4646. tell application "Finder"
  4647.         exists (folder "Dogcow:test:") -- folders only
  4648. end tell
  4649.  
  4650. tell application "Finder"
  4651.         exists (file "Dogcow:test") -- files only
  4652. end tell
  4653.  
  4654. tell application "Finder"
  4655.         exists (item "Dogcow:test:") -- either files or folders
  4656. end tell
  4657.  
  4658. In general the exists event will determine the existance of any object
  4659. (providing the application supports that object class).
  4660.  
  4661. Kevin Purcell, N7WIM / G8UDP  Are you a Mac developer? Live close to Seattle?
  4662. xenolith@halcyon.com          We need you in the dBug Mac Dev SIG. email me!
  4663. (206) 649-6489                "Organising programmers is like herding cats"
  4664. =========================================================================
  4665. Date:         Fri, 8 Jul 1994 15:29:17 -0700
  4666. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4667. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4668. From:         Kevin Purcell <xenolith@HALCYON.COM>
  4669. Subject:      Why don't script objects have elements?
  4670.  
  4671. Q: Why don't script objects have elements?
  4672.  
  4673. This has bothered me a somewhat (I feel my sense of othogonality is left
  4674. unfulfilled).
  4675.  
  4676. Why do object classes in applications have elements but script objects
  4677. don't. It seems that just adding them wouldn't cause a problem. Imagine an
  4678. "element" keyword (similar to property). So I would define a script object
  4679. with two elements and a property int he following way:
  4680.  
  4681. script Foo
  4682.   element String
  4683.   element Text Style Info
  4684.   property quux: {}
  4685. end
  4686.  
  4687. This would be even more useful if it allowed you to have elements that
  4688. where script objects something like this:
  4689.  
  4690. script Word
  4691.   element String
  4692. end
  4693.  
  4694. script Foo
  4695.   element Word
  4696. end
  4697.  
  4698. So I could talk about
  4699.  
  4700.   first word of Foo
  4701.  
  4702.   last word of Foo
  4703.  
  4704. without getting mired in making my own collections from lists.
  4705.  
  4706. Of course everything you can do with elements you can also do with a list
  4707. of (possibly script) objects but the code is a little uglier. For example:
  4708.  
  4709. first item of word of Foo
  4710.  
  4711. Perhaps the problem lies in parsing these things (script objects don't have
  4712. their own aete's but one could fill a symbol table from their definition in
  4713. the script).
  4714.  
  4715. Ideas? Comments?
  4716.  
  4717. Kevin Purcell, N7WIM / G8UDP  Are you a Mac developer? Live close to Seattle?
  4718. xenolith@halcyon.com          We need you in the dBug Mac Dev SIG. email me!
  4719. (206) 649-6489                "Organising programmers is like herding cats"
  4720. =========================================================================
  4721. Date:         Fri, 8 Jul 1994 15:49:44 -0700
  4722. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4723. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4724. From:         Dennis Birch <fja04@HALCYON.COM>
  4725. Subject:      Re: "Is there a file?" command
  4726.  
  4727. >>Is there any way of testing for the existence of a file
  4728. >>from within AppleScript? In HyperCard I can use the statement "if there is
  4729. >>a file fileName then ..." I haven't been able to figure out a workaround
  4730. >>for doing the same thing in AppleScript.
  4731.  
  4732. >Using the scriptable finder each of the following scripts returns a boolean
  4733. >in the result
  4734.  
  4735. I forgot to mention in my original post that I don't have a scriptable
  4736. Finder, and I'm trying to make this script as universal as possible (i.e.,
  4737. dependent on as basic a set-up as possible).
  4738. =========================================================================
  4739. Date:         Fri, 8 Jul 1994 17:15:32 -0800
  4740. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4741. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4742. From:         David Lewis <lewis@NETCOM.COM>
  4743. Subject:      OSA Menu and Frontier
  4744.  
  4745. I'm using Frontier as a scripting environment, and I don't have
  4746. AppleScript. I have exported a deskscript as an OSA script (using the OSA
  4747. export suite released by UserLand in January). It works when exported as a
  4748. normal deskscript. When I attempt to execute the OSA version under OSA Menu
  4749. 1.0.1, however, I get a "-3000" error reported by OSA Menu. I'm flying a
  4750. bit blind here. Any help would be appreciated. Thanks.
  4751.  
  4752.         David
  4753.  
  4754. David Lewis     Seagate Technology      (408) 439-2374  lewis@netcom.com
  4755. =========================================================================
  4756. Date:         Fri, 8 Jul 1994 20:49:46 -0400
  4757. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4758. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4759. From:         Barry Chern <bchern@FREENET.COLUMBUS.OH.US>
  4760. Subject:      Last word and beyond (Quark)
  4761.  
  4762. Sorry to wait so long to continue this conversation, hope everyone hasn't
  4763. forgotten the drift.
  4764. =20
  4765. I've done some more testing and confirmed what I suspected about the
  4766. results in Quark being different because of the way I'm referencing the
  4767. paragraph (by a condition rather than a number.)
  4768. =20
  4769. Here's the phrases and results (from the Event Log, not the way I wrote the=
  4770. m):
  4771. =20
  4772. tell application "QuarkXPress=A8"
  4773.  =20
  4774. =09get last word of every paragraph of every story of document 1
  4775. whose it contains "490-85-300"
  4776. =09=09--> "490-85-300=09Street=09B&B=0910.5 x 1-23=09$194.99"
  4777. --the whole paragraph being returned
  4778. =09get last word of paragraph 3 of story 11 of document 1
  4779. =09=09--> "99"
  4780. --this was the same paragraph being referenced by number
  4781. =09get last word of every text of every paragraph of every story of
  4782. document 1 whose it contains "490-85-300"
  4783. =09=09--> "99"
  4784. --If I throw in the "text of" part, then it works. Anyone know why this is
  4785. necessary with one construct and not the other?
  4786. end tell=20
  4787.  =20
  4788.  =20
  4789. So, I guess that's that part of it. I thought the fact that I get "99"
  4790. instead of the whole price meant I had to decider if it's going to be
  4791. easier to tear apart a price from the source file and put its pieces back
  4792. together in Quark, or extract the whole paragraph into an Applescript
  4793. variable, tear that apart, replace the price (AppleScript returns
  4794. "$194.99" as the last word of the paragraph) and then replace the
  4795. paragraph in Quark.
  4796. =20
  4797. However the information from David Boroditsky that follows provided
  4798. valuable clues to things I was missing:
  4799. =20
  4800. DB> Please note that the period is missing.=20
  4801. DB>=20
  4802. DB>
  4803. DB> =20
  4804. set(delimittable[1].delimititem["."],canstartorendorbecontainedinword)=20
  4805. DB>=20
  4806. DB> will tell Quark to include period in the set of characters that can
  4807. DB> start or end or be contained in a word. Other possible values are
  4808. DB> notwordmember, canstartorendword, canbecontainedinword. These
  4809. DB> changes to the delimit table are not saved in documents or in the
  4810. DB> Quark app itself, so they must be set every time if your script
  4811. DB> needs them.=20
  4812. DB>=20
  4813. DB>=20
  4814. DB>   with document[1].page[1].textbox[foo]=20
  4815. DB>     thedata =3D get(word[contents =3D=3D bar].offset)=20
  4816. DB>=20
  4817. DB> thedata will be a list of the integer locations of the word bar in
  4818. DB> the textbox if there is more than one match, an integer otherwise.
  4819. DB> If you want to search a whole textflow (or story, textflow[1] seems
  4820. DB> to me to be identical to story[1])=20
  4821. DB>=20
  4822. DB>   with document[1].page[1].textbox[foo].story[1]=20
  4823. DB>=20
  4824. DB> will search the entire textflow (a potentially slow process) and
  4825. DB> also return a list or integer.
  4826.  =20
  4827. I hope I can figure out how to use these things in AppleScript. I'm
  4828. beginning to think this might be doable, have to play with the new info.
  4829. Do you have to reference the number of the delimit table you define
  4830. somehow to have it be in use? Anyone have example of AS syntax for this
  4831. and for using offset?
  4832. =20
  4833. Barry=20
  4834. =20
  4835. =20
  4836. =========================================================================
  4837. Date:         Fri, 8 Jul 1994 21:46:17 EDT
  4838. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4839. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4840. From:         Shaddar@AOL.COM
  4841. Subject:      Re: Replacing an element of a string
  4842.  
  4843. >I thought what I wanted to do with AppleScript was trivial, but it wasn't,
  4844. >at least for me...
  4845. >I have a database in FileMaker Pro and I'd like to replace one single word
  4846. >in a field, leaving the other words in the field untouched. As far as I
  4847. >see this is impossible for FileMaker.
  4848. >I told my script to get the appropriate cellValues of the found set of
  4849. >records as a list of strings and I thought I should now be able to set
  4850. >the word oldWord to newWord in each of the strings.
  4851. >The AppleScript Language Guide states: "You cannot set the value of an
  4852. >element of a string" (p. 64) which is what I wanted to do. Danny Goodman
  4853. >writes: "In concert with a number of reference forms, script statements
  4854. >can get and set anyone or all of an element of a string" (AppleScript
  4855. >Handbook, p. 188). Who is right?
  4856. >I tried
  4857.  
  4858. >set word 3 of myString to newWord
  4859.  
  4860. >but this indeed didn't work although I can _get_ word 3 of myString. I
  4861. >tried a number of other things which I would not dare to post to the list
  4862. >:-) but I couldn't find a solution for my problem. I know I could have
  4863. >Scriptable Text Editor do the work and re-import the data into my database
  4864. >but this seems rather unelegant. Any hints?
  4865.  
  4866. Try replacing the entire string, this shouldn't be too much more work.  I'm
  4867. not sure it will work, I don't have Filemaker Fro, but it's worth a shot.
  4868.  
  4869. >(This was my first posting in English - I hope it was english enough so
  4870. >that you did understand my problem... :-> )
  4871.  
  4872. I didn't know you weren't a native English speaker until you told me.  :-)
  4873.  
  4874. ~josh~
  4875. =========================================================================
  4876. Date:         Fri, 8 Jul 1994 22:47:38 -0400
  4877. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4878. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4879. From:         Boris Levitin <boris@WORLD.STD.COM>
  4880. Subject:      Re: Choosing a printer form a script
  4881.  
  4882. Andrew Maier <maier@ARIEL.PAP.UNIVIE.AC.AT> writes:
  4883.  
  4884. >I would like to be able to choose a printer from a script. Something like:
  4885. >choose printer "StyleWriter" at "ModemPort" with background printing on
  4886.  
  4887. 1. "Set printer to" osax that's part of the freeware GTQ Scripting Library,
  4888. available on gaea.kgs.ukans.edu at /applescript/osax .
  4889.  
  4890. 2. "Choosy" module that's part of the commercial QuickKeys 3.0 package from
  4891. CE software.
  4892.  
  4893. Boris Levitin                                  WGBH Public Broadcasting, Boston
  4894.                                    boris@world.std.com * boris_levitin@wgbh.org
  4895.               I produced this message and am solely responsible for its content
  4896. =========================================================================
  4897. Date:         Fri, 8 Jul 1994 23:31:23 -0400
  4898. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4899. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4900. From:         Boris Levitin <boris@WORLD.STD.COM>
  4901. Subject:      Re: "Is there a file?" command
  4902.  
  4903. In generic AppleScript 1.1 (I don't know about 1.0), you can say:
  4904.  
  4905. try
  4906.   info for (filename as alias)
  4907.   --code to handle file-exists condition
  4908. on error
  4909.   --code to hanlde file-doesn't-exist condition
  4910. end try
  4911.  
  4912. This works for me (filename is the name, preceded by the full path except for
  4913. an applet which will use its own folder by default, of the file or folder
  4914. whose existance you wish to check).
  4915.  
  4916. Boris Levitin                                  WGBH Public Broadcasting, Boston
  4917.                                    boris@world.std.com * boris_levitin@wgbh.org
  4918.               I produced this message and am solely responsible for its content
  4919. =========================================================================
  4920. Date:         Fri, 8 Jul 1994 20:35:36 -0700
  4921. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4922. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  4923. From:         Mike! <Mike.W.Miller.40@ND.EDU>
  4924. Subject:      Macintosh Consultant Job Opening at Notre Dame, Indiana, USA
  4925.  
  4926. I apologize in advance to those who get bent out of shape over job postings
  4927. to mailing lists -- but I'm sure you'll get over it.
  4928.  
  4929.  
  4930. This position is for a Macintosh Consultant at the University of Notre Dame.
  4931.  
  4932. Responses to this job posting should be sent to:  moreland.3@nd.edu
  4933. or mailed to:
  4934.  
  4935.                         Mac Consultant Search
  4936.                         c/o Shiree Moreland
  4937.                         G001 Computing Center
  4938.                         Notre Dame, IN  46556
  4939.  
  4940. Please mention in your cover letter or e-mail message which mailing list
  4941. you saw this job posting in.
  4942.  
  4943. Responses and resumes sent directly to me (Mike W. Miller) or posted back
  4944. to the list, while they might be good reading, will eventually be discarded
  4945. since we are not interested in people who can't follow simple directions.
  4946.  
  4947. Since this posting is for my current position (I've accepted a new position
  4948. within our organization), I'm intimately familiar with it.  I'll be happy
  4949. to answer questions about it, or the organizational, demographic,
  4950. political, social, or weather apsects of ND in private correspondence.
  4951. However, I'm currently at a conference and will be through 12 July, then
  4952. I'll be on vacation through 24 July.  While I'll still be doing e-mail the
  4953. entire time, my responses might be delayed.
  4954.  
  4955.  
  4956.  ============================================================================
  4957.                    P O S I T I O N   D E S C R I P T I O N
  4958.  ============================================================================
  4959.  
  4960. Title:          Consultant/Analyst (Macintosh)
  4961.  
  4962. Department:     Department of User Services
  4963.                 Office of University Computing
  4964.  
  4965. Reports to:     Consulting Team Leader
  4966.  
  4967. -----------------------------------------------------------------------------
  4968.  
  4969. General Summary
  4970. ---------------
  4971. Provides direction to the user community regarding Macintosh hardware and
  4972. software; educates the community in the use of these products and
  4973. technologies; and provides support and trouble-shooting expertise to the
  4974. user community.  Works with others in the OUC to develop and support
  4975. computing-based services.
  4976.  
  4977.  
  4978. Principal Duties and Resonsibilities
  4979. ------------------------------------
  4980.   1. Evaluates, recommends, installs, and supports Macintosh products
  4981.      (hardware, operating systems, and software) and makes recommendations for
  4982.      future OUC direction on this platform as part of the Macintosh Team.
  4983.  
  4984.   2. Installs and supports Macintosh application software for the campus
  4985.      user community.
  4986.  
  4987.   3. Prototypes and develops (alone or in teams) new LAN and
  4988.      enterprise-wide services.
  4989.  
  4990.   4. Educates and informs the user community by writing documentation,
  4991.      articles, and FAQs, contributing to support mailing lists and news groups,
  4992.      developing and teaching training courses, and presenting technology
  4993.      demonstrations as needed.
  4994.  
  4995.   5. Works with the Information Resource Center to provide end-user
  4996.      support, including trouble-shooting and problem-solving related to
  4997.      Macintosh applications and operating system.
  4998.  
  4999.   6. Keeps abreast of industry developments related to computing in
  5000.      general and Macintosh in particular.
  5001.  
  5002.   7. Serves as backup support for other campus and OUC consultants.
  5003.  
  5004. The General Summary and Principal Duties and Responsibilities sections
  5005. summarized above provide a representative listing only and should not be
  5006. regarded as a complete statement of tasks performed by this position.  It
  5007. should be recognized, therefore, that employees may be asked to perform
  5008. job- related duties beyond those outlined above.
  5009.  
  5010.  
  5011. Working Relationships:
  5012. ----------------------
  5013. Reports to the Consulting Team Leader.  Interacts regularly with other User
  5014. Services and OUC staff members in a peer situation.  Interacts with vendors
  5015. to obtain product information.  Provides end-user support and training to
  5016. Notre Dame staff, faculty, and students.
  5017.  
  5018.  
  5019. Education Required:
  5020. -------------------
  5021. A minimum of a Bachelor's degree in computer science  or an applied
  5022. computing field (advanced degree preferred) or equivalent experience.
  5023.  
  5024.  
  5025. Knowledge, Skills, and Abilities required:
  5026. ------------------------------------------
  5027.   * Advanced expertise on the Macintosh platform with operating systems,
  5028.     network systems administration, software applications, hardware and
  5029.     peripherals, and programming.
  5030.  
  5031.   * Three years computer applications or programming experience including
  5032.     one year of computer consulting and/or teaching experience.
  5033.  
  5034.   * Proficiency in at least one programming environment such as C, C++,
  5035.     Pascal, HyperTalk, or AppleScript.
  5036.  
  5037.   * Workstation maintenance and system administration experience helpful.
  5038.  
  5039.   * Background in any of the following workstation and network operating
  5040.     systems considered useful:  DOS, Windows, OS/2, Novell, UNIX, VM/CMS,
  5041.     MVS/TSO.
  5042.  
  5043.   * Experience with distributed computing environments such as AFS helpful.
  5044.  
  5045.   * Ability to work well with people and communicate effectively,  both
  5046.     verbally and in writing.  Ability and desire to work together in a team
  5047.     environment.
  5048.  
  5049.  
  5050. Working Conditions:
  5051. -------------------
  5052. Work is performed in a typical office environment.  Work involves use of
  5053. computer equipment, including sitting at a CRT, with almost no danger or
  5054. hazards.
  5055.  
  5056.  ============================================================================
  5057.  
  5058. Best wishes to all applicants!
  5059.  
  5060. Mike!
  5061.  
  5062.  
  5063. ***--------+----------------------------------------------------------***
  5064. *  ______  |  Mike! <=> Mike W. Miller           office:  219 631-8024  *
  5065. |  \    /  |  e-mail:  Mike.W.Miller@nd.edu    home/fax:  219 237-0788  |
  5066. |   \  /   +------------------------------------------------------------+
  5067. |    \/    |                                                            |
  5068. *          |         Does "anal retentive" have a hyphen in it?         *
  5069. ***--------+----------------------------------------------------------***
  5070.   <A HREF=http://orange-room.cc.nd.edu/AboutMWM/AboutMWM.html>Mike!</A>
  5071. =========================================================================
  5072. Date:         Fri, 8 Jul 1994 21:32:04 -0700
  5073. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5074. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5075. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  5076. Subject:      Re: OSA Menu and Frontier
  5077.  
  5078. >I'm using Frontier as a scripting environment, and I don't have
  5079. >AppleScript. I have exported a deskscript as an OSA script (using the OSA
  5080. >export suite released by UserLand in January). It works when exported as a
  5081. >normal deskscript. When I attempt to execute the OSA version under OSA Menu
  5082. >1.0.1, however, I get a "-3000" error reported by OSA Menu. I'm flying a
  5083. >bit blind here. Any help would be appreciated. Thanks.
  5084.  
  5085. Hi, David...
  5086.    Error -3000 is (per MPW) "Invalid component ID (OS error -3000)"
  5087.  
  5088. You say you don't have AppleScript.  The way I would have written OSA Menu,
  5089. it would have handed the 'scpt' resource in the script file off to the
  5090. "Generic Scripting Component" and said "here, run this for me, whatever it
  5091. is".
  5092.  
  5093. The Generic Scripting Component would then determine (based on a code in
  5094. the resource) which scripting component to pass the call along to...in the
  5095. case of your script, that would be the UserTalk component.
  5096.  
  5097. Unfortunately, it is the AppleScript extension which installs the Generic
  5098. Scripting Component.
  5099.  
  5100. Leonard will be along soon, I'm sure, and let you know whether he wrote OSA
  5101. Menu the way I would have in this regard.  If so, you'll need to have the
  5102. AppleScript extension running.  [It's entirely possible that System 7.5
  5103. will move the Generic Scripting Component into the System file...it seems
  5104. to me that that's where it belongs, to be language-neutral.  On the other
  5105. hand, 7.5 will include AppleScript, so "everyone" will have it.]
  5106.  
  5107.    --John (speaking for himself)
  5108.  
  5109. --John W. Baxter    Port Ludlow, WA USA   jwbaxter@pt.olympus.net
  5110.   UserLand Software support
  5111. =========================================================================
  5112. Date:         Sat, 9 Jul 1994 00:40:45 EDT
  5113. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5114. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5115. From:         Shaddar@AOL.COM
  5116. Subject:      Re: killing backgroup applications
  5117.  
  5118. Here is a script to kill background apps.  Any apps you don't want to appear
  5119. (such as the Finder (although you might want this to appear) or KQ Apple
  5120. Events (this causes an error if don't)) should be listed in the list ok_apps
  5121. so that they will be ignored.
  5122.  
  5123. e-mail me if you use this, I'm also posting it on AOL.
  5124.  
  5125. ******************************Script Starts
  5126. Here*******************************
  5127.  
  5128. --This will present a dialog box for each application running, giving the
  5129. option of quitting,
  5130. --ignoring, or quitting all running apps
  5131.  
  5132. property thisapp : 0
  5133. property ok_apps : {application "Finder", application "KQ Apple Events"}
  5134.  
  5135. repeat with thisapp in list applications
  5136.  if (thisapp is not contained by ok_apps) then
  5137.    display dialog ("Would you like to quit " & ((thisapp) as string)) buttons
  5138. x
  5139.     {"Quit All", "Quit", "Ignore"} default button 3
  5140.    if button returned of result is "Quit All" then --quit all apps
  5141.    repeat with thisapp in list applications
  5142.     if (thisapp is not contained by ok_apps) then
  5143.      tell thisapp
  5144.       quit
  5145.      end tell
  5146.     end if
  5147.    end repeat
  5148.   else if button returned of result is "Quit" then --quit this app
  5149.    tell thisapp
  5150.     quit
  5151.    end tell
  5152.   end if
  5153.  end if
  5154. end repeat --none others so ignore
  5155.  
  5156.  
  5157. ******************************Script Ends Here*******************************
  5158.  
  5159. ~josh~
  5160. =========================================================================
  5161. Date:         Sat, 9 Jul 1994 00:42:39 EDT
  5162. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5163. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5164. From:         Shaddar@AOL.COM
  5165. Subject:      Re: Killing Faceless Background Apps
  5166.  
  5167. Oops!  I forgot a line in that last post!
  5168.  
  5169. Include "set ok_apps to (ok_apps & this application)" before the first repeat
  5170. loop.
  5171.  
  5172. Thanks, and my apologies!  :-)
  5173.  
  5174. ~josh~
  5175. =========================================================================
  5176. Date:         Sat, 9 Jul 1994 01:47:32 -0400
  5177. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5178. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5179. From:         anthony brown <anbrown@HUSC9.HARVARD.EDU>
  5180. Subject:      is there a way to hide background apps?
  5181.  
  5182. I'm using frontmost, and I'm writing some scripts that access an fmpro
  5183. database and the scriptable text editor.  My question is this:  Is there
  5184. anyway to keep the background apps that are being scripted in the
  5185. background (ie, when I access some files in apps using frontmost, the
  5186. windows pop up in the background...Is there anyway to keep those windows
  5187. hidden)?
  5188.  
  5189. Any info would be greatly appreciated
  5190. Thanks
  5191. Anthony
  5192.  
  5193. *************************************************************************
  5194. *                                                                       *
  5195. *  Anthony Brown, Harvard University                                    *
  5196. *                                                                       *
  5197. *  "You need my love, baby oh so bad,                                   *
  5198. *  "You're not the only one I've ever had,                              *
  5199. *  "And if I say I wanna set you free,                                  *
  5200. *  "Don't you know you'll be in misery?                                 *
  5201. *  "They call me Dr. Love. I've got the cure you're thinking of!        *
  5202. *  Gene Simmons circa 1976                                              *
  5203. *                                                                       *
  5204. *  The Dolphins will win the superbowl in '95!!!                        *
  5205. *                                                                       *
  5206. *************************************************************************
  5207. =========================================================================
  5208. Date:         Fri, 8 Jul 1994 22:57:46 -0800
  5209. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5210. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5211. From:         Mike Cohen <isis@NETCOM.COM>
  5212. Subject:      Re: OSA Menu and Frontier
  5213.  
  5214. At  5:15 PM 7/8/94 -0800, David Lewis wrote:
  5215. >I'm using Frontier as a scripting environment, and I don't have
  5216. >AppleScript. I have exported a deskscript as an OSA script (using the OSA
  5217. >export suite released by UserLand in January). It works when exported as a
  5218. >normal deskscript. When I attempt to execute the OSA version under OSA Menu
  5219. >1.0.1, however, I get a "-3000" error reported by OSA Menu. I'm flying a
  5220. >bit blind here. Any help would be appreciated. Thanks.
  5221. >
  5222. You can't execute an OSA script if AppleScript isn't installed. In addition
  5223. to providing the AppleScript language, the AppleScript extension also
  5224. installs the scripting component needed to run any language (UserTalk,
  5225. QuicKeys Script, etc.) in an OSA environment.
  5226. =========================================================================
  5227. Date:         Sat, 9 Jul 1994 14:43:11 +0800
  5228. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5229. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5230. From:         Todd Hooper <todd@PERTH.DIALIX.OZ.AU>
  5231. Subject:      Filemaker - thanks!
  5232.  
  5233. Thanks for all the help with FileMaker. I was probably getting
  5234. a bit carried away in overspecifying the window/database etc. This
  5235. is because these scripts are sent from a Newton to execute on
  5236. our server and hence you can never be sure what apps or
  5237. databases will be open at any one time.
  5238.  
  5239. I've changed the partnum example to use a number and it works
  5240. like a charm now. The changes required for the others look
  5241. fairly simple as well.
  5242.  
  5243. Throwing a question in at the deep end : at what point do you think
  5244. we will see AppleScript taking advantage of PowerPC performance? Given
  5245. that many of our favourite scriptable apps are close to being launched
  5246. as native code, what components will Apple need to port in the OS to
  5247. get better performance? System 7.5 doesn't seem to offer much. Will
  5248. System 8 offer much better performance from AppleScript? Your
  5249. thoughts are of interest.
  5250.  
  5251. Regards,
  5252.  
  5253. Todd
  5254. =========================================================================
  5255. Date:         Sat, 9 Jul 1994 00:11:14 -0700
  5256. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5257. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5258. From:         Jon Pugh <jonpugh@NETCOM.COM>
  5259. Subject:      Re: Script Objects
  5260.  
  5261. >Q: Why don't script objects have elements?
  5262.  
  5263. This is a good question.  I think the ship date had something to do with
  5264. it.  ;)  I think it would make a dandy addition to the language though.
  5265. I'm just not holding my breath.  Imagine being able to create and
  5266. manipulate entire containment hierarchies of data in AppleScript.  Perhaps
  5267. just being able to add scripts to the root context from which all scripts
  5268. inherit.  It would sort of be like your Home stack in HyperCard.
  5269.  
  5270. In the meantime, it would be useful to be able to do some string and list
  5271. manipulation.  Another fellow is having trouble replacing a word in a
  5272. FileMaker field.  I have a solution.  Check out these nifty routines, just
  5273. this minute converted over from my HyperTalk code and added to.  Warning,
  5274. it's kind of long, but I don't think I broke and lines or used any
  5275. meta-ASCII characters.
  5276.  
  5277. Here's the code:
  5278.  
  5279. on beforeStr(source, target)
  5280.   set foo to offset of target in source
  5281.   if foo = 0 then
  5282.     return source
  5283.   else if foo = 1 then
  5284.     return ""
  5285.   else
  5286.     return (characters 1 thru (foo - 1) of source) as string
  5287.   end if
  5288. end beforeStr
  5289.  
  5290. on afterStr(source, target)
  5291.   set foo to offset of target in source
  5292.   if foo = 0 then
  5293.     return ""
  5294.   else
  5295.     copy foo + (number of characters of target) to foo
  5296.     if foo > number of characters of source then
  5297.       return ""
  5298.     end if
  5299.     return (characters foo thru -1 of source) as string
  5300.   end if
  5301. end afterStr
  5302.  
  5303. on replaceStr(thisStr, thatStr, source)
  5304.   set t to source
  5305.   repeat while thisStr is in t
  5306.     copy beforeStr(t, thisStr) & thatStr & afterStr(t, thisStr) to t
  5307.   end repeat
  5308.   return t
  5309. end replaceStr
  5310.  
  5311. on beforeList(source, target)
  5312.   set foo to 0
  5313.   repeat with i from 1 to number of items of source
  5314.     if item i of source = target then
  5315.       set foo to i
  5316.       exit repeat
  5317.     end if
  5318.   end repeat
  5319.   if foo = 0 then
  5320.     return source
  5321.   else if foo = 1 then
  5322.     return {}
  5323.   else
  5324.     return items 1 thru (foo - 1) of source
  5325.   end if
  5326. end beforeList
  5327.  
  5328. on afterList(source, target)
  5329.   set foo to 0
  5330.   repeat with i from 1 to number of items of source
  5331.     if item i of source = target then
  5332.       set foo to i
  5333.       exit repeat
  5334.     end if
  5335.   end repeat
  5336.   if foo = 0 then
  5337.     return {}
  5338.   else
  5339.     copy foo + (number of items of target) to foo
  5340.     if foo > number of items of source then
  5341.       return {}
  5342.     end if
  5343.     return items foo thru -1 of source
  5344.   end if
  5345. end afterList
  5346.  
  5347. on replaceList(thisList, thatList, source)
  5348.   set t to source
  5349.   repeat while thisList is in t
  5350.     copy beforeList(t, thisList) & thatList & afterList(t, thisList) to t
  5351.   end repeat
  5352.   return t
  5353. end replaceList
  5354.  
  5355. on replaceWord(source, itemNum, withStr)
  5356.   set t to words of source
  5357.   set item itemNum of t to withStr
  5358.   set oldDelim to AppleScript's text item delimiters
  5359.   set AppleScript's text item delimiters to space
  5360.   set t to t as string
  5361.   set AppleScript's text item delimiters to oldDelim
  5362.   return t
  5363. end replaceWord
  5364.  
  5365. on run
  5366.   -- start with a string
  5367.   set x to "Now is the time for all good men"
  5368.  
  5369.   -- munge the string lightly
  5370.   set x1 to replaceStr("men", "idiots", replaceStr("Now is", "Then was", x))
  5371.  
  5372.   -- convert it to a list of words
  5373.   set x2 to words of "Now is the time for all good men"
  5374.  
  5375.   -- munge the list lightly (should be the words of x1)
  5376.   set x3 to replaceList("men", "idiots", replaceList("Now is", "Then was", x2))
  5377.  
  5378.   -- convert x1 into a string using no delimiter (the default)
  5379.   set x4 to x3 as string
  5380.  
  5381.   -- now convert it with " " as the delimiter (this should be x1)
  5382.   set AppleScript's text item delimiters to space
  5383.   set x5 to x3 as string
  5384.   set AppleScript's text item delimiters to "" -- always set it back!
  5385.  
  5386.   -- this time munge the string by position
  5387.   set x6 to replaceWord(x, -1, "idiots")
  5388.  
  5389.   -- now display the results as a list
  5390.   {x, x1, x2, x3, x4, x5, x6}
  5391.  
  5392. end run
  5393.  
  5394. Here's the results from the run handler:
  5395.  
  5396. {"Now is the time for all good men", "Then was the time for all good
  5397. idiots", {"Now", "is", "the", "time", "for", "all", "good", "men"}, {"Now",
  5398. "is", "the", "time", "for", "all", "good", "idiots"},
  5399. "Nowisthetimeforallgoodidiots", "Now is the time for all good idiots", "Now
  5400. is the time for all good idiots"}
  5401.  
  5402. Let's look at each element of this list:
  5403.  
  5404. x = "Now is the time for all good men"
  5405. This is the original string.
  5406.  
  5407. x1 = "Then was the time for all good idiots"
  5408. This is the original string munged.
  5409.  
  5410. x2 = {"Now", "is", "the", "time", "for", "all", "good", "men"}
  5411. This is a list made from the words of the original string.  Any list will do.
  5412.  
  5413. x3 = {"Now", "is", "the", "time", "for", "all", "good", "idiots"}
  5414. This is the list munged the same way as the original string.
  5415.  
  5416. x4 = "Nowisthetimeforallgoodidiots
  5417. This is x3 converted to a string with "" between every word.  This is
  5418. AppleScript's default "text item delimiter" which is placed between every
  5419. list item when converting a list to a string.
  5420.  
  5421. x5 = "Now is the time for all good idiots"
  5422. You see how useful it can be?  This is x3 converted to a string, and it
  5423. just happens to be the original munged string.
  5424.  
  5425. x6 = "Now is the time for all good idiots"
  5426. This is the original string munged the same way, except that this one was
  5427. done by position, with -1 indicating the number of words from the end of
  5428. the string. You can use other numbers here.
  5429.  
  5430. So, doing strings and lists isn't as difficult as it may seem.  You just
  5431. need a few library routines.  ;)
  5432.  
  5433. Jon
  5434. =========================================================================
  5435. Date:         Sat, 9 Jul 1994 16:17:56 +0200
  5436. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5437. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5438. From:         Andrew Maier <maier@ARIEL.PAP.UNIVIE.AC.AT>
  5439. Subject:      Turning AppleTalk on and off from a script
  5440.  
  5441. Hi all,
  5442.  
  5443. I would like to know if there is a possibility to toggle the state of
  5444. AppleTalk from a script. What I would like to have is the same as going
  5445. to the chooser and turning AppletTalk on (off).
  5446. I know there are programms and fkeys which toggle the state of appletalk.
  5447. But these programms generally assume that you turn appletalk on and all
  5448. the software then does is to enable or disable the AT driver. (hope that
  5449. was correct:). I want to turn it on and then reboot to have what I want
  5450. to have, just like in the chooser
  5451.  
  5452.  
  5453. cheers  Andrew
  5454.  
  5455. Andrew Maier            maier@ariel.pap.univie.ac.at
  5456. Glockengasse 6/20               or
  5457. A-1020 Vienna           maier@qhepm1.oeaw.ac.at
  5458. Austria/Europe
  5459. =========================================================================
  5460. Date:         Sat, 9 Jul 1994 10:12:40 -0500
  5461. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5462. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5463. From:         George Synowiec <synowie@NICKEL.UCS.INDIANA.EDU>
  5464. Subject:      The Scriptable Finder
  5465. In-Reply-To:  <no.id> from "Lawrence D'Oliveiro, Waikato University, Hamilton,
  5466.               NZ" at Jul 7, 94 03:16:00 pm
  5467.  
  5468. I realize that this would probably be too good to be true, but...
  5469.  
  5470. I don't suppose you could just copy the aete resource from the 7.5
  5471. Finder or perhaps the 7.1 Pro Finder into the normal, everyday 7.1
  5472. Finder and have scriptability?
  5473.  
  5474. The reason I'm asking is that I'm trying to create a startup floppy
  5475. with applescript and network extensions, and I'm trying to trim away
  5476. ANYTHING that is not essential. Frank Probul's Min-System-Installer
  5477. goes a long way in reducing the size of the System file, but does
  5478. little to reduce the size of the Finder.
  5479.  
  5480. George Synowiec
  5481. Network Technician
  5482. Indiana University
  5483. synowie@indiana.edu
  5484. =========================================================================
  5485. Date:         Sat, 9 Jul 1994 13:37:37 -0700
  5486. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5487. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5488. From:         Dennis Birch <fja04@HALCYON.COM>
  5489. Subject:      Re: "Is there a file?" command
  5490.  
  5491. >In generic AppleScript 1.1 (I don't know about 1.0), you can say:
  5492. >
  5493. >try
  5494. >  info for (filename as alias)
  5495. >  --code to handle file-exists condition
  5496. >on error
  5497. >  --code to hanlde file-doesn't-exist condition
  5498. >end try
  5499. >
  5500. >Boris Levitin                                  WGBH Public Broadcasting, Boston
  5501.  
  5502.  
  5503. Thanks, Boris. This did exactly what I was looking for. I had tried
  5504. something similar previously, but was testing for the file type in my "info
  5505. for" statement. If the variable I was using for the filename wasn't
  5506. initialized to a file alias, I'd get an error. This solves that problem.
  5507.  
  5508. Regards,
  5509.  
  5510. Dennis Birch
  5511. =========================================================================
  5512. Date:         Sat, 9 Jul 1994 16:34:42 -0400
  5513. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5514. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5515. From:         Barry Chern <bchern@FREENET.COLUMBUS.OH.US>
  5516. Subject:      msg. formatting
  5517.  
  5518. Not a scripting question, but about the use of the list -
  5519.  
  5520. >end tell=20
  5521. > =20
  5522. > =20
  5523.  
  5524. Why did I end up with all these codes in my last post just because I
  5525. pasted it from a text editor into PINE? (I'm kind of new to using PINE,
  5526. btw.) I guess I could have expected something funny to creep into the code
  5527. I copied from the event log, but the above are just returns aren't they?
  5528. Is there some trick to cutting and pasting in this environment without it
  5529. getting all cluttered up?
  5530.  
  5531. Barry
  5532. =========================================================================
  5533. Date:         Sat, 9 Jul 1994 14:37:56 -0800
  5534. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5535. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5536. From:         David Lewis <lewis@NETCOM.COM>
  5537. Subject:      Re: OSA Menu and Frontier
  5538.  
  5539. >You can't execute an OSA script if AppleScript isn't installed. In addition
  5540. >to providing the AppleScript language, the AppleScript extension also
  5541. >installs the scripting component needed to run any language (UserTalk,
  5542. >QuicKeys Script, etc.) in an OSA environment.
  5543.  
  5544. I sort of thought that might be the case. Sigh... Thanks for the info, and
  5545. given the dates, I guess I'll wait for System 7.5.
  5546.  
  5547.         David
  5548.  
  5549. David Lewis     Seagate Technology      (408) 439-2374  lewis@netcom.com
  5550. =========================================================================
  5551. Date:         Sat, 9 Jul 1994 15:59:55 -0700
  5552. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5553. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5554. From:         David Ray <daver@NETCOM.COM>
  5555. Subject:      Re: MacPGP2.6
  5556.  
  5557. >I'm trying to write a script or other tool to "automagically" use the
  5558. >clipboard encrypting capability of MacPGP2.6 to sign my mail messages from
  5559. >a menu pick.
  5560.  
  5561. Please forward me any info you get about how to script MacPGP 2.6.
  5562.  
  5563. Thanks!
  5564.  
  5565. -Dave
  5566.  
  5567. ------------------------------------------------------------------------------
  5568. David Ray                Dream Designs          Music Composition
  5569. daver@netcom.com         PO Box 5631            Interactive Multimedia
  5570. 510-527-9010             Berkeley CA 94705      Virtual Worlds
  5571. =========================================================================
  5572. Date:         Sat, 9 Jul 1994 18:04:45 -0700
  5573. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5574. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5575. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  5576. Subject:      Re: The Scriptable Finder
  5577.  
  5578. >I realize that this would probably be too good to be true, but...
  5579. >
  5580. >I don't suppose you could just copy the aete resource from the 7.5
  5581. >Finder or perhaps the 7.1 Pro Finder into the normal, everyday 7.1
  5582. >Finder and have scriptability?
  5583. >
  5584. >The reason I'm asking is that I'm trying to create a startup floppy
  5585. >with applescript and network extensions, and I'm trying to trim away
  5586. >ANYTHING that is not essential. Frank Probul's Min-System-Installer
  5587. >goes a long way in reducing the size of the System file, but does
  5588. >little to reduce the size of the Finder.
  5589. >
  5590.  
  5591. No...the Scriptable Finder is a System 7.1 or later Finder PLUS the Finder
  5592. Scripting Extension.  That (I believe) remains true in System 7.5, from the
  5593. talk I read.  The 'aete' that appeared in System 7 Pro does not create the
  5594. Scriptable Finder (it changes how you write the old events which have been
  5595. in every Finder starting with 7.0).
  5596.  
  5597.    --John
  5598.  
  5599. --
  5600. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  5601. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  5602. =========================================================================
  5603. Date:         Thu, 7 Jul 1994 19:46:40 GMT
  5604. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5605. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5606. From:         Paul G Smith <paul@CTALK.EXNET.COM>
  5607. Organization: commstalk, & Full Moon Software Inc
  5608. Subject:      Re: Applescripting Serial Port
  5609.  
  5610. In Regards to your letter <199407071821.AA12513@mailgate.exnet.com>:
  5611. >  Is there an osax for simple serial port communications through
  5612. > >Applescript?  I suppose SITComm might do what I need, but it's overkill for
  5613. > >my purposes.  If not, what's available for Hypercard 2.1?
  5614.  
  5615. There's also our commstalk for HyperCard XCMDs, which you'll find in the
  5616. APDA catalog amongst other places. Email mhopkins@netcom.com for details.
  5617.  
  5618.  
  5619. best regards, Paul
  5620.  
  5621. ----------------------------------------------------------------
  5622. Paul G Smith, Commstalk HQ          ||  UK ph: +44 727 844232
  5623. P O Box 116, ST ALBANS              ||    fax: +44 727 856139
  5624. Hertfordshire. AL1 2RL. UK          ||  US ph: 408 253 7199
  5625. & Full Moon Software, Inc           ||    fax: 408 252 2378
  5626. P O Box 700237, SAN JOSE, CA 95170  ||  AppleLink: COMMSTALK.HQ
  5627. =========================================================================
  5628. Date:         Sun, 10 Jul 1994 12:11:43 -0800
  5629. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5630. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5631. From:         Leonard Rosenthol <leonardr@NETCOM.COM>
  5632. Subject:      Re: OSA Menu and Frontier
  5633.  
  5634. >You say you don't have AppleScript.  The way I would have written OSA Menu,
  5635. >it would have handed the 'scpt' resource in the script file off to the
  5636. >"Generic Scripting Component" and said "here, run this for me, whatever it
  5637. >is".
  5638. >
  5639.         That's what I do...
  5640.  
  5641.  
  5642. >The Generic Scripting Component would then determine (based on a code in
  5643. >the resource) which scripting component to pass the call along to...in the
  5644. >case of your script, that would be the UserTalk component.
  5645. >
  5646. >Unfortunately, it is the AppleScript extension which installs the Generic
  5647. >Scripting Component.
  5648. >
  5649.         Right!
  5650.  
  5651.  
  5652. >If so, you'll need to have the AppleScript extension running.
  5653. >
  5654.         Yup!
  5655.  
  5656. Leonard
  5657.  
  5658. -----------------------------------------------------------------------------
  5659. Leonard Rosenthol                       Internet:       leonardr@netcom.com
  5660. Director of Advanced Technology         AppleLink:      MACgician
  5661. Aladdin Systems, Inc.                   GEnie:          MACgician
  5662. =========================================================================
  5663. Date:         Sun, 10 Jul 1994 12:12:15 -0800
  5664. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5665. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5666. From:         Leonard Rosenthol <leonardr@NETCOM.COM>
  5667. Subject:      Re: The Scriptable Finder
  5668.  
  5669. >I don't suppose you could just copy the aete resource from the 7.5
  5670. >Finder or perhaps the 7.1 Pro Finder into the normal, everyday 7.1
  5671. >Finder and have scriptability?
  5672. >
  5673.         Well, you could copy the 'aete' from the 7.1.2/7.1.3 Finder that
  5674. just describes the "old" Finder events into any 7.0 Finder and that should
  5675. work.  The 7.5 'aete' won't work since that also involves a LOT of extra
  5676. code.
  5677.  
  5678.  
  5679. Leonard
  5680.  
  5681. -----------------------------------------------------------------------------
  5682. Leonard Rosenthol                       Internet:       leonardr@netcom.com
  5683. Director of Advanced Technology         AppleLink:      MACgician
  5684. Aladdin Systems, Inc.                   GEnie:          MACgician
  5685. =========================================================================
  5686. Date:         Sun, 10 Jul 1994 11:47:19 -0800
  5687. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5688. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5689. From:         "W. J. Proffer" <proffer@SCUBED.SCUBED.COM>
  5690. Subject:      Scripting/Events for QuickTake Camera Application
  5691.  
  5692. Can anybody assist in answering a couple of questions:
  5693.  
  5694. 1)  Is the current version of the Apple QuickTake Camera application ( the
  5695. program that allows you to control the camera from the Macintosh)
  5696. scriptable?
  5697.  
  5698. 2)  If so, does anybody have a list of the AppleEvents and/or script verbs
  5699. to which the application responds?
  5700.  
  5701. Thanks much,
  5702.  
  5703. bill
  5704.  
  5705. <pre>
  5706. William J. Proffer
  5707. Senior Staff Scientist
  5708. Test Technology Group
  5709. S-Cubed, A Division of Maxwell Labs
  5710. 3398 Carmel Mountain Road
  5711. San Diego, CA  92038-1095
  5712. (619) 453-0060
  5713. (619) 755-0474 (fax)
  5714. proffer@scubed.com
  5715. World Wide Web URL:  http://www.scubed.com:8001/
  5716. </pre>
  5717. =========================================================================
  5718. Date:         Sun, 10 Jul 1994 13:33:29 -0700
  5719. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5720. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5721. From:         Jon Pugh <jonpugh@NETCOM.COM>
  5722. Subject:      Re: Turning AppleTalk on and off from a script
  5723.  
  5724. >Andrew Maier <maier@ARIEL.PAP.UNIVIE.AC.AT> said:
  5725.  
  5726. >I would like to know if there is a possibility to toggle the state of
  5727. >AppleTalk from a script. What I would like to have is the same as going
  5728. >to the chooser and turning AppletTalk on (off).
  5729. >I know there are programms and fkeys which toggle the state of appletalk.
  5730. >But these programms generally assume that you turn appletalk on and all
  5731. >the software then does is to enable or disable the AT driver. (hope that
  5732. >was correct:). I want to turn it on and then reboot to have what I want
  5733. >to have, just like in the chooser
  5734.  
  5735. I would use my Jon's Commands osax and my ToggleAT FKEY to write a script
  5736. which would do this, like so (this works in ALL 7.x Finders):
  5737.  
  5738. =46or the MIME capable:
  5739.  
  5740. execute FKEY "ToggleAT" -- you could use the number here instead of the name
  5741. tell application "Finder" to =ABevent FNDRrest=BB
  5742.  
  5743. =46or the digest readers:
  5744.  
  5745. execute FKEY "ToggleAT" -- you could use the number here instead of the name
  5746. tell application "Finder" to <<event FNDRrest>>
  5747.  
  5748. And for anyone with an aete in their Finder:
  5749.  
  5750. execute FKEY "ToggleAT" -- you could use the number here instead of the name
  5751. tell application "Finder" to restart
  5752.  
  5753.  
  5754. However, I think this is the wrong solution to this problem.  I've written
  5755. a small faceless background app which I think is a more painless solution
  5756. that gets rid of the restart.  It's called AppleTalkOn and Michael Crichton
  5757. sent in his shareware fee for it.  ;)  It should be on Sumex.  All it does
  5758. is turn AppleTalk on when it quits.  This should only be when you restart.
  5759. Then when you boot up and it starts, it sets AppleTalk back to the way it
  5760. was.  This keeps AppleTalk loaded and in memory and able to turn itself on
  5761. and off without restarting.  This makes my ToggleAT FKEY even more useful
  5762. since it won't require you to reboot when you turn it on.  The only problem
  5763. is crashes since it won't get a chance to turn AppleTalk on, but if you're
  5764. crashing a lot then you probably can cope with another restart.  ;)
  5765.  
  5766. Of course, if you want to unload AppleTalk for the 400K that it saves, then
  5767. you need more memory.  :)
  5768.  
  5769. Andrew sounds like he's trying to get around some crappy software though,
  5770. so he'll want the restart for that.  Frankly, if your software needs a
  5771. reboot after you turn AppleTalk on, then you need new software too.
  5772.  
  5773. Jon's Commands is on gaea and Sumex.  ToggleAT and AppleTalkOn should still
  5774. be on Sumex.  Let me know if they aren't.
  5775.  
  5776. Jon
  5777. =========================================================================
  5778. Date:         Mon, 11 Jul 1994 10:32:00 +1200
  5779. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5780. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5781. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  5782.               NZ" <LDO@WAIKATO.AC.NZ>
  5783. Subject:      Re: is there a way to hide background apps?
  5784.  
  5785. anthony brown <anbrown@HUSC9.HARVARD.EDU> asks:
  5786.  
  5787. >Is there
  5788. >anyway to keep the background apps that are being scripted in the
  5789. >background (ie, when I access some files in apps using frontmost, the
  5790. >windows pop up in the background...Is there anyway to keep those windows
  5791. >hidden)?
  5792.  
  5793. You can hide the applications completely. If you have the Scriptable Finder,
  5794. you can use something like the following:
  5795.  
  5796.         tell application "Finder"
  5797.             set visible of process "Victim" to false
  5798.         end tell
  5799.  
  5800. If you don't have the Scriptable Finder, then you can use my Application Menu
  5801. scripting addition, available from all good FTP sites, which lets you script
  5802. the first three entries in the application menu. You would use a script
  5803. something like this:
  5804.  
  5805.         tell application "Victim"
  5806.             activate
  5807.             hide front application
  5808.         end tell
  5809.         activate "MyApp"
  5810.  
  5811. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  5812. Info & Tech Services Division              fax: +64-7-838-4066
  5813. University of Waikato            electric mail: ldo@waikato.ac.nz
  5814. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  5815. =========================================================================
  5816. Date:         Mon, 11 Jul 1994 10:37:00 +1200
  5817. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5818. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5819. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  5820.               NZ" <LDO@WAIKATO.AC.NZ>
  5821. Subject:      Re: msg. formatting
  5822.  
  5823. Barry Chern <bchern@FREENET.COLUMBUS.OH.US> asks:
  5824.  
  5825. >Not a scripting question, but about the use of the list -
  5826. >
  5827. >>end tell=20
  5828. >> =20
  5829. >> =20
  5830. >
  5831. >Why did I end up with all these codes in my last post just because I
  5832. >pasted it from a text editor into PINE?
  5833.  
  5834. I think those characters are trailing blanks. There's something in RFC822
  5835. (the Internet e-mail message format spec) about not relying on trailing blanks
  5836. being preserved (or assuming that they won't be added), so naturally MIME
  5837. conventions would require them to be quoted, just in case.
  5838.  
  5839. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  5840. Info & Tech Services Division              fax: +64-7-838-4066
  5841. University of Waikato            electric mail: ldo@waikato.ac.nz
  5842. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  5843. =========================================================================
  5844. Date:         Sun, 10 Jul 1994 23:08:39 EDT
  5845. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5846. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5847. From:         Shaddar@AOL.COM
  5848. Subject:      Re: Scripting/Events for QuickTake Camera Application
  5849.  
  5850. >1)  Is the current version of the Apple QuickTake Camera application ( the
  5851. >program that allows you to control the camera from the Macintosh)
  5852. >scriptable?
  5853.  
  5854. I don't know, but if you open it's dictionery from AppleScript, you will find
  5855. out.  If it has a dictionery, it's scriptable.
  5856.  
  5857. >2)  If so, does anybody have a list of the AppleEvents and/or script verbs
  5858. >to which the application responds?
  5859.  
  5860. If it has a dictionery, they will be listed and somewhat explained there.
  5861.  
  5862. Hope this helps  :)
  5863.  
  5864. ~josh~
  5865. =========================================================================
  5866. Date:         Mon, 11 Jul 1994 00:38:27 -0400
  5867. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5868. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5869. From:         Kiran Wagle <groo@NETCOM.COM>
  5870. Subject:      Script Editor
  5871.  
  5872. Is it just me, or is the script editor unable to open its own dictionary?
  5873.  
  5874. Is it in fact even scriptable?
  5875.  
  5876. Another clueless newbie,
  5877.  
  5878. ~ Kiran <groo@netcom.com>
  5879.  
  5880. --
  5881. 6216 41st Avenue Hyattsville MD 20782 301/779-0756 <groo@netcom.com>
  5882. =========================================================================
  5883. Date:         Sun, 10 Jul 1994 21:43:33 -0700
  5884. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5885. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5886. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  5887. Subject:      Re: msg. formatting
  5888.  
  5889. At 10:37 7/11/94 +1200, "Lawrence D'Oliveiro, Waikato University, Hamilton,
  5890. wrote:
  5891. >Barry Chern <bchern@FREENET.COLUMBUS.OH.US> asks:
  5892. >
  5893. >>Not a scripting question, but about the use of the list -
  5894. >>
  5895. >>>end tell=20
  5896. >>> =20
  5897. >>> =20
  5898. >>
  5899. >>Why did I end up with all these codes in my last post just because I
  5900. >>pasted it from a text editor into PINE?
  5901. >
  5902. >I think those characters are trailing blanks. There's something in RFC822
  5903. >(the Internet e-mail message format spec) about not relying on trailing blanks
  5904. >being preserved (or assuming that they won't be added), so naturally MIME
  5905. >conventions would require them to be quoted, just in case.
  5906.  
  5907. They are indeed trailing blanks...and it makes sense that the RFC should
  5908. warn against them.  One example machine where they are a problem is (was)
  5909. the CDC Cyber 175.  You simply couldn't tell whether the last trailing
  5910. blank on a line from a terminal was really typed by the user, because the
  5911. IOP would pad the last 12-bit word it tranferred with a blank, if the last
  5912. "real" character was in its first half.  And there was no indication
  5913. whether the blank was real or padding.
  5914.  
  5915. I suspect other machines in the Cyber line were like that, and there were
  5916. certainly many around in the early days of the Internet.
  5917.  
  5918.    --John
  5919.  
  5920. --
  5921. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  5922. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  5923. =========================================================================
  5924. Date:         Mon, 11 Jul 1994 16:46:00 +1200
  5925. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5926. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5927. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  5928.               NZ" <LDO@WAIKATO.AC.NZ>
  5929. Subject:      Re: Script Editor
  5930.  
  5931. Kiran Wagle <groo@NETCOM.COM>
  5932.  
  5933. >Is it just me, or is the script editor unable to open its own dictionary?
  5934. >
  5935. >Is it in fact even scriptable?
  5936.  
  5937. No, it's not you. The Script Editor is not scriptable. You want a scriptable
  5938. script editor? Try HyperCard. I posted a set of externals on the net which
  5939. give you access to most of the OSA functions, including script recording.
  5940. They work fine with HyperCard 2.1, but naturally you can use them with 2.2
  5941. as well, which is scriptable.
  5942.  
  5943. >Another clueless newbie,
  5944.  
  5945. I guess I could be a clueless oldbie. :-)
  5946.  
  5947. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  5948. Info & Tech Services Division              fax: +64-7-838-4066
  5949. University of Waikato            electric mail: ldo@waikato.ac.nz
  5950. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  5951. =========================================================================
  5952. Date:         Sun, 10 Jul 1994 22:00:45 -0700
  5953. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5954. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5955. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  5956. Subject:      Re: Script Editor
  5957.  
  5958. >Is it just me, or is the script editor unable to open its own dictionary?
  5959. >
  5960. >Is it in fact even scriptable?
  5961. >
  5962. >Another clueless newbie,
  5963.  
  5964. The Script Editor is not scriptable and has no dictionary.  It posts two
  5965. application-level event handlers:  one for 'low '/'evnt' and one for
  5966. typeWildCard/typeWildCard.  The latter isn't much help for reverse
  5967. engineering, either...it matches any Apple event which comes along (except
  5968. the 'low '/'evnt', which is caught by its own handler.
  5969.  
  5970. [I've given up trying to keep up with "who" installs all the System-level
  5971. event handlers (and coercions) that pollute the system these days.
  5972. Scripting Additions are many of them, but not all.  Life was easy before
  5973. AppleScript, when all the System handlers on my machine came from Frontier
  5974. <sigh>.]
  5975.  
  5976.    --John
  5977.  
  5978. --
  5979. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  5980. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  5981. =========================================================================
  5982. Date:         Sun, 10 Jul 1994 22:04:23 -0800
  5983. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5984. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5985. From:         Kee Nethery +1 510 843 6140 <kee@KAGI.COM>
  5986. Subject:      Re: Scripting/Events for QuickTake Camera Application
  5987.  
  5988. >2)  If so, does anybody have a list of the AppleEvents and/or script verbs
  5989. >to which the application responds?
  5990.  
  5991. I would imagine that Jon Pugh will respond to this query since he probably
  5992. fathered all the QuickTake AppleEvents. :-)
  5993.  
  5994. Kee Nethery
  5995. =========================================================================
  5996. Date:         Sun, 10 Jul 1994 22:38:54 -0700
  5997. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5998. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  5999. From:         Jon Pugh <jonpugh@NETCOM.COM>
  6000. Subject:      Re: Scripting/Events for QuickTake Camera Application
  6001.  
  6002. >1)  Is the current version of the Apple QuickTake Camera application ( the
  6003. >program that allows you to control the camera from the Macintosh)
  6004. >scriptable?
  6005.  
  6006. No.  It is not.  However, Apple's PhotoFlash 1.1 includes the PhotoFlash
  6007. Camera Scripting Addition which does allow you to script all of the camera
  6008. functions. It is my understanding that this osax is also available as part
  6009. of the QuickTake 100 Developer's Kit.
  6010.  
  6011. Of course, I wrote most of the camera osax.  ;)
  6012.  
  6013. Jon
  6014. =========================================================================
  6015. Date:         Sun, 10 Jul 1994 23:42:47 -0700
  6016. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6017. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6018. From:         Oliver Muoto <muoto@NETCOM.COM>
  6019. Subject:      Re: Script Editor
  6020.  
  6021. If anyone is serious about scripting non-applescriptable apps they should
  6022. definately try CE's QuicKeys 3.0. Since its OSA compliant you can use the
  6023. Script Editor to record and edit QuicKey scripts which all you pretty much
  6024. to script any app.  Although its not quite as robust as applescript it
  6025. usually does the trick.  You can even add the scripts to OSA menu and bingo
  6026. you have a "scriptable" script editor (...kind of).
  6027.  
  6028. Oliver Muoto
  6029. SpinMedia
  6030. =========================================================================
  6031. Date:         Mon, 11 Jul 1994 07:19:00 -0400
  6032. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6033. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6034. From:         "David Habermann, DTRL, 517 636-8632" <habermann@DOW.COM>
  6035. Subject:      Scripting MacHTTP
  6036.  
  6037. I'm also a new Applescript user and this is my first post here (as I've seen
  6038. several others say over the last few days).  It is good to see that you folks
  6039. have a "new-user friendly" location.
  6040.  
  6041. I've been trying to write a script for MacHTTP to use to return different
  6042. documents to the remote WWW user depending on which site (ie: type of
  6043. production plant) they come from.  When the document to return is a text file,
  6044. I can use the Scriptable Text Editor to do this as follows:
  6045.  
  6046. tell application "Scriptable Text Editor"
  6047.         open "HD1:Document_A.TXT"
  6048.         copy text of document 1 to x
  6049.         close document 1 saving no
  6050.         return x
  6051. end tell
  6052.  
  6053. However, this will not return the contents of a binary file (image file, Word
  6054. document, Excel spreadsheet, etc).  So, I'm looking for some other method to
  6055. "return the contents of file xyz" that doesn't care what is in the file.
  6056.  
  6057. Any ideas for me?  Thanks!
  6058.  
  6059. Dave Habermann
  6060. Dow Chemical Company
  6061. =========================================================================
  6062. Date:         Mon, 11 Jul 1994 12:21:42 GMT
  6063. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6064. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6065. From:         Dave Fitch <DLF@GEOVAX.ED.AC.UK>
  6066. Subject:      Looking for open windows in scriptable finder
  6067.  
  6068. Hi folks
  6069.  
  6070. I'm trying to get the following script to work, so I can use it in an
  6071. script-application, and I'm having problems with the second if statement.
  6072.  
  6073. tell application "Finder"
  6074.     if folder "Fonts" of folder "System Folder" of startup disk exists then
  6075.         if window of folder "Fonts" of folder "System Folder" of startup disk
  6076.              exists then
  6077.                 display dialog "font folder HAS window" buttons {"ok"}
  6078.         else
  6079.                 display dialog "font folder has NO window" buttons {"ok"}
  6080.         end if
  6081.     else
  6082.         beep
  6083.     end if
  6084. end tell
  6085.  
  6086. The first if evaluates correctly all the time: the second seems to produce
  6087. whatever it wants... (What I am trying to do is find out a) if a folder exists,
  6088. and b) is it open). I have tried the first, moving folders back and forth and
  6089. so on and always get the correct answer. The second sometimes works the first
  6090. time I run it, but then always returns the same value, regardless of whether
  6091. the window actually exists. Am I making a mistake by conflating exists with is
  6092. open, or is there something else going on?
  6093.  
  6094. (I tried to set the value of the expression to a local variable, thinking that
  6095. was the problem, but still got exactly the same result)
  6096.  
  6097. Should I be asking the scriptable finder for a list of all open windows, and
  6098. then step through the list, instead? (Yuk?)
  6099.  
  6100. Any hints/answers greatly appreciated!
  6101. Dave
  6102.  
  6103. ------------------------------------------------------------------------
  6104. DLF@geovax.ed.ac.uk             Dave Fitch
  6105.                                 Department of Geography
  6106.                                 University of Edinburgh
  6107. =========================================================================
  6108. Date:         Mon, 11 Jul 1994 07:11:42 -0700
  6109. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6110. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6111. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  6112. Subject:      Re: Scripting MacHTTP
  6113.  
  6114. >I've been trying to write a script for MacHTTP to use to return different
  6115. >documents to the remote WWW user depending on which site (ie: type of
  6116. >production plant) they come from.  When the document to return is a text file,
  6117. >I can use the Scriptable Text Editor to do this as follows:
  6118. >
  6119. >tell application "Scriptable Text Editor"
  6120. >        open "HD1:Document_A.TXT"
  6121. >        copy text of document 1 to x
  6122. >        close document 1 saving no
  6123. >        return x
  6124. >end tell
  6125. >
  6126. >However, this will not return the contents of a binary file (image file, Word
  6127. >document, Excel spreadsheet, etc).  So, I'm looking for some other method to
  6128. >"return the contents of file xyz" that doesn't care what is in the file.
  6129.  
  6130. The good news is that Apple has provided the Scripting Addition named
  6131. Read/Write commands.  The bad news is that I have this stashed in my
  6132.     Scripting Additions (broken)
  6133. folder.  I'm not sure now why...I think that one or more of the commands is
  6134. broken on Power Mac.  I'm sure someone here will correct that statement as
  6135. needed.
  6136.  
  6137. The commands there are:
  6138.  
  6139. open for access:
  6140.  
  6141. close access: Close the file which was opened for access.
  6142.  
  6143. get eof: Get end of file for specified file.
  6144.  
  6145. set eof: Set end of file for specified file.
  6146.  
  6147. read: Read from file.
  6148.    [This one has a bunch of options, some of which combine to read anything
  6149. you want.]
  6150.  
  6151. write: write to file
  6152.  
  6153.   --John
  6154.  
  6155. --
  6156. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  6157. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  6158. =========================================================================
  6159. Date:         Mon, 11 Jul 1994 15:16:10 -0300
  6160. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6161. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6162. From:         simon <simon@ISYS.KINGSTON.AC.UK>
  6163. Subject:      AScript to do network copy?
  6164.  
  6165. Is there a script which will allow copying of files from one remote finder to
  6166. another?
  6167.  
  6168. simon lucas
  6169. school of information systems
  6170. kington university
  6171. =========================================================================
  6172. Date:         Mon, 11 Jul 1994 10:25:22 -0400
  6173. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6174. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6175. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  6176. Subject:      Re: Looking for open windows in scriptable finder
  6177. In-Reply-To:  <no.id> from "Dave Fitch" at Jul 11, 94 12:21:42 pm
  6178.  
  6179. --Dave Fitch wrote:
  6180. >
  6181. >Should I be asking the scriptable finder for a list of all open windows, and
  6182. >then step through the list, instead? (Yuk?)
  6183.  
  6184.     Well, it looks like you should probably ask for a list of windows
  6185. and do a loop through them. This is the bad news. The good news is you
  6186. can cut this list of windows down to one or two items. This is a little
  6187. script I whipped up that should do the trick for you...
  6188.  
  6189. -Hades
  6190. p.s. note the wrapped line.
  6191.  
  6192. tell application "Finder"
  6193.     set hasWin to false
  6194.     set fontWin to a reference to window of folder "Fonts" of folder
  6195. "System Folder" of startup disk
  6196.     set winList to every window whose name = "Fonts"
  6197.     if class of winList is not equal to list then set winList to {winList}
  6198.     repeat with w in winList
  6199.         if contents of w = fontWin then
  6200.             set hasWin to true
  6201.             exit repeat
  6202.         end if
  6203.     end repeat
  6204. end tell
  6205. if hasWin then
  6206.     display dialog "Fonts folder has window"
  6207. else
  6208.     display dialog "Fonts folder has no window"
  6209. end if
  6210. =========================================================================
  6211. Date:         Mon, 11 Jul 1994 09:41:35 -0800
  6212. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6213. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6214. From:         Leonard Rosenthol <leonardr@NETCOM.COM>
  6215. Subject:      Re: Script Editor
  6216.  
  6217. >[I've given up trying to keep up with "who" installs all the System-level
  6218. >event handlers (and coercions) that pollute the system these days.
  6219. >
  6220.         I believe that the AS extension loads all the OSAXen handlers,
  6221. which, as you note, make up a good chunk (probably about 95%) of the
  6222. handlers.   The others are probably installed by utilities like OSA Menu (I
  6223. use one for handling running scripts outside of trap patch time).
  6224.  
  6225.  
  6226. Leonard
  6227.  
  6228. -----------------------------------------------------------------------------
  6229. Leonard Rosenthol                       Internet:       leonardr@netcom.com
  6230. Director of Advanced Technology         AppleLink:      MACgician
  6231. Aladdin Systems, Inc.                   GEnie:          MACgician
  6232. =========================================================================
  6233. Date:         Mon, 11 Jul 1994 12:37:07 -0800
  6234. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6235. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6236. From:         "B. Bruce Brinson" <bbrinson@ARUBA.APPLE.COM>
  6237. Subject:      Re: Script Editor
  6238.  
  6239. Kiran,
  6240.  
  6241.  It's not just you - the Script Editor has no dictionary, being unscriptable.
  6242. Bruce
  6243.  
  6244. >B. Bruce Brinson
  6245. >Internet    : bbrinson@aruba.apple.com
  6246. >AppleLink : b.brinson
  6247. >FAX           : (408) 253-9281
  6248. =========================================================================
  6249. Date:         Mon, 11 Jul 1994 13:53:26 -0500
  6250. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6251. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6252. From:         Daniel Hagerty <hag@WIZARDZ.COM>
  6253. Subject:      Re: Applescripting Serial Port
  6254.  
  6255. >        Is there an osax for simple serial port communications through
  6256. >Applescript?  I suppose SITComm might do what I need, but it's overkill for
  6257. >my purposes.  If not, what's available for Hypercard 2.1?  I remember this
  6258. >being asked before, but I didn't find an answer in my search of the list
  6259. >archives.  Thanks in advance.
  6260.  
  6261.         Well, I wrote (ages ago, this is pre-osax/UCMD) a small scriptable
  6262. appp that allows you to access the serial port for Frontier, and it does
  6263. have a dictionary in it. Try looking in the Frontier direectory on gaea, it
  6264. should be called PhoneDialer or something like that (it's part of a larger
  6265. package).
  6266.  
  6267.    Hag   %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  6268. %%%%%%%%%% Daniel Hagerty; <hag@eddie.mit.edu> (with several aliases) %
  6269. % Phone: +1 (508) 693-5614; Snail: Box 1234, Vineyard Haven, MA 02568 %
  6270. %%%%%%%%%%%%%%%%%%%%%%% PGP + MIME Spoken Here %%%%%%%%%%%%%%%%%%%%%%%%
  6271. =========================================================================
  6272. Date:         Mon, 11 Jul 1994 13:45:26 -0700
  6273. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6274. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6275. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  6276. Subject:      Re: Script Editor
  6277.  
  6278. >>[I've given up trying to keep up with "who" installs all the System-level
  6279. >>event handlers (and coercions) that pollute the system these days.
  6280. >>
  6281. >        I believe that the AS extension loads all the OSAXen handlers,
  6282. >which, as you note, make up a good chunk (probably about 95%) of the
  6283. >handlers.   The others are probably installed by utilities like OSA Menu (I
  6284. >use one for handling running scripts outside of trap patch time).
  6285.  
  6286. Hi, Leonard...
  6287.  
  6288.    All I was really getting at is that I'm too lazy to figure out for sure
  6289. whether Script Editor installs any System handlers.  It would basically
  6290. take cleaning out the Scripting Additions, and checking installed handlers
  6291. (Frontier and OSA Menu are easy to account for, or they could be cleaned
  6292. out, too), or watching with AETracker.
  6293.  
  6294.    --John
  6295.  
  6296.  
  6297.  
  6298. --
  6299. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  6300. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  6301. =========================================================================
  6302. Date:         Mon, 11 Jul 1994 15:17:39 -0700
  6303. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6304. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6305. From:         Doug Baron <userland@NETCOM.COM>
  6306. Subject:      Re: OSA Menu and Frontier
  6307.  
  6308. >You can't execute an OSA script if AppleScript isn't installed. In addition
  6309. >to providing the AppleScript language, the AppleScript extension also
  6310. >installs the scripting component needed to run any language (UserTalk,
  6311. >QuicKeys Script, etc.) in an OSA environment.
  6312.  
  6313. As John suggested in his resonse, this isn't necessarily true. Instead of
  6314. using the Generic Scripting Component, a utility like OSA Menu could call
  6315. OSAGetStorageType and open the appropriate scripting component directly.
  6316. Less overhead that way too -- one component instead of two.
  6317.  
  6318. Doug
  6319. =========================================================================
  6320. Date:         Mon, 11 Jul 1994 15:17:45 -0700
  6321. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6322. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6323. From:         Doug Baron <userland@NETCOM.COM>
  6324. Subject:      Re: OSA Menu and Frontier
  6325.  
  6326. >>You say you don't have AppleScript.  The way I would have written OSA Menu,
  6327. >>it would have handed the 'scpt' resource in the script file off to the
  6328. >>"Generic Scripting Component" and said "here, run this for me, whatever it
  6329. >>is".
  6330. >>
  6331. >        That's what I do...
  6332. >
  6333. >
  6334. >>The Generic Scripting Component would then determine (based on a code in
  6335. >>the resource) which scripting component to pass the call along to...in the
  6336. >>case of your script, that would be the UserTalk component.
  6337. >>
  6338. >>Unfortunately, it is the AppleScript extension which installs the Generic
  6339. >>Scripting Component.
  6340. >>
  6341. >        Right!
  6342. >
  6343. >
  6344. >>If so, you'll need to have the AppleScript extension running.
  6345. >>
  6346. >        Yup!
  6347.  
  6348. Leonard,
  6349.  
  6350. May I suggest that in the next version of OSA Menu you call
  6351. OSAGetStorageType open open the specific scripting component directly
  6352. instead of using the Generic Scripting Component? Even with System 7.5
  6353. coming out, not everyone will have it for a while. And among those that
  6354. have it, some may choose not to have AppleScript installed.
  6355.  
  6356. Doug
  6357. =========================================================================
  6358. Date:         Mon, 11 Jul 1994 16:33:39 -0800
  6359. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6360. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6361. From:         Brian Hall <mspace@NETCOM.COM>
  6362. Subject:      Free Space?
  6363.  
  6364. Is it possible to find out the free space of a volume w/o any OSAXen? (ie,
  6365. just using AppleScript 1.0 or 1.0).
  6366.  
  6367. __________________________________________________________________________
  6368. Brian Hall                                     Internet: mspace@netcom.com
  6369. Mark/Space Softworks                             AppleLink, AOL: MARKSPACE
  6370. Macintosh connectivity software.   Goodies at ftp.netcom.com in pub/mspace
  6371.  
  6372.                     NEW BUSINESS ADDRESS & PHONE NUMBERS
  6373. Mark/Space Softworks                                    voice 408-293-7299
  6374. 111 West Saint John, Suite 230-A                          fax 408-293-7298
  6375. San Jose, CA 95113                                        bbs 408-293-7290
  6376. =========================================================================
  6377. Date:         Mon, 11 Jul 1994 17:55:10 -0700
  6378. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6379. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6380. From:         Mike Cohen <isis@NETCOM.COM>
  6381. Subject:      Re: OSA Menu and Frontier
  6382.  
  6383. At  3:17 PM 7/11/94 -0700, Doug Baron wrote:
  6384. >>You can't execute an OSA script if AppleScript isn't installed. In addition
  6385. >>to providing the AppleScript language, the AppleScript extension also
  6386. >>installs the scripting component needed to run any language (UserTalk,
  6387. >>QuicKeys Script, etc.) in an OSA environment.
  6388. >
  6389. >As John suggested in his resonse, this isn't necessarily true. Instead of
  6390. >using the Generic Scripting Component, a utility like OSA Menu could call
  6391. >OSAGetStorageType and open the appropriate scripting component directly.
  6392. >Less overhead that way too -- one component instead of two.
  6393. >
  6394. I thought all of the OSA calls required AppleScript - I wasn't aware
  6395. OSAGetStorageType could be used.
  6396.  
  6397. Mike Cohen              | "Software that means business"
  6398. ISIS International      |
  6399. (818) 788-4747 Voice    |
  6400. (818) 501-0653 Fax      |
  6401. =========================================================================
  6402. Date:         Mon, 11 Jul 1994 20:57:20 -0400
  6403. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6404. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6405. From:         anthony brown <anbrown@HUSC9.HARVARD.EDU>
  6406. Subject:      frontmost and listboxes...
  6407.  
  6408. Can anyone help me out?
  6409. I am trying to copy a name that is stored in a variable into a listbox.
  6410. My problem is this.  I can get a name into the first row of the listbox,
  6411. but when I try to put anything into a row other than the first, I can't
  6412. even compile the code.  Here is what I am using to put the info in the
  6413. first row....
  6414.  
  6415. set contents of listbox "nameBox" of window "Hot Recruit Leads" to temp
  6416.  
  6417. this is the only way that frontmost allows me to put anything into a
  6418. listbox.  when I try this:
  6419.  
  6420. set contents of row counter of listbox "nameBox" of window "Hot Recruit
  6421. Leads" to temp
  6422.  
  6423. I can't compile.  I get this message saying that an identifier cant go
  6424. after this identifier, then it goes and hilights row counter.  Note,
  6425. counter is a loop control variable...
  6426.  
  6427. can anyone help?
  6428.  
  6429. Anthony
  6430.  
  6431. *************************************************************************
  6432. *                                                                       *
  6433. *  Anthony Brown, Harvard University                                    *
  6434. *                                                                       *
  6435. *  "You need my love, baby oh so bad,                                   *
  6436. *  "You're not the only one I've ever had,                              *
  6437. *  "And if I say I wanna set you free,                                  *
  6438. *  "Don't you know you'll be in misery?                                 *
  6439. *  "They call me Dr. Love. I've got the cure you're thinking of!        *
  6440. *  Gene Simmons circa 1976                                              *
  6441. *                                                                       *
  6442. *  The Dolphins will win the superbowl in '95!!!                        *
  6443. *                                                                       *
  6444. *************************************************************************
  6445. =========================================================================
  6446. Date:         Mon, 11 Jul 1994 18:25:41 -0700
  6447. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6448. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6449. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  6450. Subject:      Re: OSA Menu and Frontier
  6451.  
  6452. >>You can't execute an OSA script if AppleScript isn't installed. In addition
  6453. >>to providing the AppleScript language, the AppleScript extension also
  6454. >>installs the scripting component needed to run any language (UserTalk,
  6455. >>QuicKeys Script, etc.) in an OSA environment.
  6456. >
  6457. >As John suggested in his resonse, this isn't necessarily true. Instead of
  6458. >using the Generic Scripting Component, a utility like OSA Menu could call
  6459. >OSAGetStorageType and open the appropriate scripting component directly.
  6460. >Less overhead that way too -- one component instead of two.
  6461.  
  6462. Hi, Doug...
  6463.  
  6464.    I don't think OSAGetStorageType () would be there in the absence of
  6465. something which installs OSA-ness.  I think that's the AppleScript
  6466. extension in version 1.1 (but I'm too lazy to find out), and quite probably
  6467. the now-obsolete Apple Event Manager extension also installed the OSA stuff
  6468. in the days of AppleScript 1.0.
  6469.  
  6470.    --John
  6471.  
  6472. --
  6473. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  6474. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  6475. =========================================================================
  6476. Date:         Tue, 12 Jul 1994 00:17:51 -0700
  6477. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6478. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6479. From:         Jon Pugh <jonpugh@NETCOM.COM>
  6480. Subject:      Re: OSAGetStorageType w/o AppleScript
  6481.  
  6482. >I thought all of the OSA calls required AppleScript - I wasn't aware
  6483. >OSAGetStorageType could be used.
  6484.  
  6485. OSAGetStorageType is glue code from OSACompLib (and you were wondering what
  6486. was in there).  OSAAddStorageType & OSARemoveStorageType are also in that
  6487. library.  I think the routines are trivial.  They just slap a signature on
  6488. the end of the script.
  6489.  
  6490. With this info, you certainly could open a component connection directly to
  6491. the specific component without making any generic OSA calls.  However, the
  6492. Generic Component was designed to spare you the bother.  In addition, you
  6493. should preflight all your component calls by checking if the specific
  6494. component (of which you have no idea which one it is) supports the calls
  6495. you are going to make.  The generic component does this for you too.
  6496.  
  6497. Would a modified OSA Menu really provide any functions that Frontier
  6498. doesn't already provide with it's Finder menu and MenuSharing?
  6499.  
  6500. Jon
  6501. =========================================================================
  6502. Date:         Tue, 12 Jul 1994 06:08:07 -0500
  6503. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6504. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6505. From:         Herb Schilling <hschilling@LERC.NASA.GOV>
  6506. Subject:      Re: frontmost and listboxes...
  6507.  
  6508. >Can anyone help me out?
  6509. >I am trying to copy a name that is stored in a variable into a listbox.
  6510. >My problem is this.  I can get a name into the first row of the listbox,
  6511. >but when I try to put anything into a row other than the first, I can't
  6512. >even compile the code.  Here is what I am using to put the info in the
  6513. >first row....
  6514. >
  6515. >can anyone help?
  6516.  
  6517. Try this ( assuming your name variable is: theString ) :
  6518.  
  6519.  tell window "Some Window"
  6520.         copy the contents of listbox "Some List Box" to stuff
  6521.         copy stuff & {theString} to the contents of listbox "Some List Box"
  6522.  end tell
  6523.  
  6524.  
  6525. There isn't a way to add the name to the list box directly, I guess.
  6526.  
  6527. --
  6528. Herb Schilling NASA Lewis Research Center 21000 Brookpark Road Mail Stop 142-4
  6529. Cleveland Ohio 44135 (216) 433-8955 Fax:(216)433-8000 sshws@convx1.lerc.nasa.gov
  6530. AppleLink: SCHILLING.H
  6531. =========================================================================
  6532. Date:         Tue, 12 Jul 1994 08:46:03 -0400
  6533. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6534. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6535. From:         John Schettino <js12@GTE.COM>
  6536. Subject:      Re: frontmost and listboxes...
  6537.  
  6538. >Can anyone help me out?
  6539. >I am trying to copy a name that is stored in a variable into a listbox.
  6540. >My problem is this.  I can get a name into the first row of the listbox,
  6541. >but when I try to put anything into a row other than the first, I can't
  6542. >even compile the code.  Here is what I am using to put the info in the
  6543. >first row....
  6544. >
  6545. >set contents of listbox "nameBox" of window "Hot Recruit Leads" to temp
  6546. >
  6547. >this is the only way that frontmost allows me to put anything into a
  6548. >listbox.  when I try this:
  6549. >
  6550. >set contents of row counter of listbox "nameBox" of window "Hot Recruit
  6551. >Leads" to temp
  6552. >
  6553. >I can't compile.  I get this message saying that an identifier cant go
  6554. >after this identifier, then it goes and hilights row counter.  Note,
  6555. >counter is a loop control variable...
  6556. >
  6557. >can anyone help?
  6558.  
  6559. Yep: answer is you cannot replace individual rows of a listbox. Get all
  6560. the text out first, copy unchanged lines, change lines you want to, then
  6561. set listbox
  6562. to new value:
  6563.  
  6564. -- untested code, but "pretty darn close"
  6565.  
  6566. tell listbox "nameBox" of window "Hot Recruit Leads"
  6567.         set oldList to contents
  6568.  
  6569.         set newList to ""
  6570.         repeat with counter from 1 to (count paragraphs in oldList)
  6571.         if something -- whatever you choose to test
  6572.                 -- keep this line as is
  6573.                 set newList to newList & paragraph counter of oldList & return
  6574.         else
  6575.                 -- change this line
  6576.                 set temp to "whatever"
  6577.                 set newList to newList & temp & return
  6578.         end if
  6579.         set contents to newList
  6580. end tell
  6581.  
  6582. - john
  6583.  
  6584. -----------------------------------------
  6585. js12@gte.com             GTE Laboratories
  6586. John Schettino                Waltham, MA
  6587. =========================================================================
  6588. Date:         Tue, 12 Jul 1994 09:20:03 -0400
  6589. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6590. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6591. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  6592. Subject:      Re: Free Space?
  6593. In-Reply-To:  <no.id> from "Brian Hall" at Jul 11, 94 04:33:39 pm
  6594.  
  6595. --Brian Hall wrote:
  6596. >
  6597. >Is it possible to find out the free space of a volume w/o any OSAXen? (ie,
  6598. >just using AppleScript 1.0 or 1.0).
  6599.  
  6600.     Um... sure. Of course you'll need the Scriptable Finder to do it,
  6601. but it's very possible.
  6602.  
  6603. tell app "Finder"
  6604.     free space of startup disk
  6605. end tell
  6606.  
  6607.     This will return the number of bytes free.
  6608.  
  6609. -Hades
  6610. =========================================================================
  6611. Date:         Tue, 12 Jul 1994 07:14:00 -0700
  6612. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6613. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6614. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  6615. Subject:      Re: OSAGetStorageType w/o AppleScript
  6616.  
  6617. >>I thought all of the OSA calls required AppleScript - I wasn't aware
  6618. >>OSAGetStorageType could be used.
  6619. >
  6620. >OSAGetStorageType is glue code from OSACompLib (and you were wondering what
  6621. >was in there).  OSAAddStorageType & OSARemoveStorageType are also in that
  6622. >library.  I think the routines are trivial.  They just slap a signature on
  6623. >the end of the script.
  6624.  
  6625. Actually, I hadn't wondered about OSACompLib, because I hadn't noticed it.
  6626. Having always used the generic scripting component route in my playing (er,
  6627. exploring), I hadn't needed the other routines.  Thanks, yet again, for the
  6628. education!
  6629.  
  6630. >
  6631. >Would a modified OSA Menu really provide any functions that Frontier
  6632. >doesn't already provide with it's Finder menu and MenuSharing?
  6633.  
  6634. Yes:  it would permit an application-specific menu-based group of scripts
  6635. for an application which doesn't support Frontier-based menu sharing, on a
  6636. system whose user hasn't installed AppleScript.
  6637.  
  6638.    --John
  6639.  
  6640. --
  6641. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  6642. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  6643. =========================================================================
  6644. Date:         Tue, 12 Jul 1994 09:20:38 -0700
  6645. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6646. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6647. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  6648. Subject:      FaceSpan vs do script "foo"
  6649.  
  6650.   I have been tinkering with a FaceSpan script, which used (Monday evening)
  6651. this handler (=81 is the trademark symbol) on a button
  6652.  
  6653. on hilited theObj
  6654.     set n to selection of popup "criterionKind" of window "Selection"
  6655.     set criterionKind to item n of {"keyword", "uploader", "filename"}
  6656.     set criterion to contents of textbox "criterion" of window "Selection"
  6657.  
  6658.     set x to "libInfo.lookup (\"" & criterionKind & "\", \"" & criterion &
  6659. "\")"
  6660.  
  6661.     tell application "UserLand Frontier=81"
  6662.         set ans to Do Script x
  6663.     end tell
  6664.  
  6665.     displayLookupResult(ans)
  6666. end hilited
  6667.  
  6668. The effect of doing that is that the parameter to the Do Script event is
  6669. transmitted as type 'STXT'.  I muttered (loudly), and modified Frontier's
  6670. handler script for the do script event to cope with 'STXT'.
  6671.  
  6672. It turns out that my way of setting the variable criterion was the cause of
  6673. the 'STXT' parameter:
  6674.     set criterion to contents of textbox "criterion" of window "Selection"
  6675. quite understandably produces styled text, and that propogates along.
  6676.  
  6677. A simple coercion, as in
  6678.  
  6679.     set criterion to (contents of textbox "criterion" of window
  6680. "Selection") as string
  6681.     --really one line
  6682.  
  6683. makes the parameter to Do Script a (legal per the Apple Event Registry)
  6684. plain string.
  6685.  
  6686. Something to watch for if you send Do Script events out of AppleScript code.
  6687.  
  6688. --------
  6689. Since doing all that, I have done away with the Do Script altogether...the
  6690. current script doesn't bother with the temporary x, and the action is done
  6691. by the cleaner (IMHO) snippet which follows.
  6692.  
  6693.   (The | is the vertical bar character, and is used for a form of quoting
  6694. here:  it seems to tell AppleScript "trust me, I know what I'm doing."
  6695. Without the | quoting, the period in libInfo.lookup is illegal AS syntax.)
  6696.  
  6697.     tell application "UserLand Frontier=81"
  6698.         set ans to |libInfo.lookup|(criterionKind, criterion)
  6699.     end tell
  6700.  
  6701.  
  6702. -----
  6703. Hope this saves someone else some time sometime.
  6704.    --John
  6705.  
  6706. --
  6707. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  6708. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  6709. =========================================================================
  6710. Date:         Tue, 12 Jul 1994 15:20:22 -0400
  6711. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6712. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6713. From:         Frank Lowney <flowney@GC3.GAC.PEACHNET.EDU>
  6714. Subject:      Why does this recorded script fail?
  6715.  
  6716. The script cited below was recorded using the Scriptable Finder and
  6717. Scriptable Text Editor.  When I try to "run" it, I get the following error:
  6718.  
  6719. Scriptable Text Editor got an error:
  6720. Can't make some data into the expected type.
  6721.  
  6722. The offending line is:
  6723.  
  6724. open file "Duo Dock HD:AppleScript=81 Utilities:Frontmost Release Notes"
  6725.  
  6726. What I would like to understand is why this script fails.
  6727.  
  6728. Thanks for any light that you may be able to shed on this situation.
  6729.  
  6730. ------------- the script that fails to run ------------
  6731.  
  6732. tell application "Finder"
  6733.         activate
  6734.         select startup disk
  6735.         open selection
  6736.         select file "Scriptable Text Editor" of folder "AppleScript=81
  6737. Utilities" of startup disk
  6738.         open selection
  6739.         close startup disk
  6740. end tell
  6741. tell application "Scriptable Text Editor"
  6742.         activate
  6743.         close document 1 saving no
  6744.         (* Here's where this script fails, opening the file specified in
  6745. the line below.  The error message says:
  6746.  
  6747.         Scriptable Text Editor got an error:
  6748.         Can't make some data into the expected type.
  6749.  
  6750.         This is in spite of the fact that this is a recorded script which
  6751. compiles just fine! *)
  6752.         open file "Duo Dock HD:AppleScript=81 Utilities:Frontmost Release No=
  6753. tes"
  6754.         select text from paragraph 7 to paragraph 10 of document 1
  6755.         copy
  6756.         close document 1 saving no
  6757.         make new document at beginning
  6758.         paste
  6759.         select text from character 760 to character 880 of document 1
  6760.         copy
  6761.         make new document at beginning
  6762.         paste
  6763.         set selection to "
  6764. this is an example named \"untitled 3\""
  6765.         make new document at beginning
  6766.         set selection to "This is an example named \"untitled 4\"
  6767.  
  6768. "
  6769.         save document 1 in file "Duo Dock HD:Desktop Folder:Example 4"
  6770.         close document 1 saving no
  6771.         save document 1 in file "Duo Dock HD:Desktop Folder:Example 3"
  6772.         close document 1 saving no
  6773.         save document 1 in file "Duo Dock HD:Desktop Folder:Example 2"
  6774.         close document 1 saving no
  6775.         quit saving ask
  6776. end tell
  6777.  
  6778. *********************************************************************
  6779. Dr. Frank Lowney, Director, Regional Teacher Education Center
  6780.                   System Administrator, The GC EduNET Project
  6781. CBX 034, School of Education
  6782. Georgia College, Milledgeville, GA 31061-0490
  6783. Voice: (912) 453-5121
  6784. via GC EduNET, Georgia's Statewide K-12 Education Network, telnet to:
  6785.         gcedunet.peachnet.edu
  6786. *********************************************************************
  6787. =========================================================================
  6788. Date:         Tue, 12 Jul 1994 16:48:15 -0400
  6789. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6790. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6791. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  6792. Subject:      Re: Why does this recorded script fail?
  6793. In-Reply-To:  <no.id> from "Frank Lowney" at Jul 12, 94 03:20:22 pm
  6794.  
  6795. --Frank Lowney wrote:
  6796. >
  6797. >tell application "Scriptable Text Editor"
  6798. >      activate
  6799. >      close document 1 saving no
  6800. >      open file "Duo Dock HD:AppleScript=81 Utilities:Frontmost Release Notes"
  6801.  
  6802.     You should change this line to read: open alias "Duo Dock HD:..."
  6803. This should work for you better than open file. I'm not totally sure why
  6804. this works better but some applications prefer to work with alias
  6805. references rather than direct file references. STE seems to be one of
  6806. those applications.
  6807.  
  6808. -Hades
  6809. =========================================================================
  6810. Date:         Tue, 12 Jul 1994 18:29:59 EDT
  6811. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6812. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6813. From:         Shaddar@AOL.COM
  6814. Subject:      Frontmost Info
  6815.  
  6816. Could someone point me to the company which sells Frontmost and FaceSpan?
  6817.  
  6818. Thanks  :)
  6819.  
  6820. ~josh~
  6821. =========================================================================
  6822. Date:         Tue, 12 Jul 1994 16:00:52 -0700
  6823. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6824. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6825. From:         Doug Baron <userland@NETCOM.COM>
  6826. Subject:      Re: OSAGetStorageType w/o AppleScript
  6827.  
  6828. >Would a modified OSA Menu really provide any functions that Frontier
  6829. >doesn't already provide with it's Finder menu and MenuSharing?
  6830.  
  6831. Yes, there would be two benefits:
  6832.  
  6833. 1. It would work with other AE-aware apps that don't support menu sharing;
  6834.  
  6835. 2. For those app as well as for the Finder, it would allow scripts to
  6836. execute in the same process as the target. This could potentially speed
  6837. things up a great deal, and would allow dialogs to come up in the same
  6838. layer (instead of Frontier's).
  6839.  
  6840. Doug
  6841. =========================================================================
  6842. Date:         Wed, 13 Jul 1994 11:39:00 +1200
  6843. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6844. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6845. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  6846.               NZ" <LDO@WAIKATO.AC.NZ>
  6847. Subject:      Re: OSAGetStorageType w/o AppleScript
  6848.  
  6849. "John W. Baxter" <jwbaxter@OLYMPUS.NET> writes:
  6850.  
  6851. >>Would a modified OSA Menu really provide any functions that Frontier
  6852. >>doesn't already provide with it's Finder menu and MenuSharing?
  6853. >
  6854. >Yes:  it would permit an application-specific menu-based group of scripts
  6855. >for an application which doesn't support Frontier-based menu sharing, on a
  6856. >system whose user hasn't installed AppleScript.
  6857.  
  6858. Yes, but you'd still need the Component Manager. Not everybody has the
  6859. Component Manager built into their system...
  6860.  
  6861. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  6862. Info & Tech Services Division              fax: +64-7-838-4066
  6863. University of Waikato            electric mail: ldo@waikato.ac.nz
  6864. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  6865. =========================================================================
  6866. Date:         Tue, 12 Jul 1994 22:47:00 -0700
  6867. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6868. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6869. From:         Jon Pugh <jonpugh@NETCOM.COM>
  6870. Subject:      Lee Buck & FaceSpan in DDJ
  6871.  
  6872. In this month's Dr. Dobbs Journal, Michael Swaine interviews Lee Buck,
  6873. author of FaceSpan.  There's some mildly interesting views of the future
  6874. expressed.  All in all, it's nice to see Macintosh discussions in the
  6875. "other" magazines.
  6876.  
  6877. Jon
  6878. =========================================================================
  6879. Date:         Tue, 12 Jul 1994 22:47:07 -0700
  6880. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6881. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6882. From:         Jon Pugh <jonpugh@NETCOM.COM>
  6883. Subject:      Re: MACSCRPT Digest - 11 Jul 1994 to 12 Jul 1994
  6884.  
  6885. >From:    "Lawrence D'Oliveiro" <LDO@WAIKATO.AC.NZ>
  6886.  
  6887. >Yes, but you'd still need the Component Manager. Not everybody has the
  6888. >Component Manager built into their system...
  6889.  
  6890. AppleScript has version 1.5 built in.
  6891.  
  6892. >From:    Doug Baron <userland@NETCOM.COM>
  6893.  
  6894. >2. For those app as well as for the Finder, it would allow scripts to
  6895. >execute in the same process as the target. This could potentially speed
  6896. >things up a great deal, and would allow dialogs to come up in the same
  6897. >layer (instead of Frontier's).
  6898.  
  6899. I'm not sure that this would speed things up too much.  What Leonard and I
  6900. were discussing is using the AESendProc to watch for events that the script
  6901. sends to the current process.  When you see one of these events, you change
  6902. the address to kAESendToSelf and send it.  This dispatches it directly to
  6903. the handler, bypassing the event loop.  This would also make the event
  6904. recordable, so it might be desirable to add kAEDontRecord to the send mode.
  6905. I haven't actually tried this to see if it works, I'm just thinking into
  6906. the electron stream, but I think I will try this with PhotoFlash and see if
  6907. it speeds up our script execution.
  6908.  
  6909. By the way, in AppleScript dialogs appear in whatever program's tell block
  6910. is active (this is also generally the front program).  Why does the
  6911. Frontier OSA component behave differently?
  6912.  
  6913. Finally, would you have to change the name of OSA Menu?  I guess not.  It
  6914. still runs OSA components.  It just wouldn't use the Generic component.
  6915.  
  6916. Jon
  6917. =========================================================================
  6918. Date:         Wed, 13 Jul 1994 08:59:29 -0400
  6919. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6920. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6921. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  6922. Subject:      Re: Frontmost Info
  6923. In-Reply-To:  <no.id> from "Shaddar@aol.com" at Jul 12, 94 06:29:59 pm
  6924.  
  6925. --Shaddar@aol.com wrote:
  6926. >
  6927. >Could someone point me to the company which sells Frontmost and FaceSpan?
  6928.  
  6929.     No problem, but it won't do you any good. FaceSpan is only available
  6930. from Apple as part of the AppleScript Scripter's Kit and the AppleScript
  6931. Software Developer's Kit. You can't get it directly from the company,
  6932. Software Designs Unlimited of Chapel Hill, NC.
  6933.  
  6934. -Hades
  6935. =========================================================================
  6936. Date:         Wed, 13 Jul 1994 09:05:41 -0400
  6937. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6938. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6939. From:         Lee Hoong <lhoong@EMORYU1.CC.EMORY.EDU>
  6940. Subject:      Re: Frontmost Info
  6941.  
  6942. >Could someone point me to the company which sells Frontmost and FaceSpan?
  6943. >
  6944. >Thanks  :)
  6945. >
  6946. >~josh~
  6947.  
  6948.  
  6949. Software Designs Unlimited Inc.
  6950. 1829 E Franklin St.
  6951. Chapel Hill, NC 27514
  6952. Voice: 515-224-1995
  6953. FAX: 515-224-4534
  6954.  
  6955. Lee.
  6956.  
  6957. Lee K. Hoong
  6958. Emory University
  6959. Atlanta, GA 30322
  6960. Internet: lhoong@emoryu1.cc.emory.edu
  6961. AOL: LHOONG
  6962. ==========================
  6963. Opinions and comments expressed are mine; I do not represent Emory
  6964. University.
  6965. =========================================================================
  6966. Date:         Wed, 13 Jul 1994 07:59:27 -0800
  6967. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6968. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  6969. From:         Steve Holden <sholden@COD.NOSC.MIL>
  6970. Subject:      Launch AppleScript with Mosaic 2.0a2?
  6971.  
  6972. Hello!
  6973.  
  6974. We are doing some testing of standalone html documents using
  6975. open local.
  6976.  
  6977. We'd like to have Mosaic 2.0a2 launch an AppleScript.  I
  6978. have tried several approaches that have been unsuccessful.
  6979.  
  6980. For example, we have a help document that walks a user
  6981. throught the system folder.  I'd like them to be able
  6982. to click on a highlighted text and then have a
  6983. AppleScript executed that brings the Extensions folder
  6984. to the front.
  6985.  
  6986. Has anyone done this before?  Please email me if you have.
  6987.  
  6988. I know we could do something like this with the MacHTTP
  6989. server but I can't use the server in my configuration.
  6990.  
  6991. Thanks!
  6992.  
  6993. Steve
  6994.  
  6995. ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
  6996. ><   Steven D. Holden, Macintosh System/Applications Engineer,  ><
  6997. >< SAIC -> NRaD -> Project ICER, sholden@nosc.mil, 619.553.6750 ><
  6998. ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
  6999. ><     Disclaimer: Opinions expressed are my own and do not     ><
  7000. ><  necessarily reflect those of my employer or the government  ><
  7001. ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
  7002. =========================================================================
  7003. Date:         Wed, 13 Jul 1994 08:59:03 U
  7004. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7005. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7006. From:         Roy Rapoport <rsr@INETLINK.BERKSYS.COM>
  7007. Subject:      Hey, wait a second!
  7008.  
  7009. Hey, wait a second!
  7010. Is there any way to tell AppleScript to wait a certain length of time? like,
  7011. say, C's sleep()?
  7012.  
  7013. -roy
  7014. =========================================================================
  7015. Date:         Wed, 13 Jul 1994 13:23:38 EDT
  7016. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7017. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7018. From:         "Dave Griffin, Ferris State University" <YD65@MUSIC.FERRIS.EDU>
  7019. Subject:      MACSCRPT FAQ?
  7020. In-Reply-To:  In reply to your message of THU 07 JUL 1994 12:13:54 EDT
  7021.  
  7022. Is there a FAQ available for this list; or can someone tell me
  7023. where to get more info on scripting?
  7024.  
  7025. I would like to look up as much info as possible before I start
  7026. asking questions on the list that may have already been
  7027. answered in prior posts...
  7028.  
  7029. Thanks for your time,
  7030.  
  7031.  
  7032.          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  7033.          -      F E R R I S   S T A T E   U N I V E R S I T Y      -
  7034.          -              END-USER COMPUTING SUPPORT                 -
  7035.          -  M A C I N T O S H   T E C H N I C A L   S U P P O R T  -
  7036.          -       YD65@MUSIC.FERRIS.EDU     (616) 592-2485          -
  7037.          -            D A V I D   J   G R I F F I N                -
  7038.          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  7039. =========================================================================
  7040. Date:         Wed, 13 Jul 1994 12:51:24 -0600
  7041. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7042. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7043. From:         "Desmond K. Mullen" <mulle009@MAROON.TC.UMN.EDU>
  7044. Subject:      Re: Macintosh Consultant Job Opening at Notre Dame, Indiana, USA
  7045.  
  7046. Okay, I didn't scour the job posting, but I didn't see a salary range listed.
  7047.  
  7048. What's the salary range, Mike?
  7049.  
  7050. Thanks.
  7051.  
  7052. -DM
  7053.  
  7054. Desmond K. Mullen - University of Minnesota, Office of Admissions
  7055. mulle009@maroon.tc.umn.edu - 612/625-0824 - Minneapolis, Minnesota, USA
  7056. =========================================================================
  7057. Date:         Wed, 13 Jul 1994 14:25:14 -0400
  7058. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7059. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7060. From:         Steve Huey <phuey@CHUMA.CAS.USF.EDU>
  7061. Subject:      cancel
  7062.  
  7063. What command do I issue to log off of this mailing list and what is the
  7064. correct address. I have tried several things but none seem to work.
  7065. =========================================================================
  7066. Date:         Wed, 13 Jul 1994 14:00:08 -0500
  7067. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7068. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7069. From:         Fred Terry <pfterry@LKS.CSI.COM>
  7070. Subject:      Re: Macintosh Consultant Job Opening at Notre Dame, Indiana, USA
  7071. In-Reply-To:  Your message of "Wed, 13 Jul 94 12:51:24 MDT"
  7072.  
  7073. >Okay, I didn't scour the job posting, but I didn't see a salary range listed.
  7074. >
  7075. >What's the salary range, Mike?
  7076. >
  7077. >Thanks.
  7078.  
  7079. Ahem. Please confine these questions to private email. I didn't say anything
  7080. about the posting at the time, but I really don't want to wade through any
  7081. threads about jobs, the job market, salaries, ad infinitum. I'm curious
  7082. about--and ever watching--the Mac/network/programming job market, but I check
  7083. in misc.jobs.contract and misc.jobs.offered newsgroups. Remember, this mailing
  7084. list is devoted to questions about scripting applications.
  7085.  
  7086. Please indulge me on this.
  7087.  
  7088. pf
  7089.  
  7090.  
  7091. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  7092. Fred Terry, The Alta Group, pfterry@lks.csi.com, +1 913/841-1283
  7093. =========================================================================
  7094. Date:         Wed, 13 Jul 1994 12:36:08 U
  7095. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7096. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7097. From:         Roy Rapoport <rsr@INETLINK.BERKSYS.COM>
  7098. Subject:      AS 1.1
  7099.  
  7100. AS 1.1
  7101. I seem to remember that there was an upgrade from AppleScript v 1.0 to
  7102. AppleScript v 1.1 available somewhere on the network.  Anybody got a pointer?
  7103.  
  7104. -roy
  7105. =========================================================================
  7106. Date:         Wed, 13 Jul 1994 17:02:14 -0400
  7107. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7108. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7109. From:         Steve Huey <phuey@CHUMA.CAS.USF.EDU>
  7110. Subject:      Re: AS 1.1
  7111. In-Reply-To:  <199407131944.PAA18195@chuma.cas.usf.edu>
  7112.  
  7113. On Wed, 13 Jul 1994, Roy Rapoport wrote:
  7114.  
  7115. > AS 1.1
  7116. > I seem to remember that there was an upgrade from AppleScript v 1.0 to
  7117. > AppleScript v 1.1 available somewhere on the network.  Anybody got a pointer?
  7118. >
  7119. > -roy
  7120. >
  7121. I believe I found it in a communications section, the app that it comes
  7122. with is called MacHTTP or something similar, it also includes some things
  7123. for the PowerPC and Applescript.
  7124. =========================================================================
  7125. Date:         Wed, 13 Jul 1994 14:13:49 -0800
  7126. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7127. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7128. From:         David Lewis <lewis@NETCOM.COM>
  7129. Subject:      Making Frontier wait for KeyQuencer
  7130.  
  7131. I'm trying to automate a job which requires altering Eudora's In box file.
  7132. Before doing this, I wanted to have Eudora compact its mailboxes.
  7133. KeyQuencer.doScript (string) just sends the AppleEvent to KQ AppleEvents
  7134. which is running in the background. If I execute the following code from
  7135. OSA Menu, I hear the speaker beep before the compacting starts, which is
  7136. what I expect; Frontier is just sending the events and then going on.
  7137.  
  7138. on testScript () {
  7139.     bundle { =ABCompact the mailboxes
  7140.         KeyQuencer.doScript (=B3Menu "Special" "Compact Mailboxes"=B2);
  7141.         KeyQuencer.doScript (=B3Wait 1 seconds=B2); =ABLet it start
  7142.         KeyQuencer.doScript (=B3WaitWindow "In" open=B2);
  7143.         KeyQuencer.doScript (=B3Click closebox=B2);
  7144.         KeyQuencer.doScript (=B3WaitWindow "In" close=B2);
  7145.         KeyQuencer.doScript (=B3SwitchApp "Frontier" partial=B2)};
  7146.     speaker.beep ();
  7147.     return (true)};
  7148.  
  7149. testScript ()
  7150.  
  7151. if I insert, before the speaker.beep (), the fragment
  7152.  
  7153.     while not (sys.frontmostApp () contains "Frontier")
  7154.         sys.systemTask () =AB or clock.waitSeconds (1); it doesn't matter
  7155.  
  7156. my system will hang. If I just insert clock.waitSeconds (10) instead, the
  7157. system will wait 10 seconds, then I'll hear the beep, and *then* Eudora
  7158. will begin compacting the mailboxes. It appears that I'm having trouble
  7159. getting Frontier to relinquish the system. Since I'm running under OSA
  7160. Menu, Eudora is in front when all this starts. Thanks in advance.
  7161.  
  7162.         David
  7163.  
  7164. David Lewis     Seagate Technology      (408) 439-2374  lewis@netcom.com
  7165. =========================================================================
  7166. Date:         Wed, 13 Jul 1994 17:23:35 -0400
  7167. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7168. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7169. From:         David Myers <dcmyers@ACCESS.DIGEX.NET>
  7170. Subject:      Frontier: controlling menubar objects
  7171.  
  7172. I am trying to add a menu of frequently-accessed files and
  7173. folders to the Finder using Frontier and the FinderMenus
  7174. extension.  The problem I can't seem to get around is Frontier's
  7175. limited control over menubar objects.  I have a table of folders
  7176. that I want to appear in a "Frequent" menu.  I want to be able
  7177. to modify the table and have the Frequent menu rebuilt on the
  7178. fly to reflect my changes.  An agent will do the menu rebuilding,
  7179. but I need some way to completely flush the existing Frequent
  7180. menu before building the new one, and therein lies the problem.
  7181. The Frequent menu is contained within FinderMenus' fMNU menubar.
  7182. Frontier has a number of commands dealing with menu *items*,
  7183. (menu.addMenuCommand, menu.deleteMenuCommand, menu.addSubMenu, etc.)
  7184. but nothing that would allow me to delete the whole Frequent *menu*
  7185. so I can rebuild it with the new information.
  7186.  
  7187. Any workarounds?  I hope I made my problem clear...
  7188.  
  7189. -David.
  7190. =========================================================================
  7191. Date:         Wed, 13 Jul 1994 21:25:04 +0000
  7192. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7193. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7194. From:         Borre Ludvigsen <borrel@DHHALDEN.NO>
  7195. Subject:      Filtering funny characters
  7196.  
  7197. I have a script that receives strings from 4 forms fields from MacHTTP=20
  7198. and writes them to a file. Only if I get characters like }|{" which=20
  7199. sometimes are used in Norwegian, I get an error message back to Mosaic.=20
  7200. It's killing me, I can't return the error message file I want, and I'm=20
  7201. having problems packing in the funny characters in the right clothes so=20
  7202. that they too are written to the file. I also want to get rid of the =3D an=
  7203. d +=20
  7204. characters.
  7205.  
  7206. Anyone have any advice? Try:=20
  7207.  
  7208.        http://www.ludvigsen.dhhalden.no/paamelding/paamelding.html
  7209.  
  7210. The script itself is attached.
  7211.  
  7212. Hopefully -=20
  7213.  
  7214. - Barre
  7215.  
  7216.  
  7217.  
  7218.  
  7219. set crlf to (ASCII character 13) & (ASCII character 10)
  7220.  
  7221. set http_10_header to "HTTP/1.0 200 OK" & crlf & "Server: MacHTTP" & crlf &=
  7222.  =C2
  7223. =09"MIME-Version: 1.0" & crlf & "Content-type: text/html" & crlf & crlf
  7224.  
  7225. set redirect_head to "HTTP/1.0 302 Found" & crlf & "Location: http://www.lu=
  7226. dvigsen.dhhalden.no/paamelding/"
  7227.  
  7228. set textDelimiterOrig to AppleScript's text item delimiters
  7229. try
  7230. =09set theList to {}
  7231. =09set theOrig to http_search_args
  7232. =09set AppleScript's text item delimiters to {"&"}
  7233. =09set myTmpList to the text items of theOrig
  7234. =09set chr20 to " "
  7235. =09set AppleScript's text item delimiters to {"=3D"}
  7236. =09--set AppleScript's text item delimiters to space
  7237. =09set timeStamp to (current date)
  7238. =09set x to 1
  7239. =09repeat (number of items of myTmpList) times
  7240. =09=09log item 1 of myTmpList
  7241. =09=09set theText to text item 2 of item x of myTmpList
  7242. =09=09set theList to {theText} & "<p>" & theList
  7243. =09=09set x to x + 1
  7244. =09end repeat
  7245. =09
  7246. set theList to the reverse of theList
  7247. on error
  7248. =09set AppleScript's text item delimiters to textDelimiterOrig
  7249.  
  7250. end try
  7251.  
  7252. set theFile to "Macintosh HD:Desktop Folder:WEB-Server:MacHTTP Software:paa=
  7253. melding:paameldte.html"
  7254. set postFile to "Macintosh HD:Desktop Folder:WEB-Server:MacHTTP Software:pa=
  7255. amelding:melding.html"
  7256.  
  7257.  
  7258. open for access file theFile with write permission
  7259. write "<pre>" & "<a name=3D\"" & timeStamp & "\">" & timeStamp & "</a>" & "=
  7260. <p>" & theList & "</pre>" & "<hr>" to file theFile starting at eof
  7261. close access file theFile
  7262.  
  7263.  
  7264. open for access file postFile with write permission
  7265. write "<HR>" & "Takk for påmeldingen! Din melding er lagt til <a href=
  7266. =3D\"paameldte.html#" & timeStamp & "\">en liste</a> for behandling idag " =
  7267. & timeStamp & "<p>" & "Din påmeldingen vil bli bekreftet pr. email s&=
  7268. aring; snart som mulig." & "<p>"
  7269.  & "<a href=3D\"../uninett94.html\">Tilbake</a> til hovedsiden." & "<HR>" &=
  7270.  "<p>" & "uninett94@dhhalden.no" to file postFile
  7271. close access file postFile
  7272.  
  7273. set AppleScript's text item delimiters to textDelimiterOrig
  7274.  
  7275. return redirect_head & "paameldte.html"
  7276. =========================================================================
  7277. Date:         Wed, 13 Jul 1994 17:36:47 -0400
  7278. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7279. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7280. From:         Abner Dumoff <abbyd@FREENET.SCRI.FSU.EDU>
  7281. Subject:      FaceSpan error codes
  7282. In-Reply-To:  <199407131849.AA20208@freenet2.scri.fsu.edu>
  7283.  
  7284. I appreciate to some degree the inclusion of error codes in the docs
  7285. Apple supplied with AppleScript. Why weren't any included with the
  7286. manual for FaceSpan, "Building Interfaces"? Does anybody have a lit with
  7287. descriptions? Would it be of any use?
  7288.  
  7289. One more question, Perhaps this has been asked before: Is there any
  7290. additional documentation for FaceSpan?
  7291.  
  7292. P.S. After buying the Danny Goodman book, I ordered the disk upgrade,
  7293. primarily because it included FrontMost. It wasn't until it arrived, that
  7294. I discovered it was only a runtime version - No new interface creation
  7295. capabilities. That was a drag. After that the complete kit from Apple was a
  7296. worthwhile purchase, IMHO.
  7297.  
  7298. -AbbyD
  7299. =========================================================================
  7300. Date:         Wed, 13 Jul 1994 19:00:45 EDT
  7301. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7302. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7303. From:         Shaddar@AOL.COM
  7304. Subject:      Re: (2) Frontmost Info
  7305.  
  7306. >>Could someone point me to the company which sells Frontmost and FaceSpan?
  7307.  
  7308. >    No problem, but it won't do you any good. FaceSpan is only available
  7309. >from Apple as part of the AppleScript Scripter's Kit and the AppleScript
  7310. >Software Developer's Kit. You can't get it directly from the company,
  7311. >Software Designs Unlimited of Chapel Hill, NC.
  7312.  
  7313. Will it come with the applescript on the powermac I'm gonna buy next month?
  7314.  
  7315. Thanks :)
  7316.  
  7317. ~josh~
  7318. =========================================================================
  7319. Date:         Wed, 13 Jul 1994 16:18:53 -0700
  7320. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7321. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7322. From:         Doug Baron <userland@NETCOM.COM>
  7323. Subject:      Re: MACSCRPT Digest - 11 Jul 1994 to 12 Jul 1994
  7324.  
  7325. >>From:    Doug Baron <userland@NETCOM.COM>
  7326. >
  7327. >>2. For those app as well as for the Finder, it would allow scripts to
  7328. >>execute in the same process as the target. This could potentially speed
  7329. >>things up a great deal, and would allow dialogs to come up in the same
  7330. >>layer (instead of Frontier's).
  7331. >
  7332. >I'm not sure that this would speed things up too much.  What Leonard and I
  7333. >were discussing is using the AESendProc to watch for events that the script
  7334. >sends to the current process.  When you see one of these events, you change
  7335. >the address to kAESendToSelf and send it.  This dispatches it directly to
  7336. >the handler, bypassing the event loop.  This would also make the event
  7337. >recordable, so it might be desirable to add kAEDontRecord to the send mode.
  7338. >I haven't actually tried this to see if it works, I'm just thinking into
  7339. >the electron stream, but I think I will try this with PhotoFlash and see if
  7340. >it speeds up our script execution.
  7341. >
  7342. >By the way, in AppleScript dialogs appear in whatever program's tell block
  7343. >is active (this is also generally the front program).  Why does the
  7344. >Frontier OSA component behave differently?
  7345. >
  7346. >Finally, would you have to change the name of OSA Menu?  I guess not.  It
  7347. >still runs OSA components.  It just wouldn't use the Generic component.
  7348. >
  7349.  
  7350. Jon,
  7351.  
  7352. With Frontier scripts, there would be no need to hook into the sendProc and
  7353. change the address of outgoing events. Frontier notices when it's sending
  7354. an event to the current process and uses kAESendToSelf addressing when
  7355. appropriate. That's why I said that scripts would run much faster if
  7356. executed in the same process as the target. The performance gain would be
  7357. automatic.
  7358.  
  7359. Frontier dialogs appear in the layer of the process that is executing the
  7360. script. Frontier doesn't have the notion of a "tell" block; the "with"
  7361. statement is similar, but there is no "current" target application per se.
  7362. Dialogs are implemented with built-in verbs that are not related to any
  7363. appleEvent connection.
  7364.  
  7365. Note, however, that as long as the Display Dialog osax is installed, it can
  7366. be called from a UserTalk script. The dialogs that _it_ puts up would
  7367. appear in the target application's layer. You know how it works.  ;->
  7368.  
  7369. You anwered your own final question. Bypassing the Generic component would
  7370. in no way lessen OSA Menu's OSA-ness. It would still be completely general.
  7371.  
  7372. Doug
  7373. =========================================================================
  7374. Date:         Wed, 13 Jul 1994 16:19:10 -0700
  7375. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7376. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7377. From:         Doug Baron <userland@NETCOM.COM>
  7378. Subject:      Re: Frontier: controlling menubar objects
  7379.  
  7380. >I am trying to add a menu of frequently-accessed files and
  7381. >folders to the Finder using Frontier and the FinderMenus
  7382. >extension.  The problem I can't seem to get around is Frontier's
  7383. >limited control over menubar objects.  I have a table of folders
  7384. >that I want to appear in a "Frequent" menu.  I want to be able
  7385. >to modify the table and have the Frequent menu rebuilt on the
  7386. >fly to reflect my changes.  An agent will do the menu rebuilding,
  7387. >but I need some way to completely flush the existing Frequent
  7388. >menu before building the new one, and therein lies the problem.
  7389. >The Frequent menu is contained within FinderMenus' fMNU menubar.
  7390. >Frontier has a number of commands dealing with menu *items*,
  7391. >(menu.addMenuCommand, menu.deleteMenuCommand, menu.addSubMenu, etc.)
  7392. >but nothing that would allow me to delete the whole Frequent *menu*
  7393. >so I can rebuild it with the new information.
  7394. >
  7395. >Any workarounds?  I hope I made my problem clear...
  7396. >
  7397.  
  7398. David,
  7399.  
  7400. No, the  problem isn't clear to me. What's wrong with menu.deleteSubMenu?
  7401. It will delete an entire menu heirarchy. You could then build it anew. Or,
  7402. if the problem is that you want to update the submenu in place, you can
  7403. build the new version and then call menu.addSubMenu. Frontier will notice
  7404. that the menu names match and will replace the old version. There shouldn't
  7405. be any problem maintaining the "Frequent" menu as you described.
  7406.  
  7407. Doug
  7408. =========================================================================
  7409. Date:         Wed, 13 Jul 1994 16:19:21 -0700
  7410. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7411. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7412. From:         Doug Baron <userland@NETCOM.COM>
  7413. Subject:      Re: Making Frontier wait for KeyQuencer
  7414.  
  7415. >I'm trying to automate a job which requires altering Eudora's In box file.
  7416. >Before doing this, I wanted to have Eudora compact its mailboxes.
  7417. >KeyQuencer.doScript (string) just sends the AppleEvent to KQ AppleEvents
  7418. >which is running in the background. If I execute the following code from
  7419. >OSA Menu, I hear the speaker beep before the compacting starts, which is
  7420. >what I expect; Frontier is just sending the events and then going on.
  7421. >
  7422. >on testScript () {
  7423. >    bundle { =ABCompact the mailboxes
  7424. >        KeyQuencer.doScript (=B3Menu "Special" "Compact Mailboxes"=B2);
  7425. >        KeyQuencer.doScript (=B3Wait 1 seconds=B2); =ABLet it start
  7426. >        KeyQuencer.doScript (=B3WaitWindow "In" open=B2);
  7427. >        KeyQuencer.doScript (=B3Click closebox=B2);
  7428. >        KeyQuencer.doScript (=B3WaitWindow "In" close=B2);
  7429. >        KeyQuencer.doScript (=B3SwitchApp "Frontier" partial=B2)};
  7430. >    speaker.beep ();
  7431. >    return (true)};
  7432. >
  7433. >testScript ()
  7434. >
  7435. >if I insert, before the speaker.beep (), the fragment
  7436. >
  7437. >    while not (sys.frontmostApp () contains "Frontier")
  7438. >        sys.systemTask () =AB or clock.waitSeconds (1); it doesn't matter
  7439. >
  7440. >my system will hang. If I just insert clock.waitSeconds (10) instead, the
  7441. >system will wait 10 seconds, then I'll hear the beep, and *then* Eudora
  7442. >will begin compacting the mailboxes. It appears that I'm having trouble
  7443. >getting Frontier to relinquish the system. Since I'm running under OSA
  7444. >Menu, Eudora is in front when all this starts. Thanks in advance.
  7445. >
  7446.  
  7447. David,
  7448.  
  7449. The trouble is specific to running the script under OSA Menu. It doesn't
  7450. (can't?) provide the appropriate callback routines for reliably handling
  7451. background events while executing an OSA script (i.e. an IdleProc and an
  7452. EventFilter). The basically turns calls like sys.systemTask and
  7453. clock.waitSeconds into noops.
  7454.  
  7455. One way to work around this is to save the script as a desktop script, and
  7456. then call it from your OSA menu using FileMenu.open:
  7457.  
  7458.     FileMenu.open ("path:to:real:script")
  7459.  
  7460. This will allow Frontier to run the script in it's own layer, and it will
  7461. work as you'd expect.
  7462.  
  7463. Doug
  7464.  
  7465. p.s. Leonard: would it be possible to provide these callbacks in the next
  7466. release? It would help a lot.
  7467. =========================================================================
  7468. Date:         Wed, 13 Jul 1994 17:07:13 -0800
  7469. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7470. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7471. From:         David Lewis <lewis@NETCOM.COM>
  7472. Subject:      Re: Making Frontier wait for KeyQuencer
  7473.  
  7474. >David,
  7475. >
  7476. >The trouble is specific to running the script under OSA Menu. It doesn't
  7477. >(can't?) provide the appropriate callback routines for reliably handling
  7478. >background events while executing an OSA script (i.e. an IdleProc and an
  7479. >EventFilter). The basically turns calls like sys.systemTask and
  7480. >clock.waitSeconds into noops.
  7481. >
  7482. >One way to work around this is to save the script as a desktop script, and
  7483. >then call it from your OSA menu using FileMenu.open:
  7484. >
  7485. >    FileMenu.open ("path:to:real:script")
  7486. >
  7487. >This will allow Frontier to run the script in it's own layer, and it will
  7488. >work as you'd expect.
  7489. >
  7490. >Doug
  7491. >
  7492. >p.s. Leonard: would it be possible to provide these callbacks in the next
  7493. >release? It would help a lot.
  7494.  
  7495. Thanks, Doug. It works like a charm.
  7496.  
  7497.         David
  7498.  
  7499. David Lewis     Seagate Technology      (408) 439-2374  lewis@netcom.com
  7500. =========================================================================
  7501. Date:         Wed, 13 Jul 1994 21:17:49 -0400
  7502. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7503. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7504. From:         anthony brown <anbrown@HUSC9.HARVARD.EDU>
  7505. Subject:      What's the maximum size of a string in applescript/frontmost
  7506.  
  7507. Like the question says...  what is it?
  7508.  
  7509. Anthony
  7510.  
  7511. *************************************************************************
  7512. *                                                                       *
  7513. *  Anthony Brown, Harvard University                                    *
  7514. *                                                                       *
  7515. *  "You need my love, baby oh so bad,                                   *
  7516. *  "You're not the only one I've ever had,                              *
  7517. *  "And if I say I wanna set you free,                                  *
  7518. *  "Don't you know you'll be in misery?                                 *
  7519. *  "They call me Dr. Love. I've got the cure you're thinking of!        *
  7520. *  Gene Simmons circa 1976                                              *
  7521. *                                                                       *
  7522. *  The Dolphins will win the superbowl in '95!!!                        *
  7523. *                                                                       *
  7524. *************************************************************************
  7525. =========================================================================
  7526. Date:         Wed, 13 Jul 1994 19:28:47 -0700
  7527. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7528. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7529. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  7530. Subject:      Re: What's the maximum size of a string in applescript/frontmost
  7531.  
  7532. >Like the question says...  what is it?
  7533. >
  7534. How big is your memory?
  7535.  
  7536.   Seriously, available memory will be the limiting factor.  The fairly
  7537. small former limit to total size of an Apple event has been patched away
  7538. (there may be a new larger limit...I haven't encountered it).
  7539.  
  7540.    Every length field I have run across in the technology is 4 bytes
  7541. long...that doesn't mean I haven't missed a two-byte bottleneck somewhere.
  7542.  
  7543. Unless you are planning in terms of multi-page text, you should be OK.
  7544. Increasing partitions may become desirable at some point.
  7545.  
  7546.    --John
  7547.  
  7548. --
  7549. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  7550. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  7551. =========================================================================
  7552. Date:         Wed, 13 Jul 1994 19:55:35 -0700
  7553. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7554. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7555. From:         "Dale L. Thomas" <dalet@HALCYON.HALCYON.COM>
  7556. Subject:      MACSCRPT
  7557.  
  7558. UNSUBSRIBE
  7559.  
  7560. *************************************************************
  7561. dalet@halcyon.com or dale@celtech.com
  7562.  
  7563. To understand recursion, you must first understand recursion.
  7564. *************************************************************
  7565. =========================================================================
  7566. Date:         Wed, 13 Jul 1994 23:04:32 -0500
  7567. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7568. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7569. From:         David Myers <dcmyers@ACCESS.DIGEX.NET>
  7570. Subject:      Re: Frontier: controlling menubar objects
  7571.  
  7572. >David,
  7573. >
  7574. >No, the  problem isn't clear to me. What's wrong with menu.deleteSubMenu?
  7575. >It will delete an entire menu heirarchy. You could then build it anew. Or,
  7576. >if the problem is that you want to update the submenu in place, you can
  7577. >build the new version and then call menu.addSubMenu. Frontier will notice
  7578. >that the menu names match and will replace the old version. There shouldn't
  7579. >be any problem maintaining the "Frequent" menu as you described.
  7580. >
  7581. >Doug
  7582.  
  7583.  
  7584. Doug:
  7585.  
  7586. Yes, thank you.  I was mistaken, and I caught it about two minutes
  7587. after I sent that message.  I assumed that addSubMenu did just that --
  7588. added *submenus* (you know, like hierarchical ones), whereas I wanted
  7589. to add a *menu*.  Dumb mistake.
  7590.  
  7591. -David.
  7592. =========================================================================
  7593. Date:         Thu, 14 Jul 1994 11:47:44 +0000
  7594. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7595. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7596. From:         WalrathW <walrathw@RFERL.ORG>
  7597. Subject:      Re: cancel
  7598.  
  7599. _______________________________________________________________________________
  7600. > From: Macintosh Scripting Systems on 13 Jul, 1994 20:50
  7601. > Subject: cancel
  7602. > To: Multiple recipients of list MACSCRPT
  7603. >
  7604. > What command do I issue to log off of this mailing list and what is the
  7605. > correct address. I have tried several things but none seem to work.
  7606. >
  7607. (disclaimer: I'm not trying to flame you specifically, I think I'm presenting
  7608. good advice for all the people like you out there.)
  7609.  
  7610. I would just like to point out the obvious to people who are having trouble
  7611. getting off a list. I can understand someone being a bit unsure how to get on
  7612. one, but gettting off is different. With almost every listserver, after
  7613. subscribing you receive a message similar to this one:
  7614.  
  7615. >
  7616. > Dear networker,
  7617. >
  7618. >   Your subscription  to list  MACSCRPT (Macintosh  Scripting Systems)
  7619. > has been
  7620. > accepted.
  7621. >
  7622. >   You may leave the list at any time by sending a "SIGNOFF MACSCRPT"
  7623. > command to
  7624. > LISTSERV@DARTCMS1.BITNET (or LISTSERV@DARTCMS1.DARTMOUTH.EDU). Please
  7625. > note that
  7626. > this command  must NOT be sent  to the list address  (MACSCRPT@DARTCMS1)
  7627. > but to
  7628. > the LISTSERV address (LISTSERV@DARTCMS1).
  7629. >
  7630. >   The  amount of  acknowledgement  you  wish to  receive  from  this
  7631. > list  upon
  7632. > completion of a  mailing operation can be  changed by means of  a "SET
  7633. > MACSCRPT
  7634. > option" command,  where "option"  may be  either "ACK"  (mail
  7635. > acknowledgement),
  7636. > "MSGACK" (interactive messages only) or "NOACK".
  7637. >
  7638. >   Contributions sent to this list are  automatically archived. You can
  7639. > obtain a
  7640. > list of the  available archive files by sending an  "INDEX MACSCRPT"
  7641. > command to
  7642. > LISTSERV@DARTCMS1.BITNET (or LISTSERV@DARTCMS1.DARTMOUTH.EDU).  These
  7643. > files can
  7644. > then be retrieved by  means of a "GET MACSCRPT filetype"  command, or
  7645. > using the
  7646. > database search  facilities of  LISTSERV. Send an  "INFO DATABASE"
  7647. > command for
  7648. > more information on the latter.
  7649. >
  7650. >   Please note that  it is presently possible for anybody  to determine
  7651. > that you
  7652. > are  signed up  to the  list through  the use  of the  "REVIEW" command,
  7653. >  which
  7654. > returns the network address and name of all the subscribers. If you do
  7655. > not wish
  7656. > your name to be available to others in this fashion, just issue a "SET
  7657. > MACSCRPT
  7658. > CONCEAL" command.
  7659. >
  7660. >   More information on LISTSERV commands can  be found in the LISTSERV
  7661. > reference
  7662. > card,  which  you  can  retrieve  by  sending  an  "INFO  REFCARD"
  7663. > command  to
  7664. > LISTSERV@DARTCMS1.BITNET (or LISTSERV@DARTCMS1.DARTMOUTH.EDU).
  7665. >
  7666. > Virtually,
  7667. >
  7668. >    The LISTSERV management
  7669.  
  7670. When you get these things, file them away in a folder called Mailing Lists or
  7671. whatever pleases you, and then you'll always know how to de-subscribe, and not
  7672. have to embarrass yourself with these broadcast messages, nor clutter other
  7673. people's mailboxes.
  7674.  
  7675. -wayne
  7676. =========================================================================
  7677. Date:         Thu, 14 Jul 1994 08:00:39 -0400
  7678. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7679. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7680. From:         Kiran Wagle <groo@NETCOM.COM>
  7681. Subject:      Apple's scripting packages
  7682.  
  7683. Can someone tell me what's in the different AppleScript packages that Apple
  7684. sells?  Or can you point me at a FAQ that could answer such questions?
  7685.  
  7686. Clueless as ever,
  7687.  
  7688. ~ Kiran <groo@netcom.com>
  7689.  
  7690. --
  7691. 6216 41st Avenue Hyattsville MD 20782 301/779-0756 <groo@netcom.com>
  7692. =========================================================================
  7693. Date:         Thu, 14 Jul 1994 14:45:16 +0100
  7694. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7695. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7696. From:         Jean Berthomieu <berthoms@FRBDX11.CRIBX1.U-BORDEAUX.FR>
  7697. Subject:      Re: AS 1.1
  7698. In-Reply-To:  <9407132043.AA13937@frbdx11.cribx1.u-bordeaux.fr> from "Roy
  7699.               Rapoport" at Jul 13, 94 12:36:08 pm
  7700.  
  7701. >
  7702. > AS 1.1
  7703. > I seem to remember that there was an upgrade from AppleScript v 1.0 to
  7704. > AppleScript v 1.1 available somewhere on the network.  Anybody got a pointer?
  7705. >
  7706. > -roy
  7707. >
  7708.  
  7709.  Yes! AppleScript 1.1 is part of the PlainTalk Package for PowerMacs.
  7710.  
  7711.  You can gopher it from info.hed.apple.com, somewhere in :
  7712.  /Apple Support Area
  7713.    /Apple.Software.Updates
  7714.      /Supplemental.System.SW
  7715.        /PlainTalk.for.PowerMac
  7716.  
  7717.                              PlainTalk.for.PowerMac
  7718.  
  7719.  -->  1.  About.PlainTalk.User.Guide.txt.
  7720.       2.  PlainTalk.User.Guide.sea.hqx <HQX>
  7721.       3.  PlainTalk1.sea.hqx <HQX>
  7722.       4.  PlainTalk2.sea.hqx <HQX>
  7723.       5.  PlainTalk3.sea.hqx <HQX>
  7724.       6.  PlainTalk4.sea.hqx <HQX>
  7725.       7.  PlainTalk5.sea.hqx <HQX>
  7726.       8.  ReadMe-PlainTalk.for.Pwr.Mac.txt.
  7727. =========================================================================
  7728. Date:         Thu, 14 Jul 1994 09:07:19 -0400
  7729. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7730. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7731. From:         Peter 'Happy' Thomas <gt5139c@PRISM.GATECH.EDU>
  7732. Subject:      Re: AS 1.1
  7733. In-Reply-To:  <199407141247.IAA27033@acmex.gatech.edu> from "Jean Berthomieu"
  7734.               at Jul 14, 94 02:45:16 pm
  7735.  
  7736. Does that mean only PowerMac users can use it?
  7737.  
  7738. --Pete
  7739. =========================================================================
  7740. Date:         Thu, 14 Jul 1994 09:41:48 -0400
  7741. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7742. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7743. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  7744. Subject:      Re: (2) Frontmost Info
  7745. In-Reply-To:  <no.id> from "Shaddar@aol.com" at Jul 13, 94 07:00:45 pm
  7746.  
  7747. --Shaddar@aol.com wrote:
  7748. >
  7749. >Will it come with the applescript on the powermac I'm gonna buy next month?
  7750.  
  7751.     Ok, here the way this could work... First of all, if you get a Power
  7752. Mac that's been on the shelf for a couple of weeks, the definite answer
  7753. is no. The AppleScript 1.1 extensions should be included, but that's
  7754. it. If it's a brand new Power Mac from Apple, and System 7.5 has
  7755. shipped, and Apple has bundled it with the current Power Macs, then
  7756. there is a possibility that the AppleScript set-up that comes with 7.5
  7757. could have the FaceSpan environment included. Sound doubtful? Good,
  7758. because it's currently very doubtful.
  7759.  
  7760. -Hades
  7761. =========================================================================
  7762. Date:         Thu, 14 Jul 1994 09:43:52 -0400
  7763. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7764. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7765. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  7766. Subject:      Re: AS 1.1
  7767. In-Reply-To:  <no.id> from "Peter 'Happy' Thomas" at Jul 14, 94 09:07:19 am
  7768.  
  7769. --Peter 'Happy' Thomas wrote:
  7770. >
  7771. >Does that mean only PowerMac users can use it?
  7772.  
  7773.     What it means is only non-Av Power Mac owners are supposed to
  7774. download the disk images. Since Apple doesn't put any restrictions on
  7775. who can download from their internet sites this is pretty much up for
  7776. grabs. There is, however, no documentation whatsoever included with this
  7777. installation.
  7778.  
  7779. -Hades
  7780. =========================================================================
  7781. Date:         Thu, 14 Jul 1994 10:05:40 -0500
  7782. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7783. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7784. From:         Nathaniel Comfort at Cold Spring Harbor Lab <comfort@CSHL.ORG>
  7785. Subject:      FMPro:changing layout on the fly
  7786.  
  7787. Greetings--
  7788. I am just getting started with AS and don't even know enough to tell if
  7789. this is trivial or impossible. I wanted to write a script that watched the
  7790. contents of a FileMaker Pro field and automatically switched to the
  7791. appropriate layout. It's a database of the contents of a newsletter, which
  7792. has different departments depending on which issue it is (e.g., Spring
  7793. issue has one set of departments, Summer issue has another).
  7794.  
  7795. I have gotten as far as something that will look at the current record and
  7796. switch to the right layout when I run the script (e.g., from OSA menu), but
  7797. I'd like it to run automatically, to be lurking in the background, waiting
  7798. with bated breath for me to change records, and then spring into action.
  7799.  
  7800. Thanks for any help or suggestions,
  7801. Nathaniel Comfort
  7802. =========================================================================
  7803. Date:         Thu, 14 Jul 1994 07:48:40 -0800
  7804. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7805. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7806. From:         Greg Francis <gfrancis@ESDTCOM.WEDNET.EDU>
  7807. Subject:      Opening a DA from AppleScript?
  7808.  
  7809. How can I open a DA using AppleScript?
  7810.  
  7811. Thanks,
  7812.  
  7813. Greg Francis
  7814. =========================================================================
  7815. Date:         Thu, 14 Jul 1994 11:14:13 EDT
  7816. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7817. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7818. From:         "Andy J. Williams" <Andy.J.Williams@DARTMOUTH.EDU>
  7819. Subject:      MS: Monthly Harrange
  7820.  
  7821. [This message is now part of the Welcome message users receive when they
  7822. first sign on. So, there really is no excuse not know this. Please *SAVE* it!
  7823. -ajw]
  7824.  
  7825. Save this mail message. It includes all the e-mail addresses you need when
  7826. dealing with the Mac Scripting mailing list.
  7827.  
  7828. *** To Unsubscribe from this list:
  7829.  
  7830. Send to: LISTSERV@dartmouth.edu
  7831. Subject: unsubscribe
  7832. Message: signoff macscrpt
  7833.  
  7834.  
  7835. *** To subscribe to this list:
  7836.  
  7837. Send to: LISTSERV@dartmouth.edu
  7838. Subject: subscribe
  7839. Message: subscribe macscrpt <your full name here>
  7840.  
  7841.  
  7842. *** To receive the mail as daily digest:
  7843.  
  7844. Send to: LISTSERV@dartmouth.edu
  7845. Subject: digest
  7846. Message: set macscrpt digest
  7847.  
  7848.  
  7849. *** To get other info on using this automated system:
  7850.  
  7851. Send to: LISTSERV@dartmouth.edu
  7852. Subject: help
  7853. Message: help
  7854.  
  7855.  
  7856. *** To ask the human moderators a question:
  7857.  
  7858. Send to: MacScripting-Request@dartmouth.edu
  7859.  
  7860.  
  7861. *** To send a message to the mailing list:
  7862.  
  7863. Send to: MacScripting@dartmouth.edu
  7864.  
  7865.  
  7866. Thanks.
  7867.  
  7868. -The Moderators (a very offcial way of saying "Fred & Andy")
  7869. =========================================================================
  7870. Date:         Thu, 14 Jul 1994 10:16:05 -0500
  7871. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7872. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7873. From:         Kevin Burke <burke@KCMETRO.CC.MO.US>
  7874. Subject:      Eudora Sorting Scripts
  7875.  
  7876. I've been following this list since late May.  I've seen several people
  7877. discuss their eudora scripts and in some cases include portions of them.
  7878. If possible I would like to get a copy of the complete/completed scripts.
  7879. I am looking into purchasing Eudora 2.0, but wont be able to for several
  7880. months.
  7881.  
  7882. Any help will be greatly appreciated.
  7883.  
  7884. -Kevin
  7885. burke@kcmetro.cc.mo.us
  7886. Coordinator of Networks & Users Services
  7887. Maple Woods Community College
  7888. =========================================================================
  7889. Date:         Thu, 14 Jul 1994 10:29:03 -0500
  7890. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7891. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7892. From:         "Brian C. Forney" <umich.edu@?C~.BITNET>
  7893. Subject:      Anarchie 1.21 & AppleScript problem
  7894.  
  7895. I'm trying to script Anarchie 1.21. I'd like to use the store command to put a
  7896. file to a remote computer, but the below script is giving me some data type
  7897. problems.
  7898.  
  7899. on open myFile
  7900.         --set up the ftp info
  7901.         set destinationSite to "copper.engin.umich.edu"
  7902.         set userName to "bforney"
  7903.         set userPassword to text returned of ?
  7904.                 (display dialog "Please enter your password:" default answer "")
  7905.         set sendFile to myFile as string -- turn file into a string
  7906.  
  7907.         tell application "Anarchie"
  7908.                 activate
  7909.                 store host destinationSite path "~" name sendFile user userName
  7910. password
  7911. userPassword
  7912.         end tell
  7913. end open
  7914.  
  7915. The script seems to die on the store command with an error "Can't make some data
  7916. into the expected type." All of the parameters for the store command should be
  7917. strings, but I can't figure out why they aren't passed as strings. (I have
  7918. changed the set statements to include "as string" but this doesn't help.)
  7919.  
  7920. Brian Forney
  7921. brian.forney@fallon.com
  7922. bforney@umich.edu
  7923. =========================================================================
  7924. Date:         Thu, 14 Jul 1994 10:41:37 -0500
  7925. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7926. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7927. From:         Fred Terry <pfterry@LKS.CSI.COM>
  7928. Subject:      Re: Eudora Sorting Scripts
  7929. In-Reply-To:  Your message of "Thu, 14 Jul 94 10:16:05 CDT"
  7930.  
  7931. >I've been following this list since late May.  I've seen several people
  7932. >discuss their eudora scripts and in some cases include portions of them.
  7933. >If possible I would like to get a copy of the complete/completed scripts.
  7934. >I am looking into purchasing Eudora 2.0, but wont be able to for several
  7935. >months.
  7936. >
  7937.  
  7938. I've seen several other requests likec Kevin's and received a couple of direct
  7939. requests for scripts, so I'd like to make a suggestion.
  7940.  
  7941. If you are interested in sharing your scripts and wouldn't mind placing them
  7942. on gaea, consider doing a few things and then drop them in the incoming
  7943. directory.
  7944.  
  7945.         *save them in text format
  7946.         *place your name at the top of the script so you get proper credit
  7947.         *include any copyright info or distribution restrictions
  7948.         *include a list of osaxen used by the script and the version numbers
  7949.         *whatever else I haven't thought of
  7950.  
  7951. Most importantly, if you place something in the incoming directory, be sure to
  7952. let me know that it's there as well as what it is.
  7953.  
  7954. Thanks.
  7955.  
  7956. pf
  7957.  
  7958.  
  7959. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  7960. Fred Terry, The Alta Group, pfterry@lks.csi.com, +1 913/841-1283
  7961. =========================================================================
  7962. Date:         Thu, 14 Jul 1994 12:38:41 EST
  7963. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7964. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7965. From:         "Klaus P. Fechner" <klaus@SPARKY.RAD.MED.UMICH.EDU>
  7966. Subject:      Re: AS 1.1
  7967.  
  7968. >Does that mean only PowerMac users can use it?
  7969.  
  7970. No, I'm using it on my Q650. In order to also get the new version of the
  7971. Script Editor which is included on disk 2 you will need to run a full
  7972. install including the speech stuff that you probably won't be able to use.
  7973.  
  7974. Klaus
  7975.  
  7976. ------------------------------------------------------------------------
  7977. Klaus P. Fechner<klaus@sparky.rad.med.umich.edu> VAMC Palo Alto, CA, USA
  7978. =========================================================================
  7979. Date:         Thu, 14 Jul 1994 10:47:31 -0700
  7980. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7981. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  7982. From:         "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  7983. Subject:      Checking for the Existence of a Disk
  7984.  
  7985. I'm using AppleScript together with Finder Liaison 1.1 to copy something
  7986. from a remote disk onto a local disk.  My problem is simple: I need either
  7987. A) a way to find whether the remote disk in question is mounted on the desktop
  7988. or
  7989. B) a way to mount eh remote disk (Gosh, how about "mount disk X of machine
  7990. Y as user Z with password foobar"? :) )
  7991.  
  7992. Any suggestions?
  7993.  
  7994. -roy
  7995.  
  7996. Roy S. Rapoport -- rsr@mail.berksys.com -- rsr@berksys.com
  7997. 510-540-5535 ext. 280
  7998. "It Wasn't Me"
  7999. =========================================================================
  8000. Date:         Thu, 14 Jul 1994 14:23:30 -0400
  8001. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  8002. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  8003. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  8004. Subject:      Re: Anarchie 1.21 & AppleScript problem
  8005. In-Reply-To:  <no.id> from "Brian C. Forney" at Jul 14, 94 10:29:03 am
  8006.  
  8007. --Brian C. Forney wrote:
  8008. >
  8009. >I'm trying to script Anarchie 1.21. I'd like to use the store command to put a
  8010. >file to a remote computer, but the below script is giving me some data type
  8011. >problems.
  8012.  
  8013.     I've found that Anarchie does quite well with AppleScript, although
  8014. there is a bit of a learning curve. The sample scripts that Peter N.
  8015. Lewis supplies with Anarchie are very helpful in this respect.
  8016.  
  8017. >on open myFile
  8018. >    --set up the ftp info
  8019. >    set destinationSite to "copper.engin.umich.edu"
  8020. >    set userName to "bforney"
  8021. >    set userPassword to text returned of ?
  8022. >            (display dialog "Please enter your password:" default answer "")
  8023. >    set sendFile to myFile as string -- turn file into a string
  8024. >
  8025. >    tell application "Anarchie"
  8026. >            activate
  8027. >            store host destinationSite path "~" name sendFile user userName ?
  8028. >                password userPassword
  8029. >        end tell
  8030. >end open
  8031. >
  8032. >The script seems to die on the store command with an error "Can't make
  8033. >some data into the expected type." All of the parameters for the store
  8034. >command should be strings, but I can't figure out why they aren't passed
  8035. >as strings. (I have changed the set statements to include "as string"
  8036. >but this doesn't help.)
  8037.  
  8038.     Well, the first thing I would do is drop the 'path "~"' part of this
  8039. command, because this could be causing the problem, I really don't know
  8040. for sure. I do know that this part of the command is unecessarily
  8041. redundant when you are ftping to a Unix host since the default directory
  8042. of a private account is "~". It is also redundant if you are supplying
  8043. the file name in the 'name sendFile' part of the command.
  8044.     You will want to either drop the path "~" and just use the name
  8045. sendFile or you should drop the name sendFile and supply a full pathname
  8046. for the file being stored. You can also do what I do most of the time
  8047. and contruct a URL out of the various parts and just supply the URL to
  8048. the store command.
  8049.  
  8050. -Hades
  8051. =========================================================================
  8052. Date:         Thu, 14 Jul 1994 11:30:28 -0700
  8053. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  8054. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  8055. From:         "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  8056. Subject:      Path To Me
  8057.  
  8058. Is there any way for an Applescript script to find where it's
  8059. located?
  8060.  
  8061. -roy
  8062.  
  8063. Roy S. Rapoport -- rsr@mail.berksys.com -- rsr@berksys.com
  8064. 510-540-5535 ext. 280
  8065. "It Wasn't Me"
  8066. =========================================================================
  8067. Date:         Thu, 14 Jul 1994 13:37:54 -0500
  8068. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  8069. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  8070. From:         Fred Terry <pfterry@LKS.CSI.COM>
  8071. Subject:      AppleScript Finder Guide
  8072.  
  8073. For those who have the scriptable Finder through a source other than APDA, you
  8074. can get the AppleScript Finder Guide ($19.95, 176 pp., ISBN 0-201-40910-0)
  8075. directly from Addison-Wesley (800.824.7799).
  8076.  
  8077. Remember, an additional 5.00 bucks get you a disk with the Finder and the
  8078. extensions when you order it from APDA.
  8079.  
  8080. pf
  8081. =========================================================================
  8082. Date:         Thu, 14 Jul 1994 11:55:01 -0700
  8083. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  8084. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  8085. From:         Kevin Purcell <xenolith@HALCYON.COM>
  8086. Subject:      Re: Checking for the Existence of a Disk
  8087.  
  8088. >I'm using AppleScript together with Finder Liaison 1.1 to copy something
  8089. >from a remote disk onto a local disk.  My problem is simple: I need either
  8090. >A) a way to find whether the remote disk in question is mounted on the desk=
  8091. top
  8092.  
  8093. With the scriptable finder (the panacea!)
  8094.  
  8095. tell application "Finder"
  8096.         if disk "Berserker Base" exists then ... -- or
  8097.         if exists disk "Berserker Base" then ...
  8098. end tell
  8099.  
  8100. >B) a way to mount eh remote disk (Gosh, how about "mount disk X of machine
  8101. >Y as user Z with password foobar"? :) )
  8102.  
  8103. Use the Finder to open an alias to the volume (I know this is a wimpy way ou=
  8104. t).
  8105.  
  8106. There is a MountVol OSAX someplace on gaea.
  8107.  
  8108. Tue Jun 28 11:45:28 1994
  8109. 2:0.0.0 Successfully received MACAPP.ADMIN@apple=E4, 6:13 PM 6/28/9=E4,Inter=
  8110. net
  8111. limitation (1)
  8112. 2:0.2.53 Successfully received Leonard Rosenthol,11:04 AM 6/28/9=E4,Re:
  8113. Calling a script from an application (1)
  8114. Tue Jun 28 16:37:51 1994
  8115. 1:0.0.3 halcyon.com 25
  8116. 1:0.2.18 Sending seanbe@microsoft.com, Re: FW: 2 die seeing E.C..
  8117. 1:0.7.35 Succeeded.
  8118. 2:0.31.47 halcyon.com 110 (14)
  8119. 2:0.34.27 Successfully received John F. Woods, 2:47 PM 6/28/9=E4,Re: Field
  8120. Day Class 15A?! (1)
  8121. 2:0.37.35 Successfully received Jeff Robbins, 2:30 PM 6/28/9=E4,How to use a
  8122. text window in Eudora (1)
  8123. 2:0.40.25 Successfully received John W. Baxter,11:05 AM 6/28/9=E4,Re: Event
  8124. Manager (1)
  8125. 2:0.43.1 Successfully received Magnus Krampell, 1:13 PM 6/28/9=E4,CMOS
  8126. Superkeyer II from Idiom Press ? (1)
  8127. 2:0.46.0 Successfully received B. Bruce Brinson, 2:34 PM 6/28/9=E4,Re: Event
  8128. Manager take 2 (1)
  8129. 2:0.48.44 Successfully received Doug Baron,11:34 AM 6/28/9=E4,Re: Frontier:
  8130. kAENoUserInteraction (or whatever it's called... (1)
  8131. 2:0.51.43 Successfully received Taylor Leaming H3-=E4, 1:41 PM
  8132. 6/28/9=E4,Scripting Eudora through a firewall? (1)
  8133. 2:0.54.41 Successfully received William N. Blake, 2:46 PM 6/28/9=E4,Re: Even=
  8134. t
  8135. Manager (1)
  8136. 2:0.57.9 Successfully received John F. Woods, 2:47 PM 6/28/9=E4,Re: Field Da=
  8137. y
  8138. Class 15A?! (1)
  8139. 2:0.59.59 Successfully received Kevin Purcell,11:44 AM 6/28/9=E4,Re: Field
  8140. Day Class 15A?! (1)
  8141. 2:1.2.28 Successfully received Sandro Menzel,12:08 PM 6/28/9=E4,Re: I need
  8142. Cherie Nickell's phone number (1)
  8143. 2:1.5.20 Successfully received Kee Nethery +1 408=E4, 1:10 PM 6/28/9=E4,Re: =
  8144. How
  8145. to use a text window in Eudora (1)
  8146. 2:1.9.46 Successfully received Fred Terry, 3:51 PM 6/28/9=E4,Info about
  8147. Scripter (1)
  8148. 2:1.12.56 Successfully received Jeremy Howard, 9:28 AM 6/29/9=E4,Re:
  8149. Scripting Eudora through a firewall? (1)
  8150. Wed Jun 29 08:55:02 1994
  8151. 1:0.0.4 halcyon.com 25
  8152. 1:0.17.27 Sending John F. Woods, Re: Field Day Class 15A?!.
  8153. 1:0.42.58 Succeeded.
  8154. 1:0.46.40 Sending Sandro Menzel, Re: I need Cherie Nickell's phone number.
  8155. 1:0.52.32 Succeeded.
  8156. 2:0.56.31 halcyon.com 110 (23)
  8157. 2:0.59.37 Successfully received Lawrence D'Oliveiro,12:05 PM 6/29/9=E4,Re> I=
  8158. s
  8159. this an AppleScript bug? (1)
  8160. 2:1.2.32 Successfully received nmodena@unity.ncsu=E4, 6:47 PM 6/28/9=E4,QRP =
  8161. FD
  8162. in Raleigh NC (1)
  8163. 2:1.5.0 Successfully received Bookbinder, 4:44 PM 6/28/9=E4,sort order (1)
  8164. 2:1.12.11 Successfully received Christopher Allen, 5:43 PM 6/28/9=E4,Everyda=
  8165. y
  8166. AppleScript(tm) Contest Winners! (1)
  8167. 2:1.34.45 Successfully received The Info-Mac Moder=E4, 6:33 PM
  8168. 6/28/9=E4,Info-Mac Digest V12 #91 1/4 (4)
  8169. 2:1.37.45 Successfully received Lawrence D'Oliveiro, 2:52 PM 6/29/9=E4,Re>
  8170. error -610 (1)
  8171. 2:1.40.24 Successfully received Lawrence D'Oliveiro, 3:05 PM 6/29/9=E4,MIME
  8172. disappointment (1)
  8173. 2:1.43.12 Successfully received Craig Richmond,11:31 AM 6/29/9=E4,Re: MIME
  8174. disappointment (1)
  8175. 2:1.45.52 Successfully received "Lawrence D'Olivei=E4, 4:51 PM 6/29/9=E4,Re:
  8176. MIME disappointment (1)
  8177. 2:1.48.42 Successfully received Mike Czuhajewski,11:36 PM 6/28/9=E4,Where ar=
  8178. e
  8179. archives? (1)
  8180. 2:1.53.4 Successfully received Mike Czuhajewski,11:32 PM 6/28/9=E4,More=
  8181.  coils (1)
  8182. 2:1.56.21 Successfully received John W. Baxter,10:20 PM 6/28/9=E4,Re: Re> Is
  8183. this an AppleScript bug? (1)
  8184. 2:1.59.28 Successfully received John W. Baxter,10:37 PM 6/28/9=E4,Re: error
  8185. -610 (1)
  8186. 2:2.2.55 Successfully received Steve Palmen,11:30 PM 6/28/9=E4,Re: I need
  8187. Cherie Nickell's phone number (1)
  8188. 2:2.6.58 Successfully received stark,11:27 PM 6/28/9=E4,Re: CMOS Superkeyer
  8189. II from Idiom Press ? (1)
  8190. 2:2.9.30 Successfully received stark,11:32 PM 6/28/9=E4,Manual help (1)
  8191. 2:2.12.17 Successfully received Stan Goldstein, N6=E4,11:37 PM
  8192. 6/28/9=E4,archive access (1)
  8193. 2:2.14.48 Successfully received Dean J. Spearman, 7:57 AM 6/29/9=E4,Re:
  8194. Analyzing checkboxes (1)
  8195. 2:2.18.21 Successfully received Dean J. Spearman, 7:58 AM 6/29/9=E4,Re: clea=
  8196. n
  8197. page breaking? (1)
  8198. 2:2.20.45 Successfully received Ernst 'pooh' Mulder, 2:12 PM 6/29/9=E4,Re:
  8199. clean page breaking? (1)
  8200. 2:2.23.31 Successfully received Fred Terry, 8:54 AM 6/29/9=E4,formatted
  8201. number/string conversion UCMD (1)
  8202. 2:2.26.12 Successfully received David Lewis, 8:33 AM 6/29/9=E4,Re: MIME
  8203. disappointment (1)
  8204. 2:2.30.30 Successfully received nmodena@unity.ncsu=E4,10:01 AM 6/29/9=E4,QRP
  8205. archives...via gopher (1)
  8206. Wed Jun 29 09:15:43 1994
  8207. 1:0.0.2 halcyon.com 25
  8208. 1:0.2.21 Sending dBug-SIG, SIG Meeting on **June 30th**.
  8209. 1:0.14.23 Succeeded.
  8210. Wed Jun 29 09:23:42 1994
  8211. 2:0.0.2 halcyon.com 110 (1)
  8212. 2:0.2.26 Successfully received John F. Woods,12:00 PM 6/29/9=E4,Re: Field Da=
  8213. y
  8214. Class 15A?! (1)
  8215. Wed Jun 29 10:52:46 1994
  8216. 1:0.0.3 halcyon.com 25
  8217. 1:0.3.5 Sending John F. Woods, Re: Field Day Class 15A?!.
  8218. 1:0.21.10 Succeeded.
  8219. 1:0.25.47 Sending AppleScript, Is it Scriptor or scripter?.
  8220. 1:0.37.52 Succeeded.
  8221. 2:0.42.21 halcyon.com 110 (6)
  8222. 2:0.45.15 Successfully received John Littlefield,11:31 AM 6/29/9=E4,Re: clea=
  8223. n
  8224. page breaking- solutions (1)
  8225. 2:0.47.50 Successfully received Chris Colebank, 9:26 AM 6/29/9=E4,copying
  8226. files to Novell vol (1)
  8227. 2:0.54.55 Successfully received John Littlefield,11:42 AM 6/29/9=E4,Re: clea=
  8228. n
  8229. page breaking? (1)
  8230. 2:0.57.37 Successfully received John Littlefield,12:18 PM 6/29/9=E4,Re: sort
  8231. order (1)
  8232. 2:1.0.56 Successfully received W0HEP@aol.com,12:05 PM 6/29/9=E4,CQC FD 94 (1=
  8233. )
  8234. 2:1.3.42 Successfully received william.redfearn.c=E4, 8:06 AM 6/29/9=E4,Inde=
  8235. x
  8236. Labs Phone Number? (1)
  8237. Wed Jun 29 12:44:55 1994
  8238. 2:0.0.3 halcyon.com 110 (7)
  8239. 2:0.4.20 Successfully received 1.7f, 1:54 PM 6/29/9=E4,Output of your job
  8240. "MACSCRPT" (1)
  8241. 2:0.12.57 Successfully received Brian V. Hughes, 2:19 PM 6/29/9=E4,Re: Is it
  8242. Scriptor or scripter? (1)
  8243. 2:0.15.25 Successfully received Brian V. Hughes, 2:19 PM 6/29/9=E4,Re: Is it
  8244. Scriptor or scripter? (1)
  8245. 2:0.20.39 Successfully received Christian Orellana, 7:37 PM 6/29/9=E4,Help!
  8246. ClarisWorks upgrade disintegrated aete resource (1)
  8247. 2:0.23.15 Successfully received John W. Baxter,11:59 AM 6/29/9=E4,Re: Is it
  8248. Scriptor or scripter? (1)
  8249. 2:0.29.50 Successfully received John W. Baxter,12:02 PM 6/29/9=E4,Real Re: I=
  8250. s
  8251. it Scriptor or scripter? (1)
  8252. 2:0.32.33 Successfully received TOM FORD - DUPONT =E4, 3:32 PM 6/29/9=E4,Re:
  8253. sort order (1)
  8254. Wed Jun 29 13:55:14 1994
  8255. 2:0.0.2 halcyon.com 110 (3)
  8256. 2:0.2.35 Successfully received Robert Burns,12:49 PM 6/29/9=E4,ASD Puget
  8257. Sound July Meeting Reminder (1)
  8258. 2:0.5.2 Successfully received John W. Baxter, 1:18 PM 6/29/9=E4,Re: SIG
  8259. Meeting on **June 30th** (1)
  8260. 2:0.7.26 Successfully received Peter Furmonavicius, 4:39 PM 6/29/9=E4,AS
  8261. question (1)
  8262. Wed Jun 29 15:31:30 1994
  8263. 2:0.0.3 halcyon.com 110 (3)
  8264. 2:0.3.58 Successfully received Brian V. Hughes, 5:04 PM 6/29/9=E4,Re: AS
  8265. question (1)
  8266. 2:0.6.22 Successfully received MIND.MOTION@applel=E4, 9:45 PM
  8267. 6/29/9=E4,Subclassing under SOM (1)
  8268. 2:0.8.46 Successfully received K. R. Maxwell, 3:52 AM 6/29/9=E4,Coercing
  8269. Pathnames in AppleScript (1)
  8270. Wed Jun 29 16:55:00 1994
  8271. 2:0.0.3 halcyon.com 110 (2)
  8272. 2:0.2.36 Successfully received Scott Sminkey - Su=E4, 3:58 PM 6/29/9=E4,More=
  8273.  on
  8274. the QST compact loop antenna (1)
  8275. 2:0.5.12 Successfully received John W. Baxter, 3:46 PM 6/29/9=E4,Re: Coercin=
  8276. g
  8277. Pathnames in AppleScript (1)
  8278. Thu Jun 30 08:15:31 1994
  8279. 2:0.0.3 halcyon.com 110 (26)
  8280. 2:0.2.40 Successfully received Burbidge, Michael,12:18 AM 6/30/9=E4,Re:
  8281. Subclassing under SOM (1)
  8282. 2:0.6.17 Successfully received N8ET@delphi.com, 7:41 PM 6/29/9=E4,R1/R2/T2
  8283. info (1)
  8284. 2:0.9.9 Successfully received Michelle Preston, 6:24 PM 6/29/9=E4,Analyzing
  8285. Checkboxes part two (1)
  8286. 2:0.15.51 Successfully received Barry Chern,11:46 PM 6/29/9=E4,last word (1)
  8287. 2:0.17.55 Successfully received Jeff Wedgwood, 8:07 PM 6/29/9=E4,Re: SIG
  8288. Meeting on **June 30th** (1)
  8289. 2:0.20.1 Successfully received Jeff Wedgwood, 8:04 PM 6/29/9=E4,Re: test 1 (=
  8290. 1)
  8291. 2:0.24.36 Successfully received Jeremy Peter Howard, 2:05 PM 6/30/9=E4,Re:
  8292. last word (1)
  8293. 2:0.27.52 Successfully received John W. Baxter, 9:27 PM 6/29/9=E4,Re: last
  8294. word (1)
  8295. 2:0.29.59 Successfully received FOXG@WCSUB.CTSTATE=E4,12:52 AM=
  8296.  6/30/9=E4,RELAYS (1)
  8297. 2:0.32.22 Successfully received Tom Kerns,11:20 PM 6/29/9=E4,Re: Software fo=
  8298. r
  8299. the Mac (1)
  8300. 2:0.34.52 Successfully received Jon Pugh,11:43 PM 6/29/9=E4,Re: MIME
  8301. disappointment (1)
  8302. 2:0.37.13 Successfully received Adam Freeman, 8:42 AM 6/30/9=E4,Please take
  8303. me off this list (1)
  8304. 2:0.39.29 Successfully received James Speer, 2:54 AM 6/30/9=E4,Re: RELAYS (1=
  8305. )
  8306. 2:0.41.47 Successfully received YONA_SADIGURSCHI@M=E4, 1:08 PM 6/30/9=E4,OPF
  8307. and Metrowerkers (1)
  8308. 2:0.44.5 Successfully received LOCKWOOD@CAMBRIDGE=E4,10:30 AM 6/30/9=E4,Re: =
  8309. OPF
  8310. and Metrowerkers (1)
  8311. 2:0.46.32 Successfully received John Schettino, 8:06 AM 6/30/9=E4,Re:
  8312. Coercing Pathnames in AppleScript (1)
  8313. 2:0.49.11 Successfully received John Schettino, 8:14 AM 6/30/9=E4,Re: last
  8314. word (1)
  8315. 2:0.51.40 Successfully received John Schettino, 8:20 AM 6/30/9=E4,Re: last
  8316. word (1)
  8317. 2:0.55.24 Successfully received Brian V. Hughes, 9:44 AM 6/30/9=E4,Re:
  8318. Coercing Pathnames in AppleScript (1)
  8319. 2:1.4.36 Successfully received Frank Lowney, 9:53 AM 6/30/9=E4,Re: Event
  8320. Manager take 2 (1)
  8321. 2:1.8.36 Successfully received Ed Stratton       =E4, 4:24 PM 6/29/9=E4,RE:
  8322. More on the QST compact loop antenna (1)
  8323. 2:1.11.21 Successfully received Brian V. Hughes,10:11 AM 6/30/9=E4,Getting a
  8324. script to wait... (1)
  8325. 2:1.15.14 Successfully received "Robert E. Easton =E4, 8:52 AM 6/30/9=E4,Hom=
  8326. e
  8327. Brew Sprint coming up (1)
  8328. 2:1.17.55 Successfully received Pattie Devlin, 8:40 AM 6/30/9=E4,Re:
  8329. Analyzing Checkboxes part two (1)
  8330. 2:1.20.42 Successfully received Scott Sminkey - Su=E4, 9:09 AM 6/30/9=E4,FD =
  8331. de
  8332. W1TKZ (1)
  8333. 2:1.23.21 Successfully received howie cahn, 9:17 AM 6/30/9=E4,Survey: ham
  8334. magazines / computer operating systems (1)
  8335. Thu Jun 30 08:45:49 1994
  8336. 8:0.0.3 read
  8337. 8:0.0.3 Trash
  8338. 8:0.0.4 ALRT 1024
  8339. 8:0.3.23 Dismissed with 1.
  8340. Thu Jun 30 08:47:39 1994
  8341. 1:0.0.3 halcyon.com 25
  8342. 1:0.2.12 Sending Tom Kerns, Re: Software for the Mac.
  8343. 1:0.7.32 Succeeded.
  8344. 1:0.9.59 Sending howie cahn, Re: Survey: ham magazines / computer operating
  8345. systems.
  8346. 1:0.15.41 Succeeded.
  8347. Thu Jun 30 10:52:37 1994
  8348. 2:0.0.3 halcyon.com 110 (6)
  8349. 2:0.3.18 Successfully received John Littlefield, 9:43 AM 6/30/9=E4,Re:
  8350. Analyzing Checkboxes part two (1)
  8351. 2:0.6.13 Successfully received Saul Taylor,10:45 AM 6/30/9=E4,Stuck in
  8352. Preview with script (1)
  8353. 2:0.9.5 Successfully received Bruce Walker,10:19 AM 6/30/9=E4,QRP List=
  8354.  Status (1)
  8355. 2:0.11.47 Successfully received Leonard Rosenthol,10:20 AM 6/30/9=E4,Re:
  8356. Event Manager take 2 (1)
  8357. 2:0.15.31 Successfully received Daniel R. Auchincl=E4,12:16 PM 6/30/9=E4,Re:
  8358. clean page breaking? (1)
  8359. 2:0.17.54 Successfully received khd@karloff.lanl.g=E4,10:15 AM 6/30/9=E4,589
  8360. QRP from TX (1)
  8361. Thu Jun 30 12:05:18 1994
  8362. 2:0.0.3 halcyon.com 110 (5)
  8363. 2:0.4.9 Successfully received Steve Michel,10:52 AM 6/30/9=E4,Re: Is it
  8364. Scriptor or scripter? (1)
  8365. 2:0.6.39 Successfully received James Speer,12:01 PM 6/30/9=E4,Re: 589 QRP
  8366. from TX (1)
  8367. 2:0.11.0 Successfully received Evert Halbach,11:54 AM 6/30/9=E4,Same list (1=
  8368. )
  8369. 2:0.13.48 Successfully received "Dave Griffin, Fer=E4, 2:28 PM 6/30/9=E4,Re:
  8370. =46older Trash Not Found Error (1)
  8371. 2:0.15.54 Successfully received Stephen Trier, 5:23 PM 6/30/9=E4,Re: ham-exp=
  8372. o
  8373. friedrichshafen (1)
  8374. Thu Jun 30 15:16:09 1994
  8375. 2:0.0.3 halcyon.com 110 (17)
  8376. 2:0.2.22 Successfully received Cherie Peterson, 2:09 PM 6/30/9=E4,Re: clean
  8377. page breaking? (1)
  8378. 2:0.8.4 Successfully received Aaron E. McClennen, 1:38 PM 6/30/9=E4,Re: erro=
  8379. r
  8380. -610 (1)
  8381. 2:0.11.54 Successfully received Bruce Walker, 1:45 PM 6/30/9=E4,more
  8382. administrivia (1)
  8383. 2:0.15.56 Successfully received Stephen Trier, 6:10 PM 6/30/9=E4,Re: (1)
  8384. 2:0.18.49 Successfully received Barry Chern, 3:13 PM 6/30/9=E4,Re: last word=
  8385.  (1)
  8386. 2:0.25.5 Successfully received John W. Baxter,12:17 PM 6/30/9=E4,Re: MIME
  8387. disappointment (1)
  8388. 2:0.27.23 Successfully received Cherie Peterson, 2:30 PM 6/30/9=E4,Re: Stuck
  8389. in Preview with script (1)
  8390. 2:0.29.55 Successfully received John Littlefield, 2:27 PM 6/30/9=E4,Re: clea=
  8391. n
  8392. page breaking? (1)
  8393. 2:0.33.33 Successfully received Cindy Zimmerman, 3:51 PM 6/30/9=E4,working
  8394. with nonscriptable applic. (1)
  8395. 2:0.35.51 Successfully received Saul Taylor, 4:08 PM 6/30/9=E4,Re: Stuck in
  8396. Preview with script (1)
  8397. 2:0.38.1 Successfully received Saul Taylor, 3:39 PM 6/30/9=E4,? Delay in
  8398. distribution (1)
  8399. 2:0.40.31 Successfully received John W. Baxter, 2:19 PM 6/30/9=E4,Frontier
  8400. 3.0.x string.popLeading () (1)
  8401. 2:0.43.8 Successfully received Rich Coulombre, 2:34 PM 6/30/9=E4,Re:
  8402. Analyzing Checkboxes part two (1)
  8403. 2:0.46.22 Successfully received Jamie Lawrence, 2:45 PM 6/30/9=E4,Address &
  8404. number for UseLand? (1)
  8405. 2:0.48.57 Successfully received "Lawrence D'Olivei=E4, 9:47 AM 7/1/94=E4,Re:
  8406. Event Manager take 2 (1)
  8407. 2:0.51.12 Successfully received Fred Terry, 4:48 PM 6/30/9=E4,Re: Address &
  8408. number for UseLand? (1)
  8409. 2:0.54.17 Successfully received Igor Livshits, 4:55 PM 6/30/9=E4,Notify and
  8410. Eudora 2.1 (1)
  8411. Thu Jun 30 15:48:04 1994
  8412. 8:0.0.1 Macintosh Scripting Systems, Re: File path, strings, aliass,
  8413. =46sSpecs, etc
  8414. 8:0.0.1 ALRT 1010
  8415. 8:0.3.52 Dismissed with 1.
  8416. 8:0.4.17 Martina Lauchengco, Re: MacWord beta
  8417. 8:0.4.17 ALRT 1010
  8418. 8:0.5.6 Dismissed with 1.
  8419. 8:0.5.20 scottra@microsoft.com, =B4No Subject=AA
  8420. 8:0.5.20 ALRT 1010
  8421. 8:0.6.20 Dismissed with 1.
  8422. Tue Jul 05 11:23:49 1994
  8423. 2:0.0.3 halcyon.com 110 (126)
  8424. 2:0.2.23 Successfully received RICHER@island.com, 7:39 PM 6/30/9=E4,Re: OPF
  8425. and Metrowerkers (1)
  8426. 2:0.5.26 Successfully received Doug Baron, 4:44 PM 6/30/9=E4,Re: Address &
  8427. number for UseLand? (1)
  8428. 2:0.11.50 Successfully received Steve Martin, 9:58 PM 6/30/9=E4,Re: Everyday
  8429. AppleScript(tm) Contest Winners! (1)
  8430. 2:0.14.32 Successfully received Tom Kerns, 9:08 PM 6/30/9=E4,Re: Software fo=
  8431. r
  8432. the Mac (1)
  8433. 2:0.16.55 Successfully received Tim Bertram,10:34 AM 6/30/9=E4,Re: SIG
  8434. Meeting on **June 30th** (1)
  8435. 2:0.19.52 Successfully received Clark Savage Turne=E4, 8:27 PM 6/30/9=E4,Ten
  8436. Tec PTO adjustment (1)
  8437. 2:0.22.27 Successfully received Clark Savage Turne=E4, 8:41 PM 6/30/9=E4,Nor=
  8438. Cal
  8439. 40 backpacking (1)
  8440. 2:0.25.36 Successfully received Nick Arnett,10:20 PM 6/30/9=E4,Index &
  8441. full-text archive of these lists (1)
  8442. 2:0.28.9 Successfully received Tero Loimuneva, 9:09 AM 7/1/94=E4,Re: Folder
  8443. Trash Not Found Error (1)
  8444. 2:0.30.46 Successfully received John W. Baxter,11:47 PM 6/30/9=E4,Re: Addres=
  8445. s
  8446. & number for UseLand? (1)
  8447. 2:0.33.16 Successfully received Clark Savage Turne=E4,12:24 AM 7/1/94=E4,Hap=
  8448. py
  8449. "G5RV" antenna change (1)
  8450. 2:0.38.30 Successfully received Barry Chern, 4:53 AM 7/1/94=E4,last word (1)
  8451. 2:0.41.13 Successfully received Bensondj@aol.com, 6:41 AM 7/1/94=E4,Field Da=
  8452. y
  8453. Results (1)
  8454. 2:0.43.52 Successfully received Todd Hooper, 8:57 PM 7/1/94=E4,ScriptLink (1=
  8455. )
  8456. 2:0.47.0 Successfully received David Flory, 6:12 AM 7/1/94=E4,Re: Stuck in
  8457. Preview with script (1)
  8458. 2:0.51.52 Successfully received Mario Garcia, 8:42 AM 7/1/94=E4,help (1)
  8459. 2:0.56.6 Successfully received JimN0OCT@aol.com, 8:17 AM 7/1/94=E4,Tuners (1=
  8460. )
  8461. 2:0.59.45 Successfully received Justin Rains, 8:47 AM 7/1/94=E4,DataBase of
  8462. Users--PSE Read (1)
  8463. 2:1.32.59 Successfully received The Info-Mac Moder=E4, 7:01 AM
  8464. 7/1/94=E4,Info-Mac Digest V12 #92 1/4 (4)
  8465. 2:1.35.24 Successfully received JEFF M. GOLD, 8:09 AM 7/1/94=E4,LCK for sale=
  8466.  (1)
  8467. 2:1.38.24 Successfully received Mark J Schreiner, 7:25 AM 7/1/94=E4,Re:
  8468. =46ield Day Results (1)
  8469. 2:1.40.59 Successfully received Brad Mitchell, 9:43 AM 7/1/94=E4,Wanrted Ann
  8470. Landers of QRP help (1)
  8471. 2:1.43.32 Successfully received Howard Freeman, 4:04 PM 7/1/94=E4,making dem=
  8472. o
  8473. versions (1)
  8474. 2:1.47.5 Successfully received Timothy Scott, 1:27 AM 7/2/94=E4,Re: Analyzin=
  8475. g
  8476. checkboxes (1)
  8477. 2:1.50.47 Successfully received Michelle Preston, 8:37 AM 7/1/94=E4,Thanks
  8478. for the checkbox analysis (1)
  8479. 2:1.54.38 Successfully received Timothy Scott, 2:03 AM 7/2/94=E4,Re: making
  8480. demo versions (1)
  8481. 2:1.58.22 Successfully received Laurie Gelb,11:11 AM 7/1/94=E4,None (1)
  8482. 2:2.0.55 Successfully received JEFF M. GOLD, 9:35 AM 7/1/94=E4,lck, sold (1)
  8483. 2:2.4.55 Successfully received Randall Rhea, 9:34 AM 7/1/94=E4,Re: Wanrted
  8484. Ann Landers of QRP help (1)
  8485. 2:2.7.32 Successfully received stark, 7:38 AM 7/1/94=E4,Re: Field Day=
  8486.  Results (1)
  8487. 2:2.10.6 Successfully received Brian Cieslak, 9:54 AM 7/1/94=E4,QRP Homebrew
  8488. Contest (1)
  8489. 2:2.12.58 Successfully received stark, 7:41 AM 7/1/94=E4,Re: Wanrted Ann
  8490. Landers of QRP help (1)
  8491. 2:2.16.28 Successfully received stark, 7:35 AM 7/1/94=E4,Re: LCK for sale (1=
  8492. )
  8493. 2:2.20.3 Successfully received John F. Woods,11:22 AM 7/1/94=E4,Not Field Da=
  8494. y
  8495. Results (1)
  8496. 2:2.22.26 Successfully received Brad Mitchell,11:46 AM 7/1/94=E4,Re: QRP
  8497. Homebrew Contest (1)
  8498. 2:2.26.52 Successfully received John W. Baxter,10:18 AM 7/1/94=E4,Re: last
  8499. word (1)
  8500. 2:2.29.25 Successfully received janderson@polycom.=E4, 9:15 AM 7/1/94=E4,Re:
  8501. lck, sold (1)
  8502. 2:2.31.54 Successfully received Brian Cieslak,11:46 AM 7/1/94=E4,Re:QRP
  8503. Hombrew Contest (1)
  8504. 2:2.34.40 Successfully received Aaron E. McClennen, 8:24 AM 7/1/94=E4,Re:
  8505. error -610 (1)
  8506. 2:2.38.49 Successfully received Brian C. Forney, 1:42 PM 7/1/94=E4,Re:
  8507. ScriptLink (1)
  8508. 2:2.41.30 Successfully received John W. Baxter,11:51 AM 7/1/94=E4,Graphing
  8509. Calculator (1)
  8510. 2:2.44.4 Successfully received Kristinn Andersen, 6:02 PM
  8511. 7/1/94=E4,schematics + PCB software? (1)
  8512. 2:2.46.44 Successfully received stark,11:12 AM 7/1/94=E4,Re: Not Field Day
  8513. Results (1)
  8514. 2:2.52.40 Successfully received Andy J. Williams, 3:18 PM 7/1/94=E4,Re: help=
  8515.  (1)
  8516. 2:2.55.39 Successfully received Dario Lopez K=94sten, 9:18 PM
  8517. 7/1/94=E4,Subscribe (1)
  8518. 2:2.58.30 Successfully received Jason Titus, 3:47 PM 7/1/94=E4,Fwd:
  8519. Applescript Questions... (1)
  8520. 2:3.1.3 Successfully received Brad Mitchell, 2:46 PM 7/1/94=E4,Wanted Ann
  8521. Landers of QRP help (1)
  8522. 2:3.3.54 Successfully received Brian Cieslak, 2:08 PM 7/1/94=E4,Source of
  8523. Solar Panels (1)
  8524. 2:3.7.5 Successfully received Rob Dewhirst, 3:45 PM 7/1/94=E4,Excel scripts =
  8525. (1)
  8526. 2:3.11.55 Successfully received Jeffrey Herman, 9:51 AM 7/1/94=E4,Re: QRP
  8527. Homebrew Contest (1)
  8528. 2:3.15.40 Successfully received John W. Baxter, 3:46 PM 7/1/94=E4,Re: Fwd:
  8529. Applescript Questions... (1)
  8530. 2:3.21.39 Successfully received N8ET@delphi.com, 8:33 PM 7/1/94=E4,R2/T2
  8531. pricing/order info (1)
  8532. 2:3.27.52 Successfully received N8ET@delphi.com, 8:39 PM
  8533. 7/1/94=E4,Distribution list (1)
  8534. 2:3.30.31 Successfully received N8ET@delphi.com, 8:24 PM 7/1/94=E4,St. Louis
  8535. & Okla. QRP Club Address?? (1)
  8536. 2:3.34.49 Successfully received N8ET@delphi.com, 8:24 PM 7/1/94=E4,R2/T2 Inf=
  8537. o
  8538. has been e-mailed (1)
  8539. 2:3.42.29 Successfully received Michelle Preston, 6:15 PM 7/1/94=E4,Re:
  8540. Analyzing checkboxes (1)
  8541. 2:3.47.33 Successfully received Steve Jones, 9:37 PM 7/1/94=E4,Re: making
  8542. demo versions (1)
  8543. 2:3.50.57 Successfully received John Welch, 8:57 PM 7/1/94=E4, (1)
  8544. 2:3.53.32 Successfully received rohrwerk@holonet.n=E4, 8:49 PM
  8545. 7/1/94=E4,INETers on the air (1)
  8546. 2:3.56.22 Successfully received rohrwerk@holonet.n=E4,12:07 AM 7/2/94=E4,Hap=
  8547. py
  8548. "G5RV" antenna chan (1)
  8549. 2:4.12.36 Successfully received rohrwerk@holonet.n=E4,12:07 AM=
  8550.  7/2/94=E4,Tuners (1)
  8551. 2:4.15.11 Successfully received Mike Czuhajewski,10:01 AM 7/2/94=E4,Re
  8552. Archives (1)
  8553. 2:4.19.4 Successfully received Michelle Preston, 8:30 AM 7/2/94=E4,Re: makin=
  8554. g
  8555. demo versions (1)
  8556. 2:4.22.54 Successfully received CLPLIST/MR. LANDFI=E4, 9:15 AM 7/2/94=E4,Re:
  8557. making demo versions (1)
  8558. 2:4.26.29 Successfully received NYOUNG@DESIRE.WRIG=E4, 6:13 PM 7/2/94=E4,Mor=
  8559. e
  8560. Old QRP Stories &c. (1)
  8561. 2:4.29.5 Successfully received Tom Kerns, 6:52 PM 7/2/94=E4,Re: More Old QRP
  8562. Stories &c. (1)
  8563. 2:4.31.42 Successfully received Timothy Scott,12:35 PM 7/3/94=E4,Re:
  8564. Analyzing checkboxes (1)
  8565. 2:4.35.32 Successfully received W. Daniel,12:07 AM 7/3/94=E4,NN1G question (=
  8566. 1)
  8567. 2:4.39.16 Successfully received W. Daniel,11:48 PM 7/2/94=E4,Iambic Keyer
  8568. boards: Setback (1)
  8569. 2:4.41.55 Successfully received John F. Woods, 9:11 AM 7/3/94=E4,Re: NN1G
  8570. question (1)
  8571. 2:4.44.25 Successfully received Michelle Preston, 7:51 AM 7/3/94=E4,Re:
  8572. Analyzing checkboxes (1)
  8573. 2:4.47.6 Successfully received Timothy Scott, 1:14 AM 7/4/94=E4,Re: Analyzin=
  8574. g
  8575. checkboxes (1)
  8576. 2:4.56.28 Successfully received howie cahn, 2:22 PM 7/3/94=E4,Survey results
  8577. - Ham magazines/computers (1)
  8578. 2:5.0.37 Successfully received Borre Ludvigsen, 7:46 PM 7/3/94=E4,Writing to
  8579. the modem port. (1)
  8580. 2:5.3.1 Successfully received LVE@phy6.inel.gov, 1:13 PM 7/3/94=E4,Field Day
  8581. Brag... (1)
  8582. 2:5.8.43 Successfully received Mark Hadfield, 5:59 PM 7/3/94=E4,Re: Excel
  8583. scripts (1)
  8584. 2:5.12.1 Successfully received James Edward Davis, 6:45 PM 7/3/94=E4,Re:
  8585. working with nonscriptable applic. (1)
  8586. 2:5.16.28 Successfully received JEFF M. GOLD, 8:50 PM 7/3/94=E4,AC4HF/P/M/QR=
  8587. P (1)
  8588. 2:5.20.48 Successfully received Rick Zabrodski, 8:44 PM 7/3/94=E4,Re: Tuners
  8589. and Z match (1)
  8590. 2:5.24.38 Successfully received Rick Zabrodski, 8:52 PM 7/3/94=E4,Re: Happy
  8591. "G5RV" antenna chan (1)
  8592. 2:5.27.28 Successfully received Barry Chern, 3:11 AM 7/4/94=E4,Re: Excel
  8593. scripts (via Digest) (1)
  8594. 2:5.31.56 Successfully received Simon Jensen-Fello=E4,11:14 AM 7/4/94=E4,Re:
  8595. working with nonscriptable applic. (1)
  8596. 2:5.36.53 Successfully received INRA000, 2:02 PM 7/4/94=E4,Re[2]: working
  8597. with nonscriptable applic. (1)
  8598. 2:5.39.41 Successfully received lhalliday@creo.bc.=E4, 9:43 AM
  8599. 7/4/94=E4,Lucking out at the surplus store (1)
  8600. 2:5.42.42 Successfully received Chuck Adams, 2:40 PM 7/4/94=E4,Re:  St. Loui=
  8601. s
  8602. & Okla. QRP Club Address?? (1)
  8603. 2:5.48.28 Successfully received Mike Czuhajewski, 3:21 PM 7/4/94=E4,QRP
  8604. library comments (1)
  8605. 2:5.54.4 Successfully received David Boroditsky, 5:35 PM 7/4/94=E4,Re(2):
  8606. last word (1)
  8607. 2:5.56.51 Successfully received BARBOSE@NETCOM.COM,10:25 PM 7/4/94=E4,OPF/OD
  8608. build problems on Q840A (1)
  8609. 2:6.2.19 Successfully received George Dobbs G3RJV,12:19 AM
  8610. 7/5/94=E4,Friedrichshafen Report (1)
  8611. 2:6.6.45 Successfully received John W. Baxter, 5:52 PM 7/4/94=E4,Re: Re(2):
  8612. last word (1)
  8613. 2:6.9.22 Successfully received Todd Hooper, 9:20 AM 7/5/94=E4,Scripting
  8614. =46ileMaker Pro (1)
  8615. 2:6.12.52 Successfully received Doug Hendricks, 5:13 PM 7/4/94=E4,July NorCa=
  8616. l
  8617. Meeting (1)
  8618. 2:6.16.51 Successfully received Michael Stein     =E4, 4:43 PM 7/4/94=E4,LM3=
  8619. 86
  8620. noise? (1)
  8621. 2:6.19.21 Successfully received N8ET@delphi.com,11:04 PM
  8622. 7/4/94=E4,undelivered R2/T2 info (1)
  8623. 2:6.21.54 Successfully received rohrwerk@holonet.n=E4,11:02 PM 7/4/94=E4,Re:
  8624. Happy "G5RV" antenna (1)
  8625. 2:6.24.23 Successfully received Jeffrey Herman,10:12 PM 7/4/94=E4,State-wide
  8626. project (1)
  8627. 2:6.27.2 Successfully received Jeffrey Herman,10:43 PM 7/4/94=E4,cleaning
  8628. variable caps (1)
  8629. 2:6.29.53 Successfully received Boris Levitin, 7:40 AM 7/5/94=E4,Debugging a=
  8630. n
  8631. applet properly (1)
  8632. 2:6.33.52 Successfully received David Boroditsky, 8:49 AM 7/5/94=E4,Re(2):
  8633. Re(2): last word (1)
  8634. 2:6.37.14 Successfully received David Boroditsky, 9:02 AM 7/5/94=E4,Re:
  8635. working with nonscriptable applic. (1)
  8636. 2:6.39.45 Successfully received Becky Williams, 7:54 AM 7/5/94=E4, (1)
  8637. 2:6.42.41 Successfully received David Avery, 9:58 AM 7/5/94=E4,FilMaker
  8638. windows (1)
  8639. 2:6.46.13 Successfully received Robert J. Dougherty, 9:18 AM
  8640. 7/5/94=E4,IMPORT/EXPORT ??? (1)
  8641. 2:6.49.6 Successfully received Piers Stainforth,10:48 AM 7/5/94=E4,Re:
  8642. IMPORT/EXPORT ??? (1)
  8643. 2:6.52.11 Successfully received Rob Dewhirst,10:07 AM 7/5/94=E4,Re: Excel
  8644. scripts (via Digest) (1)
  8645. 2:6.57.27 Successfully received Kee Nethery +1 510=E4, 8:00 AM 7/5/94=E4,Re:
  8646. Macromedia Director and AppleScript (1)
  8647. 2:7.0.14 Successfully received David Flory, 7:37 AM 7/5/94=E4,Re:
  8648. IMPORT/EXPORT ??? (1)
  8649. 2:7.4.29 Successfully received Fred Terry,10:10 AM 7/5/94=E4,Re: Excel
  8650. scripts (via Digest) (1)
  8651. 2:7.7.13 Successfully received Daniel R. Auchincl=E4,11:02 AM 7/5/94=E4,Re:
  8652. clean page breaking? (1)
  8653. 2:7.9.55 Succe.14 Successfully received John Welch, 8:55 PM 7/5/94=E4,Re: How much i=
  8654. s
  8655. a Tek 2213 scope worth? (1)
  8656. 2:0.36.59 Successfully received W. Daniel, 1:06 AM 7/6/94=E4,Performance
  8657. comparisons (1)
  8658. 2:0.39.34 Successfully received bruce.florip@amail=E4, 3:41 PM 7/5/94=E4,How
  8659. much is a Tek 2213 scope wor (1)
  8660. 2:0.42.4 Successfully received Gary M Diana, 2:50 PM 7/5/94=E4,antenna
  8661. tuners, etc. (1)
  8662. 2:0.44.46 Successfully received Grover Cleveland, 9:41 AM 7/5/94=E4,Re: More
  8663. Old QRP Stories &c. (1)
  8664. 2:0.48.18 Successfully received rmulvey@syspro.pay=E4, 4:14 PM 7/5/94=E4,Nor=
  8665. cal
  8666. 40 camping experience (1)
  8667. 2:0.50.39 Successfully received John Welch, 8:55 PM 7/5/94=E4,Re: How much i=
  8668. s
  8669. a Tek 2213 scope worth? (1)
  8670. 2:0.53.8 Successfully received CLPLIST/MR. LANDFI=E4, 7:59 PM 7/5/94=E4,Re:
  8671. IMPORT/EXPORT ??? (1)
  8672. 2:0.55.49 Successfully received anthony brown,10:30 PM 7/5/94=E4,scripting
  8673. control panels... (1)
  8674. 2:0.58.21 Successfully received rmulvey@syspro.pay=E4, 4:14 PM 7/5/94=E4,Nor=
  8675. cal
  8676. 40 camping experience (1)
  8677. 2:1.0.56 Successfully received Data,11:35 PM 7/5/94=E4,Re: Kill Faceless
  8678. Processes (1)
  8679. 2:1.8.13 Successfully received Data,12:57 AM 7/6/94=E4,Control Strip Modules
  8680. Archive Site (1)
  8681. 2:1.10.43 Successfully received John Welch, 8:55 PM 7/5/94=E4,Re: How much i=
  8682. s
  8683. a Tek 2213 scope worth? (1)
  8684. 2:1.13.59 Successfully received Chuck Adams, 1:55 AM 7/6/94=E4,QRP=
  8685.  AFIELD-1994 (1)
  8686. 2:1.16.47 Successfully received Michael Stein     =E4,11:14 PM 7/5/94=E4,re:
  8687. LM386 noise? (more) (1)
  8688. 2:1.19.56 Successfully received TOM,10:09 AM 7/6/94=E4,FmPro Templates (1)
  8689. 2:1.34.11 Successfully received Adam C. Engst,10:32 PM
  8690. 7/5/94=E4,TidBITS#233/04-Jul-94 1/2 (2)
  8691. 2:1.36.48 Successfully received FJSnyder@aol.com, 8:50 AM 7/6/94=E4,Off (1)
  8692. 2:1.39.18 Successfully received Michelle Preston, 6:03 AM 7/6/94=E4,Re:
  8693. Analyzing checkboxes (1)
  8694. 2:1.41.42 Successfully received Mark J Schreiner, 8:03 AM 7/6/94=E4,Re:
  8695. =46ield Day Results (1)
  8696. 2:1.44.19 Successfully received Michael S. Dooley, 8:28 AM 7/6/94=E4,Meeting
  8697. other QRPers (1)
  8698. 2:1.46.50 Successfully received Timothy Scott,12:55 AM 7/7/94=E4,Re: FmPro
  8699. Templates (1)
  8700. 2:1.49.12 Successfully received Stephen Trier, 1:34 PM 7/6/94=E4,Re: Toroid
  8701. questions..... (1)
  8702. Wed Jul 06 08:14:10 1994
  8703. 8:0.0.3 read
  8704. 8:0.0.3 Trash
  8705. 8:0.0.3 ALRT 1024
  8706. 8:0.2.54 Dismissed with 1.
  8707. Wed Jul 06 10:47:30 1994
  8708. 1:0.0.3 halcyon.com 25
  8709. 1:0.2.22 Sending I want more $2000/week administrators!
  8710. <WHITE@CCSUA.CTSTATEU.E, Re: Toroid questions......
  8711. 1:0.8.59 Succeeded.
  8712. 1:0.12.43 Sending anthony brown, Re: scripting control panels....
  8713. 1:0.20.46 Succeeded.
  8714. 1:0.21.20 Sending Macintosh Scripting Systems, Re: Folder Trash Not Found Er=
  8715. ror.
  8716. 1:0.38.1 Succeeded.
  8717. 2:0.43.45 halcyon.com 110 (12)
  8718. 2:0.46.6 Successfully received James M Fitton +1 =E4, 1:48 PM
  8719. 7/6/94=E4,QRP-AFIELD (1)
  8720. 2:0.48.38 Successfully received James M Fitton +1 =E4, 2:00 PM 7/6/94=E4,Bea=
  8721. ch
  8722. meeting (1)
  8723. 2:0.52.9 Successfully received Daniel C Halbert,10:28 AM 7/6/94=E4,Re: QRP
  8724. library comments (1)
  8725. 2:0.58.48 Successfully received Mark Alldritt, 8:34 AM 7/6/94=E4,Re:
  8726. Debugging an applet properly (1)
  8727. 2:1.1.28 Successfully received K1WWI@aol.com,11:08 AM 7/6/94=E4,IOTA
  8728. Contest??? (1)
  8729. 2:1.4.13 Successfully received Muenzler, Kevin,10:24 AM 7/6/94=E4,RE: LM386
  8730. noise? (1)
  8731. 2:1.7.7 Successfully received Bruce Toback, 8:48 AM 7/6/94=E4,Re: Toroid
  8732. questions..... (1)
  8733. 2:1.10.26 Successfully received rohrwerk@holonet.n=E4, 8:56 AM 7/6/94=E4,Tor=
  8734. oid
  8735. questions..... (1)
  8736. 2:1.13.30 Successfully received rohrwerk@holonet.n=E4, 8:56 AM
  8737. 7/6/94=E4,Performance comparisons (1)
  8738. 2:1.16.13 Successfully received rohrwerk@holonet.n=E4, 8:56 AM
  8739. 7/6/94=E4,antenna tuners, etc. (1)
  8740. 2:1.19.54 Successfully received lhalliday@creo.bc.=E4, 8:55 AM 7/6/94=E4,Re:=
  8741.  LM
  8742. 386 (1)
  8743. 2:1.23.39 Successfully received janderson@polycom.=E4, 8:55 AM 7/6/94=E4,Re:
  8744. "Balanced" L Nets? (1)
  8745. Wed Jul 06 11:44:23 1994
  8746. 2:0.0.3 halcyon.com 110 (1)
  8747. 2:0.9.30 Successfully received W. Daniel, 6:39 PM 7/6/94=E4,Keyer to mail (1=
  8748. )
  8749. Wed Jul 06 13:36:07 1994
  8750. 2:0.0.4 halcyon.com 110 (9)
  8751. 2:0.4.8 Successfully received Clark Fishman (FSA=E4, 1:21 PM 7/6/94=E4,Recei=
  8752. ver
  8753. design (1)
  8754. 2:0.6.44 Successfully received Kevin Purcell,10:47 AM 7/6/94=E4,Re: Toroid
  8755. questions..... (1)
  8756. 2:0.9.26 Successfully received Data, 1:47 PM 7/6/94=E4,Re: Need real text
  8757. editor (1)
  8758. 2:0.11.58 Successfully received 1.7f, 3:24 PM 7/6/94=E4,Output of your job
  8759. "MACSCRPT" (1)
  8760. 2:0.14.49 Successfully received Dr. Barrett Stridi=E4,10:26 AM 7/6/94=E4,Re:
  8761. Need real text editor (1)
  8762. 2:0.17.17 Successfully received W. Daniel, 1:18 AM 7/7/94=E4,Keyer (1)
  8763. 2:0.21.54 Successfully received Brian V. Hughes, 3:50 PM 7/6/94=E4,Re: Need
  8764. real text editor (1)
  8765. 2:0.27.16 Successfully received Stephen Lee, 1:28 PM 7/6/94=E4,Re: Tek 2213 =
  8766. (1)
  8767. 8:0.34.44 The host is presently unreachable.
  8768. 8:0.34.44 ALRT 1020
  8769. 8:0.38.1 Dismissed with 1.
  8770. 8:0.40.54 The host is presently unreachable.
  8771. 8:0.40.55 ALRT 1020
  8772. 8:0.42.37 Dismissed with 1.
  8773. 8:1.26.12 That pesky MacTCP is acting up again.
  8774. 8:1.26.13 5
  8775. 8:1.26.13 The connection timed out.
  8776. 8:1.26.13 {37:110}
  8777. 8:1.26.13 ALRT 1005
  8778. 8:1.31.13 Dismissed with 1.
  8779. Wed Jul 06 13:39:55 1994
  8780. 8:0.0.0 read
  8781. 8:0.0.2 Trash
  8782. 8:0.0.3 ALRT 1024
  8783. 8:0.2.59 Dismissed with 1.
  8784. Wed Jul 06 13:52:35 1994
  8785. 1:0.0.3 halcyon.com 25
  8786. 1:0.2.19 Sending W. Daniel, Re: Keyer.
  8787. 1:0.24.28 Succeeded.
  8788. 1:0.28.0 Sending mckenzie@june.cs.washington.edu, Re: Tek 2213.
  8789. 1:0.36.38 Succeeded.
  8790. 2:0.42.3 halcyon.com 110 (9)
  8791. 2:0.48.12 Successfully received Clark Fishman (FSA=E4, 1:21 PM
  8792. 7/6/94=E4,Receiver design (1)
  8793. 2:0.52.50 Successfully received Kevin Purcell,10:47 AM 7/6/94=E4,Re: Toroid
  8794. questions..... (1)
  8795. 2:0.56.39 Successfully received Data, 1:47 PM 7/6/94=E4,Re: Need real text
  8796. editor (1)
  8797. 2:1.1.2 Successfully received 1.7f, 3:24 PM 7/6/94=E4,Output of your job
  8798. "MACSCRPT" (1)
  8799. 2:1.6.42 Successfully received Dr. Barrett Stridi=E4,10:26 AM 7/6/94=E4,Re:
  8800. Need real text editor (1)
  8801. 2:1.11.3 Successfully received W. Daniel, 1:18 AM 7/7/94=E4,Keyer (1)
  8802. 2:1.13.44 Successfully received Brian V. Hughes, 3:50 PM 7/6/94=E4,Re: Need
  8803. real text editor (1)
  8804. 2:1.22.39 Successfully received Stephen Lee, 1:28 PM 7/6/94=E4,Re: Tek 2213 =
  8805. (1)
  8806. 2:1.29.25 Successfully received Jamie Lawrence, 1:04 PM 7/6/94=E4,wierd
  8807. variable substitution problem (1)
  8808. Wed Jul 06 13:55:08 1994
  8809. 8:0.0.3 read
  8810. 8:0.0.3 Trash
  8811. 8:0.0.3 ALRT 1024
  8812. 8:0.1.40 Dismissed with 1.
  8813. Wed Jul 06 16:06:31 1994
  8814. 2:0.0.3 halcyon.com 110 (10)
  8815. 2:0.3.16 Successfully received Data, 4:44 PM 7/6/94=E4,Re: Need real text
  8816. editor (1)
  8817. 2:0.5.48 Successfully received Neil McKenzie, 2:10 PM 7/6/94=E4,HP
  8818. Oscilloscope (was: Yard Sale) (1)
  8819. 2:0.10.0 Successfully received Shaddar@aol.com,12:39 PM 7/4/94=E4,Applescrip=
  8820. t
  8821. development kit (1)
  8822. 2:0.13.5 Successfully received David Brown, 5:04 PM 7/6/94=E4,Applescripting
  8823. Serial Port (1)
  8824. 2:0.16.0 Successfully received "Lawrence D'Olivei=E4, 9:36 AM 7/7/94=E4,Re:
  8825. Need real text editor (1)
  8826. 2:0.19.46 Successfully received Stephen Lee, 2:53 PM 7/6/94=E4,Re:
  8827. Oscilloscpope (1)
  8828. 2:0.22.21 Successfully received Leonard Rosenthol, 2:51 PM 7/6/94=E4,Re: Nee=
  8829. d
  8830. real text editor (1)
  8831. 2:0.24.45 Successfully received Doug Hendricks, 1:26 PM 7/6/94=E4,PW Back
  8832. issues. (1)
  8833. 2:0.30.41 Successfully received Neil Christie,10:59 PM 7/6/94=E4,How to paus=
  8834. e
  8835. in scripts (trying to script mail operations) (1)
  8836. 2:0.33.56 Successfully received Shaddar@aol.com, 7:15 PM 7/4/94=E4,Re:
  8837. working with nonscriptable applic. (1)
  8838. Wed Jul 06 16:15:17 1994
  8839. 1:0.0.2 halcyon.com 25
  8840. 1:0.28.31 Sending Shaddar@aol.com, Re: Applescript development kit.
  8841. 1:0.35.14 Succeeded.
  8842. Wed Jul 06 16:41:37 1994
  8843. 2:0.0.3 halcyon.com 110 (4)
  8844. 2:0.4.49 Successfully received John W. Baxter, 4:16 PM 7/6/94=E4,Re:
  8845. Applescript development kit (1)
  8846. 2:0.7.34 Successfully received Jeremy Peter Howard, 9:18 AM 7/7/94=E4,Re:
  8847. Applescript development kit (1)
  8848. 2:0.10.9 Successfully received christopher edward=E4, 7:21 PM 7/6/94=E4,Exce=
  8849. l
  8850. Macros --> Turning blanks into "Blank" (1)
  8851. 2:0.12.41 Successfully received Jeremy Peter Howard, 9:22 AM
  8852. 7/7/94=E4,Scriptable Finder docs (1)
  8853. Wed Jul 06 16:45:14 1994
  8854. 1:0.0.0 halcyon.com 25
  8855. 1:0.26.21 Sending Macintosh Scripting Systems, Re: Scriptable Finder docs.
  8856. 1:0.32.0 Succeeded.
  8857. Thu Jul 07 08:27:13 1994
  8858. 8:0.0.3 Macintosh Scripting Systems, Re: wierd variable substitution problem
  8859. 8:0.0.3 ALRT 1010
  8860. 8:0.3.44 Dismissed with 1.
  8861. Thu Jul 07 08:44:11 1994
  8862. 2:0.0.4 halcyon.com 110 (23)
  8863. 2:0.2.32 Successfully received 1.7f, 7:47 PM 7/6/94=E4,Output of your job
  8864. "MACSCRPT" (1)
  8865. 2:0.5.0 Successfully received Chris Etesse, 8:39 PM 7/6/94=E4,Re: Excel
  8866. Macros --> Turning blanks into "Blank" (1)
  8867. 2:0.9.48 Successfully received Jeremy Peter Howard,10:26 AM 7/7/94=E4,Re:
  8868. Excel Macros --> Turning blanks into "Blank" (1)
  8869. 2:0.12.7 Successfully received Jeff Jones, 5:31 PM 7/6/94=E4,Re: LM 386 (1)
  8870. 2:0.15.28 Successfully received Mark Duffield,10:07 PM 7/6/94=E4,Re: Need
  8871. real text editor (1)
  8872. 2:0.18.25 Successfully received Mike Cohen, 6:42 PM 7/6/94=E4,Re: Applescrip=
  8873. t
  8874. development kit (1)
  8875. 2:0.21.49 Successfully received "Lawrence D'Olivei=E4, 2:18 PM 7/7/94=E4,Re:
  8876. Need real text editor (1)
  8877. 2:0.24.23 Successfully received Boris Levitin,10:29 PM 7/6/94=E4,Re:
  8878. Debugging an applet properly (1)
  8879. 2:0.27.29 Successfully received Rich Coulombre, 8:36 AM 7/5/94=E4,Re: Thanks
  8880. for the checkbox analysis (1)
  8881. 2:0.30.24 Successfully received Malcolm Pradhan, 8:10 PM 7/6/94=E4,Re: Need
  8882. real text editor (1)
  8883. 2:0.32.47 Successfully received "Lawrence D'Olivei=E4, 3:16 PM 7/7/94=E4,Re:
  8884. Applescript development kit (1)
  8885. 2:0.41.34 Successfully received Christopher Allen, 5:42 PM 7/6/94=E4,UPDATE:
  8886. Everyday AppleScript(tm) Contest Winners (1)
  8887. 2:0.45.47 Successfully received INRA000,11:54 PM 7/6/94=E4,Re[2]: working
  8888. with nonscriptable applic. (1)
  8889. 2:0.48.13 Successfully received John W. Baxter,10:05 PM 7/6/94=E4,Re:
  8890. Applescript development kit (1)
  8891. 2:0.50.57 Successfully received W. Daniel,12:48 PM 7/7/94=E4,Mini Keyer (1)
  8892. 2:0.54.56 Successfully received James Jennings, 2:02 AM 7/7/94=E4,SW
  8893. Developer's Workshop, July 9, 1994 (1)
  8894. 2:0.59.1 Successfully received David Boroditsky, 8:48 AM 7/7/94=E4,Re(2):
  8895. Need real text editor (1)
  8896. 2:1.2.56 Successfully received Brian V. Hughes, 9:10 AM 7/7/94=E4,Re: wierd
  8897. variable substitution problem (1)
  8898. 2:1.5.59 Successfully received Brian V. Hughes, 9:12 AM 7/7/94=E4,Re:
  8899. Scriptable Finder docs (1)
  8900. 2:1.9.13 Successfully received Brian V. Hughes, 9:14 AM 7/7/94=E4,Re:
  8901. Applescript development kit (1)
  8902. 2:1.12.23 Successfully received Brian V. Hughes, 9:28 AM 7/7/94=E4,Re:
  8903. Scripting FileMaker Pro (1)
  8904. 2:1.15.4 Successfully received Frank Lowney, 9:39 AM 7/7/94=E4,Re:
  8905. Applescripting Serial Port (1)
  8906. 2:1.17.21 Successfully received Justin Rains, 7:08 AM 7/7/94=E4,For Sale: MF=
  8907. J
  8908. 9040 & HTX-100 (1)
  8909. Thu Jul 07 08:50:45 1994
  8910. 8:0.0.2 read
  8911. 8:0.0.2 Trash
  8912. 8:0.0.2 ALRT 1024
  8913. 8:0.2.23 Dismissed with 1.
  8914. Thu Jul 07 10:30:51 1994
  8915. 2:0.0.2 halcyon.com 110 (1)
  8916. 2:0.2.9 Successfully received Neil McKenzie, 9:40 AM 7/7/94=E4,HP O'scope
  8917. specs (1)
  8918. Thu Jul 07 12:52:08 1994
  8919. 2:0.0.3 halcyon.com 110 (8)
  8920. 2:0.2.14 Successfully received prvalko,12:18 PM 7/7/94=E4,Seeking PowerMite =
  8921. 1
  8922. Help! (1)
  8923. 2:0.14.38 Successfully received Chuck Adams,11:18 AM 7/7/94=E4,July Issue (1=
  8924. )
  8925. 2:0.21.35 Successfully received Jason Penn,11:30 AM 7/7/94=E4,Another NorCal
  8926. 40 Lives! (1)
  8927. 2:0.24.26 Successfully received John F. Woods, 1:13 PM 7/7/94=E4,40-40
  8928. questions (1)
  8929. 2:0.28.52 Successfully received christopher edward=E4,10:00 AM 7/7/94=E4,Exc=
  8930. el:
  8931. Selecting cell and adding text to it (1)
  8932. 2:0.32.45 Successfully received Jamie Lawrence,11:30 AM 7/7/94=E4,stopping a
  8933. moving train (1)
  8934. 2:0.37.4 Successfully received Robert Burns,12:37 PM 7/7/94=E4,Shapeware
  8935. Usability Test (1)
  8936. 2:0.40.36 Successfully received John W. Baxter, 6:49 AM 7/7/94=E4,Re:
  8937. Scripting FileMaker Pro (1)
  8938. Thu Jul 07 16:29:57 1994
  8939. 1:0.0.2 halcyon.com 25
  8940. 1:0.2.44 Sending Andy, stopping a moving train.
  8941. 1:0.8.41 Succeeded.
  8942. 2:0.15.37 halcyon.com 110 (10)
  8943. 2:0.20.33 Successfully received Pete 'Happy' Thomas, 2:39 PM
  8944. 7/7/94=E4,MacPGP2.6 (1)
  8945. 2:0.24.55 Successfully received Pete 'Happy' Thomas, 3:15 PM 7/7/94=E4,Got i=
  8946. t
  8947. all (1)
  8948. 2:0.29.19 Successfully received Pete 'Happy' Thomas, 2:52 PM
  8949. 7/7/94=E4,follow-up to encrypting-scripting (1)
  8950. 2:0.31.36 Successfully received Brian V. Hughes, 3:40 PM 7/7/94=E4,Re:
  8951. stopping a moving train (1)
  8952. 2:0.34.10 Successfully received anthony brown, 4:07 PM 7/7/94=E4,anoth fmpro
  8953. scripting question... (1)
  8954. 2:0.51.8 Successfully received The Info-Mac Moder=E4, 2:15 PM
  8955. 7/7/94=E4,Info-Mac Digest V12 #94 1/3 (3)
  8956. 2:0.53.30 Successfully received WalrathW,11:25 PM 7/7/94=E4,Re: stopping a
  8957. moving train (1)
  8958. 2:0.56.2 Successfully received Brian V. Hughes, 5:27 PM 7/7/94=E4,Re: anoth
  8959. fmpro scripting question... (1)
  8960. 2:0.58.10 Successfully received George Dobbs G3RJV,10:44 PM 7/7/94=E4,G QRP
  8961. CLUB (1)
  8962. 2:1.0.19 Successfully received George Dobbs G3RJV, 1:14 AM 7/7/94=E4,Re: QRP
  8963. library comments (1)
  8964. =46ri Jul 08 08:07:56 1994
  8965. 2:0.0.4 halcyon.com 110 (20)
  8966. 2:0.3.29 Successfully received Jeremy Peter Howard, 9:05 AM 7/8/94=E4,Re:
  8967. Excel: Selecting cell and adding text to it (1)
  8968. 2:0.6.39 Successfully received John W. Baxter, 4:10 PM 7/7/94=E4,Re: stoppin=
  8969. g
  8970. a moving train (1)
  8971. 2:0.9.6 Successfully received John W. Baxter, 4:10 PM 7/7/94=E4,Re: anoth
  8972. fmpro scripting question... (1)
  8973. 2:0.12.30 Successfully received Jeremy Peter Howard, 9:13 AM 7/8/94=E4,Re:
  8974. Scriptable Finder docs (1)
  8975. 2:0.15.5 Successfully received Jeremy Peter Howard, 9:18 AM 7/8/94=E4,Re:
  8976. stopping a moving train (1)
  8977. 2:0.19.4 Successfully received Jeremy Peter Howard, 9:17 AM 7/8/94=E4,Re:
  8978. wierd variable substitution problem (1)
  8979. 2:0.21.24 Successfully received Shaddar@aol.com, 6:50 PM 7/7/94=E4,Re[2]:
  8980. working with nonscriptable applic. (1)
  8981. 2:0.24.36 Successfully received Dewi Williams, 1:18 AM 7/8/94=E4,AppleScript
  8982. heritage problems (1)
  8983. 2:0.29.31 Successfully received Andy Kington, 5:43 PM 7/7/94=E4,Re: Scriptin=
  8984. g
  8985. =46ileMaker Pro (1)
  8986. 2:0.32.8 Successfully received "Sean Carton (Theo=E4, 9:13 PM 7/7/94=E4,Open
  8987. Doc/MacMosaic/Scriptability (1)
  8988. 2:0.35.14 Successfully received Richard L. Upchurch, 9:54 PM 7/7/94=E4,Re:
  8989. Open Doc/MacMosaic/Scriptability (1)
  8990. 2:0.38.2 Successfully received John W. Baxter, 8:23 PM 7/7/94=E4,Re:
  8991. AppleScript heritage problems (1)
  8992. 2:0.40.58 Successfully received John W. Baxter, 8:29 PM 7/7/94=E4,Re: Open
  8993. Doc/MacMosaic/Scriptability (1)
  8994. 2:0.43.57 Successfully received Chris Etesse,12:43 AM 7/8/94=E4,Re: Excel:
  8995. Selecting cell and adding text to it (1)
  8996. 2:0.48.28 Successfully received Mark Alldritt,10:05 PM 7/7/94=E4,Re: How to
  8997. pause in scripts (trying to script mail operations) (1)
  8998. 2:0.51.21 Successfully received Tilmann Robbe, 1:47 PM 7/8/94=E4,Replacing a=
  8999. n
  9000. element of a string (1)
  9001. 2:0.55.34 Successfully received Sabatucci, Joe, 8:14 AM 7/8/94=E4,Filemaker
  9002. Pro scripting (1)
  9003. 2:0.58.39 Successfully received Steve Alex, 7:38 AM 7/8/94=E4,Re: How to
  9004. pause in scripts (trying to script mail operations) (1)
  9005. 2:1.1.16 Successfully received Andrew Maier, 3:02 PM 7/8/94=E4,Choosing a
  9006. printer form a script (1)
  9007. 2:1.5.8 Successfully received David Brown,10:05 AM 7/8/94=E4,Re:
  9008. Applescripting Serial Port (1)
  9009. 1:1.5.55 halcyon.com 25
  9010. 1:1.8.8 Sending Andy, Shapeware Usability Test.
  9011. 1:1.15.53 Succeeded.
  9012. 1:1.16.56 Sending dBug-SIG, Shapeware Usability Test.
  9013. 1:1.36.16 Succeeded.
  9014. =46ri Jul 08 09:45:34 1994
  9015. 1:0.0.2 halcyon.com 25
  9016. 1:0.2.2 Sending Macintosh Scripting Systems, Re: Scriptable Finder docs.
  9017. 1:0.12.17 Succeeded.
  9018. 1:0.13.22 Sending Macintosh Scripting Systems, Re: Applescripting Serial Por=
  9019. t.
  9020. 1:0.22.35 Succeeded.
  9021. 2:0.26.53 halcyon.com 110 (6)
  9022. 2:0.29.46 Successfully received TOM FORD - DUPONT =E4,11:40 AM 7/8/94=E4,Re:
  9023. Calculation Field Problem (1)
  9024. 2:0.32.37 Successfully received Kevin A. Gemeinhart,11:49 AM
  9025. 7/8/94=E4,FileMaker / ApplesScript Reference Books? (1)
  9026. 2:0.34.53 Successfully received David Flory, 7:59 AM 7/8/94=E4,Re:
  9027. Calculation Field Problem (1)
  9028. 2:0.37.35 Successfully received JOHN TIPPETT, (919=E4,12:01 PM
  9029. 7/8/94=E4,Summary of counts (1)
  9030. 2:0.41.13 Successfully received Piers Stainforth,12:21 PM 7/8/94=E4,Re:
  9031. Summary of counts (1)
  9032. 2:0.47.37 Successfully received Kim-Son Tran,12:40 PM 7/8/94=E4,ccMail
  9033. Scripting (1)
  9034. =46ri Jul 08 13:54:18 1994
  9035. 2:0.0.3 halcyon.com 110 (15)
  9036. 2:0.2.53 Successfully received 1.8a,12:47 PM 7/8/94=E4,Output of your job
  9037. "MACSCRPT" (1)
  9038. 2:0.6.34 Successfully received 1.8a,12:47 PM 7/8/94=E4,Output of your job
  9039. "MACSCRPT" (1)
  9040. 2:0.9.55 Successfully received Jason Penn,10:22 AM 7/8/94=E4,Revised Tale of
  9041. My NorCa7/8/94=E4,Re: OSA Men=
  9042. u
  9043. and Frontier (1)
  9044. 2:1.20.25 Successfully received Shaddar@aol.com,12:40 AM 7/9/94=E4,Re:
  9045. killing backgroup applications (1)
  9046. 2:1.28.30 Successfully received Shaddar@aol.com,12:42 AM 7/9/94=E4,Re:
  9047. Killing Faceless Background Apps (1)
  9048. 2:1.39.14 Successfully received anthony brown, 1:47 AM 7/9/94=E4,is there a
  9049. way to hide background apps? (1)
  9050. 2:1.47.43 Successfully received Mike Cohen,10:57 PM 7/8/94=E4,Re: OSA Menu
  9051. and Frontier (1)
  9052. 2:1.52.8 Successfully received rohrwerk@holonet.n=E4, 9:59 PM 7/8/94=E4,Re:
  9053. "Balanced" L Nets? (1)
  9054. 2:2.1.25 Successfully received Jason Penn,11:12 PM 7/8/94=E4,N9RPT's First
  9055. NorCal 40 QSO (1)
  9056. 2:2.11.13 Successfully received Todd Hooper, 2:43 PM 7/9/94=E4,Filemaker -
  9057. thanks! (1)
  9058. 2:2.24.44 Successfully received Jon Pugh,12:11 AM 7/9/94=E4,Re: Script=
  9059.  Objects (1)
  9060. 2:2.31.9 Successfully received W. Daniel,10:53 AM 7/9/94=E4,20M Shrinking (1=
  9061. )
  9062. 2:2.43.35 Successfully received W. Daniel,10:42 AM 7/9/94=E4,Sample SPRAT (1=
  9063. )
  9064. 2:2.48.51 Successfully received W. Daniel,11:17 AM 7/9/94=E4,LM386 (1)
  9065. 2:2.55.22 Successfully received Bensondj@aol.com, 7:26 AM 7/9/94=E4,40-40=
  9066.  spur (1)
  9067. 2:2.59.30 Successfully received Bensondj@aol.com, 7:46 AM 7/9/94=E4,LM386
  9068. replacement (1)
  9069. 2:3.3.9 Successfully received Mike Czuhajewski,10:47 PM 7/7/94=E4,Re QRP
  9070. Library Comments (1)
  9071. 2:3.7.55 Successfully received Mike Czuhajewski,10:54 PM 7/8/94=E4,Review my
  9072. article? (1)
  9073. 2:3.18.19 Successfully received Mike Czuhajewski,11:06 PM 7/8/94=E4,Interest
  9074. in Milliwatt? (1)
  9075. 2:3.21.35 Successfully received Andrew Maier, 4:17 PM 7/9/94=E4,Turning
  9076. AppleTalk on and off from a script (1)
  9077. 2:3.25.56 Successfully received George Synowiec,10:12 AM 7/9/94=E4,The
  9078. Scriptable Finder (1)
  9079. 2:3.34.25 Successfully received John Welch,11:53 AM 7/9/94=E4, (1)
  9080. 2:3.39.37 Successfully received Dennis Birch, 1:37 PM 7/9/94=E4,Re: "Is ther=
  9081. e
  9082. a file?" command (1)
  9083. 2:3.43.0 Successfully received Barry Chern, 4:34 PM 7/9/94=E4,msg.=
  9084.  formatting (1)
  9085. 2:3.48.12 Successfully received David Lewis, 2:37 PM 7/9/94=E4,Re: OSA Menu
  9086. and Frontier (1)
  9087. 2:3.54.6 Successfully received David Ray, 3:59 PM 7/9/94=E4,Re: MacPGP2.6 (1=
  9088. )
  9089. 2:3.59.27 Successfully received John W. Baxter, 6:04 PM 7/9/94=E4,Re: The
  9090. Scriptable Finder (1)
  9091. 2:4.2.26 Successfully received prvalko, 8:29 PM 7/9/94=E4,MFJ Audio
  9092. Improvement? (1)
  9093. 2:4.5.25 Successfully received James Speer, 9:44 PM 7/9/94=E4,Re: MFJ Audio
  9094. Improvement? (1)
  9095. 2:4.8.9 Successfully received Michael S. Dooley, 9:51 PM 7/9/94=E4,SWR Bridg=
  9096. e
  9097. from Doug Demaw in CQ (1)
  9098. 2:4.11.5 Successfully received N8ET@delphi.com,11:08 PM 7/9/94=E4,Thanks to
  9099. K5FO..... (1)
  9100. 2:4.17.3 Successfully received N8ET@delphi.com,11:09 PM 7/9/94=E4,QRP Club
  9101. Address List (1)
  9102. 2:4.21.38 Successfully received Doug Hendricks, 8:17 PM 7/9/94=E4,NorCal 40
  9103. MiniKits (1)
  9104. 2:4.28.38 Successfully received Paul G Smith, 7:46 PM 7/7/94=E4,Re:
  9105. Applescripting Serial Port (1)
  9106. 2:4.35.36 Successfully received John W. Baxter, 7:06 AM 7/10/9=E4,IM QD GX
  9107. Printing (1)
  9108. 2:4.41.49 Successfully received W. Daniel, 2:32 PM 7/10/9=E4,Re: MFJ Audio
  9109. Improvement? (1)
  9110. 2:4.47.20 Successfully received Leonard Rosenthol,12:11 PM 7/10/9=E4,Re: OSA
  9111. Menu and Frontier (1)
  9112. 2:4.50.29 Successfully received Leonard Rosenthol,12:12 PM 7/10/9=E4,Re: The
  9113. Scriptable Finder (1)
  9114. 2:4.55.25 Successfully received Bruce Toback,12:40 PM 7/10/9=E4,Re: 40/15m
  9115. rigs? (1)
  9116. 2:5.0.22 Successfully received W. J. Proffer,11:47 AM
  9117. 7/10/9=E4,Scripting/Events for QuickTake Camera Application (1)
  9118. 2:5.6.31 Successfully received Jon Pugh, 1:33 PM 7/10/9=E4,Re: Turning
  9119. AppleTalk on and off from a script (1)
  9120. 2:5.14.41 Successfully received "Lawrence D'Olivei=E4,10:32 AM 7/11/9=E4,Re:=
  9121.  is
  9122. there a way to hide background apps? (1)
  9123. 2:5.19.55 Successfully received "Lawrence D'Olivei=E4,10:37 AM 7/11/9=E4,Re:
  9124. msg. formatting (1)
  9125. 2:5.24.4 Successfully received Mike Czuhajewski, 6:00 PM 7/10/9=E4,Re
  9126. Milliwatt (1)
  9127. 2:5.28.42 Successfully received Mike Czuhajewski, 5:53 PM 7/10/9=E4,Missing
  9128. digests? (1)
  9129. 2:5.32.25 Successfully received Mike Czuhajewski, 8:21 PM 7/10/9=E4,MFJ audi=
  9130. o
  9131. comment (1)
  9132. 2:5.36.44 Successfully received Mike Czuhajewski, 8:25 PM 7/10/9=E4,New
  9133. packet address (1)
  9134. 2:5.42.11 Successfully received Shaddar@aol.com,11:08 PM 7/10/9=E4,Re:
  9135. Scripting/Events for QuickTake Camera Application (1)
  9136. 2:5.46.47 Successfully received FOXG@WCSUB.CTSTATE=E4,10:49 PM 7/10/9=E4,Fie=
  9137. ld
  9138. Day (better late than...) (1)
  9139. 2:5.54.35 Successfully received Kiran Wagle,12:38 AM 7/11/9=E4,Script Editor=
  9140.  (1)
  9141. 2:5.57.46 Successfully received John W. Baxter, 9:43 PM 7/10/9=E4,Re: msg.
  9142. formatting (1)
  9143. 2:6.2.16 Successfully received "Lawrence D'Olivei=E4, 4:46 PM 7/11/9=E4,Re:
  9144. Script Editor (1)
  9145. 2:6.5.36 Successfully received John W. Baxter,10:00 PM 7/10/9=E4,Re: Script
  9146. Editor (1)
  9147. 2:6.11.8 Successfully received Kee Nethery +1 510=E4,10:04 PM 7/10/9=E4,Re:
  9148. Scripting/Events for QuickTake Camera Application (1)
  9149. 2:6.15.12 Successfully received NYOUNG@DESIRE.WRIG=E4,11:02 PM
  9150. 7/10/9=E4,NE570s, DCRs and other doodads (1)
  9151. 2:6.18.33 Successfully received Jon Pugh,10:38 PM 7/10/9=E4,Re:
  9152. Scripting/Events for QuickTake Camera Application (1)
  9153. 2:6.23.58 Successfully received W. Daniel,11:35 AM 7/11/9=E4,MC1350 input
  9154. impedance (1)
  9155. 2:6.26.21 Successfully received Jeff Jones,10:02 PM 7/10/9=E4,QRP really doe=
  9156. s
  9157. work! (1)
  9158. 2:6.29.4 Successfully received Oliver Muoto,11:42 PM 7/10/9=E4,Re: Script
  9159. Editor (1)
  9160. 2:6.32.44 Successfully received Tom Kerns,11:50 PM 7/10/9=E4,MFJ 9020 loud
  9161. Tx/Rx switch (1)
  9162. 2:6.35.43 Successfully received Michael Silva, 1:06 AM 7/11/9=E4,Re: MC1350
  9163. input impedance (1)
  9164. 2:6.38.38 Successfully received W. Daniel, 3:43 PM 7/11/9=E4,Re: NE570s, DCR=
  9165. s
  9166. and other doodads (1)
  9167. 2:6.41.40 Successfully received W. Daniel, 4:21 PM 7/11/9=E4,MC1350 vs.=
  9168.  MC1490 (1)
  9169. 2:6.45.17 Successfully received WEBSTER_KER@CSUSYS=E4, 5:21 AM 7/11/9=E4,40/=
  9170. 40
  9171. - How do I get one? (1)
  9172. 2:6.47.56 Successfully received David Habermann, D=E4, 7:19 AM
  9173. 7/11/9=E4,Scripting MacHTTP (1)
  9174. 2:6.52.2 Successfully received Dave Fitch,12:21 PM 7/11/9=E4,Looking for ope=
  9175. n
  9176. windows in scriptable finder (1)
  9177. 2:6.54.25 Successfully received Evert Halbach, 7:06 AM 7/11/9=E4,Re: 20 mtrs
  9178. "Shrinking" (1)
  9179. 2:6.57.19 Successfully received John W. Baxter, 7:11 AM 7/11/9=E4,Re:
  9180. Scripting MacHTTP (1)
  9181. 2:7.0.10 Successfully received simon, 3:16 PM 7/11/9=E4,AScript to do networ=
  9182. k
  9183. copy? (1)
  9184. 2:7.4.12 Successfully received Stephen Trier,12:46 PM 7/11/9=E4,Re: NE570s,
  9185. DCRs and other doodads (1)
  9186. 2:7.7.9 Successfully received Brian V. Hughes,10:25 AM 7/11/9=E4,Re: Looking
  9187. for open windows in scriptable finder (1)
  9188. 2:7.10.28 Successfully received Clark Fishman (FSA=E4, 8:57 AM
  9189. 7/11/9=E4,Receiver Noise (1)
  9190. Mon Jul 11 10:38:45 1994
  9191. 8:0.0.4 read
  9192. 8:0.0.4 Trash
  9193. 8:0.0.4 ALRT 1024
  9194. 8:0.2.30 Dismissed with 1.
  9195. Mon Jul 11 13:09:40 1994
  9196. 1:0.0.3 halcyon.com 25
  9197. 1:0.2.29 Sending qrp, Re: Receiver Noise.
  9198. 8:1.10.54 That pesky MacTCP is acting up again.
  9199. 8:1.10.54 5
  9200. 8:1.10.54 The connection timed out.
  9201. 8:1.10.54 {37:110}
  9202. 8:1.10.54 ALRT 1005
  9203. 8:1.30.42 Dismissed with 1.
  9204. 1:1.30.42 Failed (601).
  9205. 8:3.8.6 Server not responding.
  9206. 8:3.8.6 -23015
  9207. 8:3.8.6 The connection came up halfway and then failed.
  9208. 8:3.8.6 {37:93}
  9209. 8:3.8.6 ALRT 1005
  9210. 8:3.33.41 Dismissed with 1.
  9211. Mon Jul 11 13:13:19 1994
  9212. 1:0.0.1 halcyon.com 25
  9213. 8:0.22.19 The host is presently unreachable.
  9214. 8:0.22.20 ALRT 1020
  9215. 8:0.25.39 Dismissed with 1.
  9216. 8:1.37.2 Server not responding.
  9217. 8:1.37.2 -23015
  9218. 8:1.37.3 The connection came up halfway and then failed.
  9219. 8:1.37.3 {37:93}
  9220. 8:1.37.3 ALRT 1005
  9221. 8:1.41.18 Dismissed with 1.
  9222. Mon Jul 11 13:29:43 1994
  9223. 1:0.0.3 halcyon.com 25
  9224. 8:1.37.4 Server not responding.
  9225. 8:1.37.4 -23015
  9226. 8:1.37.5 The connection came up halfway and then failed.
  9227. 8:1.37.5 {37:93}
  9228. 8:1.37.5 ALRT 1005
  9229. 8:1.40.51 Dismissed with 1.
  9230. Mon Jul 11 13:46:48 1994
  9231. 1:0.0.2 halcyon.com 25
  9232. 1:0.8.25 Sending qrp, Re: Receiver Noise.
  9233. 1:0.17.13 Succeeded.
  9234. 1:0.20.37 Sending W. Daniel, Re: LM386.
  9235. 1:0.38.15 Succeeded.
  9236. 1:0.39.0 Sending Mike Czuhajewski, Re: Review my article?.
  9237. 1:0.45.8 Succeeded.
  9238. 1:0.45.45 Sending Mike Czuhajewski, Re: Interest in Milliwatt?.
  9239. 1:0.54.55 Succeeded.
  9240. 1:0.55.29 Sending Bruce Toback, Re: 40/15m rigs?.
  9241. 1:1.10.40 Succeeded.
  9242. 1:1.11.13 Sending Rick Spanbauer, Re: 2213.
  9243. 1:1.18.27 Succeeded.
  9244. Mon Jul 11 13:48:27 1994
  9245. 2:0.0.1 halcyon.com 110 (13)
  9246. 2:0.2.39 Successfully received W. Daniel, 8:06 PM 7/11/9=E4,MC1350 noise (1)
  9247. 2:0.10.12 Successfully received John F. Woods, 9:54 AM 7/11/9=E4,Re: 40-40
  9248. spur (1)
  9249. 2:0.18.8 Successfully received Leonard Rosenthol, 9:41 AM 7/11/9=E4,Re:
  9250. Script Editor (1)
  9251. 2:0.20.42 Successfully received John F. Woods,11:08 AM 7/11/9=E4,transmit
  9252. mixers (1)
  9253. 2:0.24.16 Successfully received LVE@mica.inel.gov,10:10 AM 7/11/9=E4,RE:
  9254. LM386 Hiss (1)
  9255. 2:0.28.28 Successfully received janderson@polycom.=E4, 9:10 AM 7/11/9=E4,OHR
  9256. Keyer Question (1)
  9257. 2:0.32.11 Successfully received Clark Fishman (FSA=E4,12:59 PM 7/11/9=E4,Aud=
  9258. io
  9259. Amp (1)
  9260. 2:0.34.47 Successfully received LVE@mica.inel.gov,10:57 AM 7/11/9=E4,LM380
  9261. Correction... (1)
  9262. 2:0.37.35 Successfully received lhalliday@creo.bc.=E4, 9:47 AM 7/11/9=E4,Aud=
  9263. io
  9264. output chips article (1)
  9265. 2:1.25.42 Successfully received The Info-Mac Moder=E4, 7:23 AM
  9266. 7/11/9=E4,Info-Mac Digest V12 #95 1/4 (4)
  9267. 2:2.1.48 Successfully received The Info-Mac Moder=E4, 7:33 AM
  9268. 7/11/9=E4,Info-Mac Digest V12 #96 1/3 (3)
  9269. 2:2.4.33 Successfully received B. Bruce Brinson,12:37 PM 7/11/9=E4,Re: Scrip=
  9270. t
  9271. Editor (1)
  9272. 2:2.7.45 Successfully received Greg Buhyoff, 1:45 PM 7/11/9=E4,FT 690r-MKII =
  9273. (1)
  9274. Mon Jul 11 16:30:52 1994
  9275. 1:0.0.4 halcyon.com 25
  9276. 1:0.3.11 Sending John F. Woods, Re: transmit mixers.
  9277. 1:0.11.54 Succeeded.
  9278. 2:0.21.28 halcyon.com 110 (8)
  9279. 2:0.26.2 Successfully received Daniel Hagerty, 1:53 PM 7/11/9=E4,Re:
  9280. Applescripting Serial Port (1)
  9281. 2:0.28.50 Successfully received John W. Baxter, 1:45 PM 7/11/9=E4,Re: Script
  9282. Editor (1)
  9283. 2:0.31.36 Successfully received Bruce Toback, 1:55 PM 7/11/9=E4,Re: 40/15m
  9284. rigs? (1)
  9285. 2:0.34.4 Successfully received janderson@polycom.=E4,12:52 PM 7/11/9=E4,Re: =
  9286. QRP
  9287. Club Address List (1)
  9288. 2:0.38.44 Successfully received Kevin Purcell, 1:47 PM 7/11/9=E4,Re: Receive=
  9289. r
  9290. Noise (1)
  9291. 2:0.41.35 Successfully received Doug Baron, 3:17 PM 7/11/9=E4,Re: OSA Menu
  9292. and Frontier (1)
  9293. 2:0.49.25 Successfully received Doug Baron, 3:17 PM 7/11/9=E4,Re: OSA Menu
  9294. and Frontier (1)
  9295. 2:0.54.5 Successfully received Rick Spanbauer, 6:41 PM 7/11/9=E4,EBO (1)
  9296. Mon Jul 11 16:38:30 1994
  9297. 1:0.0.6 halcyon.com 25
  9298. 1:0.23.23 Sending Bruce Toback, Re: 40/15m rigs?.
  9299. 1:1.11.37 Succeeded.
  9300. 1:1.13.54 Sending mikero, Re: OSA Menu and Frontier.
  9301. 1:1.30.55 Succeeded.
  9302. Mon Jul 11 17:07:31 1994
  9303. 2:0.0.2 halcyon.com 110 (2)
  9304. 2:0.3.35 Successfully received Brian Hall, 4:33 PM 7/11/9=E4,Free Space? (1)
  9305. 2:0.6.49 Successfully received Bruce Toback, 5:02 PM 7/11/9=E4,Re: 40/15m
  9306. rigs? (1)
  9307. Tue Jul 12 08:19:58 1994
  9308. 2:0.0.2 halcyon.com 110 (14)
  9309. 2:0.3.45 Successfully received John Welch, 7:00 AM 7/11/9=E4, (1)
  9310. 2:0.6.22 Successfully received George Dobbs G3RJV,10:31 AM 7/11/9=E4,G QRP
  9311. CLUB RENEWALS (1)
  9312. 2:0.9.16 Successfully received Mike Cohen, 5:55 PM 7/11/9=E4,Re: OSA Menu an=
  9313. d
  9314. =46rontier (1)
  9315. 2:0.13.47 Successfully received anthony brown, 8:57 PM 7/11/9=E4,frontmost
  9316. and listboxes... (1)
  9317. 2:0.17.0 Successfully received John W. Baxter, 6:25 PM 7/11/9=E4,Re: OSA Men=
  9318. u
  9319. and Frontier (1)
  9320. 2:0.22.22 Successfully received Larry Mull, 6:09 PM 7/11/9=E4,First portable
  9321. QSO's (1)
  9322. 2:0.28.21 Successfully received Digidesign, Evan B=E4, 7:04 PM
  9323. 7/11/9=E4,MacApp, CodeWarrior, and MI (1)
  9324. 2:0.32.38 Successfully received FWORKS.ED@applelin=E4, 1:59 AM
  9325. 7/12/9=E4,FrameWorks Call for Authors (1)
  9326. 2:0.35.15 Successfully received MACAPP.ADMIN@apple=E4, 3:58 AM 7/12/9=E4,Res=
  9327. end
  9328. question 2 MACAPP3TECH$ (1)
  9329. 2:0.37.57 Successfully received Jon Pugh,12:17 AM 7/12/9=E4,Re:
  9330. OSAGetStorageType w/o AppleScript (1)
  9331. 2:0.40.50 Successfully received Herb Schilling, 6:08 AM 7/12/9=E4,Re:
  9332. frontmost and listboxes... (1)
  9333. 2:0.59.13 Successfully received Adam C. Engst, 9:12 PM
  9334. 7/11/9=E4,TidBITS#234/11-Jul-94 1/2 (2)
  9335. 2:1.6.48 Successfully received John Schettino, 8:46 AM 7/12/9=E4,Re:
  9336. frontmost and listboxes... (1)
  9337. 2:1.11.37 Successfully received Brian V. Hughes, 9:20 AM 7/12/9=E4,Re: Free
  9338. Space? (1)
  9339. Tue Jul 12 12:37:26 1994
  9340. 2:0.0.2 halcyon.com 110 (13)
  9341. 2:0.5.22 Successfully received John W. Baxter, 7:14 AM 7/12/9=E4,Re:
  9342. OSAGetStorageType w/o AppleScript (1)
  9343. 2:0.7.52 Successfully received Js (1)
  9344. 2:3.26.5 Successfully received Ted Albert, 4:00 PM 7/13/9=E4,NAND Gate
  9345. transmitter ? (1)
  9346. 2:3.29.57 Successfully received Shaddar@aol.com, 7:00 PM 7/13/9=E4,Re: (2)
  9347. =46rontmost Info (1)
  9348. 2:3.32.25 Successfully received Brien Pepperdine, 5:48 PM 7/13/9=E4,Re:=
  9349.  2SC799 (1)
  9350. 2:3.36.47 Successfully received Mike Czuhajewski, 7:58 AM 7/13/9=E4,No
  9351. hamfest toroids! (1)
  9352. 2:3.39.44 Successfully received Doug Baron, 4:18 PM 7/13/9=E4,Re: MACSCRPT
  9353. Digest - 11 Jul 1994 to 12 Jul 1994 (1)
  9354. 2:3.42.53 Successfully received Michael Silva,12:59 PM 7/13/9=E4,Re: thumb
  9355. tacks (1)
  9356. 2:3.47.39 Successfully received Doug Baron, 4:19 PM 7/13/9=E4,Re: Frontier:
  9357. controlling menubar objects (1)
  9358. 2:3.51.31 Successfully received Doug Baron, 4:19 PM 7/13/9=E4,Re: Making
  9359. =46rontier wait for KeyQuencer (1)
  9360. 2:3.54.36 Successfully received bruce.florip@amail=E4, 3:28 PM 7/13/9=E4,OHR=
  9361. -40
  9362. progress (1)
  9363. 2:3.57.5 Successfully received m.e.hartwell, 3:10 PM 7/13/9=E4,catalog (1)
  9364. 2:4.0.55 Successfully received David Lewis, 5:07 PM 7/13/9=E4,Re: Making
  9365. =46rontier wait for KeyQuencer (1)
  9366. 2:4.4.11 Successfully received anthony brown, 9:17 PM 7/13/9=E4,What's the
  9367. maximum size of a string in applescript/frontmost (1)
  9368. 2:4.8.33 Successfully received Bruce Toback, 1:45 PM 7/13/9=E4,Re:  NAND Gat=
  9369. e
  9370. transmitter ? (1)
  9371. 2:4.14.5 Successfully received John W. Baxter, 7:28 PM 7/13/9=E4,Re: What's
  9372. the maximum size of a string in applescript/frontmo (1)
  9373. 2:4.18.58 Successfully received Wayne Burdick, 6:32 PM 7/13/9=E4,Sierra=
  9374.  status (1)
  9375. 2:4.21.54 Successfully received Dale L. Thomas, 7:55 PM 7/13/9=E4,MACSCRPT (=
  9376. 1)
  9377. 2:4.26.39 Successfully received Stephen Trier, 1:11 AM 7/14/9=E4,Re: NAND
  9378. Gate transmitter ? (1)
  9379. 2:4.30.14 Successfully received David Myers,11:04 PM 7/13/9=E4,Re: Frontier:
  9380. controlling menubar objects (1)
  9381. 2:4.34.4 Successfully received Michael Silva, 5:22 PM 7/13/9=E4,Re: NAND Gat=
  9382. e
  9383. transmitter ? (1)
  9384. 2:4.37.28 Successfully received Michael Silva, 5:30 PM 7/13/9=E4,Re: 2SC799 =
  9385. (1)
  9386. 2:4.40.0 Successfully received JimN0OCT@aol.com,10:31 PM 7/13/9=E4,baluns,
  9387. tuners, etc. (1)
  9388. 2:4.43.17 Successfully received JimN0OCT@aol.com,10:56 PM 7/13/9=E4,Re: 7.11=
  9389. 0
  9390. marine bcster..... (1)
  9391. 2:4.46.52 Successfully received Stephen Trier, 2:47 AM 7/14/9=E4,Re: NAND
  9392. Gate transmitter ? (1)
  9393. 2:4.50.10 Successfully received Mike Czuhajewski,10:59 PM 7/13/9=E4,Got
  9394. Archives! (1)
  9395. 2:4.52.34 Successfully received FOXG@WCSUB.CTSTATE=E4, 1:33 AM 7/14/9=E4,Is
  9396. that what you look like! (1)
  9397. 2:4.56.40 Successfully received Michael Silva, 8:45 PM 7/13/9=E4,Re: NAND
  9398. Gate transmitter ? (1)
  9399. 2:5.0.52 Successfully received Stephen Lee,11:41 PM 7/13/9=E4,Re: NAND Gate
  9400. transmitter ? (1)
  9401. 2:5.4.50 Successfully received WalrathW,11:47 AM 7/14/9=E4,Re: cancel (1)
  9402. 2:5.7.55 Successfully received Kiran Wagle, 8:00 AM 7/14/9=E4,Apple's
  9403. scripting packages (1)
  9404. 2:5.10.13 Successfully received P J Roberts,12:02 PM 7/14/9=E4,Info needed o=
  9405. n
  9406. J310 FETs (1)
  9407. 2:5.12.51 Successfully received Jean Berthomieu, 2:45 PM 7/14/9=E4,Re: AS=
  9408.  1.1 (1)
  9409. 2:5.17.16 Successfully received Peter 'Happy' Thom=E4, 9:07 AM 7/14/9=E4,Re:=
  9410.  AS
  9411. 1.1 (1)
  9412. 2:5.19.35 Successfully received Greg Buhyoff, 7:53 AM 7/14/9=E4,internet
  9413. reflector for eqip sales (1)
  9414. 2:5.23.45 Successfully received Brian V. Hughes, 9:41 AM 7/14/9=E4,Re: (2)
  9415. =46rontmost Info (1)
  9416. 2:5.27.38 Successfully received Brian V. Hughes, 9:43 AM 7/14/9=E4,Re: AS=
  9417.  1.1 (1)
  9418. 2:5.31.34 Successfully received Nathaniel Comfort =E4,10:05 AM
  9419. 7/14/9=E4,FMPro:changing layout on the fly (1)
  9420. 2:5.34.48 Successfully received Muenzler, Kevin, 8:15 AM 7/14/9=E4,RE: NAND
  9421. Gate Transmitter (1)
  9422. 2:5.37.36 Successfully received Greg Francis, 7:48 AM 7/14/9=E4,Opening a DA
  9423. from AppleScript? (1)
  9424. 2:5.41.10 Successfully received Mike Czuhajewski, 7:43 AM 7/14/9=E4,SPRAT an=
  9425. d
  9426. QQ are out (1)
  9427. 2:5.48.21 Successfully received Mike Czuhajewski, 7:48 AM 7/14/9=E4,Show and
  9428. Tell in MD (1)
  9429. 2:5.54.55 Successfully received Andy J. Williams,11:14 AM 7/14/9=E4,MS:
  9430. Monthly Harrange (1)
  9431. Thu Jul 14 08:46:03 1994
  9432. 8:0.0.3 read
  9433. 8:0.0.4 Trash
  9434. 8:0.0.4 ALRT 1024
  9435. 8:0.2.50 Dismissed with 1.
  9436. Thu Jul 14 08:49:00 1994
  9437. 8:0.0.3 read
  9438. 8:0.0.3 Trash
  9439. 8:0.0.4 ALRT 1024
  9440. 8:0.2.28 Dismissed with 1.
  9441. Thu Jul 14 08:52:16 1994
  9442. 8:0.0.3 read
  9443. 8:0.0.3 Trash
  9444. 8:0.0.3 ALRT 1024
  9445. 8:0.2.22 Dismissed with 1.
  9446. Thu Jul 14 08:54:42 1994
  9447. 8:0.0.2 ALRT 1036
  9448. 8:0.0.16 Dismissed with -1.
  9449. Thu Jul 14 08:58:06 1994
  9450. 8:0.0.4 ALRT 1001
  9451. 8:0.4.59 Dismissed with 1.
  9452. Thu Jul 14 08:58:34 1994
  9453. 8:0.0.0 =B4No Recipient=AA, =B4No Subject=AA
  9454. 8:0.0.1 ALRT 1010
  9455. 8:0.2.8 Dismissed with 2.
  9456. Thu Jul 14 09:11:15 1994
  9457. 8:0.0.3 read
  9458. 8:0.0.3 Trash
  9459. 8:0.0.3 ALRT 1024
  9460. 8:0.3.17 Dismissed with 1.
  9461. Thu Jul 14 09:15:08 1994
  9462. 8:0.0.2 read
  9463. 8:0.0.3 Trash
  9464. 8:0.0.3 ALRT 1024
  9465. 8:0.2.18 Dismissed with 1.
  9466. Thu Jul 14 09:45:52 1994
  9467. 8:0.0.2 ALRT 1023
  9468. 8:0.3.29 Dismissed with 1.
  9469. 1:0.3.47 halcyon.com 25
  9470. 1:0.6.40 Sending W. Daniel, Re: Receiver Noise.
  9471. 1:0.53.22 Succeeded.
  9472. 1:0.54.31 Sending mulle009@MAROON.TC.UMN.EDU, =B4No Subject=AA.
  9473. 1:1.5.57 Succeeded.
  9474. 1:1.6.30 Sending W. Daniel, Re: 21 keyer boards to mail tomorrow.
  9475. 1:1.14.10 Succeeded.
  9476. Thu Jul 14 11:01:54 1994
  9477. 2:0.0.4 halcyon.com 110 (15)
  9478. 2:0.3.29 Successfully received Kevin Burke,10:16 AM 7/14/9=E4,Eudora Sorting
  9479. Scripts (1)
  9480. 2:0.10.12 Successfully received John F. Woods,10:17 AM 7/14/9=E4,Re: NAND
  9481. Gate transmitter ? (1)
  9482. 2:0.13.18 Successfully received 10465::M405142, 8:49 AM 7/14/9=E4,AGC in DC
  9483. Receivers, Part II (1)
  9484. 2:0.16.9 Successfully received John F. Woods,10:06 AM 7/14/9=E4,Re: 2SC799 (=
  9485. 1)
  9486. 2:0.20.2 Successfully received Brian C. Forney,10:29 AM 7/14/9=E4,Anarchie
  9487. 1.21 & AppleScript problem (1)
  9488. 2:0.27.22 Successfully received Fred Terry,10:41 AM 7/14/9=E4,Re: Eudora
  9489. Sorting Scripts (1)
  9490. 2:0.33.25 Successfully received David Feldman, 7:58 AM 7/14/9=E4,Re: NAND
  9491. Gate transmitter ? (1)
  9492. 2:0.38.29 Successfully received stark, 7:50 AM 7/14/9=E4,Re: Got Archives! (=
  9493. 1)
  9494. 2:0.41.54 Successfully received Desmond K. Mullen,12:02 PM 7/14/9=E4,Re: (1)
  9495. 2:0.44.56 Successfully received 10465::M405142, 8:26 AM 7/14/9=E4,RE: TTL
  9496. Transmitter. (1)
  9497. 2:0.48.19 Successfully received P J Roberts, 4:53 PM 7/14/9=E4,Thanks for
  9498. J310 info (1)
  9499. 2:0.50.40 Successfully received "The more I learn,=E4,12:10 PM 7/14/9=E4,QRP
  9500. ops from Florida IOTA (1)
  9501. 2:0.53.11 Successfully received Klaus P. Fechner,12:38 PM 7/14/9=E4,Re: AS=
  9502.  1.1 (1)
  9503. 2:1.0.5 Successfully received lhalliday@creo.bc.=E4, 9:08 AM 7/14/9=E4,Re:
  9504. Plessey SL6440 mixer - source? (1)
  9505. 2:1.2.37 Successfully received Roy S. Rapoport,10:47 AM 7/14/9=E4,Checking
  9506. for the Existence of a Disk (1)
  9507. Thu Jul 14 11:53:51 1994
  9508. 1:0.0.3 halcyon.com 25
  9509. =========================================================================
  9510. Date:         Thu, 14 Jul 1994 11:55:37 -0700
  9511. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  9512. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  9513. From:         Kevin Purcell <xenolith@HALCYON.COM>
  9514. Subject:      Re: Anarchie 1.21 & AppleScript problem
  9515.  
  9516. >on open myFile
  9517. >        --set up the ftp info
  9518. >        set destinationSite to "copper.engin.umich.edu"
  9519. >        set userName to "bforney"
  9520. >        set userPassword to text returned of ?
  9521. >                (display dialog "Please enter your password:" default answe=
  9522. r
  9523. >"")
  9524. >        set sendFile to myFile as string -- turn file into a string
  9525. >
  9526. >        tell application "Anarchie"
  9527. >                activate
  9528. >                store host destinationSite path "~" name sendFile user user=
  9529. Name
  9530. >password
  9531. >userPassword
  9532. >        end tell
  9533. >end open
  9534. >
  9535. >The script seems to die on the store command with an error "Can't make some
  9536. >data
  9537. >into the expected type." All of the parameters for the store command should=
  9538.  be
  9539. >strings, but I can't figure out why they aren't passed as strings. (I have
  9540. >changed the set statements to include "as string" but this doesn't help.)
  9541. >
  9542. >Brian Forney
  9543. >brian.forney@fallon.com
  9544. >bforney@umich.edu
  9545.  
  9546. The store event needs an alias (or a file reference) to the file you are
  9547. going to store. This also must be the first parameter to the command. You
  9548. get a list of aliases to the files dropped in the myFile parameter
  9549. (remember there could be more than one ...).
  9550.  
  9551. So wrap tell app "Anarchie" in the following manner:
  9552.  
  9553. tell application "Anarchie"
  9554.         activate
  9555.         repeat with aFile in myFile
  9556.                 store aFile etc .....
  9557.         end repeat
  9558. end tell
  9559.  
  9560. And remove the references to "sendFile"
  9561.  
  9562. This should work (I've not tried it).
  9563.  
  9564. Tue Jun 28 11:45:28 1994
  9565. 2:0.0.0 Successfully received MACAPP.ADMIN@apple=94, 6:13 PM 6/28/9=94,Inter=
  9566. net
  9567. limitation (1)
  9568. 2:0.2.53 Successfully received Leonard Rosenthol,11:04 AM 6/28/9=94,Re:
  9569. Calling a script from an application (1)
  9570. Tue Jun 28 16:37:51 1994
  9571. 1:0.0.3 halcyon.com 25
  9572. 1:0.2.18 Sending seanbe@microsoft.com, Re: FW: 2 die seeing E.C..
  9573. 1:0.7.35 Succeeded.
  9574. 2:0.31.47 halcyon.com 110 (14)
  9575. 2:0.34.27 Successfully received John F. Woods, 2:47 PM 6/28/9=94,Re: Field
  9576. Day Class 15A?! (1)
  9577. 2:0.37.35 Successfully received Jeff Robbins, 2:30 PM 6/28/9=94,How to use a
  9578. text window in Eudora (1)
  9579. 2:0.40.25 Successfully received John W. Baxter,11:05 AM 6/28/9=94,Re: Event
  9580. Manager (1)
  9581. 2:0.43.1 Successfully received Magnus Krampell, 1:13 PM 6/28/9=94,CMOS
  9582. Superkeyer II from Idiom Press ? (1)
  9583. 2:0.46.0 Successfully received B. Bruce Brinson, 2:34 PM 6/28/9=94,Re: Event
  9584. Manager take 2 (1)
  9585. 2:0.48.44 Successfully received Doug Baron,11:34 AM 6/28/9=94,Re: Frontier:
  9586. kAENoUserInteraction (or whatever it's called... (1)
  9587. 2:0.51.43 Successfully received Taylor Leaming H3-=94, 1:41 PM
  9588. 6/28/9=94,Scripting Eudora through a firewall? (1)
  9589. 2:0.54.41 Successfully received William N. Blake, 2:46 PM 6/28/9=94,Re: Even=
  9590. t
  9591. Manager (1)
  9592. 2:0.57.9 Successfully received John F. Woods, 2:47 PM 6/28/9=94,Re: Field Da=
  9593. y
  9594. Class 15A?! (1)
  9595. 2:0.59.59 Successfully received Kevin Purcell,11:44 AM 6/28/9=94,Re: Field
  9596. Day Class 15A?! (1)
  9597. 2:1.2.28 Successfully received Sandro Menzel,12:08 PM 6/28/9=94,Re: I need
  9598. Cherie Nickell's phone number (1)
  9599. 2:1.5.20 Successfully received Kee Nethery +1 408=94, 1:10 PM 6/28/9=94,Re: =
  9600. How
  9601. to use a text window in Eudora (1)
  9602. 2:1.9.46 Successfully received Fred Terry, 3:51 PM 6/28/9=94,Info about
  9603. Scripter (1)
  9604. 2:1.12.56 Successfully received Jeremy Howard, 9:28 AM 6/29/9=94,Re:
  9605. Scripting Eudora through a firewall? (1)
  9606. Wed Jun 29 08:55:02 1994
  9607. 1:0.0.4 halcyon.com 25
  9608. 1:0.17.27 Sending John F. Woods, Re: Field Day Class 15A?!.
  9609. 1:0.42.58 Succeeded.
  9610. 1:0.46.40 Sending Sandro Menzel, Re: I need Cherie Nickell's phone number.
  9611. 1:0.52.32 Succeeded.
  9612. 2:0.56.31 halcyon.com 110 (23)
  9613. 2:0.59.37 Successfully received Lawrence D'Oliveiro,12:05 PM 6/29/9=94,Re> I=
  9614. s
  9615. this an AppleScript bug? (1)
  9616. 2:1.2.32 Successfully received nmodena@unity.ncsu=94, 6:47 PM 6/28/9=94,QRP =
  9617. FD
  9618. in Raleigh NC (1)
  9619. 2:1.5.0 Successfully received Bookbinder, 4:44 PM 6/28/9=94,sort order (1)
  9620. 2:1.12.11 Successfully received Christopher Allen, 5:43 PM 6/28/9=94,Everyda=
  9621. y
  9622. AppleScript(tm) Contest Winners! (1)
  9623. 2:1.34.45 Successfully received The Info-Mac Moder=94, 6:33 PM
  9624. 6/28/9=94,Info-Mac Digest V12 #91 1/4 (4)
  9625. 2:1.37.45 Successfully received Lawrence D'Oliveiro, 2:52 PM 6/29/9=94,Re>
  9626. error -610 (1)
  9627. 2:1.40.24 Successfully received Lawrence D'Oliveiro, 3:05 PM 6/29/9=94,MIME
  9628. disappointment (1)
  9629. 2:1.43.12 Successfully received Craig Richmond,11:31 AM 6/29/9=94,Re: MIME
  9630. disappointment (1)
  9631. 2:1.45.52 Successfully received "Lawrence D'Olivei=94, 4:51 PM 6/29/9=94,Re:
  9632. MIME disappointment (1)
  9633. 2:1.48.42 Successfully received Mike Czuhajewski,11:36 PM 6/28/9=94,Where ar=
  9634. e
  9635. archives? (1)
  9636. 2:1.53.4 Successfully received Mike Czuhajewski,11:32 PM 6/28/9=94,More=
  9637.  coils (1)
  9638. 2:1.56.21 Successfully received John W. Baxter,10:20 PM 6/28/9=94,Re: Re> Is
  9639. this an AppleScript bug? (1)
  9640. 2:1.59.28 Successfully received John W. Baxter,10:37 PM 6/28/9=94,Re: error
  9641. -610 (1)
  9642. 2:2.2.55 Successfully received Steve Palmen,11:30 PM 6/28/9=94,Re: I need
  9643. Cherie Nickell's phone number (1)
  9644. 2:2.6.58 Successfully received stark,11:27 PM 6/28/9=94,Re: CMOS Superkeyer
  9645. II from Idiom Press ? (1)
  9646. 2:2.9.30 Successfully received stark,11:32 PM 6/28/9=94,Manual help (1)
  9647. 2:2.12.17 Successfully received Stan Goldstein, N6=94,11:37 PM
  9648. 6/28/9=94,archive access (1)
  9649. 2:2.14.48 Successfully received Dean J. Spearman, 7:57 AM 6/29/9=94,Re:
  9650. Analyzing checkboxes (1)
  9651. 2:2.18.21 Successfully received Dean J. Spearman, 7:58 AM 6/29/9=94,Re: clea=
  9652. n
  9653. page breaking? (1)
  9654. 2:2.20.45 Successfully received Ernst 'pooh' Mulder, 2:12 PM 6/29/9=94,Re:
  9655. clean page breaking? (1)
  9656. 2:2.23.31 Successfully received Fred Terry, 8:54 AM 6/29/9=94,formatted
  9657. number/string conversion UCMD (1)
  9658. 2:2.26.12 Successfully received David Lewis, 8:33 AM 6/29/9=94,Re: MIME
  9659. disappointment (1)
  9660. 2:2.30.30 Successfully received nmodena@unity.ncsu=94,10:01 AM 6/29/9=94,QRP
  9661. archives...via gopher (1)
  9662. Wed Jun 29 09:15:43 1994
  9663. 1:0.0.2 halcyon.com 25
  9664. 1:0.2.21 Sending dBug-SIG, SIG Meeting on **June 30th**.
  9665. 1:0.14.23 Succeeded.
  9666. Wed Jun 29 09:23:42 1994
  9667. 2:0.0.2 halcyon.com 110 (1)
  9668. 2:0.2.26 Successfully received John F. Woods,12:00 PM 6/29/9=94,Re: Field Da=
  9669. y
  9670. Class 15A?! (1)
  9671. Wed Jun 29 10:52:46 1994
  9672. 1:0.0.3 halcyon.com 25
  9673. 1:0.3.5 Sending John F. Woods, Re: Field Day Class 15A?!.
  9674. 1:0.21.10 Succeeded.
  9675. 1:0.25.47 Sending AppleScript, Is it Scriptor or scripter?.
  9676. 1:0.37.52 Succeeded.
  9677. 2:0.42.21 halcyon.com 110 (6)
  9678. 2:0.45.15 Successfully received John Littlefield,11:31 AM 6/29/9=94,Re: clea=
  9679. n
  9680. page breaking- solutions (1)
  9681. 2:0.47.50 Successfully received Chris Colebank, 9:26 AM 6/29/9=94,copying
  9682. files to Novell vol (1)
  9683. 2:0.54.55 Successfully received John Littlefield,11:42 AM 6/29/9=94,Re: clea=
  9684. n
  9685. page breaking? (1)
  9686. 2:0.57.37 Successfully received John Littlefield,12:18 PM 6/29/9=94,Re: sort
  9687. order (1)
  9688. 2:1.0.56 Successfully received W0HEP@aol.com,12:05 PM 6/29/9=94,CQC FD 94 (1=
  9689. )
  9690. 2:1.3.42 Successfully received william.redfearn.c=94, 8:06 AM 6/29/9=94,Inde=
  9691. x
  9692. Labs Phone Number? (1)
  9693. Wed Jun 29 12:44:55 1994
  9694. 2:0.0.3 halcyon.com 110 (7)
  9695. 2:0.4.20 Successfully received 1.7f, 1:54 PM 6/29/9=94,Output of your job
  9696. "MACSCRPT" (1)
  9697. 2:0.12.57 Successfully received Brian V. Hughes, 2:19 PM 6/29/9=94,Re: Is it
  9698. Scriptor or scripter? (1)
  9699. 2:0.15.25 Successfully received Brian V. Hughes, 2:19 PM 6/29/9=94,Re: Is it
  9700. Scriptor or scripter? (1)
  9701. 2:0.20.39 Successfully received Christian Orellana, 7:37 PM 6/29/9=94,Help!
  9702. ClarisWorks upgrade disintegrated aete resource (1)
  9703. 2:0.23.15 Successfully received John W. Baxter,11:59 AM 6/29/9=94,Re: Is it
  9704. Scriptor or scripter? (1)
  9705. 2:0.29.50 Successfully received John W. Baxter,12:02 PM 6/29/9=94,Real Re: I=
  9706. s
  9707. it Scriptor or scripter? (1)
  9708. 2:0.32.33 Successfully received TOM FORD - DUPONT =94, 3:32 PM 6/29/9=94,Re:
  9709. sort order (1)
  9710. Wed Jun 29 13:55:14 1994
  9711. 2:0.0.2 halcyon.com 110 (3)
  9712. 2:0.2.35 Successfully received Robert Burns,12:49 PM 6/29/9=94,ASD Puget
  9713. Sound July Meeting Reminder (1)
  9714. 2:0.5.2 Successfully received John W. Baxter, 1:18 PM 6/29/9=94,Re: SIG
  9715. Meeting on **June 30th** (1)
  9716. 2:0.7.26 Successfully received Peter Furmonavicius, 4:39 PM 6/29/9=94,AS
  9717. question (1)
  9718. Wed Jun 29 15:31:30 1994
  9719. 2:0.0.3 halcyon.com 110 (3)
  9720. 2:0.3.58 Successfully received Brian V. Hughes, 5:04 PM 6/29/9=94,Re: AS
  9721. question (1)
  9722. 2:0.6.22 Successfully received MIND.MOTION@applel=94, 9:45 PM
  9723. 6/29/9=94,Subclassing under SOM (1)
  9724. 2:0.8.46 Successfully received K. R. Maxwell, 3:52 AM 6/29/9=94,Coercing
  9725. Pathnames in AppleScript (1)
  9726. Wed Jun 29 16:55:00 1994
  9727. 2:0.0.3 halcyon.com 110 (2)
  9728. 2:0.2.36 Successfully received Scott Sminkey - Su=94, 3:58 PM 6/29/9=94,More=
  9729.  on
  9730. the QST compact loop antenna (1)
  9731. 2:0.5.12 Successfully received John W. Baxter, 3:46 PM 6/29/9=94,Re: Coercin=
  9732. g
  9733. Pathnames in AppleScript (1)
  9734. Thu Jun 30 08:15:31 1994
  9735. 2:0.0.3 halcyon.com 110 (26)
  9736. 2:0.2.40 Successfully received Burbidge, Michael,12:18 AM 6/30/9=94,Re:
  9737. Subclassing under SOM (1)
  9738. 2:0.6.17 Successfully received N8ET@delphi.com, 7:41 PM 6/29/9=94,R1/R2/T2
  9739. info (1)
  9740. 2:0.9.9 Successfully received Michelle Preston, 6:24 PM 6/29/9=94,Analyzing
  9741. Checkboxes part two (1)
  9742. 2:0.15.51 Successfully received Barry Chern,11:46 PM 6/29/9=94,last word (1)
  9743. 2:0.17.55 Successfully received Jeff Wedgwood, 8:07 PM 6/29/9=94,Re: SIG
  9744. Meeting on **June 30th** (1)
  9745. 2:0.20.1 Successfully received Jeff Wedgwood, 8:04 PM 6/29/9=94,Re: test 1 (=
  9746. 1)
  9747. 2:0.24.36 Successfully received Jeremy Peter Howard, 2:05 PM 6/30/9=94,Re:
  9748. last word (1)
  9749. 2:0.27.52 Successfully received John W. Baxter, 9:27 PM 6/29/9=94,Re: last
  9750. word (1)
  9751. 2:0.29.59 Successfully received FOXG@WCSUB.CTSTATE=94,12:52 AM=
  9752.  6/30/9=94,RELAYS (1)
  9753. 2:0.32.22 Successfully received Tom Kerns,11:20 PM 6/29/9=94,Re: Software fo=
  9754. r
  9755. the Mac (1)
  9756. 2:0.34.52 Successfully received Jon Pugh,11:43 PM 6/29/9=94,Re: MIME
  9757. disappointment (1)
  9758. 2:0.37.13 Successfully received Adam Freeman, 8:42 AM 6/30/9=94,Please take
  9759. me off this list (1)
  9760. 2:0.39.29 Successfully received James Speer, 2:54 AM 6/30/9=94,Re: RELAYS (1=
  9761. )
  9762. 2:0.41.47 Successfully received YONA_SADIGURSCHI@M=94, 1:08 PM 6/30/9=94,OPF
  9763. and Metrowerkers (1)
  9764. 2:0.44.5 Successfully received LOCKWOOD@CAMBRIDGE=94,10:30 AM 6/30/9=94,Re: =
  9765. OPF
  9766. and Metrowerkers (1)
  9767. 2:0.46.32 Successfully received John Schettino, 8:06 AM 6/30/9=94,Re:
  9768. Coercing Pathnames in AppleScript (1)
  9769. 2:0.49.11 Successfully received John Schettino, 8:14 AM 6/30/9=94,Re: last
  9770. word (1)
  9771. 2:0.51.40 Successfully received John Schettino, 8:20 AM 6/30/9=94,Re: last
  9772. word (1)
  9773. 2:0.55.24 Successfully received Brian V. Hughes, 9:44 AM 6/30/9=94,Re:
  9774. Coercing Pathnames in AppleScript (1)
  9775. 2:1.4.36 Successfully received Frank Lowney, 9:53 AM 6/30/9=94,Re: Event
  9776. Manager take 2 (1)
  9777. 2:1.8.36 Successfully received Ed Stratton       =94, 4:24 PM 6/29/9=94,RE:
  9778. More on the QST compact loop antenna (1)
  9779. 2:1.11.21 Successfully received Brian V. Hughes,10:11 AM 6/30/9=94,Getting a
  9780. script to wait... (1)
  9781. 2:1.15.14 Successfully received "Robert E. Easton =94, 8:52 AM 6/30/9=94,Hom=
  9782. e
  9783. Brew Sprint coming up (1)
  9784. 2:1.17.55 Successfully received Pattie Devlin, 8:40 AM 6/30/9=94,Re:
  9785. Analyzing Checkboxes part two (1)
  9786. 2:1.20.42 Successfully received Scott Sminkey - Su=94, 9:09 AM 6/30/9=94,FD =
  9787. de
  9788. W1TKZ (1)
  9789. 2:1.23.21 Successfully received howie cahn, 9:17 AM 6/30/9=94,Survey: ham
  9790. magazines / computer operating systems (1)
  9791. Thu Jun 30 08:45:49 1994
  9792. 8:0.0.3 read
  9793. 8:0.0.3 Trash
  9794. 8:0.0.4 ALRT 1024
  9795. 8:0.3.23 Dismissed with 1.
  9796. Thu Jun 30 08:47:39 1994
  9797. 1:0.0.3 halcyon.com 25
  9798. 1:0.2.12 Sending Tom Kerns, Re: Software for the Mac.
  9799. 1:0.7.32 Succeeded.
  9800. 1:0.9.59 Sending howie cahn, Re: Survey: ham magazines / computer operating
  9801. systems.
  9802. 1:0.15.41 Succeeded.
  9803. Thu Jun 30 10:52:37 1994
  9804. 2:0.0.3 halcyon.com 110 (6)
  9805. 2:0.3.18 Successfully received John Littlefield, 9:43 AM 6/30/9=94,Re:
  9806. Analyzing Checkboxes part two (1)
  9807. 2:0.6.13 Successfully received Saul Taylor,10:45 AM 6/30/9=94,Stuck in
  9808. Preview with script (1)
  9809. 2:0.9.5 Successfully received Bruce Walker,10:19 AM 6/30/9=94,QRP List=
  9810.  Status (1)
  9811. 2:0.11.47 Successfully received Leonard Rosenthol,10:20 AM 6/30/9=94,Re:
  9812. Event Manager take 2 (1)
  9813. 2:0.15.31 Successfully received Daniel R. Auchincl=94,12:16 PM 6/30/9=94,Re:
  9814. clean page breaking? (1)
  9815. 2:0.17.54 Successfully received khd@karloff.lanl.g=94,10:15 AM 6/30/9=94,589
  9816. QRP from TX (1)
  9817. Thu Jun 30 12:05:18 1994
  9818. 2:0.0.3 halcyon.com 110 (5)
  9819. 2:0.4.9 Successfully received Steve Michel,10:52 AM 6/30/9=94,Re: Is it
  9820. Scriptor or scripter? (1)
  9821. 2:0.6.39 Successfully received James Speer,12:01 PM 6/30/9=94,Re: 589 QRP
  9822. from TX (1)
  9823. 2:0.11.0 Successfully received Evert Halbach,11:54 AM 6/30/9=94,Same list (1=
  9824. )
  9825. 2:0.13.48 Successfully received "Dave Griffin, Fer=94, 2:28 PM 6/30/9=94,Re:
  9826. =46older Trash Not Found Error (1)
  9827. 2:0.15.54 Successfully received Stephen Trier, 5:23 PM 6/30/9=94,Re: ham-exp=
  9828. o
  9829. friedrichshafen (1)
  9830. Thu Jun 30 15:16:09 1994
  9831. 2:0.0.3 halcyon.com 110 (17)
  9832. 2:0.2.22 Successfully received Cherie Peterson, 2:09 PM 6/30/9=94,Re: clean
  9833. page breaking? (1)
  9834. 2:0.8.4 Successfully received Aaron E. McClennen, 1:38 PM 6/30/9=94,Re: erro=
  9835. r
  9836. -610 (1)
  9837. 2:0.11.54 Successfully received Bruce Walker, 1:45 PM 6/30/9=94,more
  9838. administrivia (1)
  9839. 2:0.15.56 Successfully received Stephen Trier, 6:10 PM 6/30/9=94,Re: (1)
  9840. 2:0.18.49 Successfully received Barry Chern, 3:13 PM 6/30/9=94,Re: last word=
  9841.  (1)
  9842. 2:0.25.5 Successfully received John W. Baxter,12:17 PM 6/30/9=94,Re: MIME
  9843. disappointment (1)
  9844. 2:0.27.23 Successfully received Cherie Peterson, 2:30 PM 6/30/9=94,Re: Stuck
  9845. in Preview with script (1)
  9846. 2:0.29.55 Successfully received John Littlefield, 2:27 PM 6/30/9=94,Re: clea=
  9847. n
  9848. page breaking? (1)
  9849. 2:0.33.33 Successfully received Cindy Zimmerman, 3:51 PM 6/30/9=94,working
  9850. with nonscriptable applic. (1)
  9851. 2:0.35.51 Successfully received Saul Taylor, 4:08 PM 6/30/9=94,Re: Stuck in
  9852. Preview with script (1)
  9853. 2:0.38.1 Successfully received Saul Taylor, 3:39 PM 6/30/9=94,? Delay in
  9854. distribution (1)
  9855. 2:0.40.31 Successfully received John W. Baxter, 2:19 PM 6/30/9=94,Frontier
  9856. 3.0.x string.popLeading () (1)
  9857. 2:0.43.8 Successfully received Rich Coulombre, 2:34 PM 6/30/9=94,Re:
  9858. Analyzing Checkboxes part two (1)
  9859. 2:0.46.22 Successfully received Jamie Lawrence, 2:45 PM 6/30/9=94,Address &
  9860. number for UseLand? (1)
  9861. 2:0.48.57 Successfully received "Lawrence D'Olivei=94, 9:47 AM 7/1/94=94,Re:
  9862. Event Manager take 2 (1)
  9863. 2:0.51.12 Successfully received Fred Terry, 4:48 PM 6/30/9=94,Re: Address &
  9864. number for UseLand? (1)
  9865. 2:0.54.17 Successfully received Igor Livshits, 4:55 PM 6/30/9=94,Notify and
  9866. Eudora 2.1 (1)
  9867. Thu Jun 30 15:48:04 1994
  9868. 8:0.0.1 Macintosh Scripting Systems, Re: File path, strings, aliass,
  9869. =46sSpecs, etc
  9870. 8:0.0.1 ALRT 1010
  9871. 8:0.3.52 Dismissed with 1.
  9872. 8:0.4.17 Martina Lauchengco, Re: MacWord beta
  9873. 8:0.4.17 ALRT 1010
  9874. 8:0.5.6 Dismissed with 1.
  9875. 8:0.5.20 scottra@microsoft.com, =A5No Subject=81
  9876. 8:0.5.20 ALRT 1010
  9877. 8:0.6.20 Dismissed with 1.
  9878. Tue Jul 05 11:23:49 1994
  9879. 2:0.0.3 halcyon.com 110 (126)
  9880. 2:0.2.23 Successfully received RICHER@island.com, 7:39 PM 6/30/9=94,Re: OPF
  9881. and Metrowerkers (1)
  9882. 2:0.5.26 Successfully received Doug Baron, 4:44 PM 6/30/9=94,Re: Address &
  9883. number for UseLand? (1)
  9884. 2:0.11.50 Successfully received Steve Martin, 9:58 PM 6/30/9=94,Re: Everyday
  9885. AppleScript(tm) Contest Winners! (1)
  9886. 2:0.14.32 Successfully received Tom Kerns, 9:08 PM 6/30/9=94,Re: Software fo=
  9887. r
  9888. the Mac (1)
  9889. 2:0.16.55 Successfully received Tim Bertram,10:34 AM 6/30/9=94,Re: SIG
  9890. Meeting on **June 30th** (1)
  9891. 2:0.19.52 Successfully received Clark Savage Turne=94, 8:27 PM 6/30/9=94,Ten
  9892. Tec PTO adjustment (1)
  9893. 2:0.22.27 Successfully received Clark Savage Turne=94, 8:41 PM 6/30/9=94,Nor=
  9894. Cal
  9895. 40 backpacking (1)
  9896. 2:0.25.36 Successfully received Nick Arnett,10:20 PM 6/30/9=94,Index &
  9897. full-text archive of these lists (1)
  9898. 2:0.28.9 Successfully received Tero Loimuneva, 9:09 AM 7/1/94=94,Re: Folder
  9899. Trash Not Found Error (1)
  9900. 2:0.30.46 Successfully received John W. Baxter,11:47 PM 6/30/9=94,Re: Addres=
  9901. s
  9902. & number for UseLand? (1)
  9903. 2:0.33.16 Successfully received Clark Savage Turne=94,12:24 AM 7/1/94=94,Hap=
  9904. py
  9905. "G5RV" antenna change (1)
  9906. 2:0.38.30 Successfully received Barry Chern, 4:53 AM 7/1/94=94,last word (1)
  9907. 2:0.41.13 Successfully received Bensondj@aol.com, 6:41 AM 7/1/94=94,Field Da=
  9908. y
  9909. Results (1)
  9910. 2:0.43.52 Successfully received Todd Hooper, 8:57 PM 7/1/94=94,ScriptLink (1=
  9911. )
  9912. 2:0.47.0 Successfully received David Flory, 6:12 AM 7/1/94=94,Re: Stuck in
  9913. Preview with script (1)
  9914. 2:0.51.52 Successfully received Mario Garcia, 8:42 AM 7/1/94=94,help (1)
  9915. 2:0.56.6 Successfully received JimN0OCT@aol.com, 8:17 AM 7/1/94=94,Tuners (1=
  9916. )
  9917. 2:0.59.45 Successfully received Justin Rains, 8:47 AM 7/1/94=94,DataBase of
  9918. Users--PSE Read (1)
  9919. 2:1.32.59 Successfully received The Info-Mac Moder=94, 7:01 AM
  9920. 7/1/94=94,Info-Mac Digest V12 #92 1/4 (4)
  9921. 2:1.35.24 Successfully received JEFF M. GOLD, 8:09 AM 7/1/94=94,LCK for sale=
  9922.  (1)
  9923. 2:1.38.24 Successfully received Mark J Schreiner, 7:25 AM 7/1/94=94,Re:
  9924. =46ield Day Results (1)
  9925. 2:1.40.59 Successfully received Brad Mitchell, 9:43 AM 7/1/94=94,Wanrted Ann
  9926. Landers of QRP help (1)
  9927. 2:1.43.32 Successfully received Howard Freeman, 4:04 PM 7/1/94=94,making dem=
  9928. o
  9929. versions (1)
  9930. 2:1.47.5 Successfully received Timothy Scott, 1:27 AM 7/2/94=94,Re: Analyzin=
  9931. g
  9932. checkboxes (1)
  9933. 2:1.50.47 Successfully received Michelle Preston, 8:37 AM 7/1/94=94,Thanks
  9934. for the checkbox analysis (1)
  9935. 2:1.54.38 Successfully received Timothy Scott, 2:03 AM 7/2/94=94,Re: making
  9936. demo versions (1)
  9937. 2:1.58.22 Successfully received Laurie Gelb,11:11 AM 7/1/94=94,None (1)
  9938. 2:2.0.55 Successfully received JEFF M. GOLD, 9:35 AM 7/1/94=94,lck, sold (1)
  9939. 2:2.4.55 Successfully received Randall Rhea, 9:34 AM 7/1/94=94,Re: Wanrted
  9940. Ann Landers of QRP help (1)
  9941. 2:2.7.32 Successfully received stark, 7:38 AM 7/1/94=94,Re: Field Day=
  9942.  Results (1)
  9943. 2:2.10.6 Successfully received Brian Cieslak, 9:54 AM 7/1/94=94,QRP Homebrew
  9944. Contest (1)
  9945. 2:2.12.58 Successfully received stark, 7:41 AM 7/1/94=94,Re: Wanrted Ann
  9946. Landers of QRP help (1)
  9947. 2:2.16.28 Successfully received stark, 7:35 AM 7/1/94=94,Re: LCK for sale (1=
  9948. )
  9949. 2:2.20.3 Successfully received John F. Woods,11:22 AM 7/1/94=94,Not Field Da=
  9950. y
  9951. Results (1)
  9952. 2:2.22.26 Successfully received Brad Mitchell,11:46 AM 7/1/94=94,Re: QRP
  9953. Homebrew Contest (1)
  9954. 2:2.26.52 Successfully received John W. Baxter,10:18 AM 7/1/94=94,Re: last
  9955. word (1)
  9956. 2:2.29.25 Successfully received janderson@polycom.=94, 9:15 AM 7/1/94=94,Re:
  9957. lck, sold (1)
  9958. 2:2.31.54 Successfully received Brian Cieslak,11:46 AM 7/1/94=94,Re:QRP
  9959. Hombrew Contest (1)
  9960. 2:2.34.40 Successfully received Aaron E. McClennen, 8:24 AM 7/1/94=94,Re:
  9961. error -610 (1)
  9962. 2:2.38.49 Successfully received Brian C. Forney, 1:42 PM 7/1/94=94,Re:
  9963. ScriptLink (1)
  9964. 2:2.41.30 Successfully received John W. Baxter,11:51 AM 7/1/94=94,Graphing
  9965. Calculator (1)
  9966. 2:2.44.4 Successfully received Kristinn Andersen, 6:02 PM
  9967. 7/1/94=94,schematics + PCB software? (1)
  9968. 2:2.46.44 Successfully received stark,11:12 AM 7/1/94=94,Re: Not Field Day
  9969. Results (1)
  9970. 2:2.52.40 Successfully received Andy J. Williams, 3:18 PM 7/1/94=94,Re: help=
  9971.  (1)
  9972. 2:2.55.39 Successfully received Dario Lopez K=EEsten, 9:18 PM
  9973. 7/1/94=94,Subscribe (1)
  9974. 2:2.58.30 Successfully received Jason Titus, 3:47 PM 7/1/94=94,Fwd:
  9975. Applescript Questions... (1)
  9976. 2:3.1.3 Successfully received Brad Mitchell, 2:46 PM 7/1/94=94,Wanted Ann
  9977. Landers of QRP help (1)
  9978. 2:3.3.54 Successfully received Brian Cieslak, 2:08 PM 7/1/94=94,Source of
  9979. Solar Panels (1)
  9980. 2:3.7.5 Successfully received Rob Dewhirst, 3:45 PM 7/1/94=94,Excel scripts =
  9981. (1)
  9982. 2:3.11.55 Successfully received Jeffrey Herman, 9:51 AM 7/1/94=94,Re: QRP
  9983. Homebrew Contest (1)
  9984. 2:3.15.40 Successfully received John W. Baxter, 3:46 PM 7/1/94=94,Re: Fwd:
  9985. Applescript Questions... (1)
  9986. 2:3.21.39 Successfully received N8ET@delphi.com, 8:33 PM 7/1/94=94,R2/T2
  9987. pricing/order info (1)
  9988. 2:3.27.52 Successfully received N8ET@delphi.com, 8:39 PM
  9989. 7/1/94=94,Distribution list (1)
  9990. 2:3.30.31 Successfully received N8ET@delphi.com, 8:24 PM 7/1/94=94,St. Louis
  9991. & Okla. QRP Club Address?? (1)
  9992. 2:3.34.49 Successfully received N8ET@delphi.com, 8:24 PM 7/1/94=94,R2/T2 Inf=
  9993. o
  9994. has been e-mailed (1)
  9995. 2:3.42.29 Successfully received Michelle Preston, 6:15 PM 7/1/94=94,Re:
  9996. Analyzing checkboxes (1)
  9997. 2:3.47.33 Successfully received Steve Jones, 9:37 PM 7/1/94=94,Re: making
  9998. demo versions (1)
  9999. 2:3.50.57 Successfully received John Welch, 8:57 PM 7/1/94=94, (1)
  10000. 2:3.53.32 Successfully received rohrwerk@holonet.n=94, 8:49 PM
  10001. 7/1/94=94,INETers on the air (1)
  10002. 2:3.56.22 Successfully received rohrwerk@holonet.n=94,12:07 AM 7/2/94=94,Hap=
  10003. py
  10004. "G5RV" antenna chan (1)
  10005. 2:4.12.36 Successfully received rohrwerk@holonet.n=94,12:07 AM=
  10006.  7/2/94=94,Tuners (1)
  10007. 2:4.15.11 Successfully received Mike Czuhajewski,10:01 AM 7/2/94=94,Re
  10008. Archives (1)
  10009. 2:4.19.4 Successfully received Michelle Preston, 8:30 AM 7/2/94=94,Re: makin=
  10010. g
  10011. demo versions (1)
  10012. 2:4.22.54 Successfully received CLPLIST/MR. LANDFI=94, 9:15 AM 7/2/94=94,Re:
  10013. making demo versions (1)
  10014. 2:4.26.29 Successfully received NYOUNG@DESIRE.WRIG=94, 6:13 PM 7/2/94=94,Mor=
  10015. e
  10016. Old QRP Stories &c. (1)
  10017. 2:4.29.5 Successfully received Tom Kerns, 6:52 PM 7/2/94=94,Re: More Old QRP
  10018. Stories &c. (1)
  10019. 2:4.31.42 Successfully received Timothy Scott,12:35 PM 7/3/94=94,Re:
  10020. Analyzing checkboxes (1)
  10021. 2:4.35.32 Successfully received W. Daniel,12:07 AM 7/3/94=94,NN1G question (=
  10022. 1)
  10023. 2:4.39.16 Successfully received W. Daniel,11:48 PM 7/2/94=94,Iambic Keyer
  10024. boards: Setback (1)
  10025. 2:4.41.55 Successfully received John F. Woods, 9:11 AM 7/3/94=94,Re: NN1G
  10026. question (1)
  10027. 2:4.44.25 Successfully received Michelle Preston, 7:51 AM 7/3/94=94,Re:
  10028. Analyzing checkboxes (1)
  10029. 2:4.47.6 Successfully received Timothy Scott, 1:14 AM 7/4/94=94,Re: Analyzin=
  10030. g
  10031. checkboxes (1)
  10032. 2:4.56.28 Successfully received howie cahn, 2:22 PM 7/3/94=94,Survey results
  10033. - Ham magazines/computers (1)
  10034. 2:5.0.37 Successfully received Borre Ludvigsen, 7:46 PM 7/3/94=94,Writing to
  10035. the modem port. (1)
  10036. 2:5.3.1 Successfully received LVE@phy6.inel.gov, 1:13 PM 7/3/94=94,Field Day
  10037. Brag... (1)
  10038. 2:5.8.43 Successfully received Mark Hadfield, 5:59 PM 7/3/94=94,Re: Excel
  10039. scripts (1)
  10040. 2:5.12.1 Successfully received James Edward Davis, 6:45 PM 7/3/94=94,Re:
  10041. working with nonscriptable applic. (1)
  10042. 2:5.16.28 Successfully received JEFF M. GOLD, 8:50 PM 7/3/94=94,AC4HF/P/M/QR=
  10043. P (1)
  10044. 2:5.20.48 Successfully received Rick Zabrodski, 8:44 PM 7/3/94=94,Re: Tuners
  10045. and Z match (1)
  10046. 2:5.24.38 Successfully received Rick Zabrodski, 8:52 PM 7/3/94=94,Re: Happy
  10047. "G5RV" antenna chan (1)
  10048. 2:5.27.28 Successfully received Barry Chern, 3:11 AM 7/4/94=94,Re: Excel
  10049. scripts (via Digest) (1)
  10050. 2:5.31.56 Successfully received Simon Jensen-Fello=94,11:14 AM 7/4/94=94,Re:
  10051. working with nonscriptable applic. (1)
  10052. 2:5.36.53 Successfully received INRA000, 2:02 PM 7/4/94=94,Re[2]: working
  10053. with nonscriptable applic. (1)
  10054. 2:5.39.41 Successfully received lhalliday@creo.bc.=94, 9:43 AM
  10055. 7/4/94=94,Lucking out at the surplus store (1)
  10056. 2:5.42.42 Successfully received Chuck Adams, 2:40 PM 7/4/94=94,Re:  St. Loui=
  10057. s
  10058. & Okla. QRP Club Address?? (1)
  10059. 2:5.48.28 Successfully received Mike Czuhajewski, 3:21 PM 7/4/94=94,QRP
  10060. library comments (1)
  10061. 2:5.54.4 Successfully received David Boroditsky, 5:35 PM 7/4/94=94,Re(2):
  10062. last word (1)
  10063. 2:5.56.51 Successfully received BARBOSE@NETCOM.COM,10:25 PM 7/4/94=94,OPF/OD
  10064. build problems on Q840A (1)
  10065. 2:6.2.19 Successfully received George Dobbs G3RJV,12:19 AM
  10066. 7/5/94=94,Friedrichshafen Report (1)
  10067. 2:6.6.45 Successfully received John W. Baxter, 5:52 PM 7/4/94=94,Re: Re(2):
  10068. last word (1)
  10069. 2:6.9.22 Successfully received Todd Hooper, 9:20 AM 7/5/94=94,Scripting
  10070. =46ileMaker Pro (1)
  10071. 2:6.12.52 Successfully received Doug Hendricks, 5:13 PM 7/4/94=94,July NorCa=
  10072. l
  10073. Meeting (1)
  10074. 2:6.16.51 Successfully received Michael Stein     =94, 4:43 PM 7/4/94=94,LM3=
  10075. 86
  10076. noise? (1)
  10077. 2:6.19.21 Successfully received N8ET@delphi.com,11:04 PM
  10078. 7/4/94=94,undelivered R2/T2 info (1)
  10079. 2:6.21.54 Successfully received rohrwerk@holonet.n=94,11:02 PM 7/4/94=94,Re:
  10080. Happy "G5RV" antenna (1)
  10081. 2:6.24.23 Successfully received Jeffrey Herman,10:12 PM 7/4/94=94,State-wide
  10082. project (1)
  10083. 2:6.27.2 Successfully received Jeffrey Herman,10:43 PM 7/4/94=94,cleaning
  10084. variable caps (1)
  10085. 2:6.29.53 Successfully received Boris Levitin, 7:40 AM 7/5/94=94,Debugging a=
  10086. n
  10087. applet properly (1)
  10088. 2:6.33.52 Successfully received David Boroditsky, 8:49 AM 7/5/94=94,Re(2):
  10089. Re(2): last word (1)
  10090. 2:6.37.14 Successfully received David Boroditsky, 9:02 AM 7/5/94=94,Re:
  10091. working with nonscriptable applic. (1)
  10092. 2:6.39.45 Successfully received Becky Williams, 7:54 AM 7/5/94=94, (1)
  10093. 2:6.42.41 Successfully received David Avery, 9:58 AM 7/5/94=94,FilMaker
  10094. windows (1)
  10095. 2:6.46.13 Successfully received Robert J. Dougherty, 9:18 AM
  10096. 7/5/94=94,IMPORT/EXPORT ??? (1)
  10097. 2:6.49.6 Successfully received Piers Stainforth,10:48 AM 7/5/94=94,Re:
  10098. IMPORT/EXPORT ??? (1)
  10099. 2:6.52.11 Successfully received Rob Dewhirst,10:07 AM 7/5/94=94,Re: Excel
  10100. scripts (via Digest) (1)
  10101. 2:6.57.27 Successfully received Kee Nethery +1 510=94, 8:00 AM 7/5/94=94,Re:
  10102. Macromedia Director and AppleScript (1)
  10103. 2:7.0.14 Successfully received David Flory, 7:37 AM 7/5/94=94,Re:
  10104. IMPORT/EXPORT ??? (1)
  10105. 2:7.4.29 Successfully received Fred Terry,10:10 AM 7/5/94=94,Re: Excel
  10106. scripts (via Digest) (1)
  10107. 2:7.7.13 Successfully received Daniel R. Auchincl=94,11:02 AM 7/5/94=94,Re:
  10108. clean page breaking? (1)
  10109. 2:7.9.55 Successfully received John P. Doughtie J=94,11:25 AM 7/5/94=94,Re:
  10110. Returned mail (1)
  10111. 2:7.12.53 Successfully received Paul J. Rodman, 8:46 AM 7/5/94=94,Re: SIG
  10112. Meeting on **June 30th** (1)
  10113. 2:7.15.43 Successfully received David Davies, 2:31 PM 7/5/94=94,Macromedia
  10114. Director and AppleScript (1)
  10115. 2:7.18.28 Successfully received Michelle Preston, 8:46 AM 7/5/94=94,Re:
  10116. Analyzing checkboxes (1)
  10117. 2:7.21.31 Successfully received Erik Speckman, 9:02 AM 7/5/94=94,What are
  10118. =46rontMost and FaceSpan. (1)
  10119. 2:7.28.53 Successfully received Fred Terry,11:19 AM 7/5/94=94,Re: What are
  10120. =46rontMost and FaceSpan. (1)
  10121. 2:7.41.36 Successfully received janderson@polycom.=94, 7:41 AM 7/5/94=94,Re:
  10122. Re: Happy "G5RV" antenna (1)
  10123. 2:7.44.34 Successfully received Burbidge, Michael, 4:03 PM 7/5/94=94,Re:
  10124. OPF/OD build problems on Q (1)
  10125. 2:7.48.58 Successfully received David Boroditsky,11:12 AM 7/5/94=94,Re: Quar=
  10126. k
  10127. Halftone screen bombs (1)
  10128. 2:7.52.28 Successfully received B. Bruce Brinson,10:08 AM 7/5/94=94,Re: What
  10129. are FrontMost and FaceSpan. (1)
  10130. 2:7.56.32 Successfully received Timothy Scott, 3:15 AM 7/6/94=94,Re:
  10131. IMPORT/EXPORT ??? (1)
  10132. 2:8.0.11 Successfully received Chuck Adams,11:04 AM 7/5/94=94,OK QRP Group (=
  10133. 1)
  10134. 2:8.3.22 Successfully received Paul G Smith, 6:11 PM 7/5/94=94,Mailing list
  10135. for ScriptWizard users/info (1)
  10136. 2:8.6.11 Successfully received Randall Rhea,11:24 AM 7/5/94=94,Re:
  10137. AC4HF/P/M/QRP (1)
  10138. 2:8.9.10 Successfully received Leonard Rosenthol,10:21 AM 7/5/94=94,Re:
  10139. Debugging an applet properly (1)
  10140. 2:8.12.22 Successfully received Timothy Scott, 3:00 AM 7/6/94=94,Re:
  10141. Analyzing checkboxes (1)
  10142. 2:8.14.58 Successfully received Scott Williams, 1:36 PM 7/5/94=94,stuffit &
  10143. applescript samples? (1)
  10144. Tue Jul 05 12:24:12 1994
  10145. 8:0.0.3 read
  10146. 8:0.0.3 Trash
  10147. 8:0.0.3 ALRT 1024
  10148. 8:0.2.40 Dismissed with 1.
  10149. Tue Jul 05 12:41:43 1994
  10150. 8:0.0.2 read
  10151. 8:0.0.2 Trash
  10152. 8:0.0.2 ALRT 1024
  10153. 8:0.2.0 Dismissed with 1.
  10154. Tue Jul 05 12:41:52 1994
  10155. 8:0.0.1 read
  10156. 8:0.0.1 Trash
  10157. 8:0.0.1 ALRT 1024
  10158. 8:0.2.14 Dismissed with 1.
  10159. Tue Jul 05 12:59:08 1994
  10160. 8:0.0.3 read
  10161. 8:0.0.3 Trash
  10162. 8:0.0.3 ALRT 1024
  10163. 8:0.2.10 Dismissed with 1.
  10164. Tue Jul 05 12:59:15 1994
  10165. 8:0.0.1 read
  10166. 8:0.0.1 Trash
  10167. 8:0.0.1 ALRT 1024
  10168. 8:0.2.8 Dismissed with 1.
  10169. Tue Jul 05 13:12:58 1994
  10170. 8:0.0.2 read
  10171. 8:0.0.2 Trash
  10172. 8:0.0.3 ALRT 1024
  10173. 8:0.1.56 Dismissed with 1.
  10174. Tue Jul 05 13:17:55 1994
  10175. 8:0.0.3 read
  10176. 8:0.0.3 Trash
  10177. 8:0.0.3 ALRT 1024
  10178. 8:0.2.4 Dismissed with 1.
  10179. Tue Jul 05 13:25:15 1994
  10180. 1:0.0.0 halcyon.com 25
  10181. 1:0.2.3 Sending Paul J. Rodman, Re: SIG Meeting on **June 30th**.
  10182. 1:0.12.31 Succeeded.
  10183. 1:0.13.33 Sending list.admin@ctalk.exnet.com, Add me to the Scriptwizard lis=
  10184. t.
  10185. 1:0.38.17 Succeeded.
  10186. 1:0.38.50 Sending Tom Kerns, Re: Software for the Mac.
  10187. 1:0.44.21 Succeeded.
  10188. 1:0.44.50 Sending Macintosh Scripting Systems, Re: help.
  10189. 1:0.51.57 Succeeded.
  10190. 1:0.52.24 Sending Mark J Schreiner, Re:  Field Day Results.
  10191. 1:0.58.35 Succeeded.
  10192. 1:0.59.6 Sending Randall Rhea, Re: Wanrted Ann Landers of QRP help.
  10193. 1:1.5.33 Succeeded.
  10194. 1:1.6.5 Sending Jason Titus, Re: Fwd: Applescript Questions....
  10195. 1:1.12.58 Succeeded.
  10196. 1:1.13.27 Sending Claris FileMaker Pro discussions
  10197. <FMPRO-L@DARTCMS1.DARTMOUTH.E, Re:.
  10198. 1:1.19.17 Succeeded.
  10199. Tue Jul 05 13:40:05 1994
  10200. 2:0.0.3 halcyon.com 110 (10)
  10201. 2:0.2.29 Successfully received rohrwerk@holonet.n=94,10:04 AM 7/5/94=94,LM38=
  10202. 6
  10203. noise? (1)
  10204. 2:0.5.2 Successfully received Shaddar@aol.com, 2:38 PM 7/2/94=94,Number of
  10205. windows open (1)
  10206. 2:0.7.36 Successfully received Rennie Innis,12:13 PM 7/5/94=94,Re: FilMaker
  10207. windows (1)
  10208. 2:0.11.33 Successfully received Terry Thiel, 2:06 PM 7/5/94=94,Re: Mailing
  10209. list for ScriptWizard users/info (1)
  10210. 2:0.13.57 Successfully received Fred Terry, 2:13 PM 7/5/94=94,Re: Mailing
  10211. list for ScriptWizard users/info (1)
  10212. 2:0.17.30 Successfully received Frank Concannon, 2:26 PM 7/5/94=94,Measuring
  10213. Idle time under script (1)
  10214. 2:0.23.37 Successfully received GAVIN.EADIE@UMICH.=94, 5:01 PM 7/5/94=94,Re(=
  10215. 2):
  10216. OPF/OD build problems o (1)
  10217. 2:0.26.37 Successfully received Klaus P. Fechner, 3:18 PM 7/5/94=94,Re:
  10218. Number of windows open (1)
  10219. 2:0.28.57 Successfully received 1.7f, 4:26 PM 7/5/94=94,Output of your job
  10220. "FMPRO-L" (1)
  10221. 2:0.31.25 Successfully received 1.7f, 4:26 PM 7/5/94=94,Output of your job
  10222. "MACSCRPT" (1)
  10223. Tue Jul 05 13:40:51 1994
  10224. 8:0.0.1 read
  10225. 8:0.0.1 Trash
  10226. 8:0.0.1 ALRT 1024
  10227. 8:0.1.43 Dismissed with 1.
  10228. Tue Jul 05 13:50:46 1994
  10229. 1:0.0.2 halcyon.com 25
  10230. 1:0.2.22 Sending qrp, How much is a Tek 2213 scope worth?.
  10231. 1:0.8.2 Succeeded.
  10232. Tue Jul 05 14:38:55 1994
  10233. 2:0.0.2 halcyon.com 110 (8)
  10234. 2:0.2.47 Successfully received Andy J. Williams, 4:43 PM 7/5/94=94,Re:
  10235. Subscribe (1)
  10236. 2:0.5.6 Successfully received JimN0OCT@aol.com, 3:45 PM 7/2/94=94,Costa Rica
  10237. QRP............ (1)
  10238. 2:0.7.29 Successfully received W. Daniel, 3:02 AM 7/6/94=94,RIT/XIT for Gary
  10239. Breed (1)
  10240. 2:0.9.52 Successfully received W. Daniel, 1:58 AM 7/6/94=94,Mini Iambic (1)
  10241. 2:0.12.23 Successfully received Mark J Schreiner, 3:18 PM 7/5/94=94,Re:
  10242. =46ield Day Results (1)
  10243. 2:0.16.1 Successfully received Paul G Smith, 9:43 PM 7/5/94=94,Re: Add me to
  10244. the Scriptwizard list (1)
  10245. 2:0.18.27 Successfully received Dave Burnett, 2:30 PM 7/5/94=94,herding mac
  10246. developers (1)
  10247. 2:0.20.56 Successfully received Data, 5:27 PM 7/5/94=94,Kill Faceless
  10248. Processes (1)
  10249. Tue Jul 05 14:50:10 1994
  10250. 1:0.0.3 halcyon.com 25
  10251. 1:0.2.1 Sending Mark J Schreiner, Re:  Field Day Results.
  10252. 1:0.7.7 Succeeded.
  10253. 1:0.8.17 Sending Dave Burnett, Re: herding mac developers.
  10254. 1:0.15.11 Succeeded.
  10255. Tue Jul 05 16:33:22 1994
  10256. 8:0.0.3 That pesky MacTCP is acting up again.
  10257. 8:0.0.3 -43
  10258. 8:0.0.3 {37:230}
  10259. 8:0.0.3 ALRT 1005
  10260. 8:0.4.27 Dismissed with 1.
  10261. Tue Jul 05 16:44:16 1994
  10262. 2:0.0.5 halcyon.com 110 (14)
  10263. 2:0.3.20 Successfully received Bruce Robertson, 4:25 PM 7/5/94=94,first qrp
  10264. success (1)
  10265. 2:0.5.59 Successfully received Fred Terry, 4:46 PM 7/5/94=94,Re: Kill
  10266. =46aceless Processes (1)
  10267. 2:0.8.39 Successfully received Grover Cleveland,11:53 AM 7/5/94=94,Crystal
  10268. frequencies (1)
  10269. 2:0.11.48 Successfully received Data, 5:52 PM 7/5/94=94,Re: Kill Faceless
  10270. Processes (1)
  10271. 2:0.33.39 Successfully received The Info-Mac Moder=94,12:37 PM
  10272. 7/5/94=94,Info-Mac Digest V12 #93 1/4 (4)
  10273. 2:0.36.10 Successfully received W. Daniel, 3:38 AM 7/6/94=94,MC3362 tuning
  10274. range (1)
  10275. 2:0.38.38 Successfully received Kevin Purcell, 1:50 PM 7/5/94=94,How much is
  10276. a Tek 2213 scope worth? (1)
  10277. 2:0.42.27 Successfully received Stephen Lee, 3:33 PM 7/5/94=94,Re: How much
  10278. is a Tek 2213 scope worth? (1)
  10279. 2:0.44.59 Successfully received Shaddar@aol.com, 6:32 PM 7/5/94=94,Re: Kill
  10280. =46aceless Processes (1)
  10281. 2:0.47.18 Successfully received janderson@polycom.=94, 1:59 PM
  10282. 7/5/94=94,Looking for Heathkit manual (1)
  10283. 2:0.49.54 Successfully received bruce.florip@amail=94, 3:41 PM 7/5/94=94,How
  10284. much is a Tek 2213 scope wor (1)
  10285. 2:0.52.11 Successfully received John F. Woods, 5:38 PM 7/5/94=94,Re: MC3362
  10286. tuning range (1)
  10287. 2:0.54.55 Successfully received Paul J. Rodman, 4:11 PM 7/5/94=94,Re: SIG
  10288. Meeting on **June 30th** (1)
  10289. 2:0.57.12 Successfully received Steve Martin, 6:17 PM 7/5/94=94,Re: Kill
  10290. =46aceless Processes (1)
  10291. Wed Jul 06 08:09:52 1994
  10292. 2:0.0.3 halcyon.com 110 (36)
  10293. 2:0.2.15 Successfully received Data, 7:46 PM 7/5/94=94,Re: Kill Faceless
  10294. Processes (1)
  10295. 2:0.4.22 Successfully received Rick Spanbauer, 8:00 PM 7/5/94=94,2213 (1)
  10296. 2:0.7.40 Successfully received Craig LaBarge, 6:58 PM 7/5/94=94,QRP AFIELD
  10297. DETAILS?? (1)
  10298. 2:0.9.56 Successfully received I want more $2000/=94, 7:10 PM 7/5/94=94,Toro=
  10299. id
  10300. questions..... (1)
  10301. 2:0.12.28 Successfully received rohrwerk@holonet.n=94,10:04 AM 7/5/94=94,LM3=
  10302. 86
  10303. noise? (1)
  10304. 2:0.14.44 Successfully received rohrwerk@holonet.n=94,10:20 AM
  10305. 7/5/94=94,"Balanced" L Nets? (1)
  10306. 2:0.17.15 Successfully received JimN0OCT@aol.com,10:07 AM 7/2/94=94,Z-match
  10307. tuner article (1)
  10308. 2:0.19.34 Successfully received rohrwerk@holonet.n=94, 4:50 PM 7/5/94=94,Re:
  10309. AC4HF/P/M/QRP (1)
  10310. 2:0.21.57 Successfully received Clark Fishman (FSA=94, 2:13 PM 7/5/94=94,LM=
  10311.  386 (1)
  10312. 2:0.24.25 Successfully received Cherie Peterson, 8:32 PM 7/5/94=94, (1)
  10313. 2:0.26.47 Successfully received NYOUNG@DESIRE.WRIG=94, 8:38 PM
  10314. 7/5/94=94,Questions about SPRAT & almost no answers (1)
  10315. 2:0.29.46 Successfully received NYOUNG@DESIRE.WRIG=94, 8:37 PM 7/5/94=94,Mor=
  10316. e
  10317. Ramblings about QRP (1)
  10318. 2:0.31.58 Successfully received Paul Benjamin Newl=94, 8:54 PM 7/5/94=94,Re:
  10319. qrp-digest V1 #29 (1)
  10320. 2:0.34.14 Successfully received John Welch, 8:55 PM 7/5/94=94,Re: How much i=
  10321. s
  10322. a Tek 2213 scope worth? (1)
  10323. 2:0.36.59 Successfully received W. Daniel, 1:06 AM 7/6/94=94,Performance
  10324. comparisons (1)
  10325. 2:0.39.34 Successfully received bruce.florip@amail=94, 3:41 PM 7/5/94=94,How
  10326. much is a Tek 2213 scope wor (1)
  10327. 2:0.42.4 Successfully received Gary M Diana, 2:50 PM 7/5/94=94,antenna
  10328. tuners, etc. (1)
  10329. 2:0.44.46 Successfully received Grover Cleveland, 9:41 AM 7/5/94=94,Re: More
  10330. Old QRP Stories &c. (1)
  10331. 2:0.48.18 Successfully received rmulvey@syspro.pay=94, 4:14 PM 7/5/94=94,Nor=
  10332. cal
  10333. 40 camping experience (1)
  10334. 2:0.50.39 Successfully received John Welch, 8:55 PM 7/5/94=94,Re: How much i=
  10335. s
  10336. a Tek 2213 scope worth? (1)
  10337. 2:0.53.8 Successfully received CLPLIST/MR. LANDFI=94, 7:59 PM 7/5/94=94,Re:
  10338. IMPORT/EXPORT ??? (1)
  10339. 2:0.55.49 Successfully received anthony brown,10:30 PM 7/5/94=94,scripting
  10340. control panels... (1)
  10341. 2:0.58.21 Successfully received rmulvey@syspro.pay=94, 4:14 PM 7/5/94=94,Nor=
  10342. cal
  10343. 40 camping experience (1)
  10344. 2:1.0.56 Successfully received Data,11:35 PM 7/5/94=94,Re: Kill Faceless
  10345. Processes (1)
  10346. 2:1.8.13 Successfully received Data,12:57 AM 7/6/94=94,Control Strip Modules
  10347. Archive Site (1)
  10348. 2:1.10.43 Successfully received John Welch, 8:55 PM 7/5/94=94,Re: How much i=
  10349. s
  10350. a Tek 2213 scope worth? (1)
  10351. 2:1.13.59 Successfully received Chuck Adams, 1:55 AM 7/6/94=94,QRP=
  10352.  AFIELD-1994 (1)
  10353. 2:1.16.47 Successfully received Michael Stein     =94,11:14 PM 7/5/94=94,re:
  10354. LM386 noise? (more) (1)
  10355. 2:1.19.56 Successfully received TOM,10:09 AM 7/6/94=94,FmPro Templates (1)
  10356. 2:1.34.11 Successfully received Adam C. Engst,10:32 PM
  10357. 7/5/94=94,TidBITS#233/04-Jul-94 1/2 (2)
  10358. 2:1.36.48 Successfully received FJSnyder@aol.com, 8:50 AM 7/6/94=94,Off (1)
  10359. 2:1.39.18 Successfully received Michelle Preston, 6:03 AM 7/6/94=94,Re:
  10360. Analyzing checkboxes (1)
  10361. 2:1.41.42 Successfully received Mark J Schreiner, 8:03 AM 7/6/94=94,Re:
  10362. =46ield Day Results (1)
  10363. 2:1.44.19 Successfully received Michael S. Dooley, 8:28 AM 7/6/94=94,Meeting
  10364. other QRPers (1)
  10365. 2:1.46.50 Successfully received Timothy Scott,12:55 AM 7/7/94=94,Re: FmPro
  10366. Templates (1)
  10367. 2:1.49.12 Successfully received Stephen Trier, 1:34 PM 7/6/94=94,Re: Toroid
  10368. questions..... (1)
  10369. Wed Jul 06 08:14:10 1994
  10370. 8:0.0.3 read
  10371. 8:0.0.3 Trash
  10372. 8:0.0.3 ALRT 1024
  10373. 8:0.2.54 Dismissed with 1.
  10374. Wed Jul 06 10:47:30 1994
  10375. 1:0.0.3 halcyon.com 25
  10376. 1:0.2.22 Sending I want more $2000/week administrators!
  10377. <WHITE@CCSUA.CTSTATEU.E, Re: Toroid questions......
  10378. 1:0.8.59 Succeeded.
  10379. 1:0.12.43 Sending anthony brown, Re: scripting control panels....
  10380. 1:0.20.46 Succeeded.
  10381. 1:0.21.20 Sending Macintosh Scripting Systems, Re: Folder Trash Not Found Er=
  10382. ror.
  10383. 1:0.38.1 Succeeded.
  10384. 2:0.43.45 halcyon.com 110 (12)
  10385. 2:0.46.6 Successfully received James M Fitton +1 =94, 1:48 PM
  10386. 7/6/94=94,QRP-AFIELD (1)
  10387. 2:0.48.38 Successfully received James M Fitton +1 =94, 2:00 PM 7/6/94=94,Bea=
  10388. ch
  10389. meeting (1)
  10390. 2:0.52.9 Successfully received Daniel C Halbert,10:28 AM 7/6/94=94,Re: QRP
  10391. library comments (1)
  10392. 2:0.58.48 Successfully received Mark Alldritt, 8:34 AM 7/6/94=94,Re:
  10393. Debugging an applet properly (1)
  10394. 2:1.1.28 Successfully received K1WWI@aol.com,11:08 AM 7/6/94=94,IOTA
  10395. Contest??? (1)
  10396. 2:1.4.13 Successfully received Muenzler, Kevin,10:24 AM 7/6/94=94,RE: LM386
  10397. noise? (1)
  10398. 2:1.7.7 Successfully received Bruce Toback, 8:48 AM 7/6/94=94,Re: Toroid
  10399. questions..... (1)
  10400. 2:1.10.26 Successfully received rohrwerk@holonet.n=94, 8:56 AM 7/6/94=94,Tor=
  10401. oid
  10402. questions..... (1)
  10403. 2:1.13.30 Successfully received rohrwerk@holonet.n=94, 8:56 AM
  10404. 7/6/94=94,Performance comparisons (1)
  10405. 2:1.16.13 Successfully received rohrwerk@holonet.n=94, 8:56 AM
  10406. 7/6/94=94,antenna tuners, etc. (1)
  10407. 2:1.19.54 Successfully received lhalliday@creo.bc.=94, 8:55 AM 7/6/94=94,Re:=
  10408.  LM
  10409. 386 (1)
  10410. 2:1.23.39 Successfully received janderson@polycom.=94, 8:55 AM 7/6/94=94,Re:
  10411. "Balanced" L Nets? (1)
  10412. Wed Jul 06 11:44:23 1994
  10413. 2:0.0.3 halcyon.com 110 (1)
  10414. 2:0.9.30 Successfully received W. Daniel, 6:39 PM 7/6/94=94,Keyer to mail (1=
  10415. )
  10416. Wed Jul 06 13:36:07 1994
  10417. 2:0.0.4 halcyon.com 110 (9)
  10418. 2:0.4.8 Successfully received Clark Fishman (FSA=94, 1:21 PM 7/6/94=94,Recei=
  10419. ver
  10420. design (1)
  10421. 2:0.6.44 Successfully received Kevin Purcell,10:47 AM 7/6/94=94,Re: Toroid
  10422. questions..... (1)
  10423. 2:0.9.26 Successfully received Data, 1:47 PM 7/6/94=94,Re: Need real text
  10424. editor (1)
  10425. 2:0.11.58 Successfully received 1.7f, 3:24 PM 7/6/94=94,Output of your job
  10426. "MACSCRPT" (1)
  10427. 2:0.14.49 Successfully received Dr. Barrett Stridi=94,10:26 AM 7/6/94=94,Re:
  10428. Need real text editor (1)
  10429. 2:0.17.17 Successfully received W. Daniel, 1:18 AM 7/7/94=94,Keyer (1)
  10430. 2:0.21.54 Successfully received Brian V. Hughes, 3:50 PM 7/6/94=94,Re: Need
  10431. real text editor (1)
  10432. 2:0.27.16 Successfully received Stephen Lee, 1:28 PM 7/6/94=94,Re: Tek 2213 =
  10433. (1)
  10434. 8:0.34.44 The host is presently unreachable.
  10435. 8:0.34.44 ALRT 1020
  10436. 8:0.38.1 Dismissed with 1.
  10437. 8:0.40.54 The host is presently unreachable.
  10438. 8:0.40.55 ALRT 1020
  10439. 8:0.42.37 Dismissed with 1.
  10440. 8:1.26.12 That pesky MacTCP is acting up again.
  10441. 8:1.26.13 5
  10442. 8:1.26.13 The connection timed out.
  10443. 8:1.26.13 {37:110}
  10444. 8:1.26.13 ALRT 1005
  10445. 8:1.31.13 Dismissed with 1.
  10446. Wed Jul 06 13:39:55 1994
  10447. 8:0.0.0 read
  10448. 8:0.0.2 Trash
  10449. 8:0.0.3 ALRT 1024
  10450. 8:0.2.59 Dismissed with 1.
  10451. Wed Jul 06 13:52:35 1994
  10452. 1:0.0.3 halcyon.com 25
  10453. 1:0.2.19 Sending W. Daniel, Re: Keyer.
  10454. 1:0.24.28 Succeeded.
  10455. 1:0.28.0 Sending mckenzie@june.cs.washington.edu, Re: Tek 2213.
  10456. 1:0.36.38 Succeeded.
  10457. 2:0.42.3 halcyon.com 110 (9)
  10458. 2:0.48.12 Successfully received Clark Fishman (FSA=94, 1:21 PM
  10459. 7/6/94=94,Receiver design (1)
  10460. 2:0.52.50 Successfully received Kevin Purcell,10:47 AM 7/6/94=94,Re: Toroid
  10461. questions..... (1)
  10462. 2:0.56.39 Successfully received Data, 1:47 PM 7/6/94=94,Re: Need real text
  10463. editor (1)
  10464. 2:1.1.2 Successfully received 1.7f, 3:24 PM 7/6/94=94,Output of your job
  10465. "MACSCRPT" (1)
  10466. 2:1.6.42 Successfully received Dr. Barrett Stridi=94,10:26 AM 7/6/94=94,Re:
  10467. Need real text editor (1)
  10468. 2:1.11.3 Successfully received W. Daniel, 1:18 AM 7/7/94=94,Keyer (1)
  10469. 2:1.13.44 Successfully received Brian V. Hughes, 3:50 PM 7/6/94=94,Re: Need
  10470. real text editor (1)
  10471. 2:1.22.39 Successfully received Stephen Lee, 1:28 PM 7/6/94=94,Re: Tek 2213 =
  10472. (1)
  10473. 2:1.29.25 Successfully received Jamie Lawrence, 1:04 PM 7/6/94=94,wierd
  10474. variable substitution problem (1)
  10475. Wed Jul 06 13:55:08 1994
  10476. 8:0.0.3 read
  10477. 8:0.0.3 Trash
  10478. 8:0.0.3 ALRT 1024
  10479. 8:0.1.40 Dismissed with 1.
  10480. Wed Jul 06 16:06:31 1994
  10481. 2:0.0.3 halcyon.com 110 (10)
  10482. 2:0.3.16 Successfully received Data, 4:44 PM 7/6/94=94,Re: Need real text
  10483. editor (1)
  10484. 2:0.5.48 Successfully received Neil McKenzie, 2:10 PM 7/6/94=94,HP
  10485. Oscilloscope (was: Yard Sale) (1)
  10486. 2:0.10.0 Successfully received Shaddar@aol.com,12:39 PM 7/4/94=94,Applescrip=
  10487. t
  10488. development kit (1)
  10489. 2:0.13.5 Successfully received David Brown, 5:04 PM 7/6/94=94,Applescripting
  10490. Serial Port (1)
  10491. 2:0.16.0 Successfully received "Lawrence D'Olivei=94, 9:36 AM 7/7/94=94,Re:
  10492. Need real text editor (1)
  10493. 2:0.19.46 Successfully received Stephen Lee, 2:53 PM 7/6/94=94,Re:
  10494. Oscilloscpope (1)
  10495. 2:0.22.21 Successfully received Leonard Rosenthol, 2:51 PM 7/6/94=94,Re: Nee=
  10496. d
  10497. real text editor (1)
  10498. 2:0.24.45 Successfully received Doug Hendricks, 1:26 PM 7/6/94=94,PW Back
  10499. issues. (1)
  10500. 2:0.30.41 Successfully received Neil Christie,10:59 PM 7/6/94=94,How to paus=
  10501. e
  10502. in scripts (trying to script mail operations) (1)
  10503. 2:0.33.56 Successfully received Shaddar@aol.com, 7:15 PM 7/4/94=94,Re:
  10504. working with nonscriptable applic. (1)
  10505. Wed Jul 06 16:15:17 1994
  10506. 1:0.0.2 halcyon.com 25
  10507. 1:0.28.31 Sending Shaddar@aol.com, Re: Applescript development kit.
  10508. 1:0.35.14 Succeeded.
  10509. Wed Jul 06 16:41:37 1994
  10510. 2:0.0.3 halcyon.com 110 (4)
  10511. 2:0.4.49 Successfully received John W. Baxter, 4:16 PM 7/6/94=94,Re:
  10512. Applescript development kit (1)
  10513. 2:0.7.34 Successfully received Jeremy Peter Howard, 9:18 AM 7/7/94=94,Re:
  10514. Applescript development kit (1)
  10515. 2:0.10.9 Successfully received christopher edward=94, 7:21 PM 7/6/94=94,Exce=
  10516. l
  10517. Macros --> Turning blanks into "Blank" (1)
  10518. 2:0.12.41 Successfully received Jeremy Peter Howard, 9:22 AM
  10519. 7/7/94=94,Scriptable Finder docs (1)
  10520. Wed Jul 06 16:45:14 1994
  10521. 1:0.0.0 halcyon.com 25
  10522. 1:0.26.21 Sending Macintosh Scripting Systems, Re: Scriptable Finder docs.
  10523. 1:0.32.0 Succeeded.
  10524. Thu Jul 07 08:27:13 1994
  10525. 8:0.0.3 Macintosh Scripting Systems, Re: wierd variable substitution problem
  10526. 8:0.0.3 ALRT 1010
  10527. 8:0.3.44 Dismissed with 1.
  10528. Thu Jul 07 08:44:11 1994
  10529. 2:0.0.4 halcyon.com 110 (23)
  10530. 2:0.2.32 Successfully received 1.7f, 7:47 PM 7/6/94=94,Output of your job
  10531. "MACSCRPT" (1)
  10532. 2:0.5.0 Successfully received Chris Etesse, 8:39 PM 7/6/94=94,Re: Excel
  10533. Macros --> Turning blanks into "Blank" (1)
  10534. 2:0.9.48 Successfully received Jeremy Peter Howard,10:26 AM 7/7/94=94,Re:
  10535. Excel Macros --> Turning blanks into "Blank" (1)
  10536. 2:0.12.7 Successfully received Jeff Jones, 5:31 PM 7/6/94=94,Re: LM 386 (1)
  10537. 2:0.15.28 Successfully received Mark Duffield,10:07 PM 7/6/94=94,Re: Need
  10538. real text editor (1)
  10539. 2:0.18.25 Successfully received Mike Cohen, 6:42 PM 7/6/94=94,Re: Applescrip=
  10540. t
  10541. development kit (1)
  10542. 2:0.21.49 Successfully received "Lawrence D'Olivei=94, 2:18 PM 7/7/94=94,Re:
  10543. Need real text editor (1)
  10544. 2:0.24.23 Successfully received Boris Levitin,10:29 PM 7/6/94=94,Re:
  10545. Debugging an applet properly (1)
  10546. 2:0.27.29 Successfully received Rich Coulombre, 8:36 AM 7/5/94=94,Re: Thanks
  10547. for the checkbox analysis (1)
  10548. 2:0.30.24 Successfully received Malcolm Pradhan, 8:10 PM 7/6/94=94,Re: Need
  10549. real text editor (1)
  10550. 2:0.32.47 Successfully received "Lawrence D'Olivei=94, 3:16 PM 7/7/94=94,Re:
  10551. Applescript development kit (1)
  10552. 2:0.41.34 Successfully received Christopher Allen, 5:42 PM 7/6/94=94,UPDATE:
  10553. Everyday AppleScript(tm) Contest Winners (1)
  10554. 2:0.45.47 Successfully received INRA000,11:54 PM 7/6/94=94,Re[2]: working
  10555. with nonscriptable applic. (1)
  10556. 2:0.48.13 Successfully received John W. Baxter,10:05 PM 7/6/94=94,Re:
  10557. Applescript development kit (1)
  10558. 2:0.50.57 Successfully received W. Daniel,12:48 PM 7/7/94=94,Mini Keyer (1)
  10559. 2:0.54.56 Successfully received James Jennings, 2:02 AM 7/7/94=94,SW
  10560. Developer's Workshop, July 9, 1994 (1)
  10561. 2:0.59.1 Successfully received David Boroditsky, 8:48 AM 7/7/94=94,Re(2):
  10562. Need real text editor (1)
  10563. 2:1.2.56 Successfully received Brian V. Hughes, 9:10 AM 7/7/94=94,Re: wierd
  10564. variable substitution problem (1)
  10565. 2:1.5.59 Successfully received Brian V. Hughes, 9:12 AM 7/7/94=94,Re:
  10566. Scriptable Finder docs (1)
  10567. 2:1.9.13 Successfully received Brian V. Hughes, 9:14 AM 7/7/94=94,Re:
  10568. Applescript development kit (1)
  10569. 2:1.12.23 Successfully received Brian V. Hughes, 9:28 AM 7/7/94=94,Re:
  10570. Scripting FileMaker Pro (1)
  10571. 2:1.15.4 Successfully received Frank Lowney, 9:39 AM 7/7/94=94,Re:
  10572. Applescripting Serial Port (1)
  10573. 2:1.17.21 Successfully received Justin Rains, 7:08 AM 7/7/94=94,For Sale: MF=
  10574. J
  10575. 9040 & HTX-100 (1)
  10576. Thu Jul 07 08:50:45 1994
  10577. 8:0.0.2 read
  10578. 8:0.0.2 Trash
  10579. 8:0.0.2 ALRT 1024
  10580. 8:0.2.23 Dismissed with 1.
  10581. Thu Jul 07 10:30:51 1994
  10582. 2:0.0.2 halcyon.com 110 (1)
  10583. 2:0.2.9 Successfully received Neil McKenzie, 9:40 AM 7/7/94=94,HP O'scope
  10584. specs (1)
  10585. Thu Jul 07 12:52:08 1994
  10586. 2:0.0.3 halcyon.com 110 (8)
  10587. 2:0.2.14 Successfully received prvalko,12:18 PM 7/7/94=94,Seeking PowerMite =
  10588. 1
  10589. Help! (1)
  10590. 2:0.14.38 Successfully received Chuck Adams,11:18 AM 7/7/94=94,July Issue (1=
  10591. )
  10592. 2:0.21.35 Successfully received Jason Penn,11:30 AM 7/7/94=94,Another NorCal
  10593. 40 Lives! (1)
  10594. 2:0.24.26 Successfully received John F. Woods, 1:13 PM 7/7/94=94,40-40
  10595. questions (1)
  10596. 2:0.28.52 Successfully received christopher edward=94,10:00 AM 7/7/94=94,Exc=
  10597. el:
  10598. Selecting cell and adding text to it (1)
  10599. 2:0.32.45 Successfully received Jamie Lawrence,11:30 AM 7/7/94=94,stopping a
  10600. moving train (1)
  10601. 2:0.37.4 Successfully received Robert Burns,12:37 PM 7/7/94=94,Shapeware
  10602. Usability Test (1)
  10603. 2:0.40.36 Successfully received John W. Baxter, 6:49 AM 7/7/94=94,Re:
  10604. Scripting FileMaker Pro (1)
  10605. Thu Jul 07 16:29:57 1994
  10606. 1:0.0.2 halcyon.com 25
  10607. 1:0.2.44 Sending Andy, stopping a moving train.
  10608. 1:0.8.41 Succeeded.
  10609. 2:0.15.37 halcyon.com 110 (10)
  10610. 2:0.20.33 Successfully received Pete 'Happy' Thomas, 2:39 PM
  10611. 7/7/94=94,MacPGP2.6 (1)
  10612. 2:0.24.55 Successfully received Pete 'Happy' Thomas, 3:15 PM 7/7/94=94,Got i=
  10613. t
  10614. all (1)
  10615. 2:0.29.19 Successfully received Pete 'Happy' Thomas, 2:52 PM
  10616. 7/7/94=94,follow-up to encrypting-scripting (1)
  10617. 2:0.31.36 Successfully received Brian V. Hughes, 3:40 PM 7/7/94=94,Re:
  10618. stopping a moving train (1)
  10619. 2:0.34.10 Successfully received anthony brown, 4:07 PM 7/7/94=94,anoth fmpro
  10620. scripting question... (1)
  10621. 2:0.51.8 Successfully received The Info-Mac Moder=94, 2:15 PM
  10622. 7/7/94=94,Info-Mac Digest V12 #94 1/3 (3)
  10623. 2:0.53.30 Successfully received WalrathW,11:25 PM 7/7/94=94,Re: stopping a
  10624. moving train (1)
  10625. 2:0.56.2 Successfully received Brian V. Hughes, 5:27 PM 7/7/94=94,Re: anoth
  10626. fmpro scripting question... (1)
  10627. 2:0.58.10 Successfully received George Dobbs G3RJV,10:44 PM 7/7/94=94,G QRP
  10628. CLUB (1)
  10629. 2:1.0.19 Successfully received George Dobbs G3RJV, 1:14 AM 7/7/94=94,Re: QRP
  10630. library comments (1)
  10631. =46ri Jul 08 08:07:56 1994
  10632. 2:0.0.4 halcyon.com 110 (20)
  10633. 2:0.3.29 Successfully received Jeremy Peter Howard, 9:05 AM 7/8/94=94,Re:
  10634. Excel: Selecting cell and adding text to it (1)
  10635. 2:0.6.39 Successfully received John W. Baxter, 4:10 PM 7/7/94=94,Re: stoppin=
  10636. g
  10637. a moving train (1)
  10638. 2:0.9.6 Successfully received John W. Baxter, 4:10 PM 7/7/94=94,Re: anoth
  10639. fmpro scripting question... (1)
  10640. 2:0.12.30 Successfully received Jeremy Peter Howard, 9:13 AM 7/8/94=94,Re:
  10641. Scriptable Finder docs (1)
  10642. 2:0.15.5 Successfully received Jeremy Peter Howard, 9:18 AM 7/8/94=94,Re:
  10643. stopping a moving train (1)
  10644. 2:0.19.4 Successfully received Jeremy Peter Howard, 9:17 AM 7/8/94=94,Re:
  10645. wierd variable substitution problem (1)
  10646. 2:0.21.24 Successfully received Shaddar@aol.com, 6:50 PM 7/7/94=94,Re[2]:
  10647. working with nonscriptable applic. (1)
  10648. 2:0.24.36 Successfully received Dewi Williams, 1:18 AM 7/8/94=94,AppleScript
  10649. heritage problems (1)
  10650. 2:0.29.31 Successfully received Andy Kington, 5:43 PM 7/7/94=94,Re: Scriptin=
  10651. g
  10652. =46ileMaker Pro (1)
  10653. 2:0.32.8 Successfully received "Sean Carton (Theo=94, 9:13 PM 7/7/94=94,Open
  10654. Doc/MacMosaic/Scriptability (1)
  10655. 2:0.35.14 Successfully received Richard L. Upchurch, 9:54 PM 7/7/94=94,Re:
  10656. Open Doc/MacMosaic/Scriptability (1)
  10657. 2:0.38.2 Successfully received John W. Baxter, 8:23 PM 7/7/94=94,Re:
  10658. AppleScript heritage problems (1)
  10659. 2:0.40.58 Successfully received John W. Baxter, 8:29 PM 7/7/94=94,Re: Open
  10660. Doc/MacMosaic/Scriptability (1)
  10661. 2:0.43.57 Successfully received Chris Etesse,12:43 AM 7/8/94=94,Re: Excel:
  10662. Selecting cell and adding text to it (1)
  10663. 2:0.48.28 Successfully received Mark Alldritt,10:05 PM 7/7/94=94,Re: How to
  10664. pause in scripts (trying to script mail operations) (1)
  10665. 2:0.51.21 Successfully received Tilmann Robbe, 1:47 PM 7/8/94=94,Replacing a=
  10666. n
  10667. element of a string (1)
  10668. 2:0.55.34 Successfully received Sabatucci, Joe, 8:14 AM 7/8/94=94,Filemaker
  10669. Pro scripting (1)
  10670. 2:0.58.39 Successfully received Steve Alex, 7:38 AM 7/8/94=94,Re: How to
  10671. pause in scripts (trying to script mail operations) (1)
  10672. 2:1.1.16 Successfully received Andrew Maier, 3:02 PM 7/8/94=94,Choosing a
  10673. printer form a script (1)
  10674. 2:1.5.8 Successfully received David Brown,10:05 AM 7/8/94=94,Re:
  10675. Applescripting Serial Port (1)
  10676. 1:1.5.55 halcyon.com 25
  10677. 1:1.8.8 Sending Andy, Shapeware Usability Test.
  10678. 1:1.15.53 Succeeded.
  10679. 1:1.16.56 Sending dBug-SIG, Shapeware Usability Test.
  10680. 1:1.36.16 Succeeded.
  10681. =46ri Jul 08 09:45:34 1994
  10682. 1:0.0.2 halcyon.com 25
  10683. 1:0.2.2 Sending Macintosh Scripting Systems, Re: Scriptable Finder docs.
  10684. 1:0.12.17 Succeeded.
  10685. 1:0.13.22 Sending Macintosh Scripting Systems, Re: Applescripting Serial Por=
  10686. t.
  10687. 1:0.22.35 Succeeded.
  10688. 2:0.26.53 halcyon.com 110 (6)
  10689. 2:0.29.46 Successfully received TOM FORD - DUPONT =94,11:40 AM 7/8/94=94,Re:
  10690. Calculation Field Problem (1)
  10691. 2:0.32.37 Successfully received Kevin A. Gemeinhart,11:49 AM
  10692. 7/8/94=94,FileMaker / ApplesScript Reference Books? (1)
  10693. 2:0.34.53 Successfully received David Flory, 7:59 AM 7/8/94=94,Re:
  10694. Calculation Field Problem (1)
  10695. 2:0.37.35 Successfully received JOHN TIPPETT, (919=94,12:01 PM
  10696. 7/8/94=94,Summary of counts (1)
  10697. 2:0.41.13 Successfully received Piers Stainforth,12:21 PM 7/8/94=94,Re:
  10698. Summary of counts (1)
  10699. 2:0.47.37 Successfully received Kim-Son Tran,12:40 PM 7/8/94=94,ccMail
  10700. Scripting (1)
  10701. =46ri Jul 08 13:54:18 1994
  10702. 2:0.0.3 halcyon.com 110 (15)
  10703. 2:0.2.53 Successfully received 1.8a,12:47 PM 7/8/94=94,Output of your job
  10704. "MACSCRPT" (1)
  10705. 2:0.6.34 Successfully received 1.8a,12:47 PM 7/8/94=94,Output of your job
  10706. "MACSCRPT" (1)
  10707. 2:0.9.55 Successfully received Jason Penn,10:22 AM 7/8/94=94,Revised Tale of
  10708. My NorCal 40 (1)
  10709. 2:0.13.1 Successfully received Daniel R. Auchincl=94,10:16 AM
  10710. 7/8/94=94,Calculation Field Problem (1)
  10711. 2:0.15.34 Successfully received Cea Dorn,12:47 PM 7/8/94=94,Question about I=
  10712. F
  10713. statements (1)
  10714. 2:0.19.27 Successfully received Evert Halbach,11:07 AM 7/8/94=94,20 mtrs
  10715. "Shrinking" (1)
  10716. 2:0.22.50 Successfully received Frank Concannon, 1:17 PM 7/8/94=94,Measuring
  10717. Idle time under AppleScript (1)
  10718. 2:0.27.16 Successfully received Timothy Scott,12:12 AM 7/9/94=94,Re:
  10719. Calculation Field Problem (1)
  10720. 2:0.30.38 Successfully received Bruce Higgins, 2:37 PM 7/8/94=94,Re:
  10721. Calculation Field Problem (1)
  10722. 2:0.33.15 Successfully received Ferranti Rick, 2:00 PM 7/8/94=94,Two Classic
  10723. HF QRP rigs for sale (1)
  10724. 2:0.36.7 Successfully received WYNN C C, 2:00 PM 7/8/94=94,ARCI Contest (1)
  10725. 2:0.39.1 Successfully received mike hurley, 3:31 PM 7/8/94=94,Re: Measuring
  10726. Idle time under AppleScript (1)
  10727. 2:0.41.52 Successfully received lhalliday@creo.bc.=94,11:21 AM 7/8/94=94,Re[=
  10728. 2]:
  10729. LM 386 (1)
  10730. 2:0.46.41 Successfully received Dennis Birch, 1:37 PM 7/8/94=94,"Is there a
  10731. file?" command (1)
  10732. 2:0.49.56 Successfully received Chuck Adams, 2:20 PM 7/8/94=94,QRP ARCI
  10733. HomeBrew Sprint Sunday (1)
  10734. =46ri Jul 08 13:55:14 1994
  10735. 8:0.0.0 read
  10736. 8:0.0.0 Trash
  10737. 8:0.0.0 ALRT 1024
  10738. 8:0.3.1 Dismissed with 1.
  10739. 8:0.5.56 read
  10740. 8:0.5.56 Trash
  10741. 8:0.5.56 ALRT 1024
  10742. 8:0.6.49 Dismissed with 1.
  10743. =46ri Jul 08 14:30:46 1994
  10744. 1:0.0.3 halcyon.com 25
  10745. 8:0.49.27 45
  10746. 8:0.49.27 ALRT 1022
  10747. 8:0.52.58 Dismissed with 1.
  10748. 1:1.13.52 Sending Evert Halbach, Re: 20 mtrs "Shrinking".
  10749. 8:2.14.6 That pesky MacTCP is acting up again.
  10750. 8:2.14.6 5
  10751. 8:2.14.7 The connection timed out.
  10752. 8:2.14.7 {37:110}
  10753. 8:2.14.7 ALRT 1005
  10754. 8:2.17.50 Dismissed with 1.
  10755. 2:2.39.21 halcyon.com 110 (3)
  10756. 2:2.43.34 Successfully received Peter Hardie, 1:44 PM 7/8/94=94,Re: QRP ARCI
  10757. HomeBrew Sprint Sunday (1)
  10758. 2:2.53.7 Successfully received Leonard Rosenthol, 1:54 PM 7/8/94=94,Re:
  10759. Measuring Idle time under AppleScript (1)
  10760. 2:2.59.6 Successfully received David Boroditsky,11:07 AM 7/6/94=94,Need real
  10761. text editor (1)
  10762. =46ri Jul 08 14:33:56 1994
  10763. 8:0.0.0 ALRT 1036
  10764. 8:0.0.14 Dismissed with -1.
  10765. =46ri Jul 08 14:39:24 1994
  10766. 1:0.0.2 halcyon.com 25
  10767. 1:0.3.3 Sending Evert Halbach, Re: 20 mtrs "Shrinking".
  10768. 1:0.16.33 Succeeded.
  10769. 1:0.17.32 Sending lhalliday@creo.bc.ca, Re: Re[2]: LM 386.
  10770. 1:0.30.52 Succeeded.
  10771. 1:0.31.26 Sending Dennis Birch, Re: "Is there a file?" command.
  10772. 1:0.42.52 Succeeded.
  10773. 1:0.43.26 Sending sage!dave@NOC.TOR.HOOKUP.NET, Re: Need real text editor.
  10774. 1:0.56.6 Succeeded.
  10775. =46ri Jul 08 15:04:19 1994
  10776. 2:0.0.2 halcyon.com 110 (2)
  10777. 2:0.2.34 Successfully received LMail release 1.2a=94, 5:40 PM
  10778. 7/8/94=94,Undelivered mail (1)
  10779. 2:0.5.48 Successfully received 1.8a, 5:42 PM 7/8/94=94,Output of your job
  10780. "MACSCRPT" (1)
  10781. =46ri Jul 08 15:07:06 1994
  10782. 8:0.0.0 read
  10783. 8:0.0.0 Trash
  10784. 8:0.0.1 ALRT 1024
  10785. 8:0.1.58 Dismissed with 1.
  10786. =46ri Jul 08 15:29:12 1994
  10787. 1:0.0.1 halcyon.com 25
  10788. 1:0.1.55 Sending AppleScript, Why don't script objects have elements?.
  10789. 1:0.9.38 Succeeded.
  10790. =46ri Jul 08 15:57:24 1994
  10791. 2:0.0.0 halcyon.com 110 (1)
  10792. 2:0.3.16 Successfully received 1.8a, 6:31 PM 7/8/94=94,Output of your job
  10793. "MACSCRPT" (1)
  10794. =46ri Jul 08 15:57:42 1994
  10795. 8:0.0.1 read
  10796. 8:0.0.1 Trash
  10797. 8:0.0.1 ALRT 1024
  10798. 8:0.5.52 Dismissed with 1.
  10799. Mon Jul 11 08:08:02 1994
  10800. 2:0.0.2 halcyon.com 110 (78)
  10801. 2:0.5.40 Successfully received Kevin Purcell, 2:39 PM 7/8/94=94,Re: Re[2]: L=
  10802. M
  10803. 386 (1)
  10804. 2:0.9.55 Successfully received David Lewis, 5:15 PM 7/8/94=94,OSA Menu and
  10805. =46rontier (1)
  10806. 2:0.15.42 Successfully received Barry Chern, 8:49 PM 7/8/94=94,Last word and
  10807. beyond (Quark) (1)
  10808. 2:0.23.57 Successfully received Shaddar@aol.com, 9:46 PM 7/8/94=94,Re:
  10809. Replacing an element of a string (1)
  10810. 2:0.30.13 Successfully received W. Daniel,10:25 AM 7/8/94=94,MC1350 Noise (1=
  10811. )
  10812. 2:0.39.52 Successfully received Boris Levitin,10:47 PM 7/8/94=94,Re: Choosin=
  10813. g
  10814. a printer form a script (1)
  10815. 2:0.55.47 Successfully received Boris Levitin,11:31 PM 7/8/94=94,Re: "Is
  10816. there a file?" command (1)
  10817. 2:1.7.28 Successfully received Mike!, 8:35 PM 7/8/94=94,Macintosh Consultant
  10818. Job Opening at Notre Dame, Indiana, USA (1)
  10819. 2:1.13.1 Successfully received John W. Baxter, 9:32 PM 7/8/94=94,Re: OSA Men=
  10820. u
  10821. and Frontier (1)
  10822. 2:1.20.25 Successfully received Shaddar@aol.com,12:40 AM 7/9/94=94,Re:
  10823. killing backgroup applications (1)
  10824. 2:1.28.30 Successfully received Shaddar@aol.com,12:42 AM 7/9/94=94,Re:
  10825. Killing Faceless Background Apps (1)
  10826. 2:1.39.14 Successfully received anthony brown, 1:47 AM 7/9/94=94,is there a
  10827. way to hide background apps? (1)
  10828. 2:1.47.43 Successfully received Mike Cohen,10:57 PM 7/8/94=94,Re: OSA Menu
  10829. and Frontier (1)
  10830. 2:1.52.8 Successfully received rohrwerk@holonet.n=94, 9:59 PM 7/8/94=94,Re:
  10831. "Balanced" L Nets? (1)
  10832. 2:2.1.25 Successfully received Jason Penn,11:12 PM 7/8/94=94,N9RPT's First
  10833. NorCal 40 QSO (1)
  10834. 2:2.11.13 Successfully received Todd Hooper, 2:43 PM 7/9/94=94,Filemaker -
  10835. thanks! (1)
  10836. 2:2.24.44 Successfully received Jon Pugh,12:11 AM 7/9/94=94,Re: Script=
  10837.  Objects (1)
  10838. 2:2.31.9 Successfully received W. Daniel,10:53 AM 7/9/94=94,20M Shrinking (1=
  10839. )
  10840. 2:2.43.35 Successfully received W. Daniel,10:42 AM 7/9/94=94,Sample SPRAT (1=
  10841. )
  10842. 2:2.48.51 Successfully received W. Daniel,11:17 AM 7/9/94=94,LM386 (1)
  10843. 2:2.55.22 Successfully received Bensondj@aol.com, 7:26 AM 7/9/94=94,40-40=
  10844.  spur (1)
  10845. 2:2.59.30 Successfully received Bensondj@aol.com, 7:46 AM 7/9/94=94,LM386
  10846. replacement (1)
  10847. 2:3.3.9 Successfully received Mike Czuhajewski,10:47 PM 7/7/94=94,Re QRP
  10848. Library Comments (1)
  10849. 2:3.7.55 Successfully received Mike Czuhajewski,10:54 PM 7/8/94=94,Review my
  10850. article? (1)
  10851. 2:3.18.19 Successfully received Mike Czuhajewski,11:06 PM 7/8/94=94,Interest
  10852. in Milliwatt? (1)
  10853. 2:3.21.35 Successfully received Andrew Maier, 4:17 PM 7/9/94=94,Turning
  10854. AppleTalk on and off from a script (1)
  10855. 2:3.25.56 Successfully received George Synowiec,10:12 AM 7/9/94=94,The
  10856. Scriptable Finder (1)
  10857. 2:3.34.25 Successfully received John Welch,11:53 AM 7/9/94=94, (1)
  10858. 2:3.39.37 Successfully received Dennis Birch, 1:37 PM 7/9/94=94,Re: "Is ther=
  10859. e
  10860. a file?" command (1)
  10861. 2:3.43.0 Successfully received Barry Chern, 4:34 PM 7/9/94=94,msg.=
  10862.  formatting (1)
  10863. 2:3.48.12 Successfully received David Lewis, 2:37 PM 7/9/94=94,Re: OSA Menu
  10864. and Frontier (1)
  10865. 2:3.54.6 Successfully received David Ray, 3:59 PM 7/9/94=94,Re: MacPGP2.6 (1=
  10866. )
  10867. 2:3.59.27 Successfully received John W. Baxter, 6:04 PM 7/9/94=94,Re: The
  10868. Scriptable Finder (1)
  10869. 2:4.2.26 Successfully received prvalko, 8:29 PM 7/9/94=94,MFJ Audio
  10870. Improvement? (1)
  10871. 2:4.5.25 Successfully received James Speer, 9:44 PM 7/9/94=94,Re: MFJ Audio
  10872. Improvement? (1)
  10873. 2:4.8.9 Successfully received Michael S. Dooley, 9:51 PM 7/9/94=94,SWR Bridg=
  10874. e
  10875. from Doug Demaw in CQ (1)
  10876. 2:4.11.5 Successfully received N8ET@delphi.com,11:08 PM 7/9/94=94,Thanks to
  10877. K5FO..... (1)
  10878. 2:4.17.3 Successfully received N8ET@delphi.com,11:09 PM 7/9/94=94,QRP Club
  10879. Address List (1)
  10880. 2:4.21.38 Successfully received Doug Hendricks, 8:17 PM 7/9/94=94,NorCal 40
  10881. MiniKits (1)
  10882. 2:4.28.38 Successfully received Paul G Smith, 7:46 PM 7/7/94=94,Re:
  10883. Applescripting Serial Port (1)
  10884. 2:4.35.36 Successfully received John W. Baxter, 7:06 AM 7/10/9=94,IM QD GX
  10885. Printing (1)
  10886. 2:4.41.49 Successfully received W. Daniel, 2:32 PM 7/10/9=94,Re: MFJ Audio
  10887. Improvement? (1)
  10888. 2:4.47.20 Successfully received Leonard Rosenthol,12:11 PM 7/10/9=94,Re: OSA
  10889. Menu and Frontier (1)
  10890. 2:4.50.29 Successfully received Leonard Rosenthol,12:12 PM 7/10/9=94,Re: The
  10891. Scriptable Finder (1)
  10892. 2:4.55.25 Successfully received Bruce Toback,12:40 PM 7/10/9=94,Re: 40/15m
  10893. rigs? (1)
  10894. 2:5.0.22 Successfully received W. J. Proffer,11:47 AM
  10895. 7/10/9=94,Scripting/Events for QuickTake Camera Application (1)
  10896. 2:5.6.31 Successfully received Jon Pugh, 1:33 PM 7/10/9=94,Re: Turning
  10897. AppleTalk on and off from a script (1)
  10898. 2:5.14.41 Successfully received "Lawrence D'Olivei=94,10:32 AM 7/11/9=94,Re:=
  10899.  is
  10900. there a way to hide background apps? (1)
  10901. 2:5.19.55 Successfully received "Lawrence D'Olivei=94,10:37 AM 7/11/9=94,Re:
  10902. msg. formatting (1)
  10903. 2:5.24.4 Successfully received Mike Czuhajewski, 6:00 PM 7/10/9=94,Re
  10904. Milliwatt (1)
  10905. 2:5.28.42 Successfully received Mike Czuhajewski, 5:53 PM 7/10/9=94,Missing
  10906. digests? (1)
  10907. 2:5.32.25 Successfully received Mike Czuhajewski, 8:21 PM 7/10/9=94,MFJ audi=
  10908. o
  10909. comment (1)
  10910. 2:5.36.44 Successfully received Mike Czuhajewski, 8:25 PM 7/10/9=94,New
  10911. packet address (1)
  10912. 2:5.42.11 Successfully received Shaddar@aol.com,11:08 PM 7/10/9=94,Re:
  10913. Scripting/Events for QuickTake Camera Application (1)
  10914. 2:5.46.47 Successfully received FOXG@WCSUB.CTSTATE=94,10:49 PM 7/10/9=94,Fie=
  10915. ld
  10916. Day (better late than...) (1)
  10917. 2:5.54.35 Successfully received Kiran Wagle,12:38 AM 7/11/9=94,Script Editor=
  10918.  (1)
  10919. 2:5.57.46 Successfully received John W. Baxter, 9:43 PM 7/10/9=94,Re: msg.
  10920. formatting (1)
  10921. 2:6.2.16 Successfully received "Lawrence D'Olivei=94, 4:46 PM 7/11/9=94,Re:
  10922. Script Editor (1)
  10923. 2:6.5.36 Successfully received John W. Baxter,10:00 PM 7/10/9=94,Re: Script
  10924. Editor (1)
  10925. 2:6.11.8 Successfully received Kee Nethery +1 510=94,10:04 PM 7/10/9=94,Re:
  10926. Scripting/Events for QuickTake Camera Application (1)
  10927. 2:6.15.12 Successfully received NYOUNG@DESIRE.WRIG=94,11:02 PM
  10928. 7/10/9=94,NE570s, DCRs and other doodads (1)
  10929. 2:6.18.33 Successfully received Jon Pugh,10:38 PM 7/10/9=94,Re:
  10930. Scripting/Events for QuickTake Camera Application (1)
  10931. 2:6.23.58 Successfully received W. Daniel,11:35 AM 7/11/9=94,MC1350 input
  10932. impedance (1)
  10933. 2:6.26.21 Successfully received Jeff Jones,10:02 PM 7/10/9=94,QRP really doe=
  10934. s
  10935. work! (1)
  10936. 2:6.29.4 Successfully received Oliver Muoto,11:42 PM 7/10/9=94,Re: Script
  10937. Editor (1)
  10938. 2:6.32.44 Successfully received Tom Kerns,11:50 PM 7/10/9=94,MFJ 9020 loud
  10939. Tx/Rx switch (1)
  10940. 2:6.35.43 Successfully received Michael Silva, 1:06 AM 7/11/9=94,Re: MC1350
  10941. input impedance (1)
  10942. 2:6.38.38 Successfully received W. Daniel, 3:43 PM 7/11/9=94,Re: NE570s, DCR=
  10943. s
  10944. and other doodads (1)
  10945. 2:6.41.40 Successfully received W. Daniel, 4:21 PM 7/11/9=94,MC1350 vs.=
  10946.  MC1490 (1)
  10947. 2:6.45.17 Successfully received WEBSTER_KER@CSUSYS=94, 5:21 AM 7/11/9=94,40/=
  10948. 40
  10949. - How do I get one? (1)
  10950. 2:6.47.56 Successfully received David Habermann, D=94, 7:19 AM
  10951. 7/11/9=94,Scripting MacHTTP (1)
  10952. 2:6.52.2 Successfully received Dave Fitch,12:21 PM 7/11/9=94,Looking for ope=
  10953. n
  10954. windows in scriptable finder (1)
  10955. 2:6.54.25 Successfully received Evert Halbach, 7:06 AM 7/11/9=94,Re: 20 mtrs
  10956. "Shrinking" (1)
  10957. 2:6.57.19 Successfully received John W. Baxter, 7:11 AM 7/11/9=94,Re:
  10958. Scripting MacHTTP (1)
  10959. 2:7.0.10 Successfully received simon, 3:16 PM 7/11/9=94,AScript to do networ=
  10960. k
  10961. copy? (1)
  10962. 2:7.4.12 Successfully received Stephen Trier,12:46 PM 7/11/9=94,Re: NE570s,
  10963. DCRs and other doodads (1)
  10964. 2:7.7.9 Successfully received Brian V. Hughes,10:25 AM 7/11/9=94,Re: Looking
  10965. for open windows in scriptable finder (1)
  10966. 2:7.10.28 Successfully received Clark Fishman (FSA=94, 8:57 AM
  10967. 7/11/9=94,Receiver Noise (1)
  10968. Mon Jul 11 10:38:45 1994
  10969. 8:0.0.4 read
  10970. 8:0.0.4 Trash
  10971. 8:0.0.4 ALRT 1024
  10972. 8:0.2.30 Dismissed with 1.
  10973. Mon Jul 11 13:09:40 1994
  10974. 1:0.0.3 halcyon.com 25
  10975. 1:0.2.29 Sending qrp, Re: Receiver Noise.
  10976. 8:1.10.54 That pesky MacTCP is acting up again.
  10977. 8:1.10.54 5
  10978. 8:1.10.54 The connection timed out.
  10979. 8:1.10.54 {37:110}
  10980. 8:1.10.54 ALRT 1005
  10981. 8:1.30.42 Dismissed with 1.
  10982. 1:1.30.42 Failed (601).
  10983. 8:3.8.6 Server not responding.
  10984. 8:3.8.6 -23015
  10985. 8:3.8.6 The connection came up halfway and then failed.
  10986. 8:3.8.6 {37:93}
  10987. 8:3.8.6 ALRT 1005
  10988. 8:3.33.41 Dismissed with 1.
  10989. Mon Jul 11 13:13:19 1994
  10990. 1:0.0.1 halcyon.com 25
  10991. 8:0.22.19 The host is presently unreachable.
  10992. 8:0.22.20 ALRT 1020
  10993. 8:0.25.39 Dismissed with 1.
  10994. 8:1.37.2 Server not responding.
  10995. 8:1.37.2 -23015
  10996. 8:1.37.3 The connection came up halfway and then failed.
  10997. 8:1.37.3 {37:93}
  10998. 8:1.37.3 ALRT 1005
  10999. 8:1.41.18 Dismissed with 1.
  11000. Mon Jul 11 13:29:43 1994
  11001. 1:0.0.3 halcyon.com 25
  11002. 8:1.37.4 Server not responding.
  11003. 8:1.37.4 -23015
  11004. 8:1.37.5 The connection came up halfway and then failed.
  11005. 8:1.37.5 {37:93}
  11006. 8:1.37.5 ALRT 1005
  11007. 8:1.40.51 Dismissed with 1.
  11008. Mon Jul 11 13:46:48 1994
  11009. 1:0.0.2 halcyon.com 25
  11010. 1:0.8.25 Sending qrp, Re: Receiver Noise.
  11011. 1:0.17.13 Succeeded.
  11012. 1:0.20.37 Sending W. Daniel, Re: LM386.
  11013. 1:0.38.15 Succeeded.
  11014. 1:0.39.0 Sending Mike Czuhajewski, Re: Review my article?.
  11015. 1:0.45.8 Succeeded.
  11016. 1:0.45.45 Sending Mike Czuhajewski, Re: Interest in Milliwatt?.
  11017. 1:0.54.55 Succeeded.
  11018. 1:0.55.29 Sending Bruce Toback, Re: 40/15m rigs?.
  11019. 1:1.10.40 Succeeded.
  11020. 1:1.11.13 Sending Rick Spanbauer, Re: 2213.
  11021. 1:1.18.27 Succeeded.
  11022. Mon Jul 11 13:48:27 1994
  11023. 2:0.0.1 halcyon.com 110 (13)
  11024. 2:0.2.39 Successfully received W. Daniel, 8:06 PM 7/11/9=94,MC1350 noise (1)
  11025. 2:0.10.12 Successfully received John F. Woods, 9:54 AM 7/11/9=94,Re: 40-40
  11026. spur (1)
  11027. 2:0.18.8 Successfully received Leonard Rosenthol, 9:41 AM 7/11/9=94,Re:
  11028. Script Editor (1)
  11029. 2:0.20.42 Successfully received John F. Woods,11:08 AM 7/11/9=94,transmit
  11030. mixers (1)
  11031. 2:0.24.16 Successfully received LVE@mica.inel.gov,10:10 AM 7/11/9=94,RE:
  11032. LM386 Hiss (1)
  11033. 2:0.28.28 Successfully received janderson@polycom.=94, 9:10 AM 7/11/9=94,OHR
  11034. Keyer Question (1)
  11035. 2:0.32.11 Successfully received Clark Fishman (FSA=94,12:59 PM 7/11/9=94,Aud=
  11036. io
  11037. Amp (1)
  11038. 2:0.34.47 Successfully received LVE@mica.inel.gov,10:57 AM 7/11/9=94,LM380
  11039. Correction... (1)
  11040. 2:0.37.35 Successfully received lhalliday@creo.bc.=94, 9:47 AM 7/11/9=94,Aud=
  11041. io
  11042. output chips article (1)
  11043. 2:1.25.42 Successfully received The Info-Mac Moder=94, 7:23 AM
  11044. 7/11/9=94,Info-Mac Digest V12 #95 1/4 (4)
  11045. 2:2.1.48 Successfully received The Info-Mac Moder=94, 7:33 AM
  11046. 7/11/9=94,Info-Mac Digest V12 #96 1/3 (3)
  11047. 2:2.4.33 Successfully received B. Bruce Brinson,12:37 PM 7/11/9=94,Re: Scrip=
  11048. t
  11049. Editor (1)
  11050. 2:2.7.45 Successfully received Greg Buhyoff, 1:45 PM 7/11/9=94,FT 690r-MKII =
  11051. (1)
  11052. Mon Jul 11 16:30:52 1994
  11053. 1:0.0.4 halcyon.com 25
  11054. 1:0.3.11 Sending John F. Woods, Re: transmit mixers.
  11055. 1:0.11.54 Succeeded.
  11056. 2:0.21.28 halcyon.com 110 (8)
  11057. 2:0.26.2 Successfully received Daniel Hagerty, 1:53 PM 7/11/9=94,Re:
  11058. Applescripting Serial Port (1)
  11059. 2:0.28.50 Successfully received John W. Baxter, 1:45 PM 7/11/9=94,Re: Script
  11060. Editor (1)
  11061. 2:0.31.36 Successfully received Bruce Toback, 1:55 PM 7/11/9=94,Re: 40/15m
  11062. rigs? (1)
  11063. 2:0.34.4 Successfully received janderson@polycom.=94,12:52 PM 7/11/9=94,Re: =
  11064. QRP
  11065. Club Address List (1)
  11066. 2:0.38.44 Successfully received Kevin Purcell, 1:47 PM 7/11/9=94,Re: Receive=
  11067. r
  11068. Noise (1)
  11069. 2:0.41.35 Successfully received Doug Baron, 3:17 PM 7/11/9=94,Re: OSA Menu
  11070. and Frontier (1)
  11071. 2:0.49.25 Successfully received Doug Baron, 3:17 PM 7/11/9=94,Re: OSA Menu
  11072. and Frontier (1)
  11073. 2:0.54.5 Successfully received Rick Spanbauer, 6:41 PM 7/11/9=94,EBO (1)
  11074. Mon Jul 11 16:38:30 1994
  11075. 1:0.0.6 halcyon.com 25
  11076. 1:0.23.23 Sending Bruce Toback, Re: 40/15m rigs?.
  11077. 1:1.11.37 Succeeded.
  11078. 1:1.13.54 Sending mikero, Re: OSA Menu and Frontier.
  11079. 1:1.30.55 Succeeded.
  11080. Mon Jul 11 17:07:31 1994
  11081. 2:0.0.2 halcyon.com 110 (2)
  11082. 2:0.3.35 Successfully received Brian Hall, 4:33 PM 7/11/9=94,Free Space? (1)
  11083. 2:0.6.49 Successfully received Bruce Toback, 5:02 PM 7/11/9=94,Re: 40/15m
  11084. rigs? (1)
  11085. Tue Jul 12 08:19:58 1994
  11086. 2:0.0.2 halcyon.com 110 (14)
  11087. 2:0.3.45 Successfully received John Welch, 7:00 AM 7/11/9=94, (1)
  11088. 2:0.6.22 Successfully received George Dobbs G3RJV,10:31 AM 7/11/9=94,G QRP
  11089. CLUB RENEWALS (1)
  11090. 2:0.9.16 Successfully received Mike Cohen, 5:55 PM 7/11/9=94,Re: OSA Menu an=
  11091. d
  11092. =46rontier (1)
  11093. 2:0.13.47 Successfully received anthony brown, 8:57 PM 7/11/9=94,frontmost
  11094. and listboxes... (1)
  11095. 2:0.17.0 Successfully received John W. Baxter, 6:25 PM 7/11/9=94,Re: OSA Men=
  11096. u
  11097. and Frontier (1)
  11098. 2:0.22.22 Successfully received Larry Mull, 6:09 PM 7/11/9=94,First portable
  11099. QSO's (1)
  11100. 2:0.28.21 Successfully received Digidesign, Evan B=94, 7:04 PM
  11101. 7/11/9=94,MacApp, CodeWarrior, and MI (1)
  11102. 2:0.32.38 Successfully received FWORKS.ED@applelin=94, 1:59 AM
  11103. 7/12/9=94,FrameWorks Call for Authors (1)
  11104. 2:0.35.15 Successfully received MACAPP.ADMIN@apple=94, 3:58 AM 7/12/9=94,Res=
  11105. end
  11106. question 2 MACAPP3TECH$ (1)
  11107. 2:0.37.57 Successfully received Jon Pugh,12:17 AM 7/12/9=94,Re:
  11108. OSAGetStorageType w/o AppleScript (1)
  11109. 2:0.40.50 Successfully received Herb Schilling, 6:08 AM 7/12/9=94,Re:
  11110. frontmost and listboxes... (1)
  11111. 2:0.59.13 Successfully received Adam C. Engst, 9:12 PM
  11112. 7/11/9=94,TidBITS#234/11-Jul-94 1/2 (2)
  11113. 2:1.6.48 Successfully received John Schettino, 8:46 AM 7/12/9=94,Re:
  11114. frontmost and listboxes... (1)
  11115. 2:1.11.37 Successfully received Brian V. Hughes, 9:20 AM 7/12/9=94,Re: Free
  11116. Space? (1)
  11117. Tue Jul 12 12:37:26 1994
  11118. 2:0.0.2 halcyon.com 110 (13)
  11119. 2:0.5.22 Successfully received John W. Baxter, 7:14 AM 7/12/9=94,Re:
  11120. OSAGetStorageType w/o AppleScript (1)
  11121. 2:0.7.52 Successfully received John F. Woods,10:29 AM 7/12/9=94,Signal
  11122. Generators (1)
  11123. 2:0.10.54 Successfully received W. Daniel,10:23 AM 7/12/9=94,Re: LM386 (1)
  11124. 2:0.24.35 Successfully received John W. Baxter, 9:20 AM 7/12/9=94,FaceSpan v=
  11125. s
  11126. do script "foo" (1)
  11127. 2:0.29.8 Successfully received Mike Czuhajewski, 7:40 AM 7/12/9=94,Decoding
  11128. archives? (1)
  11129. 2:0.34.59 Successfully received W. Daniel,10:23 AM 7/12/9=94,Re: LM386 (1)
  11130. 2:0.38.10 Successfully received  Jim Osburn, 8:44 AM 7/12/9=94,Pogo Stick
  11131. Revisited (1)
  11132. 2:0.41.27 Successfully received Bruce Toback, 9:39 AM 7/12/9=94,Re:  Signal
  11133. Generators (1)
  11134. 2:0.45.41 Successfully received Chuck Adams,12:00 PM 7/12/9=94,I'm Back (1)
  11135. 2:0.48.14 Successfully received djwang@sneezy.biop=94,12:49 PM
  11136. 7/12/9=94,archive files from think.com (1)
  11137. 2:0.52.5 Successfully received m.e.hartwell, 1:19 PM 7/12/9=94,Signal
  11138. Generators (1)
  11139. 2:0.56.38 Successfully received Frank Lowney, 3:20 PM 7/12/9=94,Why does thi=
  11140. s
  11141. recorded script fail? (1)
  11142. 2:0.59.47 Successfully received Ray Anderson,10:40 AM 7/12/9=94,Re: Decoding
  11143. archives (1)
  11144. Tue Jul 12 13:51:52 1994
  11145. 1:0.0.3 halcyon.com 25
  11146. 1:0.3.28 Sending djwang@sneezy.biophys.upenn.edu, Re: archive files from
  11147. think.com.
  11148. 1:0.12.58 Succeeded.
  11149. 1:0.14.12 Sending Microsofties, Apple(who)Care(s).
  11150. 1:0.27.29 Succeeded.
  11151. Tue Jul 12 13:53:04 1994
  11152. 2:0.0.0 halcyon.com 110 (5)
  11153. 2:0.2.19 Successfully received John F. Woods, 2:15 PM 7/12/9=94,Re: Signal
  11154. Generators (1)
  11155. 2:0.7.52 Successfully received rohrwerk@holonet.n=94,11:03 AM 7/12/9=94,Bal.
  11156. tuners, balun in (1)
  11157. 2:0.10.27 Successfully received Ray Anderson,11:20 AM 7/12/9=94,Decompressin=
  11158. g
  11159. compressed archive files (1)
  11160. 2:0.13.24 Successfully received Clark Fishman (FSA=94, 2:37 PM 7/12/9=94,sig=
  11161. nal
  11162. generator (1)
  11163. 2:0.15.49 Successfully received renee diehl, 4:09 PM 7/12/9=94,how about thi=
  11164. s
  11165. one? (1)
  11166. Tue Jul 12 14:45:39 1994
  11167. 1:0.0.3 halcyon.com 25
  11168. 1:0.2.8 Sending renee diehl, Re: how about this one?.
  11169. 1:0.17.22 Succeeded.
  11170. 1:0.20.22 Sending Clark Fishman (FSAC-FCD), Re: signal generator.
  11171. 1:0.26.25 Succeeded.
  11172. 2:0.29.50 halcyon.com 110 (4)
  11173. 2:0.32.20 Successfully received mirgate_mailer_dae=94, 1:50 PM 7/12/9=94,mai=
  11174. l
  11175. problem (1)
  11176. 2:0.34.57 Successfully received Brian V. Hughes, 4:48 PM 7/12/9=94,Re: Why
  11177. does this recorded script fail? (1)
  11178. 2:0.37.55 Successfully received rohrwerk@holonet.n=94,12:11 PM 7/12/9=94,I'm
  11179. Back (1)
  11180. 2:0.40.10 Successfully received rohrwerk@holonet.n=94,12:11 PM=
  11181.  7/12/9=94,Sprint (1)
  11182. Thu Jul 14 08:22:47 1994
  11183. 2:0.0.6 halcyon.com 110 (103)
  11184. 2:0.3.42 Successfully received John F. Woods, 4:46 PM 7/12/9=94,Re: Sprint (=
  11185. 1)
  11186. 2:0.6.3 Successfully received Bruce Robertson, 4:37 PM 7/12/9=94,connectors
  11187. and W7EL wattmeter (1)
  11188. 2:0.8.53 Successfully received janderson@polycom.=94, 1:51 PM 7/12/9=94,Re:
  11189. Bal. tuners, balun in (1)
  11190. 2:0.12.5 Successfully received Kevin Purcell, 1:52 PM 7/12/9=94,Re: archive
  11191. files from think.com (1)
  11192. 2:0.14.36 Successfully received Shaddar@aol.com, 6:29 PM 7/12/9=94,Frontmost
  11193. Info (1)
  11194. 2:0.18.20 Successfully received Mark E Gustoff, 2:20 PM 7/12/9=94,Re: Sprint=
  11195.  (1)
  11196. 2:0.22.54 Successfully received Doug Baron, 4:00 PM 7/12/9=94,Re:
  11197. OSAGetStorageType w/o AppleScript (1)
  11198. 2:0.26.16 Successfully received James Speer, 4:55 PM 7/12/9=94,Re: connector=
  11199. s
  11200. and W7EL wattmeter (1)
  11201. 2:0.29.49 Successfully received "Lawrence D'Olivei=94,11:39 AM 7/13/9=94,Re:
  11202. OSAGetStorageType w/o AppleScript (1)
  11203. 2:0.33.32 Successfully received renee diehl, 8:09 PM 7/12/9=94,Re: how about
  11204. this one? (1)
  11205. 2:0.37.23 Successfully received W. Daniel, 1:02 AM 7/13/9=94,Re: Receiver
  11206. Noise (1)
  11207. 2:0.43.20 Successfully received WYNN C C, 7:14 PM 7/12/9=94,ARCI HB Sprint
  11208. scoring (1)
  11209. 2:0.45.45 Successfully received Bruce Toback, 4:46 PM 7/12/9=94,Hamfest
  11210. Shopping List (1)
  11211. 2:0.48.59 Successfully received W. Daniel, 2:38 AM 7/13/9=94,21 keyer boards
  11212. to mail tomorrow (1)
  11213. 2:0.51.42 Successfully received W. Daniel, 1:02 AM 7/13/9=94,Re: Receiver
  11214. Noise (1)
  11215. 2:0.54.6 Successfully received N8ET@delphi.com, 8:17 PM 7/12/9=94,.Z files (=
  11216. 1)
  11217. 2:0.57.0 Successfully received N8ET@delphi.com, 8:27 PM 7/12/9=94,.Z files
  11218. again (1)
  11219. 2:1.0.43 Successfully received Stephen Trier, 2:03 AM 7/13/9=94,Re: Hamfest
  11220. Shopping List (1)
  11221. 2:1.4.2 Successfully received Andrea Dunn, 2:11 PM 7/13/9=94,naming layouts =
  11222. (1)
  11223. 2:1.6.51 Successfully received Jon Pugh,10:47 PM 7/12/9=94,Lee Buck &
  11224. =46aceSpan in DDJ (1)
  11225. 2:1.15.8 Successfully received Jon Pugh,10:47 PM 7/12/9=94,Re: MACSCRPT
  11226. Digest - 11 Jul 1994 to 12 Jul 1994 (1)
  11227. 2:1.17.34 Successfully received W. Daniel,10:04 AM 7/13/9=94,Gone for a few
  11228. days (1)
  11229. 2:1.22.0 Successfully received jeffrey@math.hawai=94, 9:58 PM 7/12/9=94,thum=
  11230. b
  11231. tacks (1)
  11232. 2:1.28.59 Successfully received George Katele, 4:29 AM 7/13/9=94,Re: naming
  11233. layouts (1)
  11234. 2:1.31.37 Successfully received John Welch, 9:42 PM 7/12/9=94,Re: Signal
  11235. Generators (1)
  11236. 2:1.34.22 Successfully received S. Taylor, 7:48 AM 7/13/9=94,Re: naming
  11237. layouts (1)
  11238. 2:1.36.46 Successfully received Brian V. Hughes, 8:59 AM 7/13/9=94,Re:
  11239. =46rontmost Info (1)
  11240. 2:1.40.34 Successfully received Lee Hoong, 9:05 AM 7/13/9=94,Re: Frontmost
  11241. Info (1)
  11242. 2:1.43.2 Successfully received JOHN TIPPETT, (919=94, 9:21 AM 7/13/9=94,Auto
  11243. lookup and fill-in (1)
  11244. 2:1.46.33 Successfully received Timothy Scott,12:08 AM 7/14/9=94,Re: Auto
  11245. lookup and fill-in (1)
  11246. 2:1.49.4 Successfully received TOM FORD - DUPONT =94, 9:54 AM 7/13/9=94,Re:
  11247. Auto lookup and fill-in (1)
  11248. 2:1.51.39 Successfully received John F. Woods, 9:10 AM 7/13/9=94,Re: ARCI HB
  11249. Sprint scoring (1)
  11250. 2:1.58.12 Successfully received Steve Holden, 7:59 AM 7/13/9=94,Launch
  11251. AppleScript with Mosaic 2.0a2? (1)
  11252. 2:2.2.2 Successfully received Michael S. Dooley, 8:50 AM 7/13/9=94,higher
  11253. bands (1)
  11254. 2:2.5.2 Successfully received m.e.hartwell, 9:40 AM 7/13/9=94,antenna=
  11255.  supports (1)
  11256. 2:2.7.37 Successfully received Clark Fishman (FSA=94,10:22 AM 7/13/9=94, (1)
  11257. 2:2.10.38 Successfully received Duane P Mantick, 9:35 AM 7/13/9=94,Re:
  11258. AC4HF/P/M/QRP (1)
  11259. 2:2.14.37 Successfully received Brien Pepperdine,10:31 AM 7/13/9=94,Norcal 4=
  11260. 0
  11261. finals (1)
  11262. 2:2.18.16 Successfully received Roy Rapoport, 8:59 AM 7/13/9=94,Hey, wait a
  11263. second! (1)
  11264. 2:2.21.3 Successfully received Dennis Birch, 3:49 PM 7/8/94=94,Re: "Is there
  11265. a file?" command (1)
  11266. 2:2.23.29 Successfully received 10465::M405142, 9:31 AM 7/13/9=94,AGC for
  11267. NN1G, Neophyte receivers.... (1)
  11268. 2:2.26.33 Successfully received m.e.hartwell,11:37 AM 7/13/9=94, (1)
  11269. 2:2.28.59 Successfully received "Dave Griffin, Fer=94, 1:23 PM
  11270. 7/13/9=94,MACSCRPT FAQ? (1)
  11271. 2:2.31.32 Successfully received John F. Woods,12:02 PM 7/13/9=94,Re: Norcal
  11272. 40 finals (1)
  11273. 2:2.34.10 Successfully received Desmond K. Mullen,12:51 PM 7/13/9=94,Re:
  11274. Macintosh Consultant Job Opening at Notre Dame, Indiana, U (1)
  11275. 2:2.36.37 Successfully received Roger Traylor, 9:22 AM 7/13/9=94,Plessey
  11276. SL6440 mixer - source? (1)
  11277. 2:2.40.49 Successfully received Stephen Lee, 9:25 AM 7/13/9=94,Re: Norcal 40
  11278. finals (1)
  11279. 2:2.43.15 Successfully received Mark Kenney,12:22 PM 7/13/9=94,SIGNOFF FMPRO=
  11280.  (1)
  11281. 2:2.46.23 Successfully received Steve Huey, 2:25 PM 7/13/9=94,cancel (1)
  11282. 2:2.49.1 Successfully received Peter Jennings,10:09 AM 7/13/9=94,Re: .Z file=
  11283. s
  11284. again (1)
  11285. 2:2.52.7 Successfully received "Robert E. Easton =94,11:44 AM
  11286. 7/13/9=94,Unwanted reception (1)
  11287. 2:2.54.16 Successfully received Eric Swartz WA6HHQ,10:02 AM 7/13/9=94,Re:
  11288. Norcal 40 finals (1)
  11289. 2:2.57.16 Successfully received Fred Terry, 2:00 PM 7/13/9=94,Re: Macintosh
  11290. Consultant Job Opening at Notre Dame, Indiana, U (1)
  11291. 2:2.59.54 Successfully received Chuck Adams,12:25 PM 7/13/9=94,2SC799 (1)
  11292. 2:3.2.26 Successfully received Roy Rapoport,12:36 PM 7/13/9=94,AS 1.1 (1)
  11293. 2:3.6.0 Successfully received Michael Bendio (un=94,12:12 PM 7/13/9=94,Re:
  11294. Norcal 40 finals (1)
  11295. 2:3.8.31 Successfully received Ray Anderson,11:37 AM 7/13/9=94,Re: unwanted
  11296. signals (1)
  11297. 2:3.11.51 Successfully received Steve Huey, 5:02 PM 7/13/9=94,Re: AS 1.1 (1)
  11298. 2:3.14.33 Successfully received David Lewis, 2:13 PM 7/13/9=94,Making
  11299. =46rontier wait for KeyQuencer (1)
  11300. 2:3.17.38 Successfully received David Myers, 5:23 PM 7/13/9=94,Frontier:
  11301. controlling menubar objects (1)
  11302. 2:3.20.50 Successfully received Borre Ludvigsen, 9:25 PM 7/13/9=94,Filtering
  11303. funny characters (1)
  11304. 2:3.23.38 Successfully received Abner Dumoff, 5:36 PM 7/13/9=94,FaceSpan
  11305. error codes (1)
  11306. 2:3.26.5 Successfully received Ted Albert, 4:00 PM 7/13/9=94,NAND Gate
  11307. transmitter ? (1)
  11308. 2:3.29.57 Successfully received Shaddar@aol.com, 7:00 PM 7/13/9=94,Re: (2)
  11309. =46rontmost Info (1)
  11310. 2:3.32.25 Successfully received Brien Pepperdine, 5:48 PM 7/13/9=94,Re:=
  11311.  2SC799 (1)
  11312. 2:3.36.47 Successfully received Mike Czuhajewski, 7:58 AM 7/13/9=94,No
  11313. hamfest toroids! (1)
  11314. 2:3.39.44 Successfully received Doug Baron, 4:18 PM 7/13/9=94,Re: MACSCRPT
  11315. Digest - 11 Jul 1994 to 12 Jul 1994 (1)
  11316. 2:3.42.53 Successfully received Michael Silva,12:59 PM 7/13/9=94,Re: thumb
  11317. tacks (1)
  11318. 2:3.47.39 Successfully received Doug Baron, 4:19 PM 7/13/9=94,Re: Frontier:
  11319. controlling menubar objects (1)
  11320. 2:3.51.31 Successfully received Doug Baron, 4:19 PM 7/13/9=94,Re: Making
  11321. =46rontier wait for KeyQuencer (1)
  11322. 2:3.54.36 Successfully received bruce.florip@amail=94, 3:28 PM 7/13/9=94,OHR=
  11323. -40
  11324. progress (1)
  11325. 2:3.57.5 Successfully received m.e.hartwell, 3:10 PM 7/13/9=94,catalog (1)
  11326. 2:4.0.55 Successfully received David Lewis, 5:07 PM 7/13/9=94,Re: Making
  11327. =46rontier wait for KeyQuencer (1)
  11328. 2:4.4.11 Successfully received anthony brown, 9:17 PM 7/13/9=94,What's the
  11329. maximum size of a string in applescript/frontmost (1)
  11330. 2:4.8.33 Successfully received Bruce Toback, 1:45 PM 7/13/9=94,Re:  NAND Gat=
  11331. e
  11332. transmitter ? (1)
  11333. 2:4.14.5 Successfully received John W. Baxter, 7:28 PM 7/13/9=94,Re: What's
  11334. the maximum size of a string in applescript/frontmo (1)
  11335. 2:4.18.58 Successfully received Wayne Burdick, 6:32 PM 7/13/9=94,Sierra=
  11336.  status (1)
  11337. 2:4.21.54 Successfully received Dale L. Thomas, 7:55 PM 7/13/9=94,MACSCRPT (=
  11338. 1)
  11339. 2:4.26.39 Successfully received Stephen Trier, 1:11 AM 7/14/9=94,Re: NAND
  11340. Gate transmitter ? (1)
  11341. 2:4.30.14 Successfully received David Myers,11:04 PM 7/13/9=94,Re: Frontier:
  11342. controlling menubar objects (1)
  11343. 2:4.34.4 Successfully received Michael Silva, 5:22 PM 7/13/9=94,Re: NAND Gat=
  11344. e
  11345. transmitter ? (1)
  11346. 2:4.37.28 Successfully received Michael Silva, 5:30 PM 7/13/9=94,Re: 2SC799 =
  11347. (1)
  11348. 2:4.40.0 Successfully received JimN0OCT@aol.com,10:31 PM 7/13/9=94,baluns,
  11349. tuners, etc. (1)
  11350. 2:4.43.17 Successfully received JimN0OCT@aol.com,10:56 PM 7/13/9=94,Re: 7.11=
  11351. 0
  11352. marine bcster..... (1)
  11353. 2:4.46.52 Successfully received Stephen Trier, 2:47 AM 7/14/9=94,Re: NAND
  11354. Gate transmitter ? (1)
  11355. 2:4.50.10 Successfully received Mike Czuhajewski,10:59 PM 7/13/9=94,Got
  11356. Archives! (1)
  11357. 2:4.52.34 Successfully received FOXG@WCSUB.CTSTATE=94, 1:33 AM 7/14/9=94,Is
  11358. that what you look like! (1)
  11359. 2:4.56.40 Successfully received Michael Silva, 8:45 PM 7/13/9=94,Re: NAND
  11360. Gate transmitter ? (1)
  11361. 2:5.0.52 Successfully received Stephen Lee,11:41 PM 7/13/9=94,Re: NAND Gate
  11362. transmitter ? (1)
  11363. 2:5.4.50 Successfully received WalrathW,11:47 AM 7/14/9=94,Re: cancel (1)
  11364. 2:5.7.55 Successfully received Kiran Wagle, 8:00 AM 7/14/9=94,Apple's
  11365. scripting packages (1)
  11366. 2:5.10.13 Successfully received P J Roberts,12:02 PM 7/14/9=94,Info needed o=
  11367. n
  11368. J310 FETs (1)
  11369. 2:5.12.51 Successfully received Jean Berthomieu, 2:45 PM 7/14/9=94,Re: AS=
  11370.  1.1 (1)
  11371. 2:5.17.16 Successfully received Peter 'Happy' Thom=94, 9:07 AM 7/14/9=94,Re:=
  11372.  AS
  11373. 1.1 (1)
  11374. 2:5.19.35 Successfully received Greg Buhyoff, 7:53 AM 7/14/9=94,internet
  11375. reflector for eqip sales (1)
  11376. 2:5.23.45 Successfully received Brian V. Hughes, 9:41 AM 7/14/9=94,Re: (2)
  11377. =46rontmost Info (1)
  11378. 2:5.27.38 Successfully received Brian V. Hughes, 9:43 AM 7/14/9=94,Re: AS=
  11379.  1.1 (1)
  11380. 2:5.31.34 Successfully received Nathaniel Comfort =94,10:05 AM
  11381. 7/14/9=94,FMPro:changing layout on the fly (1)
  11382. 2:5.34.48 Successfully received Muenzler, Kevin, 8:15 AM 7/14/9=94,RE: NAND
  11383. Gate Transmitter (1)
  11384. 2:5.37.36 Successfully received Greg Francis, 7:48 AM 7/14/9=94,Opening a DA
  11385. from AppleScript? (1)
  11386. 2:5.41.10 Successfully received Mike Czuhajewski, 7:43 AM 7/14/9=94,SPRAT an=
  11387. d
  11388. QQ are out (1)
  11389. 2:5.48.21 Successfully received Mike Czuhajewski, 7:48 AM 7/14/9=94,Show and
  11390. Tell in MD (1)
  11391. 2:5.54.55 Successfully received Andy J. Williams,11:14 AM 7/14/9=94,MS:
  11392. Monthly Harrange (1)
  11393. Thu Jul 14 08:46:03 1994
  11394. 8:0.0.3 read
  11395. 8:0.0.4 Trash
  11396. 8:0.0.4 ALRT 1024
  11397. 8:0.2.50 Dismissed with 1.
  11398. Thu Jul 14 08:49:00 1994
  11399. 8:0.0.3 read
  11400. 8:0.0.3 Trash
  11401. 8:0.0.4 ALRT 1024
  11402. 8:0.2.28 Dismissed with 1.
  11403. Thu Jul 14 08:52:16 1994
  11404. 8:0.0.3 read
  11405. 8:0.0.3 Trash
  11406. 8:0.0.3 ALRT 1024
  11407. 8:0.2.22 Dismissed with 1.
  11408. Thu Jul 14 08:54:42 1994
  11409. 8:0.0.2 ALRT 1036
  11410. 8:0.0.16 Dismissed with -1.
  11411. Thu Jul 14 08:58:06 1994
  11412. 8:0.0.4 ALRT 1001
  11413. 8:0.4.59 Dismissed with 1.
  11414. Thu Jul 14 08:58:34 1994
  11415. 8:0.0.0 =A5No Recipient=81, =A5No Subject=81
  11416. 8:0.0.1 ALRT 1010
  11417. 8:0.2.8 Dismissed with 2.
  11418. Thu Jul 14 09:11:15 1994
  11419. 8:0.0.3 read
  11420. 8:0.0.3 Trash
  11421. 8:0.0.3 ALRT 1024
  11422. 8:0.3.17 Dismissed with 1.
  11423. Thu Jul 14 09:15:08 1994
  11424. 8:0.0.2 read
  11425. 8:0.0.3 Trash
  11426. 8:0.0.3 ALRT 1024
  11427. 8:0.2.18 Dismissed with 1.
  11428. Thu Jul 14 09:45:52 1994
  11429. 8:0.0.2 ALRT 1023
  11430. 8:0.3.29 Dismissed with 1.
  11431. 1:0.3.47 halcyon.com 25
  11432. 1:0.6.40 Sending W. Daniel, Re: Receiver Noise.
  11433. 1:0.53.22 Succeeded.
  11434. 1:0.54.31 Sending mulle009@MAROON.TC.UMN.EDU, =A5No Subject=81.
  11435. 1:1.5.57 Succeeded.
  11436. 1:1.6.30 Sending W. Daniel, Re: 21 keyer boards to mail tomorrow.
  11437. 1:1.14.10 Succeeded.
  11438. Thu Jul 14 11:01:54 1994
  11439. 2:0.0.4 halcyon.com 110 (15)
  11440. 2:0.3.29 Successfully received Kevin Burke,10:16 AM 7/14/9=94,Eudora Sorting
  11441. Scripts (1)
  11442. 2:0.10.12 Successfully received John F. Woods,10:17 AM 7/14/9=94,Re: NAND
  11443. Gate transmitter ? (1)
  11444. 2:0.13.18 Successfully received 10465::M405142, 8:49 AM 7/14/9=94,AGC in DC
  11445. Receivers, Part II (1)
  11446. 2:0.16.9 Successfully received John F. Woods,10:06 AM 7/14/9=94,Re: 2SC799 (=
  11447. 1)
  11448. 2:0.20.2 Successfully received Brian C. Forney,10:29 AM 7/14/9=94,Anarchie
  11449. 1.21 & AppleScript problem (1)
  11450. 2:0.27.22 Successfully received Fred Terry,10:41 AM 7/14/9=94,Re: Eudora
  11451. Sorting Scripts (1)
  11452. 2:0.33.25 Successfully received David Feldman, 7:58 AM 7/14/9=94,Re: NAND
  11453. Gate transmitter ? (1)
  11454. 2:0.38.29 Successfully received stark, 7:50 AM 7/14/9=94,Re: Got Archives! (=
  11455. 1)
  11456. 2:0.41.54 Successfully received Desmond K. Mullen,12:02 PM 7/14/9=94,Re: (1)
  11457. 2:0.44.56 Successfully received 10465::M405142, 8:26 AM 7/14/9=94,RE: TTL
  11458. Transmitter. (1)
  11459. 2:0.48.19 Successfully received P J Roberts, 4:53 PM 7/14/9=94,Thanks for
  11460. J310 info (1)
  11461. 2:0.50.40 Successfully received "The more I learn,=94,12:10 PM 7/14/9=94,QRP
  11462. ops from Florida IOTA (1)
  11463. 2:0.53.11 Successfully received Klaus P. Fechner,12:38 PM 7/14/9=94,Re: AS=
  11464.  1.1 (1)
  11465. 2:1.0.5 Successfully received lhalliday@creo.bc.=94, 9:08 AM 7/14/9=94,Re:
  11466. Plessey SL6440 mixer - source? (1)
  11467. 2:1.2.37 Successfully received Roy S. Rapoport,10:47 AM 7/14/9=94,Checking
  11468. for the Existence of a Disk (1)
  11469. Thu Jul 14 11:53:51 1994
  11470. 1:0.0.3 halcyon.com 25
  11471. =========================================================================
  11472. Date:         Thu, 14 Jul 1994 15:26:26 -0400
  11473. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11474. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11475. From:         Michael Kerner <mike@PYRITE.SOM.CWRU.EDU>
  11476. Subject:      IDLE question, good AS Text (not Tao)
  11477.  
  11478. Folks,
  11479.  
  11480. Two things (in reverse order of heading)
  11481. 1) What is a good AS reference?  I've read Tao and it is jumbled, incomplete
  11482. (look up REST OF, TO and SCRIPT in the index) and generally not what I was
  11483. looking for.  Do I have to buy the AppleScript Language Reference to get
  11484. satisfaction?
  11485.  
  11486. 2) I want to write an application that will sit there and do something
  11487. every time the machine goes idle.  It works at execute time, but that's it
  11488. (when I do ON IDLE...END IDLE).
  11489.  
  11490. Thanks.
  11491. --
  11492. Mikey
  11493. "With talent on loan from God - and half my brains tied behind my back to make
  11494. it fair." Rush Limbaugh
  11495. =========================================================================
  11496. Date:         Thu, 14 Jul 1994 14:38:19 -0500
  11497. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11498. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11499. From:         Jeremy Finke <finke@EVANSVILLE.EDU>
  11500. Subject:      books
  11501.  
  11502. Can anybody recomend a good piece of literature to learn about apple
  11503. scripting?  Also with apple scripts can I write scripts that install
  11504. software like apple does with there system softare?
  11505. Thanks!
  11506.  
  11507. Jeremy Finke               |  "The Universe is but one vast
  11508. finke@evansville.edu       |   symbol of God."--Thomas Carlyle
  11509.                            *  "That, or it is one huge piece
  11510.                            *   of luck!:)"--Jeremy Finke
  11511. =========================================================================
  11512. Date:         Thu, 14 Jul 1994 15:51:55 -0400
  11513. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11514. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11515. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  11516. Subject:      Re: IDLE question, good AS Text (not Tao)
  11517. In-Reply-To:  <no.id> from "Michael Kerner" at Jul 14, 94 03:26:26 pm
  11518.  
  11519. --Michael Kerner wrote:
  11520. >
  11521. >Two things (in reverse order of heading)
  11522. >1) What is a good AS reference?  I've read Tao and it is jumbled, incomplete
  11523. >(look up REST OF, TO and SCRIPT in the index) and generally not what I was
  11524. >looking for.  Do I have to buy the AppleScript Language Reference to get
  11525. >satisfaction?
  11526.  
  11527.     Well, I certainly like the AppleScript Language Guide (English
  11528. Dialect), but I've heard that Danny Goodman's Complete AppleScript is
  11529. good as well.
  11530.  
  11531. >2) I want to write an application that will sit there and do something
  11532. >every time the machine goes idle.  It works at execute time, but that's it
  11533. >(when I do ON IDLE...END IDLE).
  11534.  
  11535.     The "on idle" handler will execute the statements that reside within
  11536. it every 30 seconds, unless another time interval is passed to it by a
  11537. "return" command as the last command before the "end idle". This is not
  11538. the same as executing when the Mac has gone idle. I don't know how you
  11539. would accomplish that with the current AppleScript, although it's
  11540. supposed to be possible with a special Frontier UCMD. Also, if you want
  11541. an script to work properly with "on idle" you need to save it as a Stay
  11542. Open application.
  11543.  
  11544. -Hades
  11545. =========================================================================
  11546. Date:         Thu, 14 Jul 1994 12:53:01 -0800
  11547. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11548. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11549. From:         David Lewis <lewis@NETCOM.COM>
  11550. Subject:      do Frontier assignments return a value?
  11551.  
  11552. Hi, John and Doug,
  11553.  
  11554. Given the syntactic similarities between Frontier and C, I wondered if you
  11555. had copied what is, IMO, one of C's most felicitous features: the fact that
  11556. assignments return a value. It seems to be the case, since I can execute an
  11557. assignment in the Quick Script window and see the result, but it isn't
  11558. anywhere I can find in the docs, so I didn't know if it was something I
  11559. could count on. Thanks.
  11560.  
  11561.         David
  11562.  
  11563. David Lewis     Seagate Technology      (408) 439-2374  lewis@netcom.com
  11564. =========================================================================
  11565. Date:         Thu, 14 Jul 1994 16:14:02 -0400
  11566. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11567. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11568. From:         John Mah <jpmah@UNDERGRAD.MATH.UWATERLOO.CA>
  11569. Subject:      Writing OSAXen
  11570.  
  11571. I'm in the process of writing an OSAX. What I want to do is implement a
  11572. command in this format:
  11573.  
  11574. pause [mode on/off]
  11575.  
  11576. ie: if you don't include the "mode on" or "mode off" part, it will toggle
  11577. the current state.
  11578.  
  11579. Since I'm flying by the seat of my pants on this project (I'm a student, no
  11580. access to fancy Apple APDA docs or $$$ to spend), I have no idea how to
  11581. modify my 'aete' resource for the on/off parts (I've figured out how to add
  11582. the extra parameter, just not how to add "on" and "off"). Can anyone point
  11583. me to some sample source or documentation for implementing this kind of
  11584. behavior?
  11585.  
  11586. Thanks in advance,
  11587. - John
  11588.  
  11589. +------------------------+-----------------------------------------------+
  11590. | John P. Mah            | E-mail:     jpmah@undergrad.math.uwaterloo.ca |
  11591. | Toilets 'R Us Software |                            author of ToadNews |
  11592. +------------------------+-----------------------------------------------+
  11593. =========================================================================
  11594. Date:         Thu, 14 Jul 1994 16:24:13 -0400
  11595. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11596. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11597. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  11598. Subject:      Re: Path To Me
  11599. In-Reply-To:  <no.id> from "Roy S. Rapoport" at Jul 14, 94 11:30:28 am
  11600.  
  11601. --Roy S. Rapoport wrote:
  11602. >
  11603. >Is there any way for an Applescript script to find where it's
  11604. >located?
  11605.  
  11606.     Sure. You need to have the GTQ Scripting Library osaxen installed.
  11607. If you do, then use this command:
  11608.  
  11609.         file spec of (application info for (this application))
  11610.  
  11611. -Hades
  11612. =========================================================================
  11613. Date:         Fri, 15 Jul 1994 08:58:00 +1200
  11614. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11615. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11616. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  11617.               NZ" <LDO@WAIKATO.AC.NZ>
  11618. Subject:      Re: OSAGetStorageType w/o AppleScript
  11619.  
  11620. John Baxter said:
  11621.  
  11622. >>Would a modified OSA Menu really provide any functions that Frontier
  11623. >>doesn't already provide with it's Finder menu and MenuSharing?
  11624. >
  11625. >Yes:  it would permit an application-specific menu-based group of scripts
  11626. >for an application which doesn't support Frontier-based menu sharing, on a
  11627. >system whose user hasn't installed AppleScript.
  11628.  
  11629. I said:
  11630.  
  11631. >Yes, but you'd still need the Component Manager. Not everybody has the
  11632. >Component Manager built into their system...
  11633.  
  11634. Jon Pugh said:
  11635.  
  11636. >AppleScript has version 1.5 built in.
  11637.  
  11638. 'Nuff said...?
  11639.  
  11640. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  11641. Info & Tech Services Division              fax: +64-7-838-4066
  11642. University of Waikato            electric mail: ldo@waikato.ac.nz
  11643. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  11644. =========================================================================
  11645. Date:         Fri, 15 Jul 1994 09:40:00 +1200
  11646. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11647. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11648. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  11649.               NZ" <LDO@WAIKATO.AC.NZ>
  11650. Subject:      Re: What's the maximum size of a string in applescript/frontmost
  11651.  
  11652. In reply to anthony brown <anbrown@HUSC9.HARVARD.EDU>, "John W. Baxter"
  11653. <jwbaxter@OLYMPUS.NET> says:
  11654. >
  11655. >How big is your memory?
  11656.  
  11657. Memory may be the only limit for run-time _values_, but there may be a smaller
  11658. limit in the language for compile-time _literals_. I've been working on an
  11659. application which stores data in AOCE catalogs, and I'm also making it
  11660. scriptable and recordable as well. When the user selects a catalog folder to
  11661. open, I send myself an "odoc" event, with the direct parameter being the
  11662. DSSpec of the folder to open. When I record this event, I get something that
  11663. looks like
  11664.  
  11665.         open <<data diry massive_string_of_hex_digits>>
  11666.  
  11667. (I use 'diry' as the DescType for a DSSpec, since that's the same type the
  11668. Drag Manager uses.) Funnily enough, I can run the recorded script OK, but if I
  11669. make any change and try to recompile, I get the error message
  11670.  
  11671.         "Way too long, dude."
  11672.  
  11673. with the word "open" highlighted.
  11674.  
  11675. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  11676. Info & Tech Services Division              fax: +64-7-838-4066
  11677. University of Waikato            electric mail: ldo@waikato.ac.nz
  11678. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  11679. =========================================================================
  11680. Date:         Thu, 14 Jul 1994 14:55:23 -0700
  11681. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11682. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11683. From:         "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  11684. Subject:      Re: Path To Me
  11685.  
  11686. At 16:24 7/14/94 -0400, Brian V. Hughes wrote:
  11687. >--Roy S. Rapoport wrote:
  11688. >>
  11689. >>Is there any way for an Applescript script to find where it's
  11690. >>located?
  11691. >
  11692. >    Sure. You need to have the GTQ Scripting Library osaxen installed.
  11693. >If you do, then use this command:
  11694. >
  11695. >        file spec of (application info for (this application))
  11696.  
  11697. Cool.  So where can I find it?
  11698.  
  11699. :)
  11700. -roy
  11701.  
  11702. Roy S. Rapoport -- rsr@mail.berksys.com -- rsr@berksys.com
  11703. 510-540-5535 ext. 280
  11704. "It Wasn't Me"
  11705. =========================================================================
  11706. Date:         Thu, 14 Jul 1994 17:06:23 -0500
  11707. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11708. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11709. From:         Fred Terry <pfterry@LKS.CSI.COM>
  11710. Subject:      Re: Path To Me
  11711. In-Reply-To:  Your message of "Thu, 14 Jul 94 14:55:23 PDT"
  11712.  
  11713. >>>Is there any way for an Applescript script to find where it's
  11714. >>>located?
  11715. >>
  11716. >>    Sure. You need to have the GTQ Scripting Library osaxen installed.
  11717. >>If you do, then use this command:
  11718. >>
  11719. >>        file spec of (application info for (this application))
  11720. >
  11721. >Cool.  So where can I find it?
  11722. >
  11723. >:)
  11724. >-roy
  11725.  
  11726. ftp://gaea.kgs.ukans.edu/applescript/osaxen/gtqscriptlib1.2.sit.hqx
  11727.  
  11728. Or something like that. I would be more certain, but gaea isn't responding at
  11729. the moment. Which also means that you'll need to wait for awhile until you can
  11730. get on.
  11731.  
  11732. pf
  11733. =========================================================================
  11734. Date:         Thu, 14 Jul 1994 12:33:00 MET
  11735. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11736. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11737. From:         "Guus C. Bloemsma" <guus@PROXIM.FRANKEN.DE>
  11738. Subject:      Re: Why does this recorded script fail?
  11739.  
  11740. > The offending line is:
  11741. >
  11742.  
  11743. > open file "Duo Dock HD:AppleScript=81 Utilities:Frontmost Release
  11744. Notes"
  11745.  
  11746. This is the way I got your mail. Maybe you should remove the
  11747. character after "AppleScript" in the file path?
  11748.  
  11749. Guus
  11750. =========================================================================
  11751. Date:         Fri, 15 Jul 1994 11:15:00 +1200
  11752. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11753. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11754. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  11755.               NZ" <LDO@WAIKATO.AC.NZ>
  11756. Subject:      Re: IDLE question, good AS Text (not Tao)
  11757.  
  11758. Michael Kerner <mike@PYRITE.SOM.CWRU.EDU> asks:
  11759.  
  11760. >1) What is a good AS reference?  I've read Tao and it is jumbled, incomplete
  11761. >(look up REST OF, TO and SCRIPT in the index) and generally not what I was
  11762. >looking for.  Do I have to buy the AppleScript Language Reference to get
  11763. >satisfaction?
  11764.  
  11765. For me, the question is a no-brainer. If I want to learn something new, the
  11766. first thing I get is the reference documentation. Any other tutorial and
  11767. "how-to" books come later.
  11768.  
  11769. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  11770. Info & Tech Services Division              fax: +64-7-838-4066
  11771. University of Waikato            electric mail: ldo@waikato.ac.nz
  11772. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  11773. =========================================================================
  11774. Date:         Thu, 14 Jul 1994 16:45:09 -0700
  11775. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11776. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11777. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  11778. Subject:      Re: Why does this recorded script fail?
  11779.  
  11780. >> The offending line is:
  11781. >>
  11782. >
  11783. >> open file "Duo Dock HD:AppleScript=81 Utilities:Frontmost Release
  11784. >Notes"
  11785. >
  11786. >This is the way I got your mail. Maybe you should remove the
  11787. >character after "AppleScript" in the file path?
  11788.  
  11789. Probably not...that =81 is the trademark symbol and is present on the
  11790. as-shipped AppleScript folder name.  Your mailer doesn't like the quoted
  11791. printable, or the sender of the message hasn't told listserv to behave, or
  11792. you read the digest.
  11793.    --John
  11794.  
  11795. --
  11796. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  11797. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  11798. =========================================================================
  11799. Date:         Thu, 14 Jul 1994 20:33:30 -0400
  11800. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11801. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11802. From:         anthony brown <anbrown@HUSC9.HARVARD.EDU>
  11803. Subject:      another fmpro scripting question:
  11804.  
  11805. What is the scripting command that can be used to tell fmpro to search
  11806. for something?  I'm looking in the dictionary, yet I can't seem to find
  11807. anything to do that...  can anyone help?
  11808.  
  11809. Anthony
  11810.  
  11811. *************************************************************************
  11812. *                                                                       *
  11813. *  Anthony Brown, Harvard University                                    *
  11814. *                                                                       *
  11815. *  "You need my love, baby oh so bad,                                   *
  11816. *  "You're not the only one I've ever had,                              *
  11817. *  "And if I say I wanna set you free,                                  *
  11818. *  "Don't you know you'll be in misery?                                 *
  11819. *  "They call me Dr. Love. I've got the cure you're thinking of!        *
  11820. *  Gene Simmons circa 1976                                              *
  11821. *                                                                       *
  11822. *  The Dolphins will win the superbowl in '95!!!                        *
  11823. *                                                                       *
  11824. *************************************************************************
  11825. =========================================================================
  11826. Date:         Thu, 14 Jul 1994 20:34:40 -0700
  11827. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11828. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11829. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  11830. Subject:      Re: another fmpro scripting question:
  11831.  
  11832. >What is the scripting command that can be used to tell fmpro to search
  11833. >for something?  I'm looking in the dictionary, yet I can't seem to find
  11834. >anything to do that...  can anyone help?
  11835.  
  11836. show
  11837.  
  11838. --
  11839. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  11840. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  11841. =========================================================================
  11842. Date:         Fri, 15 Jul 1994 08:52:52 +0000
  11843. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11844. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11845. From:         WalrathW <walrathw@RFERL.ORG>
  11846. Subject:      Re: Path To Me
  11847.  
  11848. >
  11849. >
  11850. _______________________________________________________________________________
  11851. > From: Macintosh Scripting Systems on Thu, 14 Jul, 1994 22:43
  11852. > Subject: Re: Path To Me
  11853. > To: Multiple recipients of list MACSCRPT
  11854. >
  11855. > --Roy S. Rapoport wrote:
  11856. > >
  11857. > >Is there any way for an Applescript script to find where it's
  11858. > >located?
  11859. >
  11860. >     Sure. You need to have the GTQ Scripting Library osaxen installed.
  11861. > If you do, then use this command:
  11862. >
  11863.  
  11864. For that matter, you could also use the Processes OSAX. The process info class
  11865. includeds as one of its fields the application's file.
  11866.  
  11867. -wayne
  11868.  
  11869. >         file spec of (application info for (this application))
  11870. >
  11871. > -Hades
  11872. =========================================================================
  11873. Date:         Fri, 15 Jul 1994 07:38:09 -0500
  11874. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11875. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11876. From:         Steve Alex <steve_alex@POSTOFFICE.AIDT.EDU>
  11877. Subject:      Re: Path To Me
  11878.  
  11879.  ------ From: Macintosh Scripting Systems, Thu, Jul 14, 1994 ------
  11880.  
  11881. When I first saw this, I though it might of been a test! I don't think I have
  11882. any strange scripting additions (although I do have GTQ and a couple of
  11883. others), but in AS 1.1 the scripting additions command:
  11884.  
  11885.         path to FolderOrApplication
  11886.  
  11887. works with
  11888.  
  11889.         path to me
  11890.  
  11891.  
  11892. Steve Alex
  11893.  
  11894. Alabama Industrial Development Training
  11895. steve_alex@aidt.edu
  11896. =========================================================================
  11897. Date:         Fri, 15 Jul 1994 15:38:59 +0000
  11898. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11899. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11900. From:         WalrathW <walrathw@RFERL.ORG>
  11901. Subject:      refcon in OSAX proc entry decl.
  11902.  
  11903. Given that the entry procedure for an OSAX has the following declaraction
  11904.  
  11905. pascal OSErr
  11906. MyAEHandlerFunction(AppleEvent  *theEvent,  AppleEvent  *theReply,
  11907.                                                  long   *theRefCon);
  11908.  
  11909. can anyone tell me how the refCon can be used, or if it ever is?
  11910.  
  11911. -wayne
  11912. =========================================================================
  11913. Date:         Fri, 15 Jul 1994 09:57:12 EDT
  11914. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11915. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11916. From:         Chris Etesse <UK05899@UKCC.UKY.EDU>
  11917. Subject:      Quick ? --> what the name of shareware UNIX app for Mac??
  11918.  
  11919. I hope you all can answer a quick question --
  11920.       I need to know what the name of a share ware Unix app for the Mac
  11921. might be called.
  11922.  
  11923. Thanks in advance
  11924.  
  11925. Chris Etesse
  11926. =========================================================================
  11927. Date:         Fri, 15 Jul 1994 08:37:10 -0700
  11928. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11929. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11930. From:         "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  11931. Subject:      Re: Checking for the Existence of a Disk
  11932.  
  11933. At 11:55 7/14/94 -0700, Kevin Purcell wrote:
  11934. >>I'm using AppleScript together with Finder Liaison 1.1 to copy something
  11935. >>from a remote disk onto a local disk.  My problem is simple: I need either
  11936. >>A) a way to find whether the remote disk in question is mounted on the desk=
  11937. >top
  11938. >
  11939. >With the scriptable finder (the panacea!)
  11940. >
  11941. >tell application "Finder"
  11942. >        if disk "Berserker Base" exists then ... -- or
  11943. >        if exists disk "Berserker Base" then ...
  11944. >end tell
  11945.  
  11946. Actually, I've found an easier way (I should have searched more before
  11947. wasting y'all's time):
  11948.  
  11949. Given that I'm looking for a disk named "GPS2",
  11950.  
  11951. if (list disks) contains "GPS2" then ...
  11952.  
  11953. -roy
  11954.  
  11955. Roy S. Rapoport -- rsr@mail.berksys.com -- rsr@berksys.com
  11956. 510-540-5535 ext. 280
  11957. "It Wasn't Me"
  11958. =========================================================================
  11959. Date:         Fri, 15 Jul 1994 12:25:03 EDT
  11960. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11961. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11962. From:         Atul Butte <ATUL@BROWNVM.BROWN.EDU>
  11963. Subject:      Re: refcon in OSAX proc entry decl.
  11964.  
  11965. >Given that the entry procedure for an OSAX has the following declaraction
  11966. >
  11967. >pascal OSErr
  11968. >MyAEHandlerFunction(AppleEvent  *theEvent,  AppleEvent  *theReply,
  11969. >                                                 long   *theRefCon);
  11970. >
  11971. >can anyone tell me how the refCon can be used, or if it ever is?
  11972.  
  11973. I remember reading somewhere that in your OSAX, you can get yourself
  11974. as a handler, then set yourself as the handler again passing a new refcon.
  11975. That way, you can set up global variables...
  11976.  
  11977. However, I've never used the technique, so someone more experienced that I
  11978. should comment...
  11979.  
  11980. -- Atul
  11981. =========================================================================
  11982. Date:         Fri, 15 Jul 1994 09:30:41 -0700
  11983. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11984. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  11985. From:         Kevin Purcell <xenolith@HALCYON.COM>
  11986. Subject:      Re: refcon in OSAX proc entry decl.
  11987.  
  11988. >Given that the entry procedure for an OSAX has the following declaraction
  11989. >
  11990. >pascal OSErr
  11991. >MyAEHandlerFunction(AppleEvent  *theEvent,  AppleEvent  *theReply,
  11992. >                                                 long   *theRefCon);
  11993. >
  11994. >can anyone tell me how the refCon can be used, or if it ever is?
  11995. >
  11996. >-wayne
  11997.  
  11998. Like all refcons (reference constant -- what a silly name) you can use
  11999. those 32 bits for whatever you want.
  12000.  
  12001. You provide it when you install the handler with:
  12002.  
  12003. iErr = AEInstallEventHandler(theAEEventClass,theAEEventID,handler,
  12004.                              handlerRefcon,isSysHandler)
  12005.                              ^^^^^^^^^^^^^
  12006.  
  12007. Kevin Purcell, N7WIM / G8UDP  Are you a Mac developer? Live close to Seattle?
  12008. xenolith@halcyon.com          We need you in the dBug Mac Dev SIG. email me!
  12009. (206) 649-6489                "Organising programmers is like herding cats"
  12010. =========================================================================
  12011. Date:         Fri, 15 Jul 1994 11:28:13 -0700
  12012. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12013. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12014. From:         Kevin Purcell <xenolith@HALCYON.COM>
  12015. Subject:      Re: Checking for the Existence of a Disk
  12016.  
  12017. >At 11:55 7/14/94 -0700, Kevin Purcell wrote:
  12018. >>>I'm using AppleScript together with Finder Liaison 1.1 to copy something
  12019. >>>from a remote disk onto a local disk.  My problem is simple: I need either
  12020. >>>A) a way to find whether the remote disk in question is mounted on the desk=
  12021. >>top
  12022. >>
  12023. >>With the scriptable finder (the panacea!)
  12024. >>
  12025. >>tell application "Finder"
  12026. >>        if disk "Berserker Base" exists then ... -- or
  12027. >>        if exists disk "Berserker Base" then ...
  12028. >>end tell
  12029. >
  12030. >Actually, I've found an easier way (I should have searched more before
  12031. >wasting y'all's time):
  12032. >
  12033. >Given that I'm looking for a disk named "GPS2",
  12034. >
  12035. >if (list disks) contains "GPS2" then ...
  12036. >
  12037. >-roy
  12038. >
  12039. >Roy S. Rapoport -- rsr@mail.berksys.com -- rsr@berksys.com
  12040. >510-540-5535 ext. 280
  12041. >"It Wasn't Me"
  12042.  
  12043. This brings up an interesting point: which is "better" 1, 2 or 3
  12044.  
  12045. tell application "Finder"
  12046.         if disk "Berserker Base" exists then ... -- 1
  12047.         if exists disk "Berserker Base" then ... -- 2
  12048. end tell
  12049.  
  12050. if (list disks) contains "Berserker Base" then ... -- 3
  12051.  
  12052. So we have to define a criterion for better: the one I use was stated in in
  12053. Develop 12, p59-60 where they point out that the Object model (as defined
  12054. by the dictionary) should map very closely to the users model of the
  12055. problem space i.e. the application objects should map directly to the
  12056. cognitive objects. Each of these cognitive objects has parts, behaviors and
  12057. properties.
  12058.  
  12059. What object model designers need to do is mimimise the distance between the
  12060. problem that the user is trying to solve and the expression of that problem
  12061. in some form that the computer can understand. The users script (what they
  12062. think of in their mind) is "is this volume mounted" or perhaps "does this
  12063. volume exist". This is intent must then be expressed in a form the computer
  12064. can understand with the less translation the better.
  12065.  
  12066. Which of the solutions meets this requirement best? I think 2 does.
  12067.  
  12068. Example 2 is better than 1 in that the expression is closer to natural
  12069. language. It also reads better (forms the correct idea in the mind more
  12070. readily).
  12071.  
  12072. Example 2 is better than expression 3 because you need to know that the
  12073. OSAX "list disks" returns a list of strings that represent the names of the
  12074. mounted volumes and then use contains the hunt for that list. This is an
  12075. algorithmic way of solving the problem, rather than "declarative" manner.
  12076.  
  12077. Some might argue that the tell block is intrusive. I would counter that by
  12078. saying that it is the Finders responsibility to look after volumes and
  12079. files in the same way that Scriptable Text Editor looks after words and
  12080. paragraphs
  12081.  
  12082. In general, I think it is better to have an application with a well though
  12083. out object model solve a group of releated problems than a partial solution
  12084. from an OSAX.
  12085.  
  12086. Comments?
  12087.  
  12088. Kevin Purcell, N7WIM / G8UDP  Are you a Mac developer? Live close to Seattle?
  12089. xenolith@halcyon.com          We need you in the dBug Mac Dev SIG. email me!
  12090. (206) 649-6489                "Organising programmers is like herding cats"
  12091. =========================================================================
  12092. Date:         Fri, 15 Jul 1994 11:47:15 -0700
  12093. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12094. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12095. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  12096. Subject:      Re: refcon in OSAX proc entry decl.
  12097.  
  12098. >>Given that the entry procedure for an OSAX has the following declaraction
  12099. >>
  12100. >>pascal OSErr
  12101. >>MyAEHandlerFunction(AppleEvent  *theEvent,  AppleEvent  *theReply,
  12102. >>                                                 long   *theRefCon);
  12103. >>
  12104. >>can anyone tell me how the refCon can be used, or if it ever is?
  12105. >>
  12106. >>-wayne
  12107. >
  12108. >Like all refcons (reference constant -- what a silly name) you can use
  12109. >those 32 bits for whatever you want.
  12110. >
  12111. >You provide it when you install the handler with:
  12112. >
  12113. >iErr = AEInstallEventHandler(theAEEventClass,theAEEventID,handler,
  12114. >                             handlerRefcon,isSysHandler)
  12115. >                             ^^^^^^^^^^^^^
  12116.  
  12117. Very true when you install the handler yourself.  Here, however, the
  12118. question's context is a Scripting Addition.  It appears that the handlers
  12119. are installed with a refcon equal to zero (that's what the handy AEHandler
  12120. FKEY says).
  12121.  
  12122. I don't know of a way to adjust that, but I could easily have missed
  12123. something, since I haven't felt any need to use the refcon in any of the
  12124. few Scripting Additions I've played with.
  12125.  
  12126.    --John
  12127.  
  12128. --
  12129. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  12130. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  12131. =========================================================================
  12132. Date:         Fri, 15 Jul 1994 13:07:21 -0700
  12133. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12134. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12135. From:         "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  12136. Subject:      The Unchosen One
  12137.  
  12138. I've got a problem: I've got an AS application that is supposed to be run
  12139. and then quit (well, everything is like that, I suppose :) ).  The problem
  12140. is, it's still selected, so when the user then double-clicks on another
  12141. thing (say, the alias to a server whose data I just backed up), both that
  12142. thing and the application open up again.
  12143.  
  12144. Basically, I need to tell the Finder to unselect the application.  Either
  12145. of these two methods:
  12146. A) Tell the Finder to unselect me
  12147. B) Tell the finder to select X (where 'X' is the name for another file on
  12148. the desktop)
  12149.  
  12150. will work for me...
  12151.  
  12152. Suggestions?
  12153.  
  12154. -roy
  12155.  
  12156. Roy S. Rapoport -- rsr@mail.berksys.com -- rsr@berksys.com
  12157. 510-540-5535 ext. 280
  12158. "It Wasn't Me"
  12159. =========================================================================
  12160. Date:         Fri, 15 Jul 1994 13:50:55 -0800
  12161. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12162. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12163. From:         Jack Greenwood <jjg@TOTO.GENE.COM>
  12164. Subject:      Re: Quick ? --> what the name of shareware UNIX app for Mac??
  12165.  
  12166. >I hope you all can answer a quick question --
  12167. >      I need to know what the name of a share ware Unix app for the Mac
  12168. >might be called.
  12169. >
  12170. >Thanks in advance
  12171. >
  12172. >Chris Etesse
  12173.  
  12174. In the spirit of Eudora, how 'bout Eunichs?
  12175.  
  12176. just kidding....
  12177.  
  12178. jjg@toto.gene.com
  12179. Genentech, Inc.
  12180. Medical Affairs - Infectious Disease Division
  12181. =========================================================================
  12182. Date:         Fri, 15 Jul 1994 13:42:38 -0700
  12183. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12184. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12185. From:         "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  12186. Subject:      Books & Software
  12187.  
  12188. I'm looking for AppleScript stuff.  More specifically, I was just told by
  12189. the appropriate person to give them a list of what I want for AppleScript,
  12190. so they can approve it.  Basically, as I see it, the two things I want that
  12191. I need to buy are:
  12192.  
  12193. A) AS 1.1 and reference.  Apparently, 'The Applescript Language Guide'
  12194. doesn't come with AS 1.1,
  12195.     does it? Are there any references that do come with it?
  12196.  
  12197. B) Scriptable Finder -- that's available from APDA together with reference,
  12198. isn't it?
  12199.  
  12200. What else would y'all recommend (precluding stuff that's free and out there)?
  12201.  
  12202. -roy
  12203.  
  12204. Roy S. Rapoport -- rsr@mail.berksys.com -- rsr@berksys.com
  12205. 510-540-5535 ext. 280
  12206. "It Wasn't Me"
  12207. =========================================================================
  12208. Date:         Fri, 15 Jul 1994 14:18:45 -0700
  12209. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12210. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12211. From:         "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  12212. Subject:      Re: Checking for the Existence of a Disk
  12213.  
  12214. At 11:28 7/15/94 -0700, Kevin Purcell wrote:
  12215.  
  12216. >tell application "Finder"
  12217. >        if disk "Berserker Base" exists then ... -- 1
  12218. >        if exists disk "Berserker Base" then ... -- 2
  12219. >end tell
  12220. >
  12221. >if (list disks) contains "Berserker Base" then ... -- 3
  12222. [...]
  12223. >Which of the solutions meets this requirement best? I think 2 does.
  12224. [...]
  12225. >In general, I think it is better to have an application with a well though
  12226. >out object model solve a group of releated problems than a partial solution
  12227. >from an OSAX.
  12228.  
  12229. Well, it sort of depends on what you're doing with it, doesn't it?
  12230.  
  12231. My background: I'm a former CS major (in other words, I didn't graduate),
  12232. working for a software company in their Finance Dept.  I'm using
  12233. AppleScript to do stuff like automation of backup procedures, etc.
  12234.  
  12235. Nobody but me will be editing these scripts -- heck, the scripts themselves
  12236. are saved as Run-Time only anyway.
  12237.  
  12238. Now, I don't do Natural Language -- it's one of the things that really
  12239. annoys me sometimes about AppleScript (though I would choose it over
  12240. Frontier for its syntax anyday).   I'm not looking for something that will
  12241. somehow satisfy Apple's concept of how AS scripts should be written -- I'm
  12242. looking for something that :
  12243. A) Works
  12244. B) Looks neat (not as in 'cool', but as in organized)
  12245. C) Is not overly verbose.
  12246.  
  12247. That's why, for example, I tend to avoid using words like 'is' when I can
  12248. avoid them, and why my routines are *NEVER* english-like -- I don't need
  12249. them to, they waste less space this way.
  12250.  
  12251. For me, and for my succinct, 'clever-wannabe' style, if I'm only going to
  12252. be going through the list of disks once, "if (list disks) contains
  12253. "Berserker Base" then" works better, and looks much less cluttered.
  12254.  
  12255. Of course, the fact I don't have the Scriptable Finder (yet) may also have
  12256. something to do with it :)
  12257.  
  12258. -roy
  12259.  
  12260. Roy S. Rapoport -- rsr@mail.berksys.com -- rsr@berksys.com
  12261. 510-540-5535 ext. 280
  12262. "It Wasn't Me"
  12263. =========================================================================
  12264. Date:         Fri, 15 Jul 1994 18:08:30 -0500
  12265. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12266. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12267. From:         Jason Buberel <jbuberel@UIUC.EDU>
  12268. Subject:      Scripting telnet sessions with the TCP osax...
  12269.  
  12270. Atul & other TCP scripters...
  12271.  
  12272. I am trying (unsuccessfully) to script a simple telnet session (sending a
  12273. username and password).  I am using a modified version of Atul's finger
  12274. script, having changed the port number from 79 to 23.  After gaining the
  12275. connection, which works well, the script then waits for some text in the
  12276. stream.  What I expect to get back would be:   'login:', but what I do get
  12277. back is usually just 3 characters long, and totally unintelligible.  If
  12278. someone has already scripted a telnet session, could you please pass along
  12279. some sample code, or perhaps some hints?
  12280.  
  12281. thanks,
  12282.  
  12283. jason
  12284.  
  12285. ps  please don't tell me I have to read a bunch of RFCs :)
  12286. =============================================================
  12287. Jason L. Buberel   -=-  Graduate Student  -=-  Neuroscience Program
  12288. University of Illinois  -=-  jbuberel@uiuc.edu  -=-  217.244.0115
  12289. =============================================================
  12290. =========================================================================
  12291. Date:         Fri, 15 Jul 1994 19:13:31 EDT
  12292. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12293. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12294. From:         Chris Etesse <UK05899@UKCC.UKY.EDU>
  12295. Subject:      Excel? --> Paste link and transpose???
  12296.  
  12297. I need to paste something from one document to another Worksheet. I can select
  12298. the column and then copy. Go to the other worksheet and hit Paste Special and c
  12299. lick on transpose. But, when I later claick on Paste Link I can only get the
  12300. first cell in all the new cells. Example:
  12301.  
  12302.      A
  12303. 1  DOg
  12304. 2  Dog
  12305. 3  Cat
  12306.  
  12307.  
  12308.  
  12309. I need:
  12310.        A     B    C
  12311. 1  Dog    Dog     Cat
  12312.  
  12313. and they must be all linked to the 1st worksheet, however I get:
  12314.        A     B    C
  12315. 1  Dog    Dog     Dog
  12316. 2  Dog    Dog     Dog
  12317. 3  Dog    Dog     Dog
  12318.  
  12319. Any suggestions welcomed
  12320.  
  12321.  
  12322. Thanks in advance,
  12323.  
  12324. Chris Etesse
  12325. =========================================================================
  12326. Date:         Fri, 15 Jul 1994 16:21:13 -0700
  12327. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12328. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12329. From:         Doug Baron <userland@NETCOM.COM>
  12330. Subject:      Re: do Frontier assignments return a value?
  12331.  
  12332. >Hi, John and Doug,
  12333. >
  12334. >Given the syntactic similarities between Frontier and C, I wondered if you
  12335. >had copied what is, IMO, one of C's most felicitous features: the fact that
  12336. >assignments return a value. It seems to be the case, since I can execute an
  12337. >assignment in the Quick Script window and see the result, but it isn't
  12338. >anywhere I can find in the docs, so I didn't know if it was something I
  12339. >could count on. Thanks.
  12340. >
  12341. >        David
  12342. >
  12343.  
  12344. David,
  12345.  
  12346. Yes, every UserTalk statement has a value. The value of an assignment
  12347. statement is the RHS value. However, unlike C, UserTalk does _not_ allow a
  12348. statement to be used as an expression. So you can not say:
  12349.  
  12350.     if (x = 5)
  12351.          .....
  12352.  
  12353. Doug
  12354. =========================================================================
  12355. Date:         Sat, 16 Jul 1994 10:24:29 +1000
  12356. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12357. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12358. From:         Danny Thomas <D.Thomas@VTHRC.UQ.EDU.AU>
  12359. Subject:      Re: do Frontier assignments return a value?
  12360.  
  12361. Doug Baron <userland@NETCOM.COM> writes:
  12362. >Yes, every UserTalk statement has a value. The value of an assignment
  12363. >statement is the RHS value. However, unlike C, UserTalk does _not_ allow a
  12364. >statement to be used as an expression. So you can not say:
  12365. >
  12366. >    if (x = 5)
  12367.  
  12368. insignificant nit-pick:
  12369. C also does not allow statements to be used as expressions (try using a
  12370. for(); as an expression), but it does differ from most other languages in
  12371. having assignments as _expressions_ which is what allows for multiple
  12372. assignments etc
  12373.  
  12374.  
  12375. cheers,
  12376. Danny Thomas  (D.Thomas@vthrc.uq.edu.au)
  12377. =========================================================================
  12378. Date:         Fri, 15 Jul 1994 20:54:25 -0400
  12379. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12380. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12381. From:         Boris Levitin <boris@WORLD.STD.COM>
  12382. Subject:      Re: IDLE question, good AS Text (not Tao)
  12383.  
  12384. Michael Kerner <mike@PYRITE.SOM.CWRU.EDU> asks:
  12385.  
  12386. >1) What is a good AS reference?  I've read Tao and it is jumbled, incomplete
  12387.  
  12388. The other major book is Danny Goodman's "Complete AppleScript Handbook"
  12389. (Random House, $35.00 list), and it is much more complete. For example, it
  12390. contains a clear answer to your second question.
  12391.  
  12392. >2) I want to write an application that will sit there and do something
  12393. >every time the machine goes idle.  It works at execute time, but that's it
  12394. >(when I do ON IDLE...END IDLE).
  12395.  
  12396. It should work whenever an idle message is sent to the applet SO LONG AS the
  12397. applet was compiled with the "stay open" flag set (check the checkbox in
  12398. Script Editor's Save As... dialog, that is). Also, the return statement optional
  12399. right before the END IDLE statement may optionally pass a number of seconds for
  12400. the System to wait before sending that applet another idle message. (If return
  12401. is used without a value, idle messages will be sent whenever the processor gets
  12402. around to servicing the applet under the Mac OS's reprehensible cooperative
  12403. multitasking arrangement.)
  12404.  
  12405. BTW, Goodman's book has ISBN 0-679-79148-5.
  12406.  
  12407. Boris Levitin                                  WGBH Public Broadcasting, Boston
  12408.                                    boris@world.std.com * boris_levitin@wgbh.org
  12409.               I produced this message and am solely responsible for its content
  12410. =========================================================================
  12411. Date:         Fri, 15 Jul 1994 21:11:18 -0400
  12412. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12413. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12414. From:         Boris Levitin <boris@WORLD.STD.COM>
  12415. Subject:      Re: IDLE question, good AS Text (not Tao)
  12416.  
  12417. Brian V. Hughes <hades@COOS.DARTMOUTH.EDU> was right, and I was wrong,
  12418. when responding to Michael Kerner's question about the idle handler.
  12419. Failure to include a return statement or its inclusion without a value
  12420. causes the next idle message to be sent to the applet in 30 seconds
  12421. instead of as soon as the processor is available. return 0 does the same.
  12422. However, return 1 has the effect Michael apparently wanted, repeating the idle
  12423. message as often as possible.
  12424.  
  12425. Boris Levitin                                  WGBH Public Broadcasting, Boston
  12426.                                    boris@world.std.com * boris_levitin@wgbh.org
  12427.               I produced this message and am solely responsible for its content
  12428. =========================================================================
  12429. Date:         Sat, 16 Jul 1994 12:29:54 +0800
  12430. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12431. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12432. From:         Todd Hooper <todd@PERTH.DIALIX.OZ.AU>
  12433. Subject:      TCP & MACSCRPT
  12434.  
  12435. Hi all
  12436.  
  12437. Someone mentioned a script (and presumably a matching OSAX) to
  12438. do TCP/IP. Is this freely available?
  12439.  
  12440. On another topic, is it common for people to post huge files to
  12441. the list, not to mention unrelated employment ads? Some of us out
  12442. here pay by the byte. I've spent $50 on net access in the last
  12443. week due to a number of huge mail items from various sources. I've
  12444. found the digest useful, but the last one still cost me a couple
  12445. of dollars!
  12446.  
  12447. Thanks,
  12448.  
  12449. Todd
  12450. =========================================================================
  12451. Date:         Fri, 15 Jul 1994 23:04:21 -0700
  12452. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12453. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12454. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  12455. Subject:      AppleScript Finder Guide
  12456.  
  12457. New!  (first printing June 1994)
  12458.  
  12459. The AppleScript Finder Guide, English Dialect.
  12460.  
  12461. Addison Wesley.  ISBN 0-201-40910-0
  12462.  
  12463.    For scripting the Scriptable Finder, you will want this book.
  12464.  
  12465. Chapters are Introduction to Finder Scripting; Finder Objects; Finder
  12466. Commands.
  12467.  
  12468. Appendices:  Finder Commands at a Glance; Finder Errors
  12469.  
  12470. --
  12471. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  12472. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  12473. =========================================================================
  12474. Date:         Sat, 16 Jul 1994 09:45:10 -0400
  12475. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12476. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12477. From:         Frank Lowney <flowney@GC3.GAC.PEACHNET.EDU>
  12478. Subject:      Refs to remote apps
  12479.  
  12480. On page 148 (Ch 5) of the AppleScript Language Guide there is what appears
  12481. to be a very lucid explanation of how one should refer to an application on
  12482. a remote machine.  I followed the directions exactly and, yet, the
  12483. following script fails with the error message "Can't get the application's
  12484. event dictionary".  This is an AppleScript error.
  12485.  
  12486. tell application "Scriptable Text Editor" of machine "YoYo"
  12487. activate
  12488. end tell
  12489.  
  12490. In that I am only using 2 Macs with PhoneNet connectors, there are no zones.
  12491.  
  12492. * Scriptable Text Editor is running (in the background) on the remote machine.
  12493. * Both computers are connected by an AppleTalk network.
  12494. * Program Linking is enabled on the remote computer.
  12495. * Access for me is enabled on the remote machine, including program linking.
  12496. * Program linking is enabled for the application on the remote machine.
  12497.  
  12498. I am able to successfully log on to the remote machine (get its icon on my
  12499. desktop).
  12500.  
  12501. I can use the Script Editor to view the remote application's dictionary.
  12502.  
  12503. I get the same result with ClarisWorks 2.1 as the target.
  12504.  
  12505. The script works just fine on my local machine.
  12506.  
  12507. So, the question is: "Why doesn't this work?"
  12508.  
  12509. *****************************************************************************
  12510. Dr. Frank Lowney, System Administrator
  12511. The GC EduNET Project (telnet to: gcedunet.peachnet.edu)
  12512. CBX 034
  12513. Georgia College, Milledgeville Georgia  310611
  12514. (912) 453-5260
  12515.  
  12516. *****************************************************************************
  12517. =========================================================================
  12518. Date:         Sat, 16 Jul 1994 08:45:01 PDT
  12519. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12520. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12521. From:         Steve Riggins <geek@KALEIDA.COM>
  12522. Subject:      Sorry for the broadcast
  12523.  
  12524. How do I get off of this mailing list?  I tried sending unsubscribe to the
  12525. listserv, but it told me that it really didn't know who I was and to bugger
  12526. off.  It said that I might be part of another list being served to this
  12527. list.
  12528.  
  12529. I was originally on the Frontier scripting list, but I can't seem to find
  12530. of its details.
  12531.  
  12532. Info anyone?  Please email, so we don't flood the list.  Thanks!!!!
  12533.  
  12534. Steve Riggins
  12535.  
  12536. ----------------------------------------------------------------------
  12537. Steve Riggins                                    My Favorite Quote - "
  12538. Kaleida Labs, Inc                           My Favorite Apostrophe - '
  12539.  
  12540. geek@kaleida.com                                      RigginsS@aol.com
  12541. geek@applelink.apple.com                           RigginsS@eWorld.com
  12542. =========================================================================
  12543. Date:         Sat, 16 Jul 1994 20:15:50 +0100
  12544. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12545. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12546. From:         Christian Orellana <muscabo@DFI.AAU.DK>
  12547. Subject:      Re: How to pause in scripts (trying to script mail operations)
  12548.  
  12549. Hi all!
  12550.  
  12551. >
  12552. >You can set up a cron type application with the AS idle handler. For instance
  12553. >you can create a script application that does something every hour.
  12554. >
  12555. >        doSomething()
  12556. >                set x to ...
  12557. >                ...
  12558. >        end
  12559. >
  12560. >        on idle
  12561. >                doSomething()
  12562. >                return 3600
  12563. >        end
  12564. >
  12565. >I don't think there is any real overhead until the callback is made to the
  12566. >script.
  12567. >
  12568. >Steve Alex
  12569. >steve_alex@aidt.edu             Alabama Industrial Development Training
  12570.  
  12571. This works fine, except once the script contains the idle handler I can
  12572. find no reasonable way to end the "iddle handling" and much less abort the
  12573. script.
  12574. Any suggestions anyone (- can some special value be passed in the return
  12575. statement?).
  12576. This is even more obvious if the script contains a quit handler (usefull if
  12577. the script needs to close files etc. before quitting). In this case I see
  12578. no other way to quit the script than force quitting.
  12579. Help please!!
  12580.  
  12581. Best regards -
  12582. Christian A.Borlund Orellana
  12583. Institute of Physics and Astronomy Aarhus University.
  12584. ______________________________________________________
  12585. Internet e-mail:        muscabo@dfi.aau.dk
  12586. voice:                  +45-86102798
  12587. mail:                   Dr.Margrethesvej 11,3.th.
  12588.                         8200 Aarhus N, DENMARK.
  12589. ______________________________________________________
  12590. =========================================================================
  12591. Date:         Sat, 16 Jul 1994 14:02:17 -0700
  12592. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12593. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12594. From:         Jon Pugh <jonpugh@NETCOM.COM>
  12595. Subject:      Re: IDLE question, good AS Text (not Tao)
  12596.  
  12597. >From:    Boris Levitin <boris@WORLD.STD.COM>
  12598.  
  12599. >Brian V. Hughes <hades@COOS.DARTMOUTH.EDU> was right, and I was wrong,
  12600. >when responding to Michael Kerner's question about the idle handler.
  12601. >Failure to include a return statement or its inclusion without a value
  12602. >causes the next idle message to be sent to the applet in 30 seconds
  12603. >instead of as soon as the processor is available. return 0 does the same.
  12604. >However, return 1 has the effect Michael apparently wanted, repeating the idle
  12605. >message as often as possible.
  12606.  
  12607. I'm afraid you're wrong again, Boris, but only a bit.  ;)
  12608.  
  12609. Returning 0 causes the last returned value to be used again.  If you return
  12610. a value any time you decide to increase or decrease your wait time, then
  12611. you can simply return 0 to keep using that time when you don't want to
  12612. change.
  12613.  
  12614. You just saw 30 because it was initialized to 30, which is the default value.
  12615.  
  12616. Once again, returning 0 from an idle handler causes the previous wait time
  12617. to be used.
  12618.  
  12619. Jon
  12620. =========================================================================
  12621. Date:         Sat, 16 Jul 1994 14:02:20 -0700
  12622. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12623. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12624. From:         Jon Pugh <jonpugh@NETCOM.COM>
  12625. Subject:      Re: refcon in OSAX proc entry decl.
  12626.  
  12627. >From: "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  12628. >
  12629. >Very true when you install the handler yourself.  Here, however, the
  12630. >question's context is a Scripting Addition.  It appears that the handlers
  12631. >are installed with a refcon equal to zero (that's what the handy AEHandler
  12632. >FKEY says).
  12633. >
  12634. >I don't know of a way to adjust that, but I could easily have missed
  12635. >something, since I haven't felt any need to use the refcon in any of the
  12636. >few Scripting Additions I've played with.
  12637.  
  12638. Atul got it right, but was a little sparse in his info, so I'll answer
  12639. John's question more verbosely.
  12640.  
  12641. I haven't needed to do this yet, but it's an ideal trick for caching some
  12642. data across osax runs.  Your data will never get cleaned up, unless you
  12643. know when and how to get rid of it, but a good reboot will get rid of
  12644. anything.  ;)
  12645.  
  12646. There are two tricks involved.  The first is to get the current stuff for
  12647. your event class & id.  This gives you the proper osax event handler
  12648. address.  Then you can use a 0 value in the refcon to init yourself and
  12649. reinstall the new refcon.  The other trick is to allocate your structures
  12650. or objects in the system heap.  I'll leave most of that as an exercise for
  12651. the serious.
  12652.  
  12653. Here's the code:
  12654.  
  12655. err = AEGetEventHandler(&class, &eventID, &handlerPtr, &refcon, &isSysHandler);
  12656.  
  12657. if (refcon == 0) {
  12658.  
  12659.     oldZone = GetZone();
  12660.     SetZone(SystemZone());
  12661.     // create your data structures
  12662.     SetZone(oldZone);
  12663.  
  12664.     refcon = (long) this;           // for handy C++ object passing
  12665.     refcon = (long) &myGlobals;     // for generic struct passing
  12666.  
  12667.     err = AEInstallEventHandler(class, eventID ,handlerPtr, refcon,
  12668.           isSysHandler);
  12669. }
  12670.  
  12671. Jon
  12672. =========================================================================
  12673. Date:         Sat, 16 Jul 1994 14:02:26 -0700
  12674. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12675. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12676. From:         Jon Pugh <jonpugh@NETCOM.COM>
  12677. Subject:      Re: The Unchosen One
  12678.  
  12679. >From:    "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  12680. >
  12681. >I've got a problem: I've got an AS application that is supposed to be run
  12682. >and then quit (well, everything is like that, I suppose :) ).  The problem
  12683. >is, it's still selected, so when the user then double-clicks on another
  12684. >thing (say, the alias to a server whose data I just backed up), both that
  12685. >thing and the application open up again.
  12686. >
  12687. >Basically, I need to tell the Finder to unselect the application.  Either
  12688. >of these two methods:
  12689. >A) Tell the Finder to unselect me
  12690. >B) Tell the finder to select X (where 'X' is the name for another file on
  12691. >the desktop)
  12692. >
  12693. >will work for me...
  12694.  
  12695. No they won't.  This is a Finder bug that is not fixed in the Scriptable
  12696. Finder. If you tell the finder to select another file on the desktop, it
  12697. will often leave the original item selected as well.  This sucks.  I would
  12698. welcome anyone with a solid solution.
  12699.  
  12700. Jon
  12701. =========================================================================
  12702. Date:         Sun, 17 Jul 1994 01:04:18 +0000
  12703. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12704. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12705. From:         Neil Christie <neil@CHRISTIE.DEMON.CO.UK>
  12706. Subject:      Some questions
  12707.  
  12708. Hi, if anyone has any suggestions, answers or comments they would be
  12709. greatly appreciated either through the list or by direct e-mail, Neil.
  12710.  
  12711. Q 1:   Does anyone know of away to set and get the label of a file?
  12712.        I have tried the finder v7.1.4 but it is no use, it also stopped me
  12713.        from printing, crashed Directory Assistance and refused to do various
  12714.        other things.
  12715.  
  12716. Q 2:   Regarding the use of the Audio CD osax, is there a simple way of
  12717. checking
  12718.        if the CD is playing, checking if the cd is an audio cd, setting the
  12719.        position to start playing from.
  12720.  
  12721.        I have managed to perform the first two of these tasks but not very
  12722.        elegantly way but I suppose at least it works.
  12723.  
  12724.        I have been assuming that a cd is a data cd if it has only one track
  12725.        and that it is playing if the result from two "status of audio CD"
  12726.        commands is different. These two commands are separated by a pause
  12727.        (something I only managed to do by getting AS 1.1 which took 1.5 hours to
  12728.        download on the Power PC speech disks)
  12729.  
  12730.        I know that there are some HyperCard xcmds that allow this but I'd
  12731.        rather stick to straight AppleScript if possible.
  12732.  
  12733.        Has anyone successfully used the optional "in drive parameter" of
  12734.        this osax? My scripts never compile if I try to include it.
  12735.  
  12736. Q 3:   Access the data entered by the user into Apple C.D Audio Player.
  12737.  
  12738. Q 4:   Utilise the features of sound manager v3. At present I can sometimes
  12739.        set the overall sound volume using Jon's Commands but that's all.
  12740.  
  12741. Q 5:   Does anyone know why AS support was taken out of ClarisWorks 2.1?
  12742.  
  12743.  
  12744. I found a way to solve some other questions that I had included in this
  12745. posting before I actually sent it. For example:
  12746. To see if there is a CD mounted the following code which needs the audio cd
  12747. osax works for me:
  12748.  
  12749. try
  12750.         status of audio CD
  12751. on error errtext number errNum
  12752.         if errNum is -65 then
  12753.                 set cd_mounted to false
  12754.         else
  12755.                 set cd_mounted to true
  12756.         end if
  12757. end try
  12758.  
  12759. P.S Thanks to everyone that answered my question about pausing scripts.
  12760.  
  12761. Thanks for your time and hopefully your suggestions.
  12762.  
  12763. Neil Christie       |Voice/Fax: 031 229 6507
  12764. 14 West Castle Road |E-Mail:    Neil@christie.demon.co.uk
  12765. Edinburgh           |-------------------------------------
  12766. EH10 5AU            |Apple Macintosh Centris 660AV 8/230 CD.
  12767. Scotland            |System 7.1, running PPP on a 14.4K modem
  12768. =========================================================================
  12769. Date:         Sat, 16 Jul 1994 20:27:59 -0700
  12770. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12771. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12772. From:         Steve Michel <michel@NETCOM.COM>
  12773. Subject:      Re: The Unchosen One
  12774. In-Reply-To:  <199407162112.OAA01496@mail.netcom.com> from "Jon Pugh" at Jul 16,
  12775.               94 02:02:26 pm
  12776.  
  12777. > >From:    "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  12778. > >
  12779. > >I've got a problem: I've got an AS application that is supposed to be run
  12780. > >and then quit (well, everything is like that, I suppose :) ).  The problem
  12781. > >is, it's still selected, so when the user then double-clicks on another
  12782. > >thing (say, the alias to a server whose data I just backed up), both that
  12783. > >thing and the application open up again.
  12784. > >
  12785. > >Basically, I need to tell the Finder to unselect the application.  Either
  12786. > >of these two methods:
  12787. > >A) Tell the Finder to unselect me
  12788. > >B) Tell the finder to select X (where 'X' is the name for another file on
  12789. > >the desktop)
  12790. > >
  12791. > >will work for me...
  12792. >
  12793. > No they won't.  This is a Finder bug that is not fixed in the Scriptable
  12794. > Finder. If you tell the finder to select another file on the desktop, it
  12795. > will often leave the original item selected as well.  This sucks.  I would
  12796. > welcome anyone with a solid solution.
  12797. >
  12798. > Jon
  12799. >
  12800.  
  12801. I've never had this problem, so maybe what I tested won't work for others,
  12802. but:
  12803.  
  12804. tell app "Finder"
  12805.    select {}
  12806. end tell
  12807.  
  12808. Deselected the file I had selected, and returned an empty list as the
  12809. result.
  12810. =========================================================================
  12811. Date:         Sun, 17 Jul 1994 09:43:02 -0700
  12812. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12813. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12814. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  12815. Subject:      Re: Some questions
  12816.  
  12817. >Hi, if anyone has any suggestions, answers or comments they would be
  12818. >greatly appreciated either through the list or by direct e-mail, Neil.
  12819. >
  12820. >Q 1:   Does anyone know of away to set and get the label of a file?
  12821. >       I have tried the finder v7.1.4 but it is no use, it also stopped me
  12822. >       from printing, crashed Directory Assistance and refused to do various
  12823. >       other things.
  12824.  
  12825. You need the Scriptable Finder, which is any Finder 7.1 or later PLUS the
  12826. Finder Scripting Extension.  Or, most likely, some Scripting Addition or
  12827. other.  I don't see one on my machine, but I haven't searched hard.  It
  12828. doesn't seem to make sense to write new Additions for chores the Scriptable
  12829. Finder can do, since Scriptable Finder is available (for purchase) to all.
  12830.  
  12831. --John
  12832.  
  12833. --
  12834. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  12835. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  12836. =========================================================================
  12837. Date:         Sun, 17 Jul 1994 13:20:06 -0400
  12838. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12839. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12840. From:         Boris Levitin <boris@WORLD.STD.COM>
  12841. Subject:      Re: How to pause in scripts (trying to script mail operations)
  12842.  
  12843. Christian Orellana <muscabo@DFI.AAU.DK> writes:
  12844.  
  12845. >[idle handler] works fine, except [...] I can find no reasonable way to end
  12846. >the "idle handling" and [...] abort the script.
  12847.  
  12848. The command is "quit" (make sure it's not within a "tell <other app>" control
  12849. structure).
  12850.  
  12851. >if the script contains a quit handler [...] I see no other way
  12852. >to quit the script than force quitting.
  12853.  
  12854. After doing whatever cleanup you want in your quit handler, use the statement
  12855. "continue quit" right before the "end quit" line. That will pass the quit
  12856. message to the applet after the quit handler intercepts it and does its thing.
  12857.  
  12858. Boris Levitin                                  WGBH Public Broadcasting, Boston
  12859.                                    boris@world.std.com * boris_levitin@wgbh.org
  12860.               I produced this message and am solely responsible for its content
  12861. =========================================================================
  12862. Date:         Sun, 17 Jul 1994 12:37:36 -0600
  12863. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12864. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12865. From:         Loren Peace <ccpeace@SGI1.PHLAB.MISSOURI.EDU>
  12866. Subject:      Re: Refs to remote apps
  12867.  
  12868. >On page 148 (Ch 5) of the AppleScript Language Guide there is what appears
  12869. >to be a very lucid explanation of how one should refer to an application on
  12870. >a remote machine.  I followed the directions exactly and, yet, the
  12871. >following script fails with the error message "Can't get the application's
  12872. >event dictionary".  This is an AppleScript error.
  12873. >
  12874. >tell application "Scriptable Text Editor" of machine "YoYo"
  12875. >activate
  12876. >end tell
  12877. >
  12878. >* Program linking is enabled for the application on the remote machine.
  12879. >
  12880.  
  12881. Have you enabled program linking on your machine, if I'm not mistaken it needs
  12882. to be enabled on both machines or else the programs won't run.
  12883.  
  12884. Loren Peace
  12885. ccpeace@sgi1.phlab.missouri.edu
  12886. =========================================================================
  12887. Date:         Sun, 17 Jul 1994 11:59:23 -0700
  12888. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12889. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12890. From:         Jon Pugh <jonpugh@NETCOM.COM>
  12891. Subject:      Re: The Unchosen One
  12892.  
  12893. >From: Steve Michel <michel@NETCOM.COM>
  12894. >
  12895. >>From: jonpugh@netcom.com (Jon Pugh)
  12896. >>
  12897. >> No they won't.  This is a Finder bug that is not fixed in the Scriptable
  12898. >> Finder. If you tell the finder to select another file on the desktop, it
  12899. >> will often leave the original item selected as well.  This sucks.  I would
  12900. >> welcome anyone with a solid solution.
  12901. >
  12902. >I've never had this problem, so maybe what I tested won't work for others,
  12903. >but:
  12904. >
  12905. >tell app "Finder"
  12906. >   select {}
  12907. >end tell
  12908. >
  12909. >Deselected the file I had selected, and returned an empty list as the
  12910. >result.
  12911.  
  12912. Yeah, this is the simple case.  The real problem arises from selections
  12913. left over from drag & drops.  If you drag a file onto an application, that
  12914. file will be left selected and you will be unable to deselect it, even by
  12915. this method.
  12916.  
  12917. It's a bug in the core Finder code, which the Finder Scripting Addition
  12918. can't fix.
  12919.  
  12920. Jon
  12921. =========================================================================
  12922. Date:         Sun, 17 Jul 1994 11:59:26 -0700
  12923. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12924. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12925. From:         Jon Pugh <jonpugh@NETCOM.COM>
  12926. Subject:      Re: How to pause in scripts (trying to script mail operations)
  12927.  
  12928. >From:    Christian Orellana <muscabo@DFI.AAU.DK>
  12929. >
  12930. >>You can set up a cron type application with the AS idle handler. For instance
  12931. >>you can create a script application that does something every hour.
  12932. >>
  12933. >>        doSomething()
  12934. >>                set x to ...
  12935. >>                ...
  12936. >>        end
  12937. >>
  12938. >>        on idle
  12939. >>                doSomething()
  12940. >>                return 3600
  12941. >>        end
  12942. >>
  12943. >>I don't think there is any real overhead until the callback is made to the
  12944. >>script.
  12945. >>
  12946. >>Steve Alex
  12947. >>steve_alex@aidt.edu             Alabama Industrial Development Training
  12948. >
  12949. >This works fine, except once the script contains the idle handler I can
  12950. >find no reasonable way to end the "iddle handling" and much less abort the
  12951. >script.
  12952. >Any suggestions anyone (- can some special value be passed in the return
  12953. >statement?).
  12954. >This is even more obvious if the script contains a quit handler (usefull if
  12955. >the script needs to close files etc. before quitting). In this case I see
  12956. >no other way to quit the script than force quitting.
  12957.  
  12958. You should be able to go to the Script Application's layer and type
  12959. Command-Q or select the Quit menu item.  You should also be able to issue
  12960. the quit command from inside your idle handler if you decide you should
  12961. quit.  You can also send a quit event from another application (such as the
  12962. Script Editor).
  12963.  
  12964. If you have a quit handler which won't quit, you can avoid the quit handler
  12965. by holding down the shift key when selecting the Quit menu or typing
  12966. Command-Shift-Q.  This is vital for debugging idle and quit handlers!
  12967.  
  12968. Jon
  12969. =========================================================================
  12970. Date:         Sun, 17 Jul 1994 22:55:56 +0000
  12971. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12972. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12973. From:         Borre Ludvigsen <borrel@DHHALDEN.NO>
  12974. Subject:      Grabbing video, how?
  12975. In-Reply-To:  <"alfie.uib..082:16.06.94.10.59.40"@uib.no>
  12976.  
  12977. I have a www-server page with controls for pan & tilt of a camera outputting
  12978. video
  12979. to CU-SeeMe (video teleconferencing sw) running on a Mac. In order to
  12980. return still video images to those who cannot receive direct video, I
  12981. need to do screen grabs of specific coordinate (CU-SeeMe is not
  12982. scriptable) and to save them to disk as GIF files with given names. Any
  12983. ideas?
  12984.  
  12985. - Barre
  12986.  
  12987.  ----------------------------------------------------------------------
  12988.    Barre Ludvigsen - Ostfold Regional College- N-1750 HALDEN - Norway
  12989.  ----------------------------------------------------------------------
  12990.  vox:+4769185400/home+4769341922/direct+4769185577ext219fax:+4769185485
  12991.  ----------------------------------------------------------------------
  12992.    <A HREF="http://www.ludvigsen.dhhalden.no/"> Visit our home! </A>
  12993. =========================================================================
  12994. Date:         Sun, 17 Jul 1994 19:42:00 -0600
  12995. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12996. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  12997. From:         Tom Donovan <donovan@COVIS.NWU.EDU>
  12998. Subject:      Re: Grabbing video, how?
  12999.  
  13000. >I have a www-server page with controls for pan & tilt of a camera outputting
  13001. >video
  13002. >to CU-SeeMe (video teleconferencing sw) running on a Mac. In order to
  13003. >return still video images to those who cannot receive direct video, I
  13004. >need to do screen grabs of specific coordinate (CU-SeeMe is not
  13005. >scriptable) and to save them to disk as GIF files with given names. Any
  13006. >ideas?
  13007. >
  13008. >- Barre
  13009. >
  13010. > ----------------------------------------------------------------------
  13011. >   Barre Ludvigsen - Ostfold Regional College- N-1750 HALDEN - Norway
  13012. > ----------------------------------------------------------------------
  13013. > vox:+4769185400/home+4769341922/direct+4769185577ext219fax:+4769185485
  13014. > ----------------------------------------------------------------------
  13015. >   <A HREF="http://www.ludvigsen.dhhalden.no/"> Visit our home! </A>
  13016.  
  13017. Barre,
  13018.  
  13019. Just a thought:  I'm not sure about this, but I think FlashIt! (a shareware
  13020. screen capture utility) allows grabbing just a portion of the screen.  If
  13021. it can, you could use a QuicKeys sequence (called from AppleScript) that
  13022. would send the FlashIt hotkey, then drag a rectangle on the screen to
  13023. capture it.  I'm not sure what would happen next, because I doubt FlashIt
  13024. can save as GIF.  Maybe you could use JPEGView?
  13025.  
  13026. Hope this helps--or maybe gives someone else out there a prompt.
  13027.  
  13028. --Tom
  13029. =========================================================================
  13030. Date:         Mon, 18 Jul 1994 16:53:00 +1200
  13031. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13032. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13033. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  13034.               NZ" <LDO@WAIKATO.AC.NZ>
  13035. Subject:      Re: Books & Software
  13036.  
  13037. "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM> asks:
  13038.  
  13039. >I'm looking for AppleScript stuff.  More specifically, I was just told by
  13040. >the appropriate person to give them a list of what I want for AppleScript,
  13041. >so they can approve it.
  13042.  
  13043. Depending on how deeply you want to get into AppleScript, you might want
  13044. to get the AppleScript 1.1 developer's kit from APDA. This comes with all the
  13045. paper manuals and a CD-ROM containing all the software, Scriptable Finder,
  13046. online versions of Inside Mac, sample code, development tools, the works.
  13047.  
  13048. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  13049. Info & Tech Services Division              fax: +64-7-838-4066
  13050. University of Waikato            electric mail: ldo@waikato.ac.nz
  13051. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  13052. =========================================================================
  13053. Date:         Mon, 18 Jul 1994 17:14:00 +1200
  13054. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13055. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13056. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  13057.               NZ" <LDO@WAIKATO.AC.NZ>
  13058. Subject:      Re: Some questions
  13059.  
  13060. "John W. Baxter" <jwbaxter@OLYMPUS.NET> writes:
  13061.  
  13062. >You need the Scriptable Finder, which is any Finder 7.1 or later PLUS the
  13063. >Finder Scripting Extension.
  13064.  
  13065. No. The Finder Scripting Extension version 1.1 works ONLY with Finder 7.1.3
  13066. or 7.1.4. It does NOT work with 7.1.
  13067.  
  13068. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  13069. Info & Tech Services Division              fax: +64-7-838-4066
  13070. University of Waikato            electric mail: ldo@waikato.ac.nz
  13071. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  13072. =========================================================================
  13073. Date:         Mon, 18 Jul 1994 17:18:00 +1200
  13074. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13075. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13076. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  13077.               NZ" <LDO@WAIKATO.AC.NZ>
  13078. Subject:      Re: The Unchosen One
  13079.  
  13080. Jon Pugh writes:
  13081.  
  13082. >>> No they won't.  This is a Finder bug that is not fixed in the Scriptable
  13083. >>> Finder. If you tell the finder to select another file on the desktop, it
  13084. >>> will often leave the original item selected as well.
  13085.  
  13086. >It's a bug in the core Finder code, which the Finder Scripting Addition
  13087. >can't fix.
  13088.  
  13089. Is this the same phenomenon I used to observe in pre-Scriptable Finder days?
  13090. I'd tell the the Finder to select something, but the previous selection would
  13091. remain highlighted. This was only a minor nuisance, because if I told the
  13092. Finder to do something with the selection, it would only act on what I'd
  13093. told it to be selected.
  13094.  
  13095. And if I clicked on something with the mouse, all the existing highlights would
  13096. disappear.
  13097.  
  13098. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  13099. Info & Tech Services Division              fax: +64-7-838-4066
  13100. University of Waikato            electric mail: ldo@waikato.ac.nz
  13101. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  13102. =========================================================================
  13103. Date:         Mon, 18 Jul 1994 00:31:38 -0700
  13104. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13105. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13106. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  13107. Subject:      Re: Some questions
  13108.  
  13109. >"John W. Baxter" <jwbaxter@OLYMPUS.NET> writes:
  13110. >
  13111. >>You need the Scriptable Finder, which is any Finder 7.1 or later PLUS the
  13112. >>Finder Scripting Extension.
  13113. >
  13114. >No. The Finder Scripting Extension version 1.1 works ONLY with Finder 7.1.3
  13115. >or 7.1.4. It does NOT work with 7.1.
  13116.  
  13117. I stand by what I said on this one, Lawrence.
  13118.  
  13119. --
  13120. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  13121. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  13122. =========================================================================
  13123. Date:         Mon, 18 Jul 1994 00:46:58 -0700
  13124. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13125. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13126. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  13127. Subject:      Re: The Unchosen One
  13128.  
  13129. Jon sez:
  13130. >
  13131. >Yeah, this is the simple case.  The real problem arises from selections
  13132. >left over from drag & drops.  If you drag a file onto an application, that
  13133. >file will be left selected and you will be unable to deselect it, even by
  13134. >this method.
  13135. >
  13136. >It's a bug in the core Finder code, which the Finder Scripting Addition
  13137. >can't fix.
  13138.  
  13139. I drag a handy text file (not OSA.h) from the desktop onto SimpleText (in
  13140. an open folder which in turn is on the desktop).  I run this script:
  13141.  
  13142. tell application "Finder"
  13143.         activate
  13144.         set selection to item "OSA.h" of desktop
  13145.         selection
  13146. end tell
  13147.  
  13148. Finder 7.1.4 unhighlights the file I drag-and-dropped (drug-and-dropped??
  13149. dripped? ;-) ), highlights OSA.h, and returns
  13150.  
  13151.      {file "OSA.h" of application "Finder"}
  13152.  
  13153. Makes sense to me.  Is this a fix in 7.1.4 (which suggests also 7.1.3)?  Or
  13154. don't I understand the problem?
  13155.  
  13156.    --John
  13157.  
  13158. --
  13159. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  13160. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  13161. =========================================================================
  13162. Date:         Mon, 18 Jul 1994 04:24:30 -0500
  13163. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13164. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13165. From:         Victor Jimenez <vjimenez@AWOD.COM>
  13166. Subject:      AppleScript 1.0 -> 1.1?!
  13167. In-Reply-To:  <9407180736.AA03807@sumter.awod.com> from "John W. Baxter" at Jul
  13168.               18, 94 00:31:38 am
  13169.  
  13170. If anyone know where , or has an updater to go from AppleScript 1.0 to
  13171. 1.1 could they send me the info via Email?
  13172.  
  13173. Or If you have a version I can have send me it....
  13174. :)
  13175.  
  13176. Thank You In Advance
  13177. Victor Jimenez
  13178. vjimenez@awod.com
  13179. =========================================================================
  13180. Date:         Mon, 18 Jul 1994 12:58:19 +0100
  13181. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13182. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13183. From:         Jean Berthomieu <berthoms@FRBDX11.CRIBX1.U-BORDEAUX.FR>
  13184. Subject:      Re: AppleScript 1.0 -> 1.1?!
  13185. In-Reply-To:  <9407180925.AA49215@frbdx11.cribx1.u-bordeaux.fr> from "Victor
  13186.               Jimenez" at Jul 18, 94 04:24:30 am
  13187.  
  13188. >
  13189. > If anyone know where , or has an updater to go from AppleScript 1.0 to
  13190. > 1.1 could they send me the info via Email?
  13191. >
  13192. You can download it from ftp.support.apple.com. Browse these directories in
  13193. Apple support till you reach the PlainTalk disks. You have to download 5
  13194. 1.44 disks (!) but the whole AppleScript is bundled in this installation.
  13195. There are two other softwares in it, you may not need, (Speach recognition
  13196. -they dare say - and speach generation (Macintalk) - which IMHO runs better).
  13197. anyway since they use compressed files (Not Stuffit), its likely that you can't
  13198. cop out downloading the whole...
  13199. Well, in case you can't reach this ftp server, you can gopher it from
  13200. info.hed.apple.com (nearly the same directory path).
  13201.  
  13202. Good luck!
  13203.  
  13204.      Jean Berthomieu <berthoms@frbdx11.cribx1.u-bordeaux.fr>
  13205. =========================================================================
  13206. Date:         Mon, 18 Jul 1994 13:48:16 +0000
  13207. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13208. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13209. From:         WalrathW <walrathw@RFERL.ORG>
  13210. Subject:      Re: refcon in OSAX proc entry decl.
  13211.  
  13212. > >Very true when you install the handler yourself.  Here, however, the
  13213. > >question's context is a Scripting Addition.  It appears that the
  13214.  
  13215. Yep, I was interested in the SA context. I figured as much for the case where
  13216. I'm installing the handlers from my own code.
  13217.  
  13218. > handlers
  13219. > >are installed with a refcon equal to zero (that's what the handy
  13220. > AEHandler
  13221. > >FKEY says).
  13222. > >
  13223. > >I don't know of a way to adjust that, but I could easily have missed
  13224. > >something, since I haven't felt any need to use the refcon in any of
  13225. > the
  13226. > >few Scripting Additions I've played with.
  13227. >
  13228. > I haven't needed to do this yet, but it's an ideal trick for caching
  13229. > some
  13230. > data across osax runs.
  13231.  
  13232. And this is what I was hoping to hear. I just wasn't sure how to get my data
  13233. into the refCon.
  13234.  
  13235. > know when and how to get rid of it, but a good reboot will get rid of
  13236. > anything.  ;)
  13237. >
  13238. > There are two tricks involved.  The first is to get the current stuff
  13239. > for
  13240. > your event class & id.  This gives you the proper osax event handler
  13241. > address.  Then you can use a 0 value in the refcon to init yourself and
  13242. > reinstall the new refcon.  The other trick is to allocate your
  13243. > structures
  13244. > or objects in the system heap.  I'll leave most of that as an exercise
  13245. > for
  13246. > the serious.
  13247. >
  13248. > Here's the code:
  13249. >
  13250. > err = AEGetEventHandler(&class, &eventID, &handlerPtr, &refcon,
  13251. > &isSysHandler);
  13252. >
  13253. > if (refcon == 0) {
  13254. >
  13255. >     oldZone = GetZone();
  13256. >     SetZone(SystemZone());
  13257. >     // create your data structures
  13258. >     SetZone(oldZone);
  13259. >
  13260. >     refcon = (long) this;           // for handy C++ object passing
  13261. >     refcon = (long) &myGlobals;     // for generic struct passing
  13262. >
  13263. >     err = AEInstallEventHandler(class, eventID ,handlerPtr, refcon,
  13264. >           isSysHandler);
  13265. > }
  13266. >
  13267. > Jon
  13268.  
  13269. Thanks to everyone who responded.
  13270.  
  13271. -wayne
  13272. =========================================================================
  13273. Date:         Mon, 18 Jul 1994 09:46:40 -0400
  13274. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13275. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13276. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  13277. Subject:      Re: Some questions
  13278. In-Reply-To:  <no.id> from "John W. Baxter" at Jul 18, 94 00:31:38 am
  13279.  
  13280. --John W. Baxter wrote:
  13281. >
  13282. >>"John W. Baxter" <jwbaxter@OLYMPUS.NET> writes:
  13283. >>
  13284. >>>You need the Scriptable Finder, which is any Finder 7.1 or later PLUS the
  13285. >>>Finder Scripting Extension.
  13286. >>
  13287. >>No. The Finder Scripting Extension version 1.1 works ONLY with Finder 7.1.3
  13288. >>or 7.1.4. It does NOT work with 7.1.
  13289. >
  13290. >I stand by what I said on this one, Lawrence.
  13291.  
  13292.     I know this has been a fairly big debate on this list, but every
  13293. time I've tried to use FSE with a Finder older than 7.1.3 I get a
  13294. "Finder Scripting Extension is too new to be used with this Finder"
  13295. dialog box. YMMV, of course, but it sure doesn't seem to work with older
  13296. Finders.
  13297.  
  13298. -Hades
  13299. =========================================================================
  13300. Date:         Mon, 18 Jul 1994 16:15:26 +0000
  13301. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13302. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13303. From:         WalrathW <walrathw@RFERL.ORG>
  13304. Subject:      Re: Some questions
  13305.  
  13306. > From: Macintosh Scripting Systems on 18 Jul, 1994 16:12
  13307. > Subject: Re: Some questions
  13308. > To: Multiple recipients of list MACSCRPT
  13309. >
  13310. > --John W. Baxter wrote:
  13311. > >
  13312. > >>"John W. Baxter" <jwbaxter@OLYMPUS.NET> writes:
  13313. > >>
  13314. > >>>You need the Scriptable Finder, which is any Finder 7.1 or later PLUS
  13315. > the
  13316. > >>>Finder Scripting Extension.
  13317. > >>
  13318. > >>No. The Finder Scripting Extension version 1.1 works ONLY with Finder
  13319. > 7.1.3
  13320. > >>or 7.1.4. It does NOT work with 7.1.
  13321. > >
  13322. > >I stand by what I said on this one, Lawrence.
  13323. >
  13324. >     I know this has been a fairly big debate on this list, but every
  13325. > time I've tried to use FSE with a Finder older than 7.1.3 I get a
  13326. > "Finder Scripting Extension is too new to be used with this Finder"
  13327. > dialog box. YMMV, of course, but it sure doesn't seem to work with older
  13328. > Finders.
  13329. >
  13330.  
  13331. and for what it's worth, I too got this message the other night when I tried to
  13332. install the FSE on my home IIci which has System 7.1 and Finder 7.1 installed.
  13333.  
  13334. -wayne
  13335. =========================================================================
  13336. Date:         Mon, 18 Jul 1994 10:03:27 -0700
  13337. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13338. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13339. From:         Kevin Purcell <xenolith@HALCYON.COM>
  13340. Subject:      Re: TCP & MACSCRPT
  13341.  
  13342. >On another topic, is it common for people to post huge files to
  13343. >the list
  13344.  
  13345. Apologies to all that suffered my Eudora log file.
  13346.  
  13347. It seems that Eudora really does mean "live dangerously" when it runs low
  13348. on memory. I have taken precautions to see that this does not happen again
  13349. (mostly by bumping the patition and taking the low memory messages
  13350. seriously).
  13351.  
  13352. Kevin Purcell, N7WIM / G8UDP  Are you a Mac developer? Live close to Seattle?
  13353. xenolith@halcyon.com          We need you in the dBug Mac Dev SIG. email me!
  13354. (206) 649-6489                "Organising programmers is like herding cats"
  13355. =========================================================================
  13356. Date:         Mon, 18 Jul 1994 10:29:06 -0700
  13357. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13358. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13359. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  13360. Subject:      Re: Some questions
  13361.  
  13362. Brian wrote
  13363.  
  13364. >--John W. Baxter wrote:
  13365. >>
  13366. >>>"John W. Baxter" <jwbaxter@OLYMPUS.NET> writes:
  13367. >>>
  13368. >>>>You need the Scriptable Finder, which is any Finder 7.1 or later PLUS the
  13369. >>>>Finder Scripting Extension.
  13370. >>>
  13371. >>>No. The Finder Scripting Extension version 1.1 works ONLY with Finder 7.1.3
  13372. >>>or 7.1.4. It does NOT work with 7.1.
  13373. >>
  13374. >>I stand by what I said on this one, Lawrence.
  13375. >
  13376. >    I know this has been a fairly big debate on this list, but every
  13377. >time I've tried to use FSE with a Finder older than 7.1.3 I get a
  13378. >"Finder Scripting Extension is too new to be used with this Finder"
  13379. >dialog box. YMMV, of course, but it sure doesn't seem to work with older
  13380. >Finders.
  13381.  
  13382. I surrender...it would appear that I haven't tried to install the *current*
  13383. Finder Scripting Extension against early 7.1 Finder versions.  And I'm not
  13384. going to bother installing a 7.1 system on a Syquest on my IIci to test.
  13385.    --John
  13386.  
  13387. --
  13388. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  13389. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  13390. =========================================================================
  13391. Date:         Mon, 18 Jul 1994 13:46:14 -0400
  13392. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13393. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13394. From:         Nikolaos Daniel Willmore <ndw1@COLUMBIA.EDU>
  13395. Subject:      Serious AS dilema: finding app.
  13396.  
  13397. The quest is for my scripts to only ask *once* where a program is, when I
  13398. give said scripts to people who will run it on their own computers, not
  13399. mine. Only trouble is user's have a different copy of the program so the
  13400. script refuses to lock on target and stop asking each time. This can be
  13401. shown to be using the following trick.
  13402.  
  13403. Set your app name to "Dummy App", and make something called "Dummy App" on
  13404. the Desktop (any old disposable application such as an AppleScript app).
  13405. Then save it as a run-only (doesn't matter actually -- same thing if isn't
  13406. run only, despite comments I heard to the contrary) application and *throw
  13407. away* "Dummy App". Now you can tell your *compiled* script whatever
  13408. application you want and it will *not* remember it. It will always keep
  13409. asking where is "Dummy App", every time you run it! This sucks, since the
  13410. program I link to seems to come in many related versions, so this situation
  13411. is really what it's like. And it's not just version numbers, it's also the
  13412. *same* identical program which they didn't get from me though, so an alias
  13413. to my copy given to them still wont recognize their copy.
  13414.  
  13415. tell application "Dummy App"
  13416. activate
  13417. end tell
  13418.  
  13419. ...fails to remember where the new program is when you run the script and
  13420. point it at it. Thus you can use this instead:
  13421.  
  13422. set x to a reference to application "Dummy App"
  13423.  
  13424. tell x
  13425. activate
  13426. end tell
  13427.  
  13428. And it *does* remember the new application name, no problem.
  13429.  
  13430. Here's the bad news.
  13431.  
  13432. tell application "MacPGP"
  13433. activate
  13434. end tell
  13435.  
  13436. works fine, but again, wont remember where MacPGP *is* if the user has a
  13437. slightly different version or even just a copy from a different person than
  13438. I.
  13439.  
  13440. But when I try
  13441.  
  13442. set x to a reference to application "MacPGP"
  13443.  
  13444. tell x
  13445. execute "pgp -h"
  13446. end tell
  13447.  
  13448. I get an error and cannot even compile the script. It doesn't even ask
  13449. where MacPGP is. It just jumps in and says it expected an end of line at
  13450. the first quote mark. Gee, what an informative error message (-8. Grrrr.
  13451. Since the docs with the developer's kit has nearly no useful examples,
  13452. well, I'm stuck. It's most any normal application-defined scripting command
  13453. that causes this, not just "execute".
  13454.  
  13455. So what's the problem?
  13456.  
  13457. It is *not* checking the dictionary of MacPGP to interpret the tell
  13458. commands, it seems. Why not? Why would the docs say here's how to do this,
  13459. but not mention that you can only use generic commands?
  13460.  
  13461. In the docs, they place a lone "x" on a line by itself before their tell
  13462. statement, but don't TELL why they do this. Why place x on a line by
  13463. itself?!?! It has no effect.
  13464.  
  13465. Better yet, I'd like to have the scripts *never* ask where MacPGP is! The
  13466. Finder can "find" it when you double-click one of its documents, so why
  13467. can't Apple Script find an application, given it's signature? This makes
  13468. using Apple Script to write easy to use software not that useful. How would
  13469. you like it if everytime you wrote a program in C it prompted the user for
  13470. where the Finder was and where the System was?!
  13471.  
  13472. Should I try sending Apple Events instead of using Apple Script commands?
  13473. I know with a real AE, you can specify the application's signature and it
  13474. finds it. However, sending AE's from AS is not documented? It's *not* in
  13475. the Language Guide, but on p.83 and only as an aside, not how to use it.
  13476.  
  13477. I'm also having this problem with a FaceSpan stand-alone application, but
  13478. multilplied, since evey object that refers to MacPGP asks where is MacPGP
  13479. on startup! What a drag!!! Then it wont even remember for next time. Asking
  13480. the user six times in a row where MacPGP is everytime they run it, well I
  13481. might as well toss this thing in the trash (including the AS Dev Kit). What
  13482. am I missing?
  13483.  
  13484.  - Nik
  13485. =========================================================================
  13486. Date:         Mon, 18 Jul 1994 17:45:10 +0000
  13487. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13488. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13489. From:         Neil Christie <neil@CHRISTIE.DEMON.CO.UK>
  13490. Subject:      Re: Refs to remote apps
  13491.  
  13492. Re: Controlling apps on remote machines, the following works for me:
  13493.  
  13494. tell application "Finder Liaison 1.0" of machine "Classic 15-6" of zone
  13495. "Rooms 15 & 16" to shutdown
  13496.  
  13497. This only works in Finder Liasion 1.1 is running on that machine but if it
  13498. is then the mac successfully shuts down.
  13499.  
  13500. I don't know if its because you didn't include the zone, maybe your network
  13501. is just one zone so it's unnecessary.
  13502.  
  13503. I hope this helps someone, Neil.
  13504.  
  13505. Neil Christie       |Voice/Fax: 031 229 6507
  13506. 14 West Castle Road |E-Mail:    Neil@christie.demon.co.uk
  13507. Edinburgh           |-------------------------------------
  13508. EH10 5AU            |Apple Macintosh Centris 660AV 8/230 CD.
  13509. Scotland            |System 7.1, running PPP on a 14.4K modem
  13510. =========================================================================
  13511. Date:         Mon, 18 Jul 1994 12:43:48 -0700
  13512. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13513. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13514. From:         Kevin Purcell <xenolith@HALCYON.COM>
  13515. Subject:      Re: Serious AS dilema: finding app.
  13516.  
  13517. [deleted the interesting AppleScript problem!]
  13518.  
  13519. >Here's the bad news.
  13520. >
  13521. >tell application "MacPGP"
  13522. >activate
  13523. >end tell
  13524. >
  13525. >works fine, but again, wont remember where MacPGP *is* if the user has a
  13526. >slightly different version or even just a copy from a different person than
  13527. >I.
  13528. >
  13529. >But when I try
  13530. >
  13531. >set x to a reference to application "MacPGP"
  13532. >
  13533. >tell x
  13534. >execute "pgp -h"
  13535. >end tell
  13536. >
  13537. >I get an error and cannot even compile the script. It doesn't even ask
  13538. >where MacPGP is. It just jumps in and says it expected an end of line at
  13539. >the first quote mark. Gee, what an informative error message (-8. Grrrr.
  13540. >Since the docs with the developer's kit has nearly no useful examples,
  13541.  
  13542. The problem in this particular case is that "execute" is not a command or
  13543. an addition (AS is parsing it as a variable -- you can see this if you
  13544. color different elements of the scripts in AppleScript formatting). If you
  13545. remove the string then this script will compile and give a run time error
  13546. "variable not defined".
  13547.  
  13548. Change "execute" to "launch" and all works fine. E.g. this runs on my mac:
  13549.  
  13550. set x to a reference to application "MacPGP"
  13551.  
  13552. tell x
  13553.         launch
  13554. end tell
  13555.  
  13556. >well, I'm stuck. It's most any normal application-defined scripting command
  13557. >that causes this, not just "execute".
  13558.  
  13559. This is evidently not the case.
  13560.  
  13561. But back to the original problem!
  13562.  
  13563. One way to work around the original problem is to ask the user only when
  13564. you can't find the application where you last left it. Save the reference
  13565. (an alias) to the application in the property of a script object that you
  13566. save in the preferences folder of the system folder (like all good apps
  13567. do!). When you start the script you load the script object, get the
  13568. alias(es), check that they exist, if they don't then ask the user to show
  13569. you where they are. The code is a SMOP (simple matter of programming).
  13570.  
  13571. Another (simpler) way is to make the variable (x in the above examples) a
  13572. property rather than a variable. This gives x persitance across runs. The
  13573. first time this is the null string and you ask the user where the app is.
  13574. Other times it will be an alias to the application. You should check that
  13575. the alias is still valid and if not ask the user where the application is.
  13576.  
  13577. For more information see Danny Goodmans book and the AppleScript Language guide.
  13578.  
  13579. Finally, it is a pain that users can change application names and scripters
  13580. need to locate applications, has anyone written the obvious osax to query
  13581. the desktop database (with PBDTGetAPPL) for an application name and or path
  13582. given a creator type (signature). Seems like we coiuld make use of it. In
  13583. fact it seems so simple I might have a stab at it.
  13584.  
  13585.  
  13586. Kevin Purcell, N7WIM / G8UDP  Are you a Mac developer? Live close to Seattle?
  13587. xenolith@halcyon.com          We need you in the dBug Mac Dev SIG. email me!
  13588. (206) 649-6489                "Organising programmers is like herding cats"
  13589. =========================================================================
  13590. Date:         Mon, 18 Jul 1994 13:05:01 -0700
  13591. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13592. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13593. From:         Joe Lopez <lopezjf@SCE.COM>
  13594. Subject:      Re: Refs to remote apps
  13595.  
  13596. >On page 148 (Ch 5) of the AppleScript Language Guide there is what appears
  13597. >to be a very lucid explanation of how one should refer to an application on
  13598. >a remote machine.  I followed the directions exactly and, yet, the
  13599. >following script fails with the error message "Can't get the application's
  13600. >event dictionary".  This is an AppleScript error.
  13601. >
  13602. >tell application "Scriptable Text Editor" of machine "YoYo"
  13603. >activate
  13604. >end tell
  13605. >
  13606. >In that I am only using 2 Macs with PhoneNet connectors, there are no zones.
  13607. >
  13608. >* Scriptable Text Editor is running (in the background) on the remote machine.
  13609. >* Both computers are connected by an AppleTalk network.
  13610. >* Program Linking is enabled on the remote computer.
  13611.  
  13612.  
  13613. By this I assume you mean that ,in the sharing setup control panel, program
  13614. linking is on. But is it on for the user id you are using to log in. It
  13615. could be turned off individually and I believe by default is off. Check the
  13616. users & groups control panel for that. This may be the problem although I
  13617. am somewhat new to Applescript.
  13618.  
  13619.  
  13620. >* Access for me is enabled on the remote machine, including program linking.
  13621. >* Program linking is enabled for the application on the remote machine.
  13622. >
  13623. >I am able to successfully log on to the remote machine (get its icon on my
  13624. >desktop).
  13625. >
  13626. >I can use the Script Editor to view the remote application's dictionary.
  13627. >
  13628. >I get the same result with ClarisWorks 2.1 as the target.
  13629. >
  13630. >The script works just fine on my local machine.
  13631. >
  13632. >So, the question is: "Why doesn't this work?"
  13633. >
  13634. >*****************************************************************************
  13635. >Dr. Frank Lowney, System Administrator
  13636. >The GC EduNET Project (telnet to: gcedunet.peachnet.edu)
  13637. >CBX 034
  13638. >Georgia College, Milledgeville Georgia  310611
  13639. >(912) 453-5260
  13640. >
  13641. >*****************************************************************************
  13642. =========================================================================
  13643. Date:         Mon, 18 Jul 1994 13:16:30 -0700
  13644. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13645. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13646. From:         "Jay M. Martin" <bazaar@NETCOM.COM>
  13647. Subject:      Re: Refs to remote apps
  13648.  
  13649. I believe your problem may be that AppleScript is not installed on the
  13650. target machine. At least, that's the same error you get when it's not.
  13651.  
  13652. Jay
  13653.  
  13654. +-----------------------------------------------+
  13655. |   \  /  \                                     |
  13656. |   /  \  /      Jay M. Martin                  |
  13657. |   \  /  \      Lumin Corporation              |
  13658. |  +--------+    1444 Wazee Street, Suite 300   |
  13659. |  |        +-+  Denver, CO  80228              |
  13660. |  +        +-+  (303)534-0632                  |
  13661. | __\______/__   bazaar@netcom.com              |
  13662. | \__________/                                  |
  13663. +-----------------------------------------------+
  13664. =========================================================================
  13665. Date:         Mon, 18 Jul 1994 16:32:09 -0500
  13666. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13667. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13668. From:         Victor Jimenez <vjimenez@AWOD.COM>
  13669. Subject:      Re: AppleScript 1.0 -> 1.1?!
  13670. In-Reply-To:  <9407181103.AA26590@sumter.awod.com> from "Jean Berthomieu" at
  13671.               Jul 18, 94 12:58:19 pm
  13672.  
  13673. >
  13674. > >
  13675. > > If anyone know where , or has an updater to go from AppleScript 1.0 to
  13676. > > 1.1 could they send me the info via Email?
  13677. > >
  13678. > You can download it from ftp.support.apple.com. Browse these directories in
  13679. > Apple support till you reach the PlainTalk disks. You have to download 5
  13680. > 1.44 disks (!) but the whole AppleScript is bundled in this installation.
  13681. > There are two other softwares in it, you may not need, (Speach recognition
  13682. > -they dare say - and speach generation (Macintalk) - which IMHO runs better).
  13683. > anyway since they use compressed files (Not Stuffit), its likely that you
  13684.  can't
  13685. > cop out downloading the whole...
  13686. > Well, in case you can't reach this ftp server, you can gopher it from
  13687. > info.hed.apple.com (nearly the same directory path).
  13688. >
  13689. > Good luck!
  13690. >
  13691. >      Jean Berthomieu <berthoms@frbdx11.cribx1.u-bordeaux.fr>
  13692. >
  13693. I checked but I could find it...
  13694. If you could tell me the Directory that would be great.
  13695.  
  13696. Thank You
  13697. Victor Jimenez
  13698. vjimenez@awod.com
  13699. =========================================================================
  13700. Date:         Mon, 18 Jul 1994 14:00:49 -0700
  13701. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13702. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13703. From:         "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  13704. Subject:      Re: AppleScript 1.0 -> 1.1?!
  13705.  
  13706. At 16:32 7/18/94 -0500, Victor Jimenez wrote:
  13707. >I checked but I could find it...
  13708. >If you could tell me the Directory that would be great.
  13709.  
  13710.  
  13711. ftp://ftp.austin.apple.com/Apple.Support.Area/Apple.Software.Updates/
  13712. Supplemental.System.SW/PlainTalk.for.PowerMac
  13713.  
  13714. Roy S. Rapoport -- rsr@mail.berksys.com -- rsr@berksys.com
  13715. 510-540-5535 ext. 280
  13716. "It Wasn't Me"
  13717. =========================================================================
  13718. Date:         Mon, 18 Jul 1994 14:53:12 -0700
  13719. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13720. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13721. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  13722. Subject:      Re: Serious AS dilema: finding app.
  13723.  
  13724. At 12:43 7/18/94 -0700, Kevin Purcell wrote:
  13725.  
  13726. >Finally, it is a pain that users can change application names and scripters
  13727. >need to locate applications, has anyone written the obvious osax to query
  13728. >the desktop database (with PBDTGetAPPL) for an application name and or path
  13729. >given a creator type (signature). Seems like we coiuld make use of it. In
  13730. >fact it seems so simple I might have a stab at it.
  13731.  
  13732. Yes, sort of.  Apple.  That is, with the Scriptable Finder, this script
  13733.  
  13734. tell application "Finder"
  13735.     application files of entire contents of desktop whose creator type is "T=
  13736. oys"
  13737. end tell
  13738.  
  13739. produces, on my machine
  13740.  
  13741. {file "Script Editor" of folder "AppleScript=81 Utilities" of disk "Blake" o=
  13742. f
  13743. application "Finder", file "Script Editor" of folder "Apple's Scripting
  13744. System" of folder "AppleScript=81 Setup" of folder "AppleScript 1.1" of
  13745. folder "Apple Extras" of startup disk of application "Finder", file "Script
  13746. Editor" of folder "AppleScript=81 Utilities" of startup disk of application
  13747. "Finder"}
  13748.  
  13749. [I didn't know I had so many (sigh!)]
  13750.  
  13751. The magic word there is "entire":  entire contents is quite different from
  13752. mere contents.
  13753.  
  13754. This takes a while (and risks running out of memory)...you might want to
  13755. pick the first one you come to, instead:
  13756.  
  13757. tell application "Finder"
  13758.     set theApp to ""
  13759.     repeat with vol in disks of desktop
  13760.         set foo to (application files of entire contents of vol whose
  13761. creator type is "ToyS")
  13762.         --              display dialog class of foo
  13763.         if class of foo is application file then -- found only one on the vo=
  13764. lume
  13765.             set theApp to foo
  13766.             exit repeat
  13767.         else
  13768.             if length of foo is not 0 then -- not found more than one on vol=
  13769. ume
  13770.                 set theApp to item 1 of foo
  13771.                 exit repeat
  13772.             end if
  13773.         end if
  13774.     end repeat
  13775.     return theApp
  13776. end tell
  13777.  
  13778. Producing, here:
  13779. file "Script Editor" of folder "AppleScript=81 Utilities" of disk "Blake" of
  13780. application "Finder"
  13781.  
  13782.  
  13783. (Unfortunately, on my particular setup, that has to scan a volume with many
  13784. files which does not contain a copy of Script Editor, so it still takes a
  13785. while...as it happens, doing a reverse of upon vols would help a lot, here,
  13786. for this particular case).
  13787.  
  13788. There's still room for a Scripting Addition.  --John  [=81 is trademark]
  13789.  
  13790. --
  13791. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  13792. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  13793. =========================================================================
  13794. Date:         Tue, 19 Jul 1994 02:08:37 +0100
  13795. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13796. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13797. From:         Christian Orellana <muscabo@DFI.AAU.DK>
  13798. Subject:      Jon's commands vs. control strip
  13799.  
  13800. Hi!
  13801. Since I patched and installed my danish version of the "control strip"
  13802. control panel from Apple (included with the PowerBook 500's), I have been
  13803. unable to use the "finder selection" command from the "Jon's commands" osax
  13804. - my machine freezes or the application executing the script calling
  13805. "finder selection" quits.
  13806. Since I like both the osax and the control strip very much I am much
  13807. curious to know if this is a general problem, and if it can be fixed?
  13808. It might of course be a problem with the danish version of the control
  13809. strip, so if somebody has sucesfully called "finder selection" while having
  13810. the control strip installed please say so!
  13811.  
  13812.  
  13813. Best regards -
  13814. Christian A.Borlund Orellana
  13815. Institute of Physics and Astronomy Aarhus University.
  13816. ______________________________________________________
  13817. Internet e-mail:        muscabo@dfi.aau.dk
  13818. voice:                  +45-86102798
  13819. mail:                   Dr.Margrethesvej 11,3.th.
  13820.                         8200 Aarhus N, DENMARK.
  13821. ______________________________________________________
  13822. =========================================================================
  13823. Date:         Tue, 19 Jul 1994 12:39:00 +1200
  13824. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13825. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13826. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  13827.               NZ" <LDO@WAIKATO.AC.NZ>
  13828. Subject:      Re: Some questions
  13829.  
  13830. "John W. Baxter" <jwbaxter@OLYMPUS.NET> screams:
  13831.  
  13832. >I surrender...it would appear that I haven't tried to install the *current*
  13833. >Finder Scripting Extension against early 7.1 Finder versions.  And I'm not
  13834. >going to bother installing a 7.1 system on a Syquest on my IIci to test.
  13835.  
  13836. Ahhhh...that would explain why the current version of the extension is 1.1.
  13837.  
  13838. By the way, the reason why I was so quick to assume that the extension wouldn't
  13839. work (yes, I did later test it and confirm it for myself), was that _no_ other
  13840. Finder extension I knew of would work with both Finder 7.1 and 7.1.3/7.1.4.
  13841. Even the good old Network Extension had to come out in a new version, even
  13842. though it doesn't actually do anything different that I can tell.
  13843.  
  13844. Whatever the interface is for Finder extensions, Apple had to modify it
  13845. significantly to support things like QuickDraw GX and AOCE, and that broke
  13846. everything.
  13847.  
  13848. By the way, John, did that earlier version of the Scripting Extension support
  13849. recording? Just wondering if the extension interface revision was to add
  13850. support for something like that, too...
  13851.  
  13852. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  13853. Info & Tech Services Division              fax: +64-7-838-4066
  13854. University of Waikato            electric mail: ldo@waikato.ac.nz
  13855. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  13856. =========================================================================
  13857. Date:         Mon, 18 Jul 1994 17:47:51 -0700
  13858. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13859. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13860. From:         "Douglas R. Peckham" <dopeckh@EIS.CALSTATE.EDU>
  13861. Subject:      Compiling time
  13862. In-Reply-To:  <199407190040.RAA13629@eis.calstate.edu>
  13863.  
  13864. Does anyone know the relationship between the number of scripting
  13865. additions installed and the time it takes to compile a script?
  13866.  
  13867. Thanks.
  13868.  
  13869. -------------------------------------------------------------------
  13870. Aaron Peckham                  Just because you're paranoid doesn't
  13871. dopeckh@eis.calstate.edu       mean someone's not out to get you.
  13872. =========================================================================
  13873. Date:         Mon, 18 Jul 1994 22:28:35 -0400
  13874. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13875. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13876. From:         Boris Levitin <boris@WORLD.STD.COM>
  13877. Subject:      Re: AppleScript 1.0 -> 1.1?!
  13878.  
  13879. "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM> is kind enough to point out
  13880. the location of the AppleScript 1.1 files within the PlainTalk distribution
  13881. on ftp.austin.apple.com.
  13882.  
  13883. Roy, do you know whether that AS distribution includes FaceSpan/Frontmost
  13884. (not just the extension, but the main module)? I wanted to find that out
  13885. before ftping and decompressing 7.5MB over our 56kb/sec link.
  13886.  
  13887. Thanks.
  13888. Boris Levitin                                  WGBH Public Broadcasting, Boston
  13889.                                    boris@world.std.com * boris_levitin@wgbh.org
  13890.               I produced this message and am solely responsible for its content
  13891. =========================================================================
  13892. Date:         Mon, 18 Jul 1994 19:41:44 -0700
  13893. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13894. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13895. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  13896. Subject:      Re: Some questions
  13897.  
  13898. At 12:39 7/19/94 +1200, "Lawrence D'Oliveiro, Waikato University, Hamilton,
  13899. wrote:
  13900. >Whatever the interface is for Finder extensions, Apple had to modify it
  13901. >significantly to support things like QuickDraw GX and AOCE, and that broke
  13902. >everything.
  13903. >
  13904.  
  13905. Yes...and Apple got tired of revving "everything", hence the "bungie
  13906. Finder", which presumably has some sort of table in a known location with
  13907. the various addresses Network Extension and some of the others need.  I
  13908. forget what "x" is in the sentence "The first 'bungie Finder' was 7.1.x."
  13909. You could work it out I suppose by noting when Network Extension stopped
  13910. changing its actual content.  Meanwhile, it's not that hard to work
  13911. backwards...to support bungie Finder and as many prior ones as you care to
  13912. (if "you" are Apple and have access to the internals).
  13913.  
  13914.  
  13915. >By the way, John, did that earlier version of the Scripting Extension support
  13916. >recording? Just wondering if the extension interface revision was to add
  13917. >support for something like that, too...
  13918.  
  13919. The first version of the Scriptable Finder I installed supported recording.
  13920. At this point, I'm unsure which one that was.  All other ones I've
  13921. installed also support it.
  13922.  
  13923.    --John
  13924.  
  13925. --
  13926. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  13927. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  13928. =========================================================================
  13929. Date:         Mon, 18 Jul 1994 20:07:10 -0700
  13930. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13931. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13932. From:         "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  13933. Subject:      Re: AppleScript 1.0 -> 1.1?!
  13934.  
  13935. At 22:28 7/18/94 -0400, Boris Levitin wrote:
  13936. >"Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM> is kind enough to point out
  13937. >the location of the AppleScript 1.1 files within the PlainTalk distribution
  13938. >on ftp.austin.apple.com.
  13939. >
  13940. >Roy, do you know whether that AS distribution includes FaceSpan/Frontmost
  13941. >(not just the extension, but the main module)? I wanted to find that out
  13942. >before ftping and decompressing 7.5MB over our 56kb/sec link.
  13943.  
  13944. It doesn't.  Pretty much, the only things I noticed including that were
  13945. relevant to AS (aside from some sample scripts) were:
  13946.  
  13947. A cooler Script Editor (slightly)
  13948. AppleScript System Extension v 1.1
  13949. A fairly big Scripting Additions Folder.
  13950.  
  13951. What the heck is FaceSpan and FrontMost, BTW?
  13952.  
  13953. -roy
  13954.  
  13955. Roy S. Rapoport -- rsr@mail.berksys.com -- rsr@berksys.com
  13956. 510-540-5535 ext. 280
  13957. "It Wasn't Me"
  13958. =========================================================================
  13959. Date:         Tue, 19 Jul 1994 15:20:14 +1200
  13960. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13961. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13962. From:         Owen Watson <owen@RSNZ.GOVT.NZ>
  13963. Subject:      Installation problems; TCP/IP link?
  13964.  
  13965. One easy query; one not so easy.
  13966.  
  13967. 1. I've tried installing AppleScript 1.0 on my home IIsi (running 7.1); I
  13968. put the AS Extension in the Extensions folder together with the Scripting
  13969. Additions folder from my work machine, and Script Editor 1.0. When I try
  13970. and launch Script Editor or run a script, I get a message about the
  13971. scripting system not being properly installed. What else do I need? To
  13972. avoid cluttering up the list with a newbie question, please respond to me
  13973. directly on this one.
  13974.  
  13975. 2. I'm trying to link 4th Dimension with a unix box over an Internet link.
  13976. At the moment it's calling 4D Client on my machine, which has some TCP
  13977. externals installed. A more satisfactory solution would be if there was a
  13978. small app or AS addition that converted TCP to AppleScript, which could
  13979. interrogate the server directly. Any suggestions?
  13980.  
  13981.  
  13982.  
  13983.  
  13984. -------------------------------------------------------------------------
  13985. Owen Watson, The Royal Society of NZ, PO Box 598, Wellington, New Zealand
  13986. Internet watson.o@rsnz.govt.nz  Ph: +64 4 472 7421 Fax: +64 4 473 1841
  13987. =========================================================================
  13988. Date:         Mon, 18 Jul 1994 20:40:34 -0700
  13989. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13990. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  13991. From:         Paul Spurgeon <pauls@CONNECTED.COM>
  13992. Subject:      Re: AppleScript 1.0 -> 1.1?!
  13993. In-Reply-To:  <199407190233.TAA20075@hebron.connected.com>
  13994.  
  13995. The disk images from apple containing the AS v1.1 (along with PlainTalk
  13996. software) do not have Facespan/Frontmost included.
  13997.  
  13998. The installer included in the images does allow a custom installation of
  13999. the Applescript software though. All of the disk images are necessary for
  14000. the complete AS installation.
  14001.  
  14002. _____________________________________________________________
  14003.   Paul Spurgeon              /  Physio-Control Corporation
  14004.   71604.3463@compuserve.com  /  P.O. Box 97006
  14005.   pauls@connected.com        /  Redmond, WA  98073-9706
  14006.  
  14007. On Mon, 18 Jul 1994, Boris Levitin wrote:
  14008.  
  14009. > "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM> is kind enough to point out
  14010. > the location of the AppleScript 1.1 files within the PlainTalk distribution
  14011. > on ftp.austin.apple.com.
  14012. >
  14013. > Roy, do you know whether that AS distribution includes FaceSpan/Frontmost
  14014. > (not just the extension, but the main module)? I wanted to find that out
  14015. > before ftping and decompressing 7.5MB over our 56kb/sec link.
  14016. >
  14017. > Thanks.
  14018. > Boris Levitin                                  WGBH Public Broadcasting,
  14019.  Boston
  14020. >                                    boris@world.std.com *
  14021.  boris_levitin@wgbh.org
  14022. >               I produced this message and am solely responsible for its
  14023.  content
  14024. >
  14025. =========================================================================
  14026. Date:         Mon, 18 Jul 1994 21:10:50 -0700
  14027. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14028. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14029. From:         "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  14030. Subject:      Re: AppleScript 1.0 -> 1.1?!
  14031.  
  14032. At 20:40 7/18/94 -0700, Paul Spurgeon wrote:
  14033. >The disk images from apple containing the AS v1.1 (along with PlainTalk
  14034. >software) do not have Facespan/Frontmost included.
  14035. >
  14036. >The installer included in the images does allow a custom installation of
  14037. >the Applescript software though. All of the disk images are necessary for
  14038. >the complete AS installation.
  14039.  
  14040. I beg to disagree.  When I did it, it only used disk 1 (with the Installer
  14041. on it) and Disk 4.
  14042.  
  14043. -roy
  14044.  
  14045. Roy S. Rapoport -- rsr@mail.berksys.com -- rsr@berksys.com
  14046. 510-540-5535 ext. 280
  14047. "It Wasn't Me"
  14048. =========================================================================
  14049. Date:         Tue, 19 Jul 1994 17:31:00 +1200
  14050. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14051. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14052. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  14053.               NZ" <LDO@WAIKATO.AC.NZ>
  14054. Subject:      Re: Some questions
  14055.  
  14056. John Baxter wrote:
  14057.  
  14058. >At 12:39 7/19/94 +1200, "Lawrence D'Oliveiro, Waikato University, Hamilton,
  14059. >wrote:
  14060. >>Whatever the interface is for Finder extensions, Apple had to modify it
  14061. >>significantly to support things like QuickDraw GX and AOCE, and that broke
  14062. >>everything.
  14063. >
  14064. >Yes...and Apple got tired of revving "everything", hence the "bungie
  14065. >Finder", which presumably has some sort of table in a known location with
  14066. >the various addresses Network Extension and some of the others need.  I
  14067. >forget what "x" is in the sentence "The first 'bungie Finder' was 7.1.x."
  14068. >You could work it out I suppose by noting when Network Extension stopped
  14069. >changing its actual content.
  14070.  
  14071. I believe it must have been 7.1.3. The reason I believe this is because betas
  14072. of QuickDraw GX up to 1.0b2 included a 7.1.2 Finder, which was not compatible
  14073. with PowerTalk 1.0. Conversely, the 7.1.3 Finder was not compatible with
  14074. GX 1.0b2. Does that sound like the sort of thing that would happen with the
  14075. "bungie" Finder?
  14076.  
  14077. Lawrence
  14078. (thinking of one or two pieces of software he'd like to see thrown off a high
  14079. tower and left dangling inches from the ground at the end of two pieces of
  14080. elastic...)
  14081. =========================================================================
  14082. Date:         Tue, 19 Jul 1994 02:43:55 -0400
  14083. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14084. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14085. From:         Boris Levitin <boris@WORLD.STD.COM>
  14086. Subject:      Re: AppleScript 1.0 -> 1.1?!
  14087.  
  14088. "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM> asks:
  14089.  
  14090. >What the heck is FaceSpan and FrontMost, BTW?
  14091.  
  14092. An interface building package for AppleScript, very roughly equivalent to
  14093. Microsoft Excel's Dialog Editor (except that you can get the latter's
  14094. functionality by a lot of laborious coding without having it, not the case
  14095. with FaceSpan). Distributed by Apple with the commercial AS kits.
  14096.  
  14097. Boris Levitin                                  WGBH Public Broadcasting, Boston
  14098.                                    boris@world.std.com * boris_levitin@wgbh.org
  14099.               I produced this message and am solely responsible for its content
  14100. =========================================================================
  14101. Date:         Tue, 19 Jul 1994 09:57:18 -0500
  14102. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14103. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14104. From:         Jason Buberel <jbuberel@UIUC.EDU>
  14105. Subject:      Re> Installation problems; TCP/IP link?
  14106.  
  14107. Tom,
  14108.  
  14109. 1.  With AppleScript 1.0, you need the extension Apple Event Manager.  Under
  14110. AS 1.1, the function of the Apple Event Manager was folded into the
  14111. AppleScript extension.
  14112.  
  14113. 2.  There is such an addition, called Script Daemon.  Ask around about it,
  14114. since I haven't actually used it.  You can send applescript commands over a
  14115. tcp network.  Sound cool, eh?
  14116.  
  14117. -jason
  14118. =============================================================
  14119. Jason L. Buberel   -=-  Graduate Student  -=-  Neuroscience Program
  14120. University of Illinois  -=-  jbuberel@uiuc.edu  -=-  217.244.0115
  14121. =============================================================
  14122.  
  14123.  ------ From: Macintosh Scripting Systems, Tue, Jul 19, 1994 ------
  14124.  
  14125. One easy query; one not so easy.
  14126.  
  14127. 1. I've tried installing AppleScript 1.0 on my home IIsi (running 7.1); I
  14128. put the AS Extension in the Extensions folder together with the Scripting
  14129. Additions folder from my work machine, and Script Editor 1.0. When I try
  14130. and launch Script Editor or run a script, I get a message about the
  14131. scripting system not being properly installed. What else do I need? To
  14132. avoid cluttering up the list with a newbie question, please respond to me
  14133. directly on this one.
  14134.  
  14135. 2. I'm trying to link 4th Dimension with a unix box over an Internet link.
  14136. At the moment it's calling 4D Client on my machine, which has some TCP
  14137. externals installed. A more satisfactory solution would be if there was a
  14138. small app or AS addition that converted TCP to AppleScript, which could
  14139. interrogate the server directly. Any suggestions?
  14140.  
  14141.  
  14142.  
  14143.  
  14144. -------------------------------------------------------------------------
  14145. Owen Watson, The Royal Society of NZ, PO Box 598, Wellington, New Zealand
  14146. Internet watson.o@rsnz.govt.nz  Ph: +64 4 472 7421 Fax: +64 4 473 1841
  14147. =========================================================================
  14148. Date:         Tue, 19 Jul 1994 11:11:06 EST
  14149. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14150. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14151. From:         "Klaus P. Fechner" <klaus@SPARKY.RAD.MED.UMICH.EDU>
  14152. Subject:      Re: AppleScript 1.0 -> 1.1?!
  14153.  
  14154. >>The installer included in the images does allow a custom installation of
  14155. >>the Applescript software though. All of the disk images are necessary for
  14156. >>the complete AS installation.
  14157. >
  14158. >I beg to disagree.  When I did it, it only used disk 1 (with the Installer
  14159. >on it) and Disk 4.
  14160.  
  14161. Well, when I did just the custom AS install on my Q650, I didn't get the
  14162. new script editor from disk 2, and since it is compressed there was no way
  14163. to get it other than doing a complete install and throwing away the stuff I
  14164. didn't need.
  14165.  
  14166. Klaus
  14167.  
  14168. ------------------------------------------------------------------------
  14169. Klaus P. Fechner<klaus@sparky.rad.med.umich.edu> VAMC Palo Alto, CA, USA
  14170. =========================================================================
  14171. Date:         Tue, 19 Jul 1994 09:43:49 -0800
  14172. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14173. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14174. From:         Leonard Rosenthol <leonardr@NETCOM.COM>
  14175. Subject:      Re: Some questions
  14176.  
  14177. The first external version of "Bungie" was 7.1.1 which shipped with the
  14178. PowerBook Assistant software, 7.1.2 shipped with PowerTalk and 7.1.3 is the
  14179. current build which is what comes with System 7.5.
  14180.  
  14181.  
  14182. Leonard
  14183.  
  14184. -----------------------------------------------------------------------------
  14185. Leonard Rosenthol                       Internet:       leonardr@netcom.com
  14186. Director of Advanced Technology         AppleLink:      MACgician
  14187. Aladdin Systems, Inc.                   GEnie:          MACgician
  14188. =========================================================================
  14189. Date:         Tue, 19 Jul 1994 13:37:17 -0400
  14190. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14191. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14192. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  14193. Subject:      Re: Some questions
  14194. In-Reply-To:  <no.id> from "Leonard Rosenthol" at Jul 19, 94 09:43:49 am
  14195.  
  14196. --Leonard Rosenthol wrote:
  14197. >
  14198. >The first external version of "Bungie" was 7.1.1 which shipped with the
  14199. >PowerBook Assistant software, 7.1.2 shipped with PowerTalk and 7.1.3 is the
  14200. >current build which is what comes with System 7.5.
  14201.  
  14202.     This thread just keep going, doesn't it?
  14203.  
  14204.     The version of System 7 Pro that I bought from our campus store 4
  14205. months ago installed Finder 7.1.3 onto my Powerbook.
  14206.  
  14207. -Hades
  14208. =========================================================================
  14209. Date:         Tue, 19 Jul 1994 10:40:02 -0700
  14210. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14211. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14212. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  14213. Subject:      Fun with Versions
  14214.  
  14215. According to "AppleScript Finder Guide", this script
  14216.  
  14217. tell application "Finder"
  14218.     product version
  14219. end tell
  14220.  
  14221. returns "A string which describes the version of system software running on
  14222. the same computer as the Finder."
  14223.  
  14224. I am running (on my 8100), System 7.1.2 (and Finder 7.1.4).  And the script
  14225. returns "7.1.3".
  14226.  
  14227. This could be a result of the fact that I'm also running System Update 3.0.
  14228. It's probably NOT the average of Finder and System versions.
  14229.  
  14230. On the other hand, this script:
  14231.  
  14232. tell application "Finder"
  14233.     version
  14234. end tell
  14235.  
  14236. returns "A string that describes the version of the Finder Scripting
  14237. Extension or, for versions of Finder scripting software that don't require
  14238. this extension, the version of the Finder file in the active System
  14239. Folder."
  14240.  
  14241. I get (correctly) "1.1".  Given that Finder Scripting Extension never
  14242. reaches a version 7.x (fairly safe), this should be a hack which can test
  14243. whether there is a separate scripting extension running (but why would one
  14244. care?).
  14245.  
  14246.    --JOhn
  14247.  
  14248. --
  14249. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  14250. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  14251. =========================================================================
  14252. Date:         Tue, 19 Jul 1994 14:01:21 -0400
  14253. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14254. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14255. From:         Bob Hassinger <HASSINGER@MERLIN.LMIG.COM>
  14256. Subject:      Yet another which package is which question...
  14257.  
  14258. Hi all,
  14259.  
  14260. I am new to the list and have been watching the traffic for the last few weeks,
  14261. getting ready to buy an AppleScript package for learning and development work.
  14262. I have been trying to understand the available options, but I am still not
  14263. quite clear.
  14264.  
  14265. I see that APDA lists "AppleScript Software Development Toolkit V1.1" at $199.
  14266. I also see listings in the mail order catalogs typically saying something like
  14267. "AppleScript", at around $150.
  14268.  
  14269. Are these the same package?  The mail order vendors I have asked so far don't
  14270. seem to know.  If not, how do they differ and what are the factors in picking
  14271. one over the other?  What do you get with one that you don't get with the
  14272. other?
  14273.  
  14274. Is there anything else I should consider instead?
  14275.  
  14276. Thanks,
  14277.  
  14278. Bob Hassinger
  14279. hassinger@merlin.lmig.com
  14280.  
  14281. Liberty Mutual Research Center
  14282. 71 Frankland Road
  14283. Hopkinton, MA 01748
  14284.  
  14285. 508-435-9061 x234
  14286. =========================================================================
  14287. Date:         Tue, 19 Jul 1994 12:03:29 -0700
  14288. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14289. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14290. From:         Kevin Purcell <xenolith@HALCYON.COM>
  14291. Subject:      Re: Some questions
  14292.  
  14293. >--Leonard Rosenthol wrote:
  14294. >>
  14295. >>The first external version of "Bungie" was 7.1.1 which shipped with the
  14296. >>PowerBook Assistant software, 7.1.2 shipped with PowerTalk and 7.1.3 is the
  14297. >>current build which is what comes with System 7.5.
  14298. >
  14299. >    This thread just keep going, doesn't it?
  14300. >
  14301. >    The version of System 7 Pro that I bought from our campus store 4
  14302. >months ago installed Finder 7.1.3 onto my Powerbook.
  14303. >
  14304. >-Hades
  14305.  
  14306. It'll never die!
  14307.  
  14308. I have two systems on my PowerMac 8100:
  14309.  
  14310. System 7.5b2c4 has Finder 7.1.4 -- I installed it yesterday and made no changes.
  14311.  
  14312. System 7.1.2 (no Powertalk) has 7.1.4 too (which suprised me so I checked
  14313. with Resoucerer and it really has that in the vers resource).
  14314.  
  14315. So here'a a little table
  14316.  
  14317. System 7.5b2            Finder 7.1.4
  14318. System 7.1.2            Finder 7.1.4
  14319. System 7.1.1  (pro)     Finder 7.1.3
  14320. System 7.1              Finder 7.1
  14321.  
  14322. Kevin Purcell, N7WIM / G8UDP  Are you a Mac developer? Live close to Seattle?
  14323. xenolith@halcyon.com          We need you in the dBug Mac Dev SIG. email me!
  14324. (206) 649-6489                "Organising programmers is like herding cats"
  14325. =========================================================================
  14326. Date:         Tue, 19 Jul 1994 12:38:25 -0700
  14327. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14328. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14329. From:         Kevin Purcell <xenolith@HALCYON.COM>
  14330. Subject:      Re: Fun with Versions
  14331.  
  14332. >According to "AppleScript Finder Guide", this script
  14333. >
  14334. >tell application "Finder"
  14335. >    product version
  14336. >end tell
  14337. >
  14338. >returns "A string which describes the version of system software running on
  14339. >the same computer as the Finder."
  14340. >
  14341. >I am running (on my 8100), System 7.1.2 (and Finder 7.1.4).  And the script
  14342. >returns "7.1.3".
  14343. >
  14344.  
  14345. On System 7.5b2 on my 8100 this script returns "7.5b2".
  14346.  
  14347. Perhaps they'll fix this before they ship!
  14348.  
  14349. asking for the version returns "1.1"
  14350.  
  14351.  
  14352. Kevin Purcell, N7WIM / G8UDP  Are you a Mac developer? Live close to Seattle?
  14353. xenolith@halcyon.com          We need you in the dBug Mac Dev SIG. email me!
  14354. (206) 649-6489                "Organising programmers is like herding cats"
  14355. =========================================================================
  14356. Date:         Tue, 19 Jul 1994 15:51:24 -0500
  14357. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14358. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14359. From:         Nathan Urban <nurban@SYSPLAN.COM>
  14360. Subject:      choose directory
  14361.  
  14362. Is there a "choose directory" dialog box analgous to the "choose file" one?
  14363. And how about "save file" and "new directory" dialog boxes that let you
  14364. enter in a file/directory name to create?
  14365.  
  14366. ------------------------------------------------------------------------------
  14367. Nathan Urban                                   Voice:(703) 351-8489
  14368. System Planning Corporation (SPC)              Fax:  (703) 351-8662
  14369. 1429 North Quincy Street                       E-mail: nurban@sysplan.com
  14370. Arlington, VA  22207                                   nurban@vt.edu
  14371. ----------------------------------------------------------------------------
  14372. --
  14373. =========================================================================
  14374. Date:         Tue, 19 Jul 1994 21:39:32 +0000
  14375. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14376. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14377. From:         Neil Christie <neil@CHRISTIE.DEMON.CO.UK>
  14378. Subject:      Re: Choose Directory
  14379.  
  14380. >Is there a "choose directory" dialog box analgous to the "choose file" one?
  14381. >And how about "save file" and "new directory" dialog boxes that let you
  14382. >enter in a file/directory name to create?
  14383. >
  14384. >---------------------------------------------------------------------------=
  14385. ---
  14386. >Nathan Urban                                   Voice:(703) 351-8489
  14387. >System Planning Corporation (SPC)              Fax:  (703) 351-8662
  14388. >1429 North Quincy Street                       E-mail: nurban@sysplan.com
  14389. >Arlington, VA  22207                                   nurban@vt.edu
  14390. >---------------------------------------------------------------------------=
  14391. -
  14392.  
  14393. I believe you are looking for the choose folder osaxen. It is part of the
  14394. Sweet Suite, which is on the gaea.gks.ukans.edu ftp site as
  14395. SweetSuite.sit.hqx in the following directory: /applescript/osaxen/
  14396.  
  14397. Here is its dictionary:
  14398. The Sweet Suite:
  14399. Copyright =AE 1993 Gerry Davis. All rights reserved.
  14400.  
  14401. choose folder: Choose a folder from a standard file dialog.
  14402.         choose folder
  14403.                 [with prompt  string]  -- optional user prompt
  14404.         Result:   alias  -- chosen folder
  14405.  
  14406. Hope this helps, Neil
  14407.  
  14408. Neil Christie       |Voice/Fax: 031 229 6507
  14409. 14 West Castle Road |E-Mail:    Neil@christie.demon.co.uk
  14410. Edinburgh           |-------------------------------------
  14411. EH10 5AU            |Apple Macintosh Centris 660AV 8/230 CD.
  14412. Scotland            |System 7.1, running PPP on a 14.4K modem
  14413. =========================================================================
  14414. Date:         Tue, 19 Jul 1994 16:43:29 EDT
  14415. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14416. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14417. From:         Shaddar@AOL.COM
  14418. Subject:      Re: Some questions
  14419.  
  14420. Sorry if a little off topic, but this thread is well beyond where it started
  14421. anyway...
  14422.  
  14423. Where did all of you get system 7.5?  Developer's CD's?  I'd like to get  a
  14424. copy.
  14425.  
  14426. Thanks :-)
  14427.  
  14428. ~josh~
  14429. =========================================================================
  14430. Date:         Tue, 19 Jul 1994 14:14:13 PDT
  14431. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14432. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14433. From:         Eric Bowman <bobo@REED.EDU>
  14434. Subject:      Time Idle via AppleEvents?
  14435.  
  14436. A few weeks ago there was some discussion about some piece of software
  14437. which would allow one to determine how long a mac has been idle via AEs.
  14438. I never saw what this was, though; hunting around gaea turned up nothing.
  14439.  
  14440. Thanks,
  14441. bobo@reed.edu
  14442. =========================================================================
  14443. Date:         Tue, 19 Jul 1994 21:24:48 +0000
  14444. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14445. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14446. From:         Borre Ludvigsen <borrel@DHHALDEN.NO>
  14447. Subject:      Re: Applescripting Serial Port
  14448. In-Reply-To:  <"alfie.uib..941:07.06.94.13.40.38"@uib.no>
  14449.  
  14450. Thanks for all the suggestions for scripting the serial port. There
  14451. was also the added ingredient of wanting it controlled through HTTP (a
  14452. Web server). Simply described, I wanted to control pan & tilt of a
  14453. small video camera that was sending CU-SeeMe video through a WWW
  14454. server page by clicking buttons.
  14455.  
  14456. The result was:
  14457.  
  14458. 1. Click a button on a WEB-server page
  14459. 2. The server activates a script that sends a message (up, down, left,
  14460.    right) to a SuperCard stack that's also used for direct control
  14461.    from the screen if I want.
  14462. 3. The SuperCard  stack is a standalone with the HyperCard aete
  14463.    grafted in along with the HyperCard serial control XCMD's.
  14464. 4. The pan and tilt control is done with the Mini Board 2.0 and 2 9V
  14465.    LEGO motors on a Technic kit.
  14466.  
  14467. There's a picture at:
  14468.          http://www.ludvigsen.dhhalden.no/webdoc/video.html#pt
  14469.  
  14470. If anyone wants to see the SuperCard stack, you're welcome. The script
  14471. is not so good, I have to refresh the whole web page each time because
  14472. it returns 2 characters, "et" and I don't know why.
  14473.  
  14474. - Barre
  14475.  
  14476.  ----------------------------------------------------------------------
  14477.    Barre Ludvigsen - Ostfold Regional College- N-1750 HALDEN - Norway
  14478.  ----------------------------------------------------------------------
  14479.  vox:+4769185400/home+4769341922/direct+4769185577ext219fax:+4769185485
  14480.  ----------------------------------------------------------------------
  14481.    <A HREF="http://www.ludvigsen.dhhalden.no/"> Come and visit! </A>
  14482. =========================================================================
  14483. Date:         Tue, 19 Jul 1994 15:52:59 -0700
  14484. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14485. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14486. From:         Kevin Purcell <xenolith@HALCYON.COM>
  14487. Subject:      Re: Some questions
  14488.  
  14489. >Sorry if a little off topic, but this thread is well beyond where it started
  14490. >anyway...
  14491. >
  14492. >Where did all of you get system 7.5?  Developer's CD's?  I'd like to get  a
  14493. >copy.
  14494. >
  14495. >Thanks :-)
  14496. >
  14497. >~josh~
  14498.  
  14499. I presume we all attended the WWDC conference, because its on the WWDC CD.
  14500. Otherwise I guess some people are officially on the beta program.
  14501.  
  14502.  
  14503. Kevin Purcell, N7WIM / G8UDP  Are you a Mac developer? Live close to Seattle?
  14504. xenolith@halcyon.com          We need you in the dBug Mac Dev SIG. email me!
  14505. (206) 649-6489                "Organising programmers is like herding cats"
  14506. =========================================================================
  14507. Date:         Tue, 19 Jul 1994 15:59:58 -0800
  14508. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14509. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14510. From:         Robert Mark <rmark@ISDMNL.WR.USGS.GOV>
  14511. Subject:      Re: Some questions
  14512.  
  14513. >>Sorry if a little off topic, but this thread is well beyond where it started
  14514. >>anyway...
  14515. >>
  14516. >>Where did all of you get system 7.5?  Developer's CD's?  I'd like to get  a
  14517. >>copy.
  14518. >>
  14519. >>Thanks :-)
  14520. >>
  14521. >>~josh~
  14522. >
  14523. >I presume we all attended the WWDC conference, because its on the WWDC CD.
  14524. >Otherwise I guess some people are officially on the beta program.
  14525. >
  14526.  
  14527. The WWCD was sent with the last (July) Developer's CD.
  14528.  
  14529. Bob Mark
  14530.  
  14531. Robert Mark                           rmark@isdmnl.wr.usgs.gov
  14532. US Geological Survey                  415-329-4917
  14533. 345 Middlefield Road  MS-975          415-329-4936 FAX
  14534. Menlo Park, CA 94025
  14535. =========================================================================
  14536. Date:         Tue, 19 Jul 1994 17:45:37 -0700
  14537. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14538. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14539. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  14540. Subject:      Typing Saver
  14541.  
  14542. Tired of typing:
  14543.  
  14544. tell app "Finder"
  14545.  
  14546. end tell
  14547.  
  14548. and then filling in the "stuff" in the script, while experimenting with Find=
  14549. er?
  14550.  
  14551. Although Script Editor isn't scriptable, try this:
  14552.  
  14553. 1. Save the above script skeleton with a convenient name and place.
  14554. 2. Using Finder (or a script) make the skeleton a Stationery document.
  14555. 3. Create a script like this (using the right name and location...recording
  14556. will help):
  14557.  
  14558. tell application "Finder"
  14559.     open file "Finder Hack" of folder "AppleScript=81 Utilities" of startup =
  14560. disk
  14561. end tell
  14562.  
  14563.  
  14564. 4. Save that script as a script in the OSA Menu folder for Script Editor.
  14565. 5. Run the script when you need a fresh window containing the skeleton.
  14566.  
  14567. or...double click on the stationery.
  14568.  
  14569. ----
  14570. The process should work for any script skeleton you need frequently.
  14571.  
  14572.    --John (=81 is trademark)
  14573.  
  14574. --
  14575. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  14576. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  14577. =========================================================================
  14578. Date:         Wed, 20 Jul 1994 02:55:33 -0400
  14579. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14580. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14581. From:         Barry Chern <bchern@FREENET.COLUMBUS.OH.US>
  14582. Subject:      Re: AppleScript 1.0 -> 1.1?!
  14583.  
  14584. (speaking of AppleScript installation from the PlainTalk for PowerMac disks.)
  14585.  
  14586. One thing I didn't seem to be able to get out of this, was there appeared
  14587. to be a new version of the Scriptable Text Editor on the disks somewhere,
  14588. but it never got installed on my drive anywhere that I could find. And I
  14589. have no idea what format those installer files are in or if there's any
  14590. way of manually decompressing one file. Anyone have any idea?
  14591. =========================================================================
  14592. Date:         Wed, 20 Jul 1994 05:22:05 -0400
  14593. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14594. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14595. From:         =?iso-8859-1?Q?Andr=E9?= Hermelink <andreh@KNOWARE.NL>
  14596. Subject:      copy to clipboard
  14597.  
  14598. Hi scripters,
  14599. Can anyone tell (explain to) me how I can copy items (text, picture) with
  14600. AppleScript from an application to the clipboard??
  14601.  
  14602. Thanx, Andr=E9.
  14603. =========================================================================
  14604. Date:         Wed, 20 Jul 1994 12:30:32 +0000
  14605. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14606. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14607. From:         Neil Christie <MacScript@CHRISTIE.DEMON.CO.UK>
  14608. Subject:      Re; Copy to clipboard
  14609.  
  14610. By using Jon's Commands available from gaea you can use the command set
  14611. clipboard to followed by some text in quotes or a variable name etc.
  14612.  
  14613. Hope this helps, Neil.
  14614.  
  14615. Neil Christie       |Voice/Fax: 031 229 6507
  14616. 14 West Castle Road |E-Mail:    Neil@christie.demon.co.uk
  14617. Edinburgh           |-------------------------------------
  14618. EH10 5AU            |Apple Macintosh Centris 660AV 8/230 CD.
  14619. Scotland            |System 7.1, running PPP on a 14.4K modem
  14620. =========================================================================
  14621. Date:         Wed, 20 Jul 1994 05:18:40 -0700
  14622. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14623. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14624. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  14625. Subject:      Re: copy to clipboard
  14626.  
  14627. At 05:22 7/20/94 -0400, Andr=E9 Hermelink wrote:
  14628. >Hi scripters,
  14629. >Can anyone tell (explain to) me how I can copy items (text, picture) with
  14630. >AppleScript from an application to the clipboard??
  14631.  
  14632. =46irst, you need an application which supports copying to the clipboard via
  14633. Apple events (or various 3rd party hacks).  For example, scriptable text
  14634. editor.
  14635.  
  14636. Second, you need to remember that the "clipboard" (that is, the System
  14637. Scrap) belongs to the frontmost application (and the user).
  14638.  
  14639. Then, you need code something like this (which puts the word "This" onto
  14640. the clipboard):
  14641.  
  14642. tell application "Scriptable Text Editor"
  14643.     make new document
  14644.     set selection to "This is a test"
  14645.     select first word of document 1
  14646.     activate  -- this puts the app in front so it can affect the clipboard
  14647.     copy
  14648.     close document 1 saving no
  14649. end tell
  14650.  
  14651. -------------
  14652. Most of the time, there are other ways of moving data about, and the
  14653. clipboard contents should be left alone.  Think of yourself as the user.
  14654. [Sometimes, indeed, you as user really want the script to change your
  14655. clipboard.]
  14656.  
  14657.    --John
  14658.  
  14659. --
  14660. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  14661. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  14662. =========================================================================
  14663. Date:         Wed, 20 Jul 1994 16:22:17 +0000
  14664. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14665. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14666. From:         Neil Christie <neil@CHRISTIE.DEMON.CO.UK>
  14667. Subject:      Re: Copy to clipboard
  14668.  
  14669. I just remebered another way to do this, bu using the autotype osax, you
  14670. can then use "autotype "c" holding "command"". This can also be used for
  14671. paste, select all, etc, i.e anything that has a keyboard shortcut.
  14672.  
  14673. This osax by James Davis is well worth registering. (It's on gaea I think).
  14674.  
  14675. Hope this helps too, Neil.
  14676.  
  14677. Neil Christie       |Voice/Fax: 031 229 6507
  14678. 14 West Castle Road |E-Mail:    Neil@christie.demon.co.uk
  14679. Edinburgh           |-------------------------------------
  14680. EH10 5AU            |Apple Macintosh Centris 660AV 8/230 CD.
  14681. Scotland            |System 7.1, running PPP on a 14.4K modem
  14682.  
  14683. Neil Christie       |Voice/Fax: 031 229 6507
  14684. 14 West Castle Road |E-Mail:    Neil@christie.demon.co.uk
  14685. Edinburgh           |-------------------------------------
  14686. EH10 5AU            |Apple Macintosh Centris 660AV 8/230 CD.
  14687. Scotland            |System 7.1, running PPP on a 14.4K modem
  14688. =========================================================================
  14689. Date:         Wed, 20 Jul 1994 11:40:52 -0500
  14690. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14691. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14692. From:         Fred Terry <pfterry@LKS.CSI.COM>
  14693. Subject:      Re: TCP & MACSCRPT
  14694. In-Reply-To:  Your message of "Sat, 16 Jul 94 12:29:54 +0700"
  14695.  
  14696. Todd,
  14697.  
  14698. >Someone mentioned a script (and presumably a matching OSAX) to
  14699. >do TCP/IP. Is this freely available?
  14700.  
  14701. I think you might be looking for
  14702.  
  14703. ftp://gaea.kgs.ukans.edu/applescript/osaxen/tcpip.osax.hqx
  14704.  
  14705. >On another topic, is it common for people to post huge files to
  14706. >the list, not to mention unrelated employment ads? Some of us out
  14707. >here pay by the byte. I've spent $50 on net access in the last
  14708. >week due to a number of huge mail items from various sources. I've
  14709. >found the digest useful, but the last one still cost me a couple
  14710. >of dollars!
  14711.  
  14712. Well, let me take a stab at this one, and I'll just post it to the list since
  14713. it affects everyone. First of all, users are not supposed to send large files
  14714. through the list, and normally they don't. When someone wants to distribute
  14715. something to the list, they should put it in the incoming directory on
  14716. gaea.kgs.ukans.edu and let me know that it's there. I merge it with the rest
  14717. of the AppleScript/Frontier/Nisu/QuicKeys directories and let everyone on the
  14718. lists know.
  14719.  
  14720. But last week was a little different. We had trouble with one of the sites,
  14721. and it sent the delivery stats for two messages back into the list. We're
  14722. still looking for the cause.
  14723.  
  14724. Second, it is a matter of netiquette that you don't post off-topic stuff to a
  14725. mailing list. In particular, companies should not post advertisements or job
  14726. openings to mailing lists or newsgroups. There are specific newsgroups for
  14727. this stuff, and that's where it belongs. At the risk of being a fuddy-duddy,
  14728. I'll say that I don't want to see any more job openings posted to this list. I
  14729. won't "get over it" as the poster seemed to think. Andy and I are in agreement
  14730. about this, and my inclination is to blow away the offender's account. This
  14731. list is "un-moderated" (that is, Andy and I don't approve and then post each
  14732. message) so everyone can participate freely, and I'd like to keep it that way.
  14733. This does require that we all follow some basic guidelines.
  14734.  
  14735. Enough flammage.
  14736.  
  14737. pf
  14738.  
  14739.  
  14740. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  14741. Fred Terry, The Alta Group, pfterry@lks.csi.com, +1 913/841-1283
  14742. =========================================================================
  14743. Date:         Thu, 21 Jul 1994 10:14:00 +1200
  14744. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14745. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14746. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  14747.               NZ" <LDO@WAIKATO.AC.NZ>
  14748. Subject:      Re: Some questions
  14749.  
  14750. >>>Sorry if a little off topic, but this thread is well beyond where it started
  14751. >>>anyway...
  14752. >>>
  14753. >>>Where did all of you get system 7.5?  Developer's CD's?  I'd like to get  a
  14754. >>>copy.
  14755. >>
  14756. >>I presume we all attended the WWDC conference, because its on the WWDC CD.
  14757. >>Otherwise I guess some people are officially on the beta program.
  14758. >>
  14759. >
  14760. >The WWCD was sent with the last (July) Developer's CD.
  14761.  
  14762. Have you noticed, that CD that was sent out is marked "Partners & Associates
  14763. Edition". The main difference seems to be it's missing the OpenDoc sample
  14764. code that is on the version that conference attendees got. Thankfully, the
  14765. 7.5 beta is still there.
  14766.  
  14767. Lawrence "How much further off the topic can you get" D'Oliveiro
  14768. =========================================================================
  14769. Date:         Wed, 20 Jul 1994 15:30:18 -0800
  14770. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14771. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14772. From:         Kee Nethery +1 510 843 6140 <kee@KAGI.COM>
  14773. Subject:      Re: HyperCard 2.2 AppleScript limits?
  14774.  
  14775. >On Sat, 4 Jun 1994, Kee Nethery +1 510 843 6140 wrote:
  14776. >
  14777. >> I seem to be reaching some kind of limit in the HyperCard script editor
  14778. >> when using AppleScript. I have a script with around 7077 characters. Add a
  14779. >> word and the script fails to save. It passes the check syntax but fails to
  14780. >> save. If I delete a line it saves.
  14781. >
  14782. >I wasn't aware of the ability to control AppleScript from HyperCard. How
  14783. >is this done, and what documentation can you refer me too.
  14784. >
  14785. >Thanks for any info,
  14786. >
  14787. >Jeremy
  14788.  
  14789. Don't remember if I replied to you so just in case I did not, HyperCard 2.2
  14790. comes with AppleScript documentation. Basically you open a script, select
  14791. the scripting language (AppleScript, HyperTalk, QuicKeys, Frontier, etc)
  14792. and then script in that language.
  14793.  
  14794. Kee Nethery
  14795.  
  14796. _________________________________________________________________
  14797. Kagi Engineering, 1442-A Walnut #362, Berkeley, CA 94709-1405 USA
  14798. =========================================================================
  14799. Date:         Wed, 20 Jul 1994 15:58:54 -0800
  14800. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14801. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14802. From:         "Klaus P. Fechner" <klaus@SPARKY.RAD.MED.UMICH.EDU>
  14803. Subject:      Re: AppleScript 1.0 -> 1.1?!
  14804.  
  14805. >(speaking of AppleScript installation from the PlainTalk for PowerMac disks.)
  14806. >
  14807. >One thing I didn't seem to be able to get out of this, was there appeared
  14808. >to be a new version of the Scriptable Text Editor on the disks somewhere,
  14809. >but it never got installed on my drive anywhere that I could find. And I
  14810. >have no idea what format those installer files are in or if there's any
  14811. >way of manually decompressing one file. Anyone have any idea?
  14812.  
  14813. You need to run a custom full install of everything (I haven't looked
  14814. inside the script, but I think it gets installed along with the speech
  14815. recognition stuff, which doesn't get installed by default unless you have
  14816. an AV mac). Then throw away the unnecessary stuff. That's how I got it onto
  14817. my Q650.
  14818.  
  14819. Klaus
  14820.  
  14821. ------------------------------------------------------------------------
  14822. Klaus P. Fechner<klaus@sparky.rad.med.umich.edu> VAMC Palo Alto, CA, USA
  14823. =========================================================================
  14824. Date:         Wed, 20 Jul 1994 21:20:07 -0700
  14825. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14826. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14827. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  14828. Subject:      Re: Time Idle via AppleEvents?
  14829.  
  14830. At 14:14 7/19/94 -0700, Eric Bowman wrote:
  14831. >A few weeks ago there was some discussion about some piece of software
  14832. >which would allow one to determine how long a mac has been idle via AEs.
  14833. >I never saw what this was, though; hunting around gaea turned up nothing.
  14834. >
  14835.  
  14836. I have emailed a small UserLand addon to Eric.  It is an Extension (ugh!)
  14837. which installs a Gestalt selector (yea!) which returns the number of ticks
  14838. (60ths of a second) the machine has been idle.
  14839.  
  14840. The readme for the package says it is in the Frontier Extras 12/92
  14841. package...that is on gaea as the 800+ K file
  14842.  
  14843. gaea.kgs.ukans.edu:frontier/FromUserland/Extras12.92.hqx
  14844.  
  14845. If anyone needs this without the rest of the extras, ask me (I would have
  14846. to check with UserLand before posting the separate package to gaea).
  14847. [According to the readme, idle is defined as no keystroke, disk insertion,
  14848. mouse click or mouse movement, but serial port activity and such are not
  14849. (per the readme) checked.
  14850.  
  14851. If you have the Scriptable Finder, this can be called with something like this
  14852.  
  14853. tell application "Finder"
  14854.     set timeIdle to computer "idle"  -- ticks idle
  14855. end tell
  14856.  
  14857. It can be used with Jons Commands, also:
  14858.  
  14859.     set timeIdle to machine environment "idle"
  14860.  
  14861. --John
  14862.  
  14863. --
  14864. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  14865. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  14866. =========================================================================
  14867. Date:         Wed, 20 Jul 1994 23:01:03 EDT
  14868. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14869. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14870. From:         Shaddar@AOL.COM
  14871. Subject:      Grabbing the last word of a file reference in AS
  14872.  
  14873. Sorry if this is stupid but I've tried many different ways of wording this
  14874. and looked up but can't figure it out.  I'm sure I'm missing something
  14875. obvious...
  14876.  
  14877. I'm trying to get the file reference to a folder.  I have a reference to a
  14878. file whithin the folder.  How can I grab all but the last word of the file
  14879. reference (leaving me with the folder reference)?
  14880.  
  14881. P.S. I do *not* have the Scriptable Finder yet.
  14882.  
  14883. Thanks!
  14884.  
  14885. ~josh~
  14886. =========================================================================
  14887. Date:         Thu, 21 Jul 1994 11:33:04 +0000
  14888. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14889. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14890. From:         WalrathW <walrathw@RFERL.ORG>
  14891. Subject:      Re: HyperCard 2.2 AppleScript limits?
  14892.  
  14893. >
  14894. >
  14895. _______________________________________________________________________________
  14896. > From: Macintosh Scripting Systems on 21 Jul, 1994 1:44
  14897. > Subject: Re: HyperCard 2.2 AppleScript limits?
  14898. > To: Multiple recipients of list MACSCRPT
  14899. >
  14900. > >On Sat, 4 Jun 1994, Kee Nethery +1 510 843 6140 wrote:
  14901. > >
  14902. > >> I seem to be reaching some kind of limit in the HyperCard script
  14903. > editor
  14904. > >> when using AppleScript. I have a script with around 7077 characters.
  14905. > Add a
  14906. > >> word and the script fails to save. It passes the check syntax but
  14907. > fails to
  14908. > >> save. If I delete a line it saves.
  14909. > >
  14910. > >I wasn't aware of the ability to control AppleScript from HyperCard.
  14911. > How
  14912. > >is this done, and what documentation can you refer me too.
  14913. > >
  14914. > >Thanks for any info,
  14915. > >
  14916. > >Jeremy
  14917. >
  14918. > Don't remember if I replied to you so just in case I did not, HyperCard
  14919. > 2.2
  14920. > comes with AppleScript documentation. Basically you open a script,
  14921. > select
  14922. > the scripting language (AppleScript, HyperTalk, QuicKeys, Frontier, etc)
  14923. > and then script in that language.
  14924. >
  14925. > Kee Nethery
  14926.  
  14927. On a related note, I threw together a little stack last week to send AEs to
  14928. another app, and after an hour of trying, I could not get values out of a card
  14929. field from an AS handler. I gave up finally and just used a HyperTalk script to
  14930. get  and set the values, then sent them to an AS handler for the
  14931. communications. I looked through all the example stacks which come with 2.2 and
  14932. couldn't find any code there for doing it either. Anyone have experience with
  14933. this?
  14934.  
  14935. Anyone on this list going to MacWorld Boston? Should we meet for a seafood
  14936. dinner somewhere before the show starts? I've got a couple days to kill and
  14937. don't know what to do with myself.
  14938.  
  14939. -wayne
  14940. =========================================================================
  14941. Date:         Thu, 21 Jul 1994 07:20:05 -0400
  14942. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14943. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14944. From:         Bill Innanen <wgi@APLCOMM.JHUAPL.EDU>
  14945. Subject:      ScriptWizard 1.0 request
  14946.  
  14947. Could someone with  ScriptWizard 1.0 and time to do a short experiment
  14948. please drop me a private e-mail?  I've run into a problem with it, and I'd
  14949. like to see if it's me or SW.  If it turns out to be SW, I'll post a
  14950. description to the list.
  14951.  
  14952. Thanks,
  14953. Bill
  14954.  
  14955. --
  14956. Bill Innanen             (Internet) wgi@aplcomm.jhuapl.edu
  14957. #include <stdDisclaimers.h>   /* Unless otherwise noted */
  14958. =========================================================================
  14959. Date:         Thu, 21 Jul 1994 09:51:04 -0400
  14960. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14961. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14962. From:         "George R. Brown" <gbrown@PARTECH.COM>
  14963. Subject:      Generic (versionless) tell application?
  14964.  
  14965. Is there a way to give a wild card to the tell command to effectively
  14966. ignore the version of the application, e.g. tell application "XYZ*"?  I've
  14967. tried the wild card but it prompts for the application.  It'd be nice for
  14968. it to use the first one it found that matched the wild card specification.
  14969.  
  14970. George Brown                    Voice: 315-738-0600x250
  14971. 8383 Seneca Turnpike            FAX: 315-738-8304
  14972. New Hartford, NY  13413-4991    e-mail: george@partech.com
  14973. =========================================================================
  14974. Date:         Thu, 21 Jul 1994 09:55:05 -0400
  14975. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14976. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  14977. From:         "Andy J. Williams" <ack@COOS.DARTMOUTH.EDU>
  14978. Subject:      Re: Sorry for the broadcast
  14979. In-Reply-To:  <no.id> from "Steve Riggins" at Jul 16, 94 08:45:01 am
  14980.  
  14981. Steve Riggins hath writ:
  14982. >
  14983. > How do I get off of this mailing list?  I tried sending unsubscribe to the
  14984. > listserv, but it told me that it really didn't know who I was and to bugger
  14985. > off.  It said that I might be part of another list being served to this
  14986. > list.
  14987.  
  14988. If you have problems with the listserv software, contact
  14989. "Macscript-request@dartmouth.edu"
  14990.  
  14991. -A
  14992.  
  14993. --
  14994. Andy J. Williams (AndyJW@dartmouth.edu)
  14995. Manager, Computer Resource Center, Dartmouth College
  14996.  
  14997. "Doing strange things in the name of art..."
  14998. =========================================================================
  14999. Date:         Thu, 21 Jul 1994 10:17:34 -0400
  15000. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15001. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15002. From:         "George R. Brown" <gbrown@PARTECH.COM>
  15003. Subject:      Problem with Eudora cast
  15004.  
  15005.   I'm having a problem with an AS segment from "Mail to Peter".  I have the
  15006. following AS segment and it won't compile.  See the marked section of code
  15007. (the second cast double bracket).  Any clues?  I'm stumped...
  15008. ---------------------------
  15009. on aliasToMonster(theAlias)
  15010.         set parID to =ABevent sysoCAST=BB (theAlias as =ABclass fss=BB) give=
  15011. n
  15012.                                                    ^ expected class name
  15013.                                                      but found "=AB"
  15014.                      =ABclass FROM=BB:3, =ABclass SIZE=BB:4, =ABclass TO=BB:=
  15015. "long"
  15016.         set saveDelimiters to AppleScript's text item delimiters
  15017.         set AppleScript's text item delimiters to {":"}
  15018.         set vName to text item 1 of (theAlias as string)
  15019.         set fName to text item -1 of (theAlias as string)
  15020.         set AppleScript's text item delimiters to saveDelimiters
  15021.         return ":" & vName & ":" & parID & ":" & fName & ":"
  15022. end aliasToMonster
  15023.  
  15024. George Brown                    Voice: 315-738-0600x250
  15025. 8383 Seneca Turnpike            FAX: 315-738-8304
  15026. New Hartford, NY  13413-4991    e-mail: george@partech.com
  15027. =========================================================================
  15028. Date:         Thu, 21 Jul 1994 10:34:24 -0400
  15029. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15030. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15031. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  15032. Subject:      Re: Grabbing the last word of a file reference in AS
  15033. In-Reply-To:  <no.id> from "Shaddar@aol.com" at Jul 20, 94 11:01:03 pm
  15034.  
  15035. --Shaddar@aol.com wrote:
  15036. >
  15037. >Sorry if this is stupid but I've tried many different ways of wording this
  15038. >and looked up but can't figure it out.  I'm sure I'm missing something
  15039. >obvious...
  15040. >
  15041. >I'm trying to get the file reference to a folder.  I have a reference to a
  15042. >file whithin the folder.  How can I grab all but the last word of the file
  15043. >reference (leaving me with the folder reference)?
  15044.  
  15045.     Well, as long as the reference looks like this: "HD:Folder:File"
  15046. there is a fairly easy way to do what you want. Take a look at this
  15047. script...
  15048.  
  15049. set thePath to "Ghost:Development:AppleScript Utilities:Script Editor"
  15050. set oldDelimiters to AppleScript's text item delimiters
  15051. set AppleScript's text item delimiters to {":"}
  15052. set theFolder to (text items 1 thru ((count text items of thePath) - 1) \
  15053.         of thePath as text) & ":"
  15054. set AppleScript's text item delimiters to oldDelimiters
  15055. theFolder
  15056.  
  15057.     This will set theFolder to the the folder of the file reference. The
  15058. "\" character is my line continuation character.
  15059.  
  15060. -Hades
  15061. =========================================================================
  15062. Date:         Thu, 21 Jul 1994 09:48:08 -0500
  15063. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15064. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15065. From:         Fred Terry <pfterry@LKS.CSI.COM>
  15066. Subject:      New versions of Apple osaxen
  15067.  
  15068. Bruce Brinson was kind enough to pull the new versions of the Read/Write
  15069. Commands, Display Dialog, and Run Script from AppleLink. Supposedly, these fix
  15070. problems with the PowerMacs. You'll find them in
  15071.  
  15072. ftp://gaea.kgs.ukans.edu/applescript/osaxen/New_Apple_osaxen.sit.hqx
  15073.  
  15074. Thanks, Bruce.
  15075.  
  15076. Enjoy.
  15077.  
  15078. pf
  15079.  
  15080.  
  15081. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  15082. Fred Terry, The Alta Group, pfterry@lks.csi.com, +1 913/841-1283
  15083. =========================================================================
  15084. Date:         Thu, 21 Jul 1994 09:53:09 -0500
  15085. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15086. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15087. From:         Jason Buberel <jbuberel@UIUC.EDU>
  15088. Subject:      Re> ScriptWizard 1.0 request
  15089.  
  15090. Bill,
  15091.  
  15092. Despite the fact that you may be running into some problems with script
  15093. wizard, what is your overall impression of the product?  I have just placed
  15094. an order for it, since it was at an introductory price of just $45.  Although
  15095. once the shipment comes in, I would be glad to experiment for you.  Are there
  15096. some caveats to its use?  Some great benefits?
  15097.  
  15098. thanks,
  15099.  
  15100. jason
  15101.  
  15102.  
  15103. =============================================================
  15104. Jason L. Buberel   -=-  Graduate Student  -=-  Neuroscience Program
  15105. University of Illinois  -=-  jbuberel@uiuc.edu  -=-  217.244.0115
  15106. =============================================================
  15107.  
  15108.  ------ From: Macintosh Scripting Systems, Thu, Jul 21, 1994 ------
  15109.  
  15110. Could someone with  ScriptWizard 1.0 and time to do a short experiment
  15111. please drop me a private e-mail?  I've run into a problem with it, and I'd
  15112. like to see if it's me or SW.  If it turns out to be SW, I'll post a
  15113. description to the list.
  15114.  
  15115. Thanks,
  15116. Bill
  15117.  
  15118. --
  15119. Bill Innanen             (Internet) wgi@aplcomm.jhuapl.edu
  15120. #include <stdDisclaimers.h>   /* Unless otherwise noted */
  15121. =========================================================================
  15122. Date:         Thu, 21 Jul 1994 07:58:30 -0700
  15123. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15124. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15125. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  15126. Subject:      Re: HyperCard 2.2 AppleScript limits?
  15127.  
  15128. >On a related note, I threw together a little stack last week to send AEs to
  15129. >another app, and after an hour of trying, I could not get values out of a card
  15130. >field from an AS handler.
  15131.  
  15132. on mouseUp
  15133.     set window "Message" to card field "Test"
  15134. end mouseUp
  15135.  
  15136.  
  15137. works for me (as a button script, in this test).  --John
  15138.  
  15139. --
  15140. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  15141. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  15142. =========================================================================
  15143. Date:         Thu, 21 Jul 1994 08:07:13 -0700
  15144. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15145. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15146. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  15147. Subject:      Re: Problem with Eudora cast
  15148.  
  15149. >  I'm having a problem with an AS segment from "Mail to Peter".  I have the
  15150. >following AS segment and it won't compile.  See the marked section of code
  15151. >(the second cast double bracket).  Any clues?  I'm stumped...
  15152. >---------------------------
  15153. >on aliasToMonster(theAlias)
  15154. >        set parID to =ABevent sysoCAST=BB (theAlias as =ABclass fss=BB) giv=
  15155. en
  15156. >                                                   ^ expected class name
  15157. >                                                     but found "=AB"
  15158. >                     =ABclass FROM=BB:3, =ABclass SIZE=BB:4, =ABclass TO=BB=
  15159. :"long"
  15160. >        set saveDelimiters to AppleScript's text item delimiters
  15161. >        set AppleScript's text item delimiters to {":"}
  15162. >        set vName to text item 1 of (theAlias as string)
  15163. >        set fName to text item -1 of (theAlias as string)
  15164. >        set AppleScript's text item delimiters to saveDelimiters
  15165. >        return ":" & vName & ":" & parID & ":" & fName & ":"
  15166. >end aliasToMonster
  15167. >
  15168.  
  15169. Hi, George...
  15170.    Class names are 4 characters.  In this smaller test (I haven't tried your=
  15171. s),
  15172.  
  15173.  class of =ABclass fss=BB
  15174.  
  15175. fails to compile, whilst
  15176.  
  15177.  class of =ABclass fss =BB
  15178.  
  15179. is fine.  (You'll probably have to adjust the =ABclass TO=BB in the next lin=
  15180. e,
  15181. also.)
  15182.   --John
  15183.  
  15184. --
  15185. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  15186. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  15187. =========================================================================
  15188. Date:         Thu, 21 Jul 1994 11:13:06 -0400
  15189. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15190. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15191. From:         "Steven L. Rohall" <slrohall@TASC.COM>
  15192. Subject:      Re: Grabbing the last word of a file reference in AS
  15193.  
  15194. >>I'm trying to get the file reference to a folder.  I have a reference to a
  15195. >>file whithin the folder.  How can I grab all but the last word of the file
  15196. >>reference (leaving me with the folder reference)?
  15197. >
  15198. >    Well, as long as the reference looks like this: "HD:Folder:File"
  15199. >there is a fairly easy way to do what you want. Take a look at this
  15200. >script...
  15201. >
  15202. >set thePath to "Ghost:Development:AppleScript Utilities:Script Editor"
  15203. >set oldDelimiters to AppleScript's text item delimiters
  15204. >set AppleScript's text item delimiters to {":"}
  15205. *>set theFolder to (text items 1 thru ((count text items of thePath) - 1)
  15206. of thePath as text) & ":"
  15207. >set AppleScript's text item delimiters to oldDelimiters
  15208. >theFolder
  15209.  
  15210. Actually, the *'d line could be made somewhat simpler:
  15211.  
  15212. set theFolder to (text items 1 thru -2 of thePath as text) & ":"
  15213.  
  15214.                         -Steve.
  15215. =========================================================================
  15216. Date:         Thu, 21 Jul 1994 11:17:54 -0400
  15217. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15218. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15219. From:         Bill Innanen <wgi@APLCOMM.JHUAPL.EDU>
  15220. Subject:      ScriptWizard 1.0 glitch
  15221.  
  15222. In an earlier post today, I alluded to a problem with ScriptWizard 1.0.
  15223. Thanks to Lee Hoong I now have a confirmation of it on a completely
  15224. separate system.  Thus for your amusement and edification, here are the
  15225. details.  Below, find my note to Full Moon Software describing the problem,
  15226. their response, my note to Lee requesting his experiment, and his results.
  15227.  
  15228. Bill
  15229. --------------------------------------------------------------------------
  15230. >Full Moon Software Support,
  15231. >
  15232. >I am having a very strange problem with your product ScriptWizard 1.0,
  15233. >which I received just 3 days ago.  I've isolated the problem down to a
  15234. >point to where I understand *what* is happening, but I still have now idea
  15235. >of why, or more to the point, how to get rid of it.
  15236. >
  15237. >I am running ScriptWizard on a PowerMac 8100/80, with a fairly full list
  15238. >of system extensions.  I first noticed a problem with ScriptWizard when I
  15239. >tried to open a dictionary on an AppleScript aware program.  I chose the
  15240. >"Open Dictionary..." command and got the usual GetFile dialog.  When I
  15241. >attempted to change directory levels I got a "swap disk" dialog asking
  15242. >that I put in an optical disk ("Develop") which had not been in since the
  15243. >last restart.  On pressing the cancel button I got a repeat of the dialog.
  15244. >Cancel again, and I got a request for "More Applications," another
  15245. >optical that had not been used.  I eventually gave up and force quit
  15246. >ScriptWizard.  An investigation proved that the problem went away if I
  15247. >removed all extensions except the AppleScript related extensions.
  15248. >
  15249. >I continued hunting for the rogue extension and eventually narrowed it
  15250. >down to QuickTime 1.6.2.  During the course of this testing I accidently
  15251. >found that if I canceled the swap disk dialog 24 times it would go away
  15252. >and stay away, until I changed directory levels again.  Also this only
  15253. >happened if I tried to switch into my "Applications" folder.  Most other
  15254. >directory levels did not exhibit this problem although one, "AppleScript
  15255. >=9F" always generated one request.  Suddenly inspiration struck, and I
  15256. >counted the number of aliases (all to "Develop" or "More Applications") in
  15257. >the Applications folder.  There were 24.  There is one alias in
  15258. >"AppleScript =9F."
  15259. >
  15260. >This problem does not occur when I use ScriptWizard to open a text file,
  15261. >only a dictionary.  I've tried replacing the QT extension with a fresh
  15262. >copy, but the problem persists.  Do you have any idea what is going on?
  15263. >Now that I have a rough idea of what to expect the problem is no longer
  15264. >"fatal," but it is extremely annoying.
  15265. >
  15266. >Any help or advice would be appreciated.
  15267. >
  15268. >Bill
  15269. --------------------------------------------------------------------------
  15270. >Thank you for your problem report. This is not one we have "on file"
  15271. >as a known problem, so it has been passed to engineering. We are working
  15272. >on the next release of SW right now, and we'll endeavour to find out
  15273. >what is going wrong and solve the problem for you.
  15274. >
  15275. >
  15276. >best regards, Steph
  15277. --------------------------------------------------------------------------
  15278. >Lee,
  15279. >
  15280. >Thanks for offering to help.  I hope you have QuickTime 1.6.2, because that
  15281. >is a part of the "problem."  I should have mentioned it in the post, but
  15282. >forgot.  If you don't have it, let me know and I'll send you a copy.  Below
  15283. >is the message I sent to Full Moon software and their response.  As you can
  15284. >see it wasn't very helpful.  What I'd like to know is if it my system that
  15285. >is doing this to me or a flaw in ScriptWizard.  If you would, please create
  15286. >a folder and put some aliases to unmounted disks (floppies, perhaps) in it.
  15287. >Then, in ScriptWizard, use the "Open Dictionary..." menu choice and
  15288. >navigate into that folder to see what happens.
  15289. >
  15290. >Please let me know your results.
  15291. >
  15292. >Bill
  15293. --------------------------------------------------------------------------
  15294. >Bill,
  15295. >
  15296. >I have been able to reproduce your problem (I have QT 1.6.1) with one
  15297. >variation: I get prompted to insert the unmounted volume (in this case a
  15298. >Bernoulli) regardless of whether or not QT is loaded!  In addition, if you
  15299. >have aliases for machines across a network (as I do) your Mac will also
  15300. >attempt to re-connect.  Arrgh!
  15301. >
  15302. >BTW, I'm running sys. 7.1, Finder 7.1.3 (with the Finder Scripting
  15303. >Extension) on a Centris 650.  The machine is hooked up to an ethernet
  15304. >network.
  15305. >
  15306. >Lee.
  15307. >
  15308. >Lee K. Hoong
  15309. >Emory University
  15310. >Atlanta, GA 30322
  15311. >Internet: lhoong@emoryu1.cc.emory.edu
  15312. >AOL: LHOONG
  15313. >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
  15314. =3D
  15315. >Opinions and comments expressed are mine; I do not represent Emory
  15316. >University.
  15317. --------------------------------------------------------------------------
  15318.  
  15319. --
  15320. Bill Innanen             (Internet) wgi@aplcomm.jhuapl.edu
  15321. #include <stdDisclaimers.h>   /* Unless otherwise noted */
  15322. =========================================================================
  15323. Date:         Thu, 21 Jul 1994 10:50:14 -0600
  15324. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15325. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15326. From:         Alex Sirota <adapple@APPLE.COM>
  15327. Subject:      QuickKeys OSA language question (Jump command)
  15328.  
  15329. Hello scripters!
  15330.  
  15331. Problem with QuickKeys OSA language. The following script based on the fact
  15332. that Unlock Key Chain... or Lock Key Chain is under the Special menu should
  15333. select that menu and execute the appropriate commands. Instead, at the first
  15334. Jump command this script just waits. When I select Lock Key Chain under the
  15335. Special menu it then just continues with the next Wait command.
  15336.  
  15337. Has anyone used the Jump command successfully in QuickKeys OSA language?
  15338.  
  15339. BTW I am using the ellipses for the menu item names, but have written them
  15340. with three periods for readability. I have also tried different amount of
  15341. steps for the jump command without avail.
  15342.  
  15343. Thanks!
  15344.  
  15345. Alex Sirota
  15346.  
  15347. QuicKeys script follows
  15348.  
  15349. Wait Application "PowerTalk Manager" Running
  15350. Menu "Finder" Exactly
  15351. Wait Application "Finder"
  15352. Jump Menu "Special" Item "Lock Key Chain" Exact_Menu Exact_Item Item_Exists
  15353. Steps 5
  15354. Wait Menu "Special" Item "Unlock Key Chain..." Exact_Menu Exact_Item
  15355. Item_Exists
  15356. Menu "Unlock Key Chain..." Exactly From "Special"
  15357. Wait Window Name_Is "" Dialog
  15358. Text "test12\R"
  15359. Jump Menu "Special" Item "Lock Key Chain" Exact_Menu Exact_Item Item_Exists
  15360. Steps 1
  15361. Menu "Lock Key Chain" Exactly From "Special"
  15362. Message "done!"
  15363.  
  15364.  
  15365. ------------------ Enclosed/Nested Letter Follows ------------------
  15366. Hello scripters!
  15367.  
  15368. Problem with QuickKeys OSA language. The following script based on the fact
  15369. that Unlock Key Chain... or Lock Key Chain is under the Special menu should
  15370. select that menu and execute the appropriate commands. Instead, at the first
  15371. Jump command this script just waits. When I select Lock Key Chain under the
  15372. Special menu it then just continues with the next Wait command.
  15373.  
  15374. Has anyone used the Jump command successfully in QuickKeys OSA language?
  15375.  
  15376. BTW I am using the ellipses for the menu item names, but have written them
  15377. with three periods for readability. I have also tried different amount of
  15378. steps for the jump command without avail.
  15379.  
  15380. Thanks!
  15381.  
  15382. Alex Sirota
  15383.  
  15384. script follows
  15385.  
  15386. Wait Application "PowerTalk Manager" Running
  15387. Menu "Finder" Exactly
  15388. Wait Application "Finder"
  15389. Jump Menu "Special" Item "Lock Key Chain" Exact_Menu Exact_Item Item_Exists
  15390. Steps 5
  15391. Wait Menu "Special" Item "Unlock Key Chain..." Exact_Menu Exact_Item
  15392. Item_Exists
  15393. Menu "Unlock Key Chain..." Exactly From "Special"
  15394. Wait Window Name_Is "" Dialog
  15395. Text "test12\R"
  15396. Jump Menu "Special" Item "Lock Key Chain" Exact_Menu Exact_Item Item_Exists
  15397. Steps 1
  15398. Menu "Lock Key Chain" Exactly From "Special"
  15399. Message "done!"
  15400.  
  15401. ------------------ End of Enclosed/Nested Letter ------------------
  15402. _________________________________________________________________________
  15403. --- "Genius is an African that dreams of snow."  - Nabokov
  15404. --- Alex Sirota - adapple@apple.com
  15405. =========================================================================
  15406. Date:         Thu, 21 Jul 1994 11:58:07 -0400
  15407. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15408. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15409. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  15410. Subject:      Re: Grabbing the last word of a file reference in AS
  15411. In-Reply-To:  <no.id> from "Steven L. Rohall" at Jul 21, 94 11:13:06 am
  15412.  
  15413. --Steven L. Rohall wrote:
  15414. >
  15415. >>set thePath to "Ghost:Development:AppleScript Utilities:Script Editor"
  15416. >>set oldDelimiters to AppleScript's text item delimiters
  15417. >>set AppleScript's text item delimiters to {":"}
  15418. >*>set theFolder to (text items 1 thru ((count text items of thePath) - 1)
  15419. >of thePath as text) & ":"
  15420. >>set AppleScript's text item delimiters to oldDelimiters
  15421. >>theFolder
  15422. >
  15423. >Actually, the *'d line could be made somewhat simpler:
  15424. >
  15425. >set theFolder to (text items 1 thru -2 of thePath as text) & ":"
  15426.  
  15427.     Cool! I didn't realize that this would work, but it makes a lot of
  15428. sense given the other uses of the negative referencing.
  15429.  
  15430. -Hades
  15431. =========================================================================
  15432. Date:         Thu, 21 Jul 1994 09:11:59 -0800
  15433. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15434. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15435. From:         Kee Nethery +1 510 843 6140 <kee@KAGI.COM>
  15436. Subject:      Re: HyperCard 2.2 AppleScript limits?
  15437.  
  15438. >On a related note, I threw together a little stack last week to send AEs to
  15439. >another app, and after an hour of trying, I could not get values out of a card
  15440. >field from an AS handler. I gave up finally and just used a HyperTalk script to
  15441. >get  and set the values, then sent them to an AS handler for the
  15442. >communications. I looked through all the example stacks which come with 2.2 and
  15443. >couldn't find any code there for doing it either. Anyone have experience with
  15444. >this?
  15445.  
  15446. AppleScript seems to require everything spelled out, no abbreviations. For
  15447. example:
  15448.  
  15449. copy field "email" to msgadd
  15450. set the hilite of background button "msg1" to true
  15451.  
  15452. Kee Nethery
  15453.  
  15454. _________________________________________________________________
  15455. Kagi Engineering, 1442-A Walnut #362, Berkeley, CA 94709-1405 USA
  15456. =========================================================================
  15457. Date:         Thu, 21 Jul 1994 12:20:16 -0500
  15458. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15459. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15460. From:         Jason Buberel <jbuberel@UIUC.EDU>
  15461. Subject:      Re> ScriptWizard 1.0 glitch
  15462.  
  15463. Here's a guess as to what may be happening:
  15464.  
  15465. When using the regular script editor, the program will, in each directory,
  15466. try to figure out whether or not each file has an aete resource describing
  15467. the apple events it can handle.  When the sfopen file dialog is brought up,
  15468. sc ript wizard is probably checking each file for an aete resource.  Since
  15469. you have aliases to unmounted volumes in those directories, script wizard is
  15470. gonna try and search the resource fork of each of those applications, looking
  15471. for the aete entry.
  15472.  
  15473. This is just a gues, but probably near the truth.
  15474.  
  15475. -jason
  15476.  
  15477. p.s.  not that this will help at all!  :)
  15478. =============================================================
  15479. Jason L. Buberel   -=-  Graduate Student  -=-  Neuroscience Program
  15480. University of Illinois  -=-  jbuberel@uiuc.edu  -=-  217.244.0115
  15481. =============================================================
  15482.  
  15483.  ------ From: Macintosh Scripting Systems, Thu, Jul 21, 1994 ------
  15484.  
  15485. In an earlier post today, I alluded to a problem with ScriptWizard 1.0.
  15486. Thanks to Lee Hoong I now have a confirmation of it on a completely
  15487. separate system.  Thus for your amusement and edification, here are the
  15488. details.  Below, find my note to Full Moon Software describing the problem,
  15489. their response, my note to Lee requesting his experiment, and his results.
  15490.  
  15491. Bill
  15492. --------------------------------------------------------------------------
  15493. >Full Moon Software Support,
  15494. >
  15495. >I am having a very strange problem with your product ScriptWizard 1.0,
  15496. >which I received just 3 days ago.  I've isolated the problem down to a
  15497. >point to where I understand *what* is happening, but I still have now idea
  15498. >of why, or more to the point, how to get rid of it.
  15499. >
  15500. >I am running ScriptWizard on a PowerMac 8100/80, with a fairly full list
  15501. >of system extensions.  I first noticed a problem with ScriptWizard when I
  15502. >tried to open a dictionary on an AppleScript aware program.  I chose the
  15503. >"Open Dictionary..." command and got the usual GetFile dialog.  When I
  15504. >attempted to change directory levels I got a "swap disk" dialog asking
  15505. >that I put in an optical disk ("Develop") which had not been in since the
  15506. >last restart.  On pressing the cancel button I got a repeat of the dialog.
  15507. >Cancel again, and I got a request for "More Applications," another
  15508. >optical that had not been used.  I eventually gave up and force quit
  15509. >ScriptWizard.  An investigation proved that the problem went away if I
  15510. >removed all extensions except the AppleScript related extensions.
  15511. >
  15512. >I continued hunting for the rogue extension and eventually narrowed it
  15513. >down to QuickTime 1.6.2.  During the course of this testing I accidently
  15514. >found that if I canceled the swap disk dialog 24 times it would go away
  15515. >and stay away, until I changed directory levels again.  Also this only
  15516. >happened if I tried to switch into my "Applications" folder.  Most other
  15517. >directory levels did not exhibit this problem although one, "AppleScript
  15518. >=9F" always generated one request.  Suddenly inspiration struck, and I
  15519. >counted the number of aliases (all to "Develop" or "More Applications") in
  15520. >the Applications folder.  There were 24.  There is one alias in
  15521. >"AppleScript =9F."
  15522. >
  15523. >This problem does not occur when I use ScriptWizard to open a text file,
  15524. >only a dictionary.  I've tried replacing the QT extension with a fresh
  15525. >copy, but the problem persists.  Do you have any idea what is going on?
  15526. >Now that I have a rough idea of what to expect the problem is no longer
  15527. >"fatal," but it is extremely annoying.
  15528. >
  15529. >Any help or advice would be appreciated.
  15530. >
  15531. >Bill
  15532. --------------------------------------------------------------------------
  15533. >Thank you for your problem report. This is not one we have "on file"
  15534. >as a known problem, so it has been passed to engineering. We are working
  15535. >on the next release of SW right now, and we'll endeavour to find out
  15536. >what is going wrong and solve the problem for you.
  15537. >
  15538. >
  15539. >best regards, Steph
  15540. --------------------------------------------------------------------------
  15541. >Lee,
  15542. >
  15543. >Thanks for offering to help.  I hope you have QuickTime 1.6.2, because that
  15544. >is a part of the "problem."  I should have mentioned it in the post, but
  15545. >forgot.  If you don't have it, let me know and I'll send you a copy.  Below
  15546. >is the message I sent to Full Moon software and their response.  As you can
  15547. >see it wasn't very helpful.  What I'd like to know is if it my system that
  15548. >is doing this to me or a flaw in ScriptWizard.  If you would, please create
  15549. >a folder and put some aliases to unmounted disks (floppies, perhaps) in it.
  15550. >Then, in ScriptWizard, use the "Open Dictionary..." menu choice and
  15551. >navigate into that folder to see what happens.
  15552. >
  15553. >Please let me know your results.
  15554. >
  15555. >Bill
  15556. --------------------------------------------------------------------------
  15557. >Bill,
  15558. >
  15559. >I have been able to reproduce your problem (I have QT 1.6.1) with one
  15560. >variation: I get prompted to insert the unmounted volume (in this case a
  15561. >Bernoulli) regardless of whether or not QT is loaded!  In addition, if you
  15562. >have aliases for machines across a network (as I do) your Mac will also
  15563. >attempt to re-connect.  Arrgh!
  15564. >
  15565. >BTW, I'm running sys. 7.1, Finder 7.1.3 (with the Finder Scripting
  15566. >Extension) on a Centris 650.  The machine is hooked up to an ethernet
  15567. >network.
  15568. >
  15569. >Lee.
  15570. >
  15571. >Lee K. Hoong
  15572. >Emory University
  15573. >Atlanta, GA 30322
  15574. >Internet: lhoong@emoryu1.cc.emory.edu
  15575. >AOL: LHOONG
  15576. >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
  15577. =3D
  15578. >Opinions and comments expressed are mine; I do not represent Emory
  15579. >University.
  15580. --------------------------------------------------------------------------
  15581.  
  15582. --
  15583. Bill Innanen             (Internet) wgi@aplcomm.jhuapl.edu
  15584. #include <stdDisclaimers.h>   /* Unless otherwise noted */
  15585. =========================================================================
  15586. Date:         Thu, 21 Jul 1994 11:54:50 -0800
  15587. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15588. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15589. From:         "Klaus P. Fechner" <klaus@SPARKY.RAD.MED.UMICH.EDU>
  15590. Subject:      Re: Time Idle via AppleEvents?
  15591.  
  15592. >The readme for the package says it is in the Frontier Extras 12/92
  15593. >package...that is on gaea as the 800+ K file
  15594. >
  15595. >gaea.kgs.ukans.edu:frontier/FromUserland/Extras12.92.hqx
  15596. >
  15597. >If you have the Scriptable Finder, this can be called with something like this
  15598. >
  15599. >tell application "Finder"
  15600. >    set timeIdle to computer "idle"  -- ticks idle
  15601. >end tell
  15602. >
  15603. >It can be used with Jons Commands, also:
  15604. >
  15605. >    set timeIdle to machine environment "idle"
  15606. >
  15607.  
  15608. Can this be used without Frontier?
  15609.  
  15610. ------------------------------------------------------------------------
  15611. Klaus P. Fechner<klaus@sparky.rad.med.umich.edu> VAMC Palo Alto, CA, USA
  15612. =========================================================================
  15613. Date:         Thu, 21 Jul 1994 11:55:55 -0800
  15614. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15615. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15616. From:         "Klaus P. Fechner" <klaus@SPARKY.RAD.MED.UMICH.EDU>
  15617. Subject:      Re: Re> ScriptWizard 1.0 request
  15618.  
  15619. >Despite the fact that you may be running into some problems with script
  15620. >wizard, what is your overall impression of the product?  I have just placed
  15621. >an order for it, since it was at an introductory price of just $45.
  15622.  
  15623. Where or how can one get this offer?
  15624.  
  15625.  
  15626. ------------------------------------------------------------------------
  15627. Klaus P. Fechner<klaus@sparky.rad.med.umich.edu> VAMC Palo Alto, CA, USA
  15628. =========================================================================
  15629. Date:         Thu, 21 Jul 1994 12:04:35 PDT
  15630. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15631. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15632. From:         Dave Wise <Dave_Wise@COLOS.PIXAR.COM>
  15633. Subject:      OwnerMachineNames
  15634.  
  15635. (COLOSSAL)PICTURES
  15636.                             interoffice memo     7/21/94        -
  15637.                                                                   11:54 AM
  15638.  regarding:OwnerMachineNames
  15639. Does any one know how to get the owner name and machine name from a remote
  15640. mounted volume? I know I can get that information from choose application
  15641. but I would like to get it from some other method that doesn't require end
  15642. user interaction.
  15643. =========================================================================
  15644. Date:         Thu, 21 Jul 1994 15:51:28 -0400
  15645. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15646. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15647. From:         Pete 'Happy' Thomas <gt5139c@PRISM.GATECH.EDU>
  15648. Subject:      Re: AS 1.1
  15649.  
  15650. Is there an AS release more recent than that that comes with Sys 7 Pro?
  15651. I've got too scripts (one with KeyQuencer and another that I found on the
  15652. net) that came that they are too new for the "scripting component."
  15653.  
  15654. I can't find the proper upgrade.
  15655.  
  15656. --Pete
  15657.  
  15658. -----
  15659.   Peter L. Thomas, Graduate Research Assistant--GTRI
  15660.   Internet Mail Address:   gt5139c@prism.gatech.edu
  15661.   Postal:  35139 Georgia Tech Station/Atlanta, GA  30332-5139
  15662.   Phone: (H) (404)881-8302, (O) (404)894-7223
  15663.   Internet Talk/Finger Requests:  Pete@demmers.gatech.edu
  15664.   PGP Public Key: available from MIT PGP key server and others
  15665. =========================================================================
  15666. Date:         Thu, 21 Jul 1994 12:54:11 -0800
  15667. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15668. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15669. From:         "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  15670. Subject:      July == 7, June == 6, etc
  15671.  
  15672. Got a problem: I'm trying to make it as easy as possible to convert back
  15673. and forth between a numerical format for months (1, 2, 3 ... 12) and an
  15674. alphabetic format for months ("January", "February", "March" ...
  15675. "December).
  15676.  
  15677. I can do this as a list (
  15678. {{name:"January",num:1},{name:"February",num:2}...{name:"December",num:12}}
  15679. ) and then just move through it, but I'm hoping AppleScript has something
  15680. built in to handle this.
  15681.  
  15682. any suggestions?
  15683.  
  15684. -roy
  15685.  
  15686. Roy S. Rapoport -- rsr@mail.berksys.com -- rsr@berksys.com
  15687. 510-540-5535 ext. 280
  15688. "It Wasn't Me"
  15689. =========================================================================
  15690. Date:         Thu, 21 Jul 1994 15:02:42 -0500
  15691. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15692. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15693. From:         Jason Buberel <jbuberel@UIUC.EDU>
  15694. Subject:      Re: ScriptWizard 1.0 request
  15695.  
  15696. Klaus,
  15697.  
  15698. I saw a posting concerning the release of the software on some news group
  15699. (clari.nb.apple or maybe comp.sys.mac.announce), that gave an e-mail address.
  15700.  I sent them a message, and they faxed me an order form for their
  15701. introduction promotion.  The price was only $45.  I just filled out the form
  15702. and faxed it right back to them.  Of course, right now I cannot find that
  15703. e-mail address or fax number, but anyone who already has a copy probably
  15704. could.  The offer was due to expire near august first, if I remember
  15705. correctly.
  15706.  
  15707. hopes this helps a bit.
  15708. =============================================================
  15709. Jason L. Buberel   -=-  Graduate Student  -=-  Neuroscience Program
  15710. University of Illinois  -=-  jbuberel@uiuc.edu  -=-  217.244.0115
  15711. =============================================================
  15712.  
  15713.  ------ From: Macintosh Scripting Systems, Thu, Jul 21, 1994 ------
  15714.  
  15715. >Despite the fact that you may be running into some problems with script
  15716. >wizard, what is your overall impression of the product?  I have just placed
  15717. >an order for it, since it was at an introductory price of just $45.
  15718.  
  15719. Where or how can one get this offer?
  15720.  
  15721.  
  15722. ------------------------------------------------------------------------
  15723. Klaus P. Fechner<klaus@sparky.rad.med.umich.edu> VAMC Palo Alto, CA, USA
  15724. =========================================================================
  15725. Date:         Thu, 21 Jul 1994 15:19:13 -0600
  15726. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15727. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15728. From:         "Andy Cemelli [remote]" <ANDYC@WORDPERFECT.COM>
  15729. Subject:      Re: Fun with Versions -Reply
  15730.  
  15731. I tried this on my system which is a Q800 running 7.1.1 but on another
  15732. drive i have 7.5 (it was actually disconnected too) and guess what I
  15733. got?  7.5b2!  Perhaps it's checking the desktop file? or something
  15734. else?
  15735.  
  15736. >>> Kevin Purcell <xenolith@HALCYON.COM> - 7/19/94 12:38 PM >>>
  15737. >According to "AppleScript Finder Guide", this script
  15738. >
  15739. >tell application "Finder"
  15740. >    product version
  15741. >end tell
  15742. >
  15743. >returns "A string which describes the version of system software
  15744. running on
  15745. >the same computer as the Finder."
  15746. >
  15747. >I am running (on my 8100), System 7.1.2 (and Finder 7.1.4).  And the
  15748. script
  15749. >returns "7.1.3".
  15750. >
  15751.  
  15752. On System 7.5b2 on my 8100 this script returns "7.5b2".
  15753.  
  15754. Perhaps they'll fix this before they ship!
  15755.  
  15756. asking for the version returns "1.1"
  15757.  
  15758.  
  15759. Kevin Purcell, N7WIM / G8UDP  Are you a Mac developer? Live close to
  15760. Seattle? xenolith@halcyon.com          We need you in the dBug Mac
  15761. Dev SIG. email me!
  15762. (206) 649-6489                "Organising programmers is like herding
  15763. cats"
  15764. =========================================================================
  15765. Date:         Thu, 21 Jul 1994 15:48:58 -0600
  15766. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15767. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15768. From:         "Andy Cemelli [remote]" <ANDYC@WORDPERFECT.COM>
  15769. Subject:      Re: Time Idle via AppleEvents? -Reply
  15770.  
  15771. I got an error - "the finder got an error: an error of type -5515
  15772. occurred..." anyone know why? i've got AS 1.1
  15773.  
  15774. >>> John W. Baxter <jwbaxter@OLYMPUS.NET> - 7/20/94 9:20 PM >>>
  15775.  
  15776. tell application "Finder"
  15777.     set timeIdle to computer "idle"  -- ticks idle end tell
  15778. =========================================================================
  15779. Date:         Thu, 21 Jul 1994 13:30:56 -0800
  15780. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15781. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15782. From:         "Klaus P. Fechner" <klaus@SPARKY.RAD.MED.UMICH.EDU>
  15783. Subject:      Re: ScriptWizard 1.0 request
  15784.  
  15785. >I saw a posting concerning the release of the software on some news group
  15786. >(clari.nb.apple or maybe comp.sys.mac.announce), that gave an e-mail address.
  15787. > I sent them a message, and they faxed me an order form for their
  15788. >introduction promotion.  The price was only $45.  I just filled out the form
  15789. >and faxed it right back to them.  Of course, right now I cannot find that
  15790. >e-mail address or fax number, but anyone who already has a copy probably
  15791. >could.  The offer was due to expire near august first, if I remember
  15792. >correctly.
  15793.  
  15794. As usual, I could have answered my own question:
  15795.  
  15796. There is a demo and an info text file on gaea in the demo directory:
  15797.  
  15798. ftp://gaea.kgs.ukans.edu/applescript/demos/ScriptWizard_Info.txt
  15799. ftp://gaea.kgs.ukans.edu/applescript/demos/ScriptWiz.Demo.sit.hqx
  15800.  
  15801. The text file contains all the info you were referring to.
  15802.  
  15803. Thanks for stirring my subconscious memory :-)
  15804.  
  15805. Klaus
  15806.  
  15807. ------------------------------------------------------------------------
  15808. Klaus P. Fechner<klaus@sparky.rad.med.umich.edu> VAMC Palo Alto, CA, USA
  15809. =========================================================================
  15810. Date:         Fri, 22 Jul 1994 09:43:00 +1200
  15811. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15812. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15813. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  15814.               NZ" <LDO@WAIKATO.AC.NZ>
  15815. Subject:      Re: QuickKeys OSA language question (Jump command)
  15816.  
  15817. Alex Sirota asks:
  15818.  
  15819. >Has anyone used the Jump command successfully in QuickKeys OSA language?
  15820.  
  15821. No! At least, it's never worked for me, no matter what kind of conditions I
  15822. try. I posted a simple example script in the CE support area on AppleLink, and
  15823. they acknowledged it as a bug.
  15824.  
  15825. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  15826. Info & Tech Services Division              fax: +64-7-838-4066
  15827. University of Waikato            electric mail: ldo@waikato.ac.nz
  15828. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  15829. =========================================================================
  15830. Date:         Thu, 21 Jul 1994 15:00:02 -0800
  15831. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15832. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15833. From:         Steve Holden <sholden@COD.NOSC.MIL>
  15834. Subject:      walk folders skip every other one
  15835.  
  15836. Hello!
  15837.  
  15838. This script, skips every other file in a folder.  Any idea why?
  15839. The folder is dropped on the application script. This is with
  15840. the scriptable Finder.
  15841.  
  15842. <<< start script >>>
  15843.  
  15844. script foo
  15845.         on open (theFile)
  15846.                 tell application "Finder"
  15847.                         activate
  15848.                         delete theFile
  15849.                 end tell
  15850.                 return
  15851.         end open
  15852. end script
  15853.  
  15854. on open (theFiles)
  15855.         walk folders theFiles with script foo
  15856. end open
  15857.  
  15858. <<< end script >>>
  15859.  
  15860. Thanks!
  15861.  
  15862. Steve
  15863.  
  15864.  
  15865. ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
  15866. ><   Steven D. Holden, Macintosh System/Applications Engineer,  ><
  15867. >< SAIC -> NRaD -> Project ICER, sholden@nosc.mil, 619.553.6750 ><
  15868. ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
  15869. ><     Disclaimer: Opinions expressed are my own and do not     ><
  15870. ><  necessarily reflect those of my employer or the government  ><
  15871. ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
  15872. =========================================================================
  15873. Date:         Fri, 22 Jul 1994 10:12:00 +1200
  15874. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15875. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15876. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  15877.               NZ" <LDO@WAIKATO.AC.NZ>
  15878. Subject:      Re: walk folders skip every other one
  15879.  
  15880. Steve Holden <sholden@COD.NOSC.MIL> asks:
  15881.  
  15882. >This script, skips every other file in a folder.  Any idea why?
  15883.  
  15884. >script foo
  15885. >       on open (theFile)
  15886. >                tell application "Finder"
  15887. >                        activate
  15888. >                        delete theFile
  15889. >                end tell
  15890. >                return
  15891. >        end open
  15892. >end script
  15893. >
  15894. >on open (theFiles)
  15895. >        walk folders theFiles with script foo
  15896. >end open
  15897.  
  15898. Elementary programming error #251. Here's what happens (the arrow indicates
  15899. the current position):
  15900.  
  15901. Initially,
  15902.  
  15903.     -> file1
  15904.        file2
  15905.        file3
  15906.  
  15907. After deletion,
  15908.  
  15909.     -> file2
  15910.        file3
  15911.  
  15912. After stepping to the next file,
  15913.  
  15914.        file2
  15915.     -> file3
  15916.  
  15917. thus file2 is skipped!
  15918.  
  15919. It appears that "walk" function is not designed to cope with an action that
  15920. makes changes to the list. My recommendation is, your "foo" action script should
  15921. just build a list of filespecs, then you should scan this list and delete the
  15922. files as a separate step after the walk.
  15923.  
  15924. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  15925. Info & Tech Services Division              fax: +64-7-838-4066
  15926. University of Waikato            electric mail: ldo@waikato.ac.nz
  15927. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  15928. =========================================================================
  15929. Date:         Thu, 21 Jul 1994 17:16:27 -0500
  15930. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15931. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15932. From:         Jeffrey Haas <jeff@NICNEXT.LIFE.UIUC.EDU>
  15933. Subject:      AppleScript & AOCE
  15934.  
  15935. I'm looking for a way to copy a message from an AOCE mailbox to a folder and
  15936. then delete the message.
  15937.  
  15938. I've tried using Finder Liason and recording a script under 7.5.
  15939. Finder Liaison says that it can't access the message, in various forms of the
  15940. script that I've tried.
  15941.  
  15942. The recorded script looks like this.
  15943. Tell application "Finder"
  15944.         Copy item "message name" of item "In Tray for Jeffrey Haas" of item
  15945.  
  15946.         "Jeffrey Haas" To "Finder Shortcuts"
  15947. end tell
  15948.  
  15949. Any ideas as to directions to be persued would be greatly appreciated.
  15950. Thanks.
  15951.  
  15952. --jeff
  15953. =========================================================================
  15954. Date:         Thu, 21 Jul 1994 16:13:11 -0700
  15955. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15956. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15957. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  15958. Subject:      Re: Time Idle via AppleEvents?
  15959.  
  15960. >>The readme for the package says it is in the Frontier Extras 12/92
  15961. >>package...that is on gaea as the 800+ K file
  15962. >>
  15963. >>gaea.kgs.ukans.edu:frontier/FromUserland/Extras12.92.hqx
  15964. >>
  15965. >>If you have the Scriptable Finder, this can be called with something like this
  15966. >>
  15967. >>tell application "Finder"
  15968. >>    set timeIdle to computer "idle"  -- ticks idle
  15969. >>end tell
  15970. >>
  15971. >>It can be used with Jons Commands, also:
  15972. >>
  15973. >>    set timeIdle to machine environment "idle"
  15974. >>
  15975. >
  15976. >Can this be used without Frontier?
  15977.  
  15978. The Extension (which installs a Gestalt selector) can be used without
  15979. Frontier.  The Frontier verb which is included, of course, cannot.
  15980.  
  15981. And I'd say that probably all of the rest of the Extras12.92.hqx file
  15982. requires Frontier.
  15983.    --John
  15984.  
  15985. --
  15986. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  15987. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  15988. =========================================================================
  15989. Date:         Thu, 21 Jul 1994 16:44:01 -0700
  15990. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15991. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  15992. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  15993. Subject:      Re: Time Idle via AppleEvents? -Reply
  15994.  
  15995. >I got an error - "the finder got an error: an error of type -5515
  15996. >occurred..." anyone know why? i've got AS 1.1
  15997. >
  15998. >>>> John W. Baxter <jwbaxter@OLYMPUS.NET> - 7/20/94 9:20 PM >>>
  15999. >
  16000. >tell application "Finder"
  16001. >    set timeIdle to computer "idle"  -- ticks idle end tell
  16002.  
  16003. The error you got was (almost certainly) -5551, and it means:
  16004.  
  16005. Undefined selector was passed to Gestalt (OS error -5551)
  16006.  
  16007. which in turn means that you didn't install the Extension I mentioned in
  16008. the message in which I included that line.  That extension installs the
  16009. Gestalt selector with the code "idle".
  16010.  
  16011.    --John
  16012.  
  16013. --
  16014. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  16015. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  16016. =========================================================================
  16017. Date:         Fri, 22 Jul 1994 00:23:19 +0000
  16018. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16019. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16020. From:         Neil Christie <neil@CHRISTIE.DEMON.CO.UK>
  16021. Subject:      A couple of questions
  16022.  
  16023. If you could help me with the following questions I would greatly
  16024. appreciate your suggestions.
  16025.  
  16026. How can/can I check if AppleTalk is on?
  16027.  
  16028. What's the easiest way to store "preferences" other than in a text document
  16029. using Scriptable Text Editor. Is it through the file IO osax. (Examples for
  16030. this or other methods would be greatly appreciated)
  16031.  
  16032. Display a dialog with part of the text changing, i.e a countdown until an
  16033. event. For example "Script ready to proceed in "10,9,8 etc" seconds" with
  16034. just the number changing. I would rather do it as a countdown than as a
  16035. progress bar through Progress bar. That and displaying different dialog
  16036. boxes each being dismissed through autotype are the only ways I can think
  16037. of.
  16038.  
  16039. Thanks for your time, Neil.
  16040.  
  16041. P.S Sorry about the double signature on my last posting
  16042.  
  16043. Neil Christie       |Voice/Fax: 031 229 6507
  16044. 14 West Castle Road |E-Mail:    Neil@christie.demon.co.uk
  16045. Edinburgh           |-------------------------------------
  16046. EH10 5AU            |Apple Macintosh Centris 660AV 8/230 CD.
  16047. Scotland            |System 7.1, running PPP on a 14.4K modem
  16048. =========================================================================
  16049. Date:         Thu, 21 Jul 1994 18:42:41 -0800
  16050. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16051. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16052. From:         "amtsgi.bc.ca" <spicerj@ISLANDNET.COM>
  16053.  
  16054. UNSUBSCRIBE John Spicer
  16055.  
  16056. ***************************
  16057. *John Spicer -> spicerj@IslandNet.com  *
  16058. *Dragon Electronics**************
  16059. *Programmer for Hire! C/C++/Pascal **
  16060. *Custom Database design***********
  16061. *Custom Hardware designed/tested****
  16062. ***************************
  16063. =========================================================================
  16064. Date:         Thu, 21 Jul 1994 21:19:42 -0500
  16065. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16066. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16067. From:         Charles Wiltgen <cwiltgen@MCS.COM>
  16068. Subject:      Re: Time Idle via AppleEvents?
  16069.  
  16070. >If anyone needs this without the rest of the extras, ask me (I would have
  16071. >to check with UserLand before posting the separate package to gaea).
  16072.  
  16073. I'd really appreciate it if you could send this to me.  I want to set up a
  16074. machine so a MM Director demo will start if the machine's dormant for any
  16075. amount of time.
  16076.  
  16077. Thanks,
  16078.  
  16079.  
  16080. --
  16081. Charles Wiltgen    "Love is a snowmobile racing across the tundra and
  16082. cwiltgen@mcs.com    then suddenly it flips over, pinning you underneath.
  16083. (INTP)              At night, the ice weasels come." - Nietzsche (Groening)
  16084. World Wide Web      http://venus.mcs.net/~cwiltgen/home.html
  16085. =========================================================================
  16086. Date:         Thu, 21 Jul 1994 22:09:45 -0600
  16087. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16088. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16089. From:         Tom Donovan <donovant@NCOOK.K12.IL.US>
  16090. Subject:      Re: ScriptWizard 1.0 request
  16091.  
  16092. Several people have asked about the $45 ScriptWizard offer.  It is from
  16093. Heizer Software (800-888-7667, e-mail: heizersw@aol.com), and according to
  16094. a newsletter I saw, the offer expires 9/1/94.
  16095.  
  16096. --Tom
  16097. =========================================================================
  16098. Date:         Fri, 22 Jul 1994 00:34:59 EDT
  16099. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16100. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16101. From:         Israel Alvarez <Montressor@AOL.COM>
  16102. Subject:      Speech Recognition and AppleScript question
  16103.  
  16104. Howdy all - I'm a new member to the list and extremely happy to have found
  16105. it. Tough finding other folks using AppleScript.
  16106.  
  16107. At any rate, I've recently begun messing with Speech Recognition (SR) on a
  16108. 600av, and have run into a few problems. I'm wondering if anyone else has any
  16109. experience with integrating SR, TTS, and AS. Specifically:
  16110. =========================================================================
  16111. Date:         Fri, 22 Jul 1994 00:36:49 EDT
  16112. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16113. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16114. From:         Israel Alvarez <Montressor@AOL.COM>
  16115. Subject:      AppleScript and Speech Recognition (pt.2)
  16116.  
  16117. Sorry about that last - mail got sent before it was supposed to. Here's the
  16118. rest.
  16119.  
  16120. The biggest problem I've had (besides an absolute lack of documentation) has
  16121. been trying to figure out how to get AppleScript to ask a questyion,
  16122. recognize and evaluate a spoken response, and then branch on the value of the
  16123. response.
  16124.  
  16125. I finally figured out a way around this by using the "Display Dialog"
  16126. scripting addition. Since it returns the name of the button clicked in the
  16127. dialog box, and since SR will automatically "recognize" dialog box buttons as
  16128. valid SR text, I figured I had the problem beaten. Two problems however:
  16129. First it's kind of inelegant, as you wind up having a dialog box on screen,
  16130. even if you just want to ask a "yes" or "no" question. I know that there must
  16131. be a better way, because my 660av does exactly what I'm trying to do every
  16132. time I tell it to shut down (ie: it asks "Are you sure" and waits to hear
  16133. "yes" or "no", at which point it takes appropriate action. The second, larger
  16134. problem is that, for some reason I can't understand, calls to scripting
  16135. additions will work when run from within the Speech Macro Editor or Script
  16136. Editor, but often return a script error when the rules are reloaded and the
  16137. command is spoken. I tested to make sure, and it does process the command
  16138. "beep" (which I thought was also a scripting addition), but not commands in
  16139. other scripting additions. My guess is that the Speech Macro editor will only
  16140. send commands to SR Monitor, which don't become part of the AppleScript
  16141. "hierarchy", or perhaps that many OSAX are incompatible with SR. Why this
  16142. should be so, I have no idea.
  16143.  
  16144. At any rate, I'm wondering if there's a solution, or at least somewhere I
  16145. could get some documentation for how the SR architecture links in with
  16146. AppleScript. I opened up a copy of System Speech Rules with ResEdit and found
  16147. what seem to be built-in commands, but I have no idea how to edit them or add
  16148. new ones. The Dictionary available in the SR Monitor extension is also of
  16149. little help, since it is amazingly vague.
  16150.  
  16151. I figure there *must* be someone out there, maybe at Apple, who knows how
  16152. this stuff works, and they must have written it down at some point. I'd love
  16153. to get my hands on such a document.
  16154.  
  16155. Thanks in advance,
  16156. Israel Alvarez
  16157. Montressor@aol.com
  16158. =========================================================================
  16159. Date:         Fri, 22 Jul 1994 06:39:54 GMT
  16160. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16161. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16162. From:         Christophe Reverd <Christophe_Reverd@EMAIL.FRANCENET.FR>
  16163. Organization: FranceNet
  16164. Subject:      Re: AppleScript Examples ?
  16165.  
  16166. >Thanks very much for the sites! We are going to attempt to automate
  16167. >FileMaker Pro in the next few months for our tests.
  16168. >
  16169. >I am no FileMaker wizard, but one of my coworkers was wondering if the
  16170. >current version of FileMaker supports C-code externals from their scripts.
  16171. >If you have any experience with this, I would appreciate you thoughts.
  16172. >
  16173. >Thanks again. I will definitely check out these sites.
  16174.  
  16175. The current version (v2.1) of FileMaker Pro is able to drive some externals
  16176. via AppleScript or AppleEvents. I'm developing a range of externals for this
  16177. software.
  16178.  
  16179. 1) AppleScript : To do this you have to develop a droplet or an applet. Then
  16180. you should add a menu item in FileMaker Pro. A new item menu called
  16181. "external" (with your item menu in it) will appear at the end of the "script"
  16182. menu. Each time a user select this item menu, FM Pro send an AE to your
  16183. application. Feel free to do whatever you want... Use a C-Code OSAX for
  16184. example. Ask Claris or me for some examples.
  16185.  
  16186. 2) Apple Events : Develop a C-Code Apple Events application aware. Then you
  16187. could drive your application directly from the "send AE (parm1 parm2) or
  16188. (script1 script2)..." command (available from ScriptMaker)
  16189.  
  16190.  
  16191. I know my english isn't always so good. Hope it clears !
  16192.  
  16193. Christophe Reverd
  16194. _________________________________
  16195. French Speakers FM Pro User Group
  16196.  
  16197. cReverd@FranceNet.fr or
  16198. Christophe_Reverd@Email.FranceNet.Fr
  16199. =========================================================================
  16200. Date:         Thu, 21 Jul 1994 22:27:48 -0800
  16201. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16202. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16203. From:         Kee Nethery +1 510 843 6140 <kee@KAGI.COM>
  16204. Subject:      Preferences file example
  16205.  
  16206. >What's the easiest way to store "preferences" other than in a text document
  16207. >using Scriptable Text Editor. Is it through the file IO osax. (Examples for
  16208. >this or other methods would be greatly appreciated)
  16209.  
  16210. yes it is through the file I/O osax. The other thing to do is to use the
  16211. record structure for the information. It lets you grab everything in one
  16212. easy swoop with no parsing and then to use each thing in the record.
  16213.  
  16214. I played with all sorts of stuff and found that to be the easiest.
  16215.  
  16216. The following are parts from an abandoned FrontMost project. I am using <r>
  16217. to indicate that the line has been artificially broken so that it will make
  16218. it through your mailer. You probably cannot just import and compile this
  16219. since it relys upon all the FrontMost project windows and such but it
  16220. should give you the general idea.
  16221.  
  16222. *************************************
  16223.  
  16224. -- This applet like most Mac applications except for HyperCard,
  16225. -- has no memory. To give it a memory (selected files, population
  16226. -- numbers, etc.) I have given it a perferences file named
  16227. -- "Survey Prefs".
  16228.  
  16229. -- prefsdata is the data contained in the prefs file
  16230. property prefsdata : {}
  16231.  
  16232. -- prefsfile is the finder name of the prefs file
  16233. property prefsfile : {"Survey Prefs"}
  16234. set prefsfile to prefsfile as text
  16235.  
  16236. -- prefspath is the path to the prefs file
  16237. property prefspath : {}
  16238. set prefspath to path to preferences folder
  16239. set prefspath to prefspath as string
  16240. set prefspath to prefspath & prefsfile
  16241.  
  16242. -- either opens and reads the prefsdata file or it creates it
  16243. -- and fills in the textbox names with default data
  16244. try
  16245.   set prefsref to open for access file prefspath
  16246.   read prefsref as record
  16247.   set prefsdata to result
  16248.   close access prefsref
  16249. on error
  16250.   set prefsref to open for access file prefspath with write permission
  16251.   -- population is an integer and the value displayed in the
  16252.   -- window is just a copy of the real data. The real data
  16253.   -- remains in the record and is never pulled from the window.
  16254.   set prefsdata to {thetable:"Survey Table", tablepath:"", <r>
  16255.     population:0, address:"", timestamp:"", replyMessage:"This <r>
  16256.     software counts email messages and replies back to the <r>
  16257.     sender with the current count."}
  16258.   set timestamp of prefsdata to current date
  16259.   write prefsdata to prefsref
  16260.   close access prefsref
  16261. end try
  16262.  
  16263. -- My fear is that I'll lose data so ... towards that end I am
  16264. -- saving everything to a data file whenever anything happens
  16265. -- and I am pulling data from the data file when a window is brought
  16266. -- forward.
  16267.  
  16268. -- These routines were the ones that handled the prefs data.
  16269. -- When a window was opened, closed or deactiviated, I did the "right"
  16270. -- thing with the preferences info.
  16271.  
  16272.  
  16273. -- Activated means that the thing becomes the frontmost window.
  16274. on activated theObj
  16275.   copy name of window of theObj to theWindow
  16276.   copy name of theObj to theButton
  16277.   if theWindow = "Status Report" then
  16278.   -- coersion required since "real" population is the record not
  16279.   -- the textbox
  16280.     copy population of prefsdata to populationText
  16281.     set contents of textbox "population" to populationText as text
  16282.  
  16283.     set contents of textbox "address" to address of prefsdata
  16284.     -- coersion required since "real" timestamp is the record not
  16285.     -- the textbox
  16286.     copy timestamp of prefsdata to timestamptext
  16287.     set contents of textbox "timestamp" to timestamptext as text
  16288.     set contents of textbox "replyMessage" to replyMessage of prefsdata
  16289.   else if theWindow = "TableServer" then
  16290.     set contents of textbox "thetable" to thetable of prefsdata
  16291.     set contents of textbox "tablepath" to tablepath of prefsdata
  16292.   end if
  16293.   continue activated theObj
  16294. end activated
  16295.  
  16296. -- Deactivated is when the window is transitioned to a window
  16297. -- position that is not front most.
  16298. on deactivated theObj
  16299.   copy name of window of theObj to theWindow
  16300.   copy name of theObj to theButton
  16301.   if theWindow = "Status Report" then
  16302.     -- contents of textbox "population" is not the real number,
  16303.     -- the record is
  16304.     set address of prefsdata to contents of textbox "address"
  16305.     -- contents of textbox "timestamp" is not the real number,
  16306.     -- the record is
  16307.     set replyMessage of prefsdata to contents of textbox "replyMessage"
  16308.   else if theWindow = "TableServer" then
  16309.     set thetable of prefsdata to contents of textbox "thetable"
  16310.     set tablepath of prefsdata to contents of textbox "tablepath"
  16311.   end if
  16312.   set prefsref to open for access file prefspath with write permission
  16313.   write prefsdata to prefsref
  16314.   close access prefsref
  16315.   continue deactivated theObj
  16316. end deactivated
  16317.  
  16318.  
  16319. -- A window that is closed never becomes deactivated so, I have to
  16320. -- duplicate the saving of data when it is closed. Closed also handles
  16321. -- when the application is quit.
  16322. on close theObj
  16323.   copy name of window of theObj to theWindow
  16324.   if theWindow = "Status Report" then
  16325.     -- contents of textbox "population" is not the real number,
  16326.     -- the record is
  16327.     set address of prefsdata to contents of textbox "address"
  16328.     -- contents of textbox "timestamp" is not the real number,
  16329.     -- the record is
  16330.     set replyMessage of prefsdata to contents of textbox "replyMessage"
  16331.   else if theWindow = "TableServer" then
  16332.     set thetable of prefsdata to contents of textbox "thetable"
  16333.     set tablepath of prefsdata to contents of textbox "tablepath"
  16334.   end if
  16335.   set prefsref to open for access file prefspath with write permission
  16336.   write prefsdata to prefsref
  16337.   close access prefsref
  16338.   continue close theObj
  16339. end close
  16340.  
  16341. *************************************
  16342. Kee Nethery
  16343.  
  16344. _________________________________________________________________
  16345. Kagi Engineering, 1442-A Walnut #362, Berkeley, CA 94709-1405 USA
  16346. =========================================================================
  16347. Date:         Fri, 22 Jul 1994 09:04:31 +0000
  16348. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16349. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16350. From:         Neil Christie <neil@CHRISTIE.DEMON.CO.UK>
  16351. Subject:      MacPPP Control, AfterDark and AE, time idle
  16352.  
  16353. If you could help me with the following questions I would greatly
  16354. appreciate your suggestions.
  16355.  
  16356. Has anyone using MacPPP and the MacPPP control osax successfully used the
  16357. hard close command and if yes how?
  16358.  
  16359. Does anyone know of an Afterdark module or other screen-saverthat can send
  16360. appleevents when activated? This could be used for the problem Charles
  16361. Wiltgen describes where he wants to run a MM Director file after a certain
  16362. period of inactivity something that all screen-savers monitor.
  16363.  
  16364. Thanks for your time, Neil.
  16365.  
  16366. Neil Christie       |Voice/Fax: 031 229 6507
  16367. 14 West Castle Road |E-Mail:    Neil@christie.demon.co.uk
  16368. Edinburgh           |-------------------------------------
  16369. EH10 5AU            |Apple Macintosh Centris 660AV 8/230 CD.
  16370. Scotland            |System 7.1, running PPP on a 14.4K modem
  16371. =========================================================================
  16372. Date:         Fri, 22 Jul 1994 07:03:46 -0400
  16373. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16374. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16375. From:         Bill Innanen <wgi@APLCOMM.JHUAPL.EDU>
  16376. Subject:      Re: ScriptWizard 1.0 request
  16377.  
  16378. Jason Buberel <jbuberel@UIUC.EDU> asked,
  16379.  
  16380. >Despite the fact that you may be running into some problems with script
  16381. >wizard, what is your overall impression of the product?  I have just placed
  16382. >an order for it, since it was at an introductory price of just $45.  Although
  16383. >once the shipment comes in, I would be glad to experiment for you.  Are there
  16384. >some caveats to its use?  Some great benefits?
  16385.  
  16386. I really haven't had time to do much with it.  It seems to do everything
  16387. that the Script Editor does, plus.  (Plus cause no end of grief, so far.)
  16388. The big pluses that I've seen are the debugging features (single step,
  16389. variable watching, etc.) and the extra, built-in dictionaries (Scriptable
  16390. Finder, and System).
  16391.  
  16392. I was just getting set to start using it when this last fiasco hit me and I
  16393. had to spend an entire evening fooling with that instead.  Perhaps others
  16394. who have used it longer will post some impressions.
  16395.  
  16396. Bill
  16397.  
  16398. PS - Sorry about the delayed response.  I'm a digest subscriber.
  16399.  
  16400. --
  16401. Bill Innanen             (Internet) wgi@aplcomm.jhuapl.edu
  16402. #include <stdDisclaimers.h>   /* Unless otherwise noted */
  16403. =========================================================================
  16404. Date:         Fri, 22 Jul 1994 07:15:09 -0400
  16405. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16406. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16407. From:         Bill Innanen <wgi@APLCOMM.JHUAPL.EDU>
  16408. Subject:      Re: Re> ScriptWizard 1.0 request
  16409.  
  16410. "Klaus P. Fechner" <klaus@SPARKY.RAD.MED.UMICH.EDU> writes:
  16411.  
  16412. >>Despite the fact that you may be running into some problems with script
  16413. >>wizard, what is your overall impression of the product?  I have just placed
  16414. >>an order for it, since it was at an introductory price of just $45.
  16415. >
  16416. >Where or how can one get this offer?
  16417.  
  16418. I got mine through Heizer Software.  I don't have the catalog anymore with
  16419. the 800 order number but my receipt gives their address as:
  16420.  
  16421.         Heizer Software
  16422.         POBox 232019,
  16423.         Pleasant Hill, CA 94523
  16424.  
  16425.         Service/Support 510-943-7667
  16426.         FAX 510-943-6882
  16427.  
  16428. Perhaps someone who hasn't pitched the catalog has the number.
  16429.  
  16430. Bill
  16431.  
  16432. PS - Forgive the delayed or redundant response, I'm a digest subscriber.
  16433.  
  16434. --
  16435. Bill Innanen             (Internet) wgi@aplcomm.jhuapl.edu
  16436. #include <stdDisclaimers.h>   /* Unless otherwise noted */
  16437. =========================================================================
  16438. Date:         Fri, 22 Jul 1994 08:51:10 -0500
  16439. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16440. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16441. From:         "Brian C. Forney" <bforney@UMICH.EDU?>>
  16442. Subject:      Notification
  16443. In-Reply-To:  Your message <199407212044.QAA11661@totalrecall.rs.itd.umich.edu>
  16444.               of Thu, 21 Jul 1994 13:30:56 -0800
  16445.  
  16446. Is there an OSAX that will flash the application menu to notify a user?
  16447.  
  16448. Brian FOrney
  16449. bforney@umich.edu
  16450. brian.forney@fallon.com
  16451. =========================================================================
  16452. Date:         Fri, 22 Jul 1994 13:59:27 -0500
  16453. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16454. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16455. From:         Chris Dowling <cdowling@FACSTAFF.WISC.EDU>
  16456. Subject:      Handling dialog box buttons
  16457.  
  16458. Scripters,
  16459. I use the following lines to login to a AppleShare server.  The user is
  16460. "password-less," because I wanted the script to continue without user
  16461. intervention.  Unfortunately, the login dialog box appears.  How can the
  16462. "OK" button be clicked or a return character be sent to this dialog box
  16463. with AppleScript so that the script can continue without user intervention?
  16464.  
  16465.  
  16466. -- Opens a login alias.
  16467. set login to (path to system folder as string) & "USER1"
  16468. tell finderLib to openFiles at {login}
  16469.  
  16470. Thanks,
  16471. Chris
  16472. ~~~~
  16473. Chris Dowling, Manager, SOE Computer Lab,
  16474. 1025 W. Johnson St., Madison, WI  53706, (608) 263-4339
  16475. cdowling@facstaff.wisc.edu
  16476. ~~~~
  16477. =========================================================================
  16478. Date:         Fri, 22 Jul 1994 21:06:39 +0000
  16479. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16480. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16481. From:         Neil Christie <neil@CHRISTIE.DEMON.CO.UK>
  16482. Subject:      Re: Handling dialog box buttons
  16483.  
  16484. Hi,
  16485.  
  16486. I have two suggestions to solve the problem Chris Dowling
  16487. (cdowling@facstaff.wisc.edu) was asking about. One is to use the mount
  16488. volume scripting addition so no dialog box comes up on screen or to get and
  16489. register the autotype osax so that a return can then be sent. If memory
  16490. serves correctly both these files are available from gaea.
  16491.  
  16492. Hope this helps, Neil.
  16493.  
  16494. Neil Christie       |Voice/Fax: 031 229 6507
  16495. 14 West Castle Road |E-Mail:    Neil@christie.demon.co.uk
  16496. Edinburgh           |-------------------------------------
  16497. EH10 5AU            |Apple Macintosh Centris 660AV 8/230 CD.
  16498. Scotland            |System 7.1, running PPP on a 14.4K modem
  16499. =========================================================================
  16500. Date:         Fri, 22 Jul 1994 01:25:05 -0600
  16501. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16502. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16503. From:         "Andy Cemelli [remote]" <ANDYC@WORDPERFECT.COM>
  16504. Subject:      walk folders skip every other one -Reply
  16505.  
  16506. Another solution is to run through the list backwards from item 5 to
  16507. item 4 to item 3 etc...that way regardless of whether folders are
  16508. deleted or not, you're sure that they're in the correct order...
  16509.  
  16510. >>> Steve Holden <sholden@COD.NOSC.MIL> - 7/21/94 4:00 PM >>>
  16511. Hello!
  16512.  
  16513. This script, skips every other file in a folder.  Any idea why?
  16514. The folder is dropped on the application script. This is with the
  16515. scriptable Finder.
  16516.  
  16517. <<< start script >>>
  16518.  
  16519. script foo
  16520.         on open (theFile)
  16521.                 tell application "Finder"
  16522.                         activate
  16523.                         delete theFile
  16524.                 end tell
  16525.                 return
  16526.         end open end script
  16527.  
  16528. on open (theFiles)
  16529.         walk folders theFiles with script foo end open
  16530.  
  16531. <<< end script >>>
  16532.  
  16533. Thanks!
  16534.  
  16535. Steve
  16536.  
  16537.  
  16538. ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
  16539. ><   Steven D. Holden, Macintosh System/Applications Engineer,  ><
  16540. >< SAIC -> NRaD -> Project ICER, sholden@nosc.mil, 619.553.6750 ><
  16541. ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
  16542. ><     Disclaimer: Opinions expressed are my own and do not     ><
  16543. ><  necessarily reflect those of my employer or the government  ><
  16544. ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
  16545. =========================================================================
  16546. Date:         Fri, 22 Jul 1994 15:05:49 PDT
  16547. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16548. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16549. From:         Jonathan Levy <Jonathan_Levy@COLOS.PIXAR.COM>
  16550. Subject:      re-OwnerMachineNames
  16551.  
  16552. (COLOSSAL)PICTURES
  16553.                             interoffice memo     7/21/94        -
  16554.                                                                   11:54 AM
  16555.  regarding:re:OwnerMachineNames
  16556. >Does any one know how to get the owner name and machine name from a >remote
  16557. mounted volume? I know I can get that information from choose >application
  16558. but I would like to get it from some other method that >doesn't require end
  16559. user interaction.
  16560.  
  16561. In light of this thread, when you create an alias the info window on opening
  16562. shows the path to the original. When you open the 'alis' resource in
  16563. resEdit, however, it does not contain that information in a retreivable
  16564. form. My interest in this query is that I would like to be able to refer to
  16565. an Alias located in a folder when searching remote volumes over a network in
  16566. scripts. In this way, if I wanted to include or exclude a volume from my
  16567. search, all I would have to do is add or remove the corresponding alias of
  16568. the volume. Any help out there? Kind regards,
  16569.  
  16570. Jonathan Levy
  16571. jonathan_levy@colossal.com, JonathanHL@aol.com
  16572. =========================================================================
  16573. Date:         Fri, 22 Jul 1994 15:59:53 -1000
  16574. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16575. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16576. From:         Pete Hinely <phinely@UHUNIX.UHCC.HAWAII.EDU>
  16577. Subject:      Hello Everybody
  16578.  
  16579. Greetings everyone,
  16580.   My name is Peter and I'm a microbiology major at the University of
  16581. Hawai'i.  I've been writing AppleScripts for about 2 months now.
  16582. Specifically what I've been working on is an AppleScript interface to the
  16583. public-key encryption program MacPGP which is already AppleScriptable.
  16584.  
  16585. I've been distributing my scripts over the Internet to anyone who's
  16586. interested.  If you're interested in keeping your email or any file
  16587. private, you might want to check out MacPGP and my scripts.
  16588.  
  16589. Peter
  16590. =========================================================================
  16591. Date:         Sat, 23 Jul 1994 09:23:24 -0400
  16592. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16593. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16594. From:         Michael Kerner <mike@PYRITE.SOM.CWRU.EDU>
  16595. Subject:      repeat
  16596.  
  16597. This is a repeat of a previous post - since I had a problem getting properly
  16598. added to the group I never got any messages on it:
  16599.  
  16600. I want to get a good directory of standard AS commands, events, etc.  Tao is
  16601. a generally crummy book for this sort of thing.  I don't want to spend $140 to
  16602. get the Apple manual (yes, I know other stuff comes with it).
  16603.  
  16604. Second, I wanted to know how I could handle IDLE events similarly to the way
  16605. HyperCard does - so I can do some periodic folder checing and such.  Ideas?
  16606. --
  16607. Mikey
  16608. "With talent on loan from God - and half my brains tied behind my back to make
  16609. it fair." Rush Limbaugh
  16610. =========================================================================
  16611. Date:         Sat, 23 Jul 1994 07:21:56 -0700
  16612. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16613. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16614. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  16615. Subject:      Re: repeat
  16616.  
  16617. >I want to get a good directory of standard AS commands, events, etc.  Tao is
  16618. >a generally crummy book for this sort of thing.  I don't want to spend $140 to
  16619. >get the Apple manual (yes, I know other stuff comes with it).
  16620.  
  16621. You don't have to spend $140 to get Apple's manuals.  Apple's manuals are
  16622. Addison-Wesley books, available at any bookstore with a decent computer
  16623. book section.
  16624.    AppleScript Language Guide English Dialect   IBSN 0-201-40735-3
  16625.    AppleScript Scripting Additions Guide English Dialect   IBSN 0-201-40736-1
  16626.    AppleScript Finder Guide     IBSN 0-201-40910-0
  16627.  
  16628. These discuss version 1.1 of AppleScript, and the Scriptable Finder,  Tao
  16629. brought you version 1.0, and the plain old Finder.
  16630.  
  16631. >Second, I wanted to know how I could handle IDLE events similarly to the way
  16632. >HyperCard does - so I can do some periodic folder checing and such.  Ideas?
  16633.  
  16634. In a Script Application saved with Stay open checked, include an
  16635.  
  16636. on idle
  16637.    ...
  16638.    return n -- optional
  16639. end idle
  16640.  
  16641. handler.  This gets called regularly...each time it does return a number,
  16642. the next call will be after that number of seconds has passed.  If the idle
  16643. handler returns something other than a positive number, the previous
  16644. interval repeats...the initial interval is 30 seconds.  Remember that every
  16645. handler returns something...if the last executed statement is something
  16646. like
  16647.  
  16648.    set foo to 300 * 3
  16649.  
  16650. then the interval will become 900 seconds, probably not what you want.
  16651.  
  16652.    --John
  16653.  
  16654. --
  16655. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  16656. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  16657. =========================================================================
  16658. Date:         Sat, 23 Jul 1994 17:55:18 +0100
  16659. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16660. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16661. From:         Christian Orellana <muscabo@DFI.AAU.DK>
  16662. Subject:      Notifying a script on run/quit
  16663.  
  16664. Is there any way of notifying a script everytime an application is run or
  16665. quitted?
  16666.  
  16667. I would also like to repeat an earlier request:
  16668. Can somebody please confirm or disconfirm the incompatibility between the
  16669. "get finder selection" of Jon's commands and the "control strip" from
  16670. Apple.
  16671.  
  16672. Best regards -
  16673. Christian A.Borlund Orellana
  16674. Institute of Physics and Astronomy Aarhus University.
  16675. ______________________________________________________
  16676. Internet e-mail:        muscabo@dfi.aau.dk
  16677. voice:                  +45-86102798
  16678. mail:                   Dr.Margrethesvej 11,3.th.
  16679.                         8200 Aarhus N, DENMARK.
  16680. ______________________________________________________
  16681. =========================================================================
  16682. Date:         Sat, 23 Jul 1994 11:50:10 -0700
  16683. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16684. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16685. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  16686. Subject:      Re: Notifying a script on run/quit
  16687.  
  16688. >Is there any way of notifying a script everytime an application is run or
  16689. >quitted?
  16690.  
  16691. At first glance, I see two, both (most conveniently) involving a stay-open
  16692. script application.
  16693.  
  16694. 1.  Make sure the stay-open script app is running and has a unique
  16695. signature.  Teach the application of interest to send it suitable events
  16696. when the app starts and quits.  Only works for your own apps, or for apps
  16697. which provide for running scripts at startup and quit time (not a bad idea
  16698. for an attachable app).
  16699.  
  16700. or, 2.  In the idle handler of your stay-open script, watch to see whether
  16701. a process for the application of interest appears.  Jons commands and the
  16702. Scriptable Finder are two entities which provide the means to do so.
  16703.  
  16704.  
  16705.    --John
  16706.  
  16707. --
  16708. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  16709. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  16710. =========================================================================
  16711. Date:         Sat, 23 Jul 1994 15:52:50 EDT
  16712. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16713. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16714. From:         JeffBB@AOL.COM
  16715. Subject:      Re: AppleScript Items needed by applets
  16716.  
  16717. I make a folder in all my System Folders called "AppleScript Items" (named
  16718. after Apple Menu Items) and it's obviously real easy to find the path to
  16719. something in the Sys Folder on any Mac....
  16720.   ( path to System Folder) & "Apple Script Items:" & NeedThing ...
  16721.    And make sure you lock it via the Sharing.... menu
  16722. =========================================================================
  16723. Date:         Sat, 23 Jul 1994 13:11:00 -0700
  16724. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16725. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16726. From:         Dennis Birch <fja04@HALCYON.COM>
  16727. Subject:      Scripting Digest
  16728.  
  16729. Is there a way to receive this list as a digest instead of individual
  16730. messages? I could swear I've seen at least one message from somebody else
  16731. who claimed to be reading the list in digest form, but when I sent a DIGEST
  16732. command to the server, I received an error message in return.
  16733. =========================================================================
  16734. Date:         Sat, 23 Jul 1994 18:36:57 -0800
  16735. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16736. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16737. From:         Mike Hopkins <mhopkins@NETCOM.COM>
  16738. Subject:      ScriptWizard Feedback
  16739.  
  16740. >Date:    Fri, 22 Jul 1994 07:03:46 -0400
  16741. >From:    Bill Innanen <wgi@APLCOMM.JHUAPL.EDU>
  16742. >Subject: Re: ScriptWizard 1.0 request
  16743. >
  16744. >Jason Buberel <jbuberel@UIUC.EDU> asked,
  16745. >
  16746. >>Despite the fact that you may be running into some problems with script
  16747. >>wizard, what is your overall impression of the product?  I have just placed
  16748. >>an order for it, since it was at an introductory price of just $45.  Although
  16749. >>once the shipment comes in, I would be glad to experiment for you.  Are there
  16750. >>some caveats to its use?  Some great benefits?
  16751. >
  16752. >I really haven't had time to do much with it.  It seems to do everything
  16753. >that the Script Editor does, plus.  (Plus cause no end of grief, so far.)
  16754. >The big pluses that I've seen are the debugging features (single step,
  16755. >variable watching, etc.) and the extra, built-in dictionaries (Scriptable
  16756. >Finder, and System).
  16757. >
  16758. >I was just getting set to start using it when this last fiasco hit me and I
  16759. >had to spend an entire evening fooling with that instead.  Perhaps others
  16760. >who have used it longer will post some impressions.
  16761. >
  16762. >Bill Innanen             (Internet) wgi@aplcomm.jhuapl.edu
  16763. >#include <stdDisclaimers.h>   /* Unless otherwise noted */
  16764. =========================================
  16765. Bill (and anyone else with ScriptWizard):
  16766.  
  16767. We are anxious to know the details of any problems that you are having with
  16768. ScriptWizard so that we can check them out immediately.  If they really are
  16769. down to ScW, we want to fix them!  If you and anyone else send your
  16770. problems to "support@ctalk.exnet.com", we'll adress them straight away.
  16771.  
  16772. Best Regards,
  16773.  
  16774. Mike Hopkins
  16775. President
  16776. Full Moon Software, Inc.
  16777.  
  16778. Mike Hopkins                |   PH:  (408)253-7199
  16779. Full Moon Software, Inc.    |   FAX: (408)252-2379
  16780. P.O. Box 700237             |   CIS: 70713,2664
  16781. San Jose, CA  95170         |   AOL: MHopkins
  16782. =========================================================================
  16783. Date:         Sat, 23 Jul 1994 22:31:02 -0800
  16784. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16785. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16786. From:         Brian Hall <mspace@NETCOM.COM>
  16787. Subject:      Is there a way to detect option key from script?
  16788.  
  16789. I have a "stay running" script that keeps track of a few items via
  16790. properties.  However I would like the ability to detect (at launch) if
  16791. these items should be cleared.  I was thinking it could be as simple as
  16792. detecting if the option key is help down (in which case it would post a
  16793. dialog to fill in the blanks again).
  16794.  
  16795. Is there an easy way to do this?
  16796.  
  16797. Can it be done w/o any special osaxen?
  16798.  
  16799. (btw, the applet monitors your express fax folder and sends you a page when
  16800. one comes in. So I want to be able to "forget" where the folder is and who
  16801. gets the page when the option key is held down)
  16802.  
  16803. __________________________________________________________________________
  16804.  Drop by and say hello! Apple and Prometheus booths MacWorld Expo Aug 1-5
  16805.  
  16806. Mark/Space Softworks                                    voice 408-293-7299
  16807. 111 West Saint John, Suite 230                            fax 408-293-7298
  16808. San Jose, CA 95113                                        bbs 408-293-7290
  16809.  
  16810. Macintosh connectivity software:               Internet: mspace@netcom.com
  16811. Communicate, ZMODEM Tool, PageNOW!               AppleLink, AOL: MARKSPACE
  16812. Mark/Space Softworks               Goodies at ftp.netcom.com in pub/mspace
  16813. =========================================================================
  16814. Date:         Sat, 23 Jul 1994 23:01:21 -0700
  16815. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16816. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16817. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  16818. Subject:      Re: Is there a way to detect option key from script?
  16819.  
  16820. >I have a "stay running" script that keeps track of a few items via
  16821. >properties.  However I would like the ability to detect (at launch) if
  16822. >these items should be cleared.  I was thinking it could be as simple as
  16823. >detecting if the option key is help down (in which case it would post a
  16824. >dialog to fill in the blanks again).
  16825. >
  16826. >Is there an easy way to do this?
  16827.  
  16828. In the useful Scripting Addition, "Jons Commands", check out
  16829.    keys pressed
  16830. which returns a list of the keys which are down.  If only the option key is
  16831. down, it returns  {"Option"}
  16832.  
  16833. if (keys pressed) contains "Option" then
  16834.    -- do your option key thing.
  16835.  
  16836.  
  16837. >Can it be done w/o any special osaxen?
  16838.  
  16839. Not that I know of, but I could easily have missed something.
  16840.    --John
  16841.  
  16842. --
  16843. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  16844. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  16845. =========================================================================
  16846. Date:         Sun, 24 Jul 1994 02:12:38 EDT
  16847. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16848. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16849. From:         Shaddar@AOL.COM
  16850. Subject:      Problem Pasting- Sticky Situation...
  16851.  
  16852. Sorry for the cheesy Subject field... I'm writing a script to concatinate
  16853. files which have been split by AOL.  The files are all dropped onto a droplet
  16854. and the concatinated in alphabetical order (the files end in -, .1, .2, .3,
  16855. etc.).
  16856.  
  16857. I'm writing this script to get myself familiar with AS.  I have AS v.1.0.1 on
  16858. a Performa 475.  At the paste command, I get the error, "Can't make data into
  16859. the expected type."  Could someone tell me what I'm doing wrong?  Any other
  16860. errors you can find or suggestions would be appreciated.
  16861.  
  16862.  
  16863. property filelist : {}
  16864. property x : 0
  16865.  
  16866. on open filelist
  16867.    tell application "Scriptable Text Editor"
  16868.       activate
  16869.       repeat with x from 1 to count of filelist    --repeat with each file
  16870. dropped
  16871.          open item x of filelist
  16872.          select text of document 2  --select all text of file opened
  16873.          copy
  16874.          tell document 1
  16875.             select insertion point after paragraph -1  --insert text from doc
  16876. 2 at end
  16877.             paste  --here's where I get the error
  16878.          end tell
  16879.          close document 2 saving no
  16880.       end repeat
  16881.       close document 1 saving in file "Hard Disk:*Concatinate* -Result"
  16882. saving yes
  16883.       quit
  16884.    end tell
  16885. end open
  16886. =========================================================================
  16887. Date:         Sun, 24 Jul 1994 17:46:46 -0700
  16888. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16889. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16890. From:         David Ray <daver@NETCOM.COM>
  16891. Subject:      Re: Hello Everybody
  16892.  
  16893. >Greetings everyone,
  16894. >  My name is Peter and I'm a microbiology major at the University of
  16895. >Hawai'i.  I've been writing AppleScripts for about 2 months now.
  16896. >Specifically what I've been working on is an AppleScript interface to the
  16897. >public-key encryption program MacPGP which is already AppleScriptable.
  16898. >
  16899. >I've been distributing my scripts over the Internet to anyone who's
  16900. >interested.  If you're interested in keeping your email or any file
  16901. >private, you might want to check out MacPGP and my scripts.
  16902. >
  16903. >Peter
  16904.  
  16905. I would be very interested in checking out your scripts. I have MacPGP 2.6,
  16906. which is not scriptable. I have been using the AutoType OSAX and AutoClick
  16907. OSAX (included with registered versions of AutoType) to mimmick keyboard
  16908. strokes and mouse clicks in order to do things with MacPGP. I would be
  16909. happy to send you copies of my scripts as well.
  16910.  
  16911. Thanks,
  16912.  
  16913. Dave
  16914. daver@netcom.com.
  16915.  
  16916. ------------------------------------------------------------------------------
  16917. David Ray                Dream Designs          Music Composition
  16918. daver@netcom.com         PO Box 5631            Interactive Multimedia
  16919. 510-527-9010             Berkeley CA 94705      Virtual Worlds
  16920. =========================================================================
  16921. Date:         Mon, 25 Jul 1994 13:25:00 +1200
  16922. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16923. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16924. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  16925.               NZ" <LDO@WAIKATO.AC.NZ>
  16926. Subject:      ScriptKey crashes
  16927.  
  16928. I discovered over the weekend that my ScriptKey FKEY is liable to crash within
  16929. certain applications. Specifically, I was getting reproducible crashes with
  16930. MacWrite Pro 1.5, always on the call to OSALoad.
  16931.  
  16932. Recalling certain (non-)release notes for Apple's Scripting Menu extension,
  16933. I restructured ScriptKey so that it posted a notification routine to invoke
  16934. the script, rather than doing it directly, and the crashes went away.
  16935.  
  16936. (Of course, I'm now hitting a different problem, namely the two-minute timeout
  16937. when invoking certain scripts from certain applications. During this time,
  16938. the ScriptKey Scripts file is locked (so that I can save any changes to the
  16939. script properties), so any attempt to invoke ScriptKey again during this
  16940. interval produces an error raspberry.)
  16941.  
  16942. Can anyone tell my _why_ I was getting the crashes, though? Is there some
  16943. reentrancy problem with Get/WaitNextEvent? I'm not being invoked at interrupt
  16944. level, so it can't be that.
  16945.  
  16946. Thanks for any ideas.
  16947.  
  16948. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  16949. Info & Tech Services Division              fax: +64-7-838-4066
  16950. University of Waikato            electric mail: ldo@waikato.ac.nz
  16951. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  16952. =========================================================================
  16953. Date:         Sun, 24 Jul 1994 21:33:53 EDT
  16954. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16955. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16956. From:         Shaddar@AOL.COM
  16957. Subject:      Re: Hello Everybody
  16958.  
  16959. >>Greetings everyone,
  16960. >>  My name is Peter and I'm a microbiology major at the University of
  16961. >>Hawai'i.  I've been writing AppleScripts for about 2 months now.
  16962. >>Specifically what I've been working on is an AppleScript interface to the
  16963. >>public-key encryption program MacPGP which is already AppleScriptable.
  16964. >>
  16965. >>I've been distributing my scripts over the Internet to anyone who's
  16966. >>interested.  If you're interested in keeping your email or any file
  16967. >>private, you might want to check out MacPGP and my scripts.
  16968. >>
  16969. >>Peter
  16970.  
  16971. >I would be very interested in checking out your scripts. I have MacPGP 2.6,
  16972. >which is not scriptable. I have been using the AutoType OSAX and AutoClick
  16973. >OSAX (included with registered versions of AutoType) to mimmick keyboard
  16974. >strokes and mouse clicks in order to do things with MacPGP. I would be
  16975. >happy to send you copies of my scripts as well.
  16976. >
  16977. >Thanks,
  16978. >
  16979. >Dave
  16980. >daver@netcom.com.
  16981.  
  16982. I'd be interested in finding a copy of a scriptable MacPGP as well as seeing
  16983. some scripting examples.  Please either post your stuff here if it's not too
  16984. long, or send it to me.
  16985.  
  16986. Thanks a lot!  :-)
  16987.  
  16988. ~Shaddar
  16989. =========================================================================
  16990. Date:         Mon, 25 Jul 1994 14:36:00 +1200
  16991. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16992. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  16993. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  16994.               NZ" <LDO@WAIKATO.AC.NZ>
  16995. Subject:      Spurious bundle bits
  16996.  
  16997. This kind of stuff hits you once in a while. There I was sorting through
  16998. a new bunch of downloads, and I suddenly noticed that the Finder was
  16999. describing all my scripting additions as "Object Database documents"! A
  17000. quick search confirmed that the culprit was the "Object Database" addition,
  17001. part of the GTQ Library 1.2.
  17002.  
  17003. Call me picky, but I get really annoyed about this kind of thing...
  17004.  
  17005. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  17006. Info & Tech Services Division              fax: +64-7-838-4066
  17007. University of Waikato            electric mail: ldo@waikato.ac.nz
  17008. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  17009. =========================================================================
  17010. Date:         Sun, 24 Jul 1994 20:55:08 -1000
  17011. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17012. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17013. From:         Pete Hinely <phinely@UHUNIX.UHCC.HAWAII.EDU>
  17014. Subject:      AppleScriptable MacPGP and AppleScripts
  17015.  
  17016. Greetings everyone,
  17017.    Because of a suprising amount of interest in my MacPGP AppleScripts, I
  17018. am posting my FAQ on where to get a copy of my scripts and where to get an
  17019. AppleScriptable version of MacPGP. For those of you out there who don't
  17020. know what PGP is, it is a freeware public-key encryption program that
  17021. allows you to encrypt files for yourself and for for other people.
  17022. Public-key encryption is especially useful for email because no secret
  17023. keys ever have to be exchanged.  PGP is available for a wide variety of
  17024. platforms, from UNIX to Windoze to Mac to Amiga.  So don't send your email
  17025. on a postcard for any snoop to read, PGP it!
  17026.  
  17027. My FAQ follows.  It is in a state of revision, so if you come across any
  17028. errors in it, please let me know so I can improve it.  If anyone out
  17029. there uses NewsWatcher, tell me if the URL's work.  Thanks.
  17030.  
  17031. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  17032.  
  17033.                    FAQ - Where to get MacPGP 2.6ui
  17034.                          Pretty Good Privacy
  17035.                  Public-key encryption for the masses
  17036.  
  17037. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  17038.  
  17039. Hello fellow Macintosh users,
  17040.  
  17041. If you are looking for MacPGP, the latest and (in my opinion) the best
  17042. version of PGP available is MacPGP 2.6ui v1.2.
  17043.  
  17044. MacPGP 2.6ui is fully compatible with MIT's MacPGP 2.6, but offers several
  17045. advantages, a chief one being that MacPGP 2.6ui is controllable via
  17046. AppleScript.  This is a very powerful feature, and pre-written
  17047. AppleScripts are already available.  A set of AppleScripts called the
  17048. Interim Macintosh PGP Interface (IMPI) support encryption, decryption, and
  17049. signing of files via drag-n-drop, finder selection, the clipboard, all
  17050. accessible from a system-wide menu.  Eudora AppleScripts also exist to
  17051. interface MacPGP with the popular Macintosh mail program Eudora.
  17052.  
  17053. MacPGP 2.6ui v1.2 is available via anonymous ftp from:
  17054.  
  17055. FTP SITE AND DIRECTORY (in standard URL form)
  17056. ---------------------------------------------
  17057. * ftp://ftp.csn.net//mpj/README       /???/???/pgp/mac/
  17058.  
  17059.      The README file contains specific directions on the exact subdirectory to
  17060.      switch to obtain the files.  Please follow all relevant export regulations.
  17061.  
  17062.      CONTENTS
  17063.      --------
  17064.      MacPGP-2.6ui-v1.2.sit.hqx - NOT signed but has docs;
  17065.         I know this is not a good situation; Will replace with a signed
  17066.         full-English version soon.
  17067.      Source code;
  17068.      IMPI & Eudora AppleScripts
  17069.  
  17070.  
  17071. * ftp://ftp.darmstadt.gmd.de//pub/crypto/macintosh/MacPGP/2.6/
  17072.  
  17073.      CONTENTS
  17074.      --------
  17075.      MacPGP2.6uiV1.2.bin.english.hqx   581434  signed, but balloon help is in Ge
  17076.      MacPGP2.6ui_V1.2_sources.cpt.hqx  951319 - Source code
  17077.  
  17078. * ftp://ftp.informatik.uni-hamburg.de/pub/virus/crypt/pgp/mac/
  17079.  
  17080.      CONTENTS CHECKED
  17081.      --------
  17082.      MacPGP2.6uiV1.2.bin.english.hqx   581434  signed, but balloon help is in Ge
  17083.      MacPGP2.6ui_V1.2_sources.cpt.hqx  951319 - Source code
  17084.  
  17085. * ftp://ftp.dsi.unimi.it//pub/security/PGP/
  17086.  
  17087.      CONTENTS
  17088.      --------
  17089.      MacPGP2.6ui_V1.2sources.cpt.hqx
  17090.  
  17091. * ftp://black.ox.ac.uk//src/security/
  17092.  
  17093.      CONTENTS CHECKED
  17094.      --------
  17095.      MacPGP2.6uiV1.2.bin.english.hqx    581434
  17096.      MacPGP2.6ui_V1.2_sources.cpt.hqx   951319
  17097.  
  17098. Commercial Users
  17099. ----------------
  17100. Mac users who wish to use PGP for commercial use are out of luck for the time
  17101. being: ViaCrypt has still not released their version of MacPGP.  According to
  17102. the company, they are expecting to begin shipping in early September.  The
  17103. program itself will be very similar to MIT's MacPGP 2.6, but with a license
  17104. allowing its commercial use.
  17105.  
  17106.  
  17107. New Users
  17108. ---------
  17109. If you are totally lost as to what to do once you obtain MacPGP, there is
  17110. a MacPGP "Frequently Asked Questions" document available via anonymous ftp
  17111. from:
  17112.  
  17113. FTP SITE AND DIRECTORY (in standard URL form)
  17114. ---------------------------------------------
  17115. * ftp://ftp.netcom.com//pub/qwerty/
  17116.  
  17117.      CONTENTS
  17118.      --------
  17119.      How.to.MacPGP2.3a - FAQ for how to get started using MacPGP
  17120.  
  17121. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  17122.      If you wish me to add something else to this FAQ, please let me know.
  17123. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  17124. =========================================================================
  17125. Date:         Mon, 25 Jul 1994 10:22:51 U
  17126. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17127. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17128. From:         "ESPINAR, Pablo" <espinar@IESE.ES>
  17129. Subject:      Mounting devices
  17130.  
  17131. Hi, all
  17132. Anybody knows if I can create one Applescript for mounting a remote disk in
  17133. my local computer with Appleshare Pro File Server ?
  17134. Thanks in advance...
  17135.  
  17136. +---------------------------------------------------------------+
  17137. |                                                               |
  17138. | Pablo Espinar                         Tel:    + 34 3 2044000  |
  17139. | IESE                                  Fax:    + 34 3 2801177  |
  17140. | Av. Pearson 21                                                |
  17141. | 08034 Barcelona (Spain)               E-mail: espinar@iese.es |
  17142. |                                                               |
  17143. +---------------------------------------------------------------+
  17144. =========================================================================
  17145. Date:         Mon, 25 Jul 1994 02:06:55 -0800
  17146. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17147. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17148. From:         Brian Hall <mspace@NETCOM.COM>
  17149. Subject:      Re: Is there a way to detect option key from script?
  17150.  
  17151. >In the useful Scripting Addition, "Jons Commands", check out
  17152. >   keys pressed
  17153. >which returns a list of the keys which are down.  If only the option key is
  17154. >down, it returns  {"Option"}
  17155. >
  17156. >if (keys pressed) contains "Option" then
  17157. >   -- do your option key thing.
  17158.  
  17159. Thanks.  Just in case they don't have Jon's commands, this is what I am doing:
  17160.  
  17161.         -- Should we clear stuff?
  17162.         try
  17163.                 if (keys pressed) contains "Option" then
  17164.                         copy "" to Subscriber
  17165.                         copy "" to WatchFolder
  17166.                 end if
  17167.         on error
  17168.                 -- we catch errors in case they don't have Jon's Commands
  17169.         end try
  17170.  
  17171. __________________________________________________________________________
  17172.  Drop by and say hello! Apple and Prometheus booths MacWorld Expo Aug 1-5
  17173.  
  17174. Mark/Space Softworks                                    voice 408-293-7299
  17175. 111 West Saint John, Suite 230                            fax 408-293-7298
  17176. San Jose, CA 95113                                        bbs 408-293-7290
  17177.  
  17178. Macintosh connectivity software:               Internet: mspace@netcom.com
  17179. Communicate, ZMODEM Tool, PageNOW!               AppleLink, AOL: MARKSPACE
  17180. Mark/Space Softworks               Goodies at ftp.netcom.com in pub/mspace
  17181. =========================================================================
  17182. Date:         Mon, 25 Jul 1994 02:26:36 -0800
  17183. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17184. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17185. From:         Brian Hall <mspace@NETCOM.COM>
  17186. Subject:      Example of a script meant for Eudora/Please Notify?
  17187.  
  17188. Are there any sample apple scripts floating about that are meant to be
  17189. called by the "Please Notify" feature of Eudora?  I'm trying to write my
  17190. own, but these are not the easiest to get started!
  17191. =========================================================================
  17192. Date:         Mon, 25 Jul 1994 06:43:40 -0500
  17193. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17194. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17195. From:         Herb Schilling <hschilling@LERC.NASA.GOV>
  17196. Subject:      Screen capture from a script ?
  17197.  
  17198. Hello,
  17199.  
  17200.  Is there a way to do a capture of a window from a script ? The screen
  17201. capture programs I know of ( FlashIt, ScreenShot, SnapJot  ) trigger the
  17202. capture using  some keystroke but all  mechanisms I can think of to send
  17203. keystrokes to the Finder from a script don't  work ( QuickKeys,
  17204. AutoType,etc... ). I guess this is because the screen capture extension
  17205. never gets to see the keystrokes.
  17206.  
  17207.  Any solutions, commercial or otherwise, are welcome.
  17208.  
  17209.  Thanks.
  17210.  
  17211. --
  17212. Herb Schilling NASA Lewis Research Center 21000 Brookpark Road Mail Stop 142-4
  17213. Cleveland Ohio 44135 (216) 433-8955 Fax:(216)433-8000 sshws@convx1.lerc.nasa.gov
  17214. AppleLink: SCHILLING.H
  17215. =========================================================================
  17216. Date:         Mon, 25 Jul 1994 12:02:03 -0500
  17217. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17218. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17219. From:         Nathaniel Comfort at Cold Spring Harbor Lab <comfort@CSHL.ORG>
  17220. Subject:      scripting a yearbook
  17221.  
  17222. I am beginning to work on a script or set of scripts to automate production
  17223. of our staff yearbook. The book is produced in Quark. Each record consists
  17224. of a small photo and four lines of information (name, title, etc.). The
  17225. book has about 550 records, arranged in pages of 16. I am planning to keep
  17226. the text and maybe a thumbnail of the photo in a FileMaker Pro database,
  17227. and to use a scriptable image database such as Kudo to retrieve and catalog
  17228. the photos from a CD or optical drive.
  17229.  
  17230. I want the script to do basically a fancy mail merge, retrieving the data
  17231. from FMPro and from the image database, creating new records in Quark based
  17232. on a template, and putting in the right data.
  17233.  
  17234. 1) Has anyone out there tried such a thing? Can you offer advice, pieces of
  17235. scripts, empathy? :)
  17236.  
  17237. 2) Quark comes with a Frontier script that does a mail merge. But I have
  17238. Applescript. The Frontier runtime won't let me look at the scripts and the
  17239. whole Quark package is so seamless I can't even FIND the scripts! Is it
  17240. possible to translate from Frontier to AS, or do I have to either buy
  17241. Frontier or reinvent the wheel?
  17242.  
  17243. Thanks,
  17244. Nathaniel Comfort
  17245. =========================================================================
  17246. Date:         Mon, 25 Jul 1994 09:43:45 -0800
  17247. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17248. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17249. From:         "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  17250. Subject:      Re: MacPPP Control, AfterDark and AE, time idle
  17251.  
  17252. At  9:04 7/22/94 +0000, Neil Christie wrote:
  17253.  
  17254. >Does anyone know of an Afterdark module or other screen-saverthat can send
  17255. >appleevents when activated? This could be used for the problem Charles
  17256. >Wiltgen describes where he wants to run a MM Director file after a certain
  17257. >period of inactivity something that all screen-savers monitor.
  17258.  
  17259. Well, I don't know of any (which basically means Berkeley Systems probably
  17260. doesn't make any; I don't have too much contact with 3rd-party modules for
  17261. AD, other than the 'cute' ones).
  17262.  
  17263. How about writing one? BSI for a while was releasing programming examples
  17264. to make your own module.  Given that the After Dark Module Contest still
  17265. happens every year, I'm sure they'd be willing to offer some sort of
  17266. minimal help in designing something (this isn't official.  If you think I
  17267. speak for them, you're wrong.).
  17268.  
  17269. -roy
  17270.  
  17271. Roy S. Rapoport -- rsr@mail.berksys.com -- rsr@berksys.com
  17272. 510-540-5535 ext. 280
  17273. "It Wasn't Me"
  17274. =========================================================================
  17275. Date:         Mon, 25 Jul 1994 10:02:24 -0700
  17276. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17277. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17278. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  17279. Subject:      Re: scripting a yearbook
  17280.  
  17281. >I am beginning to work on a script or set of scripts to automate production
  17282. >of our staff yearbook. The book is produced in Quark. Each record consists
  17283. >of a small photo and four lines of information (name, title, etc.). The
  17284. >book has about 550 records, arranged in pages of 16. I am planning to keep
  17285. >the text and maybe a thumbnail of the photo in a FileMaker Pro database,
  17286. >and to use a scriptable image database such as Kudo to retrieve and catalog
  17287. >the photos from a CD or optical drive.
  17288. >
  17289. >I want the script to do basically a fancy mail merge, retrieving the data
  17290. >from FMPro and from the image database, creating new records in Quark based
  17291. >on a template, and putting in the right data.
  17292. >
  17293. >1) Has anyone out there tried such a thing? Can you offer advice, pieces of
  17294. >scripts, empathy? :)
  17295.  
  17296. I only know about Frontier users who are doing such things, several on a
  17297. much larger scale than your project.  That doesn't mean that AppleScript
  17298. won't also do the job (I'm reasonably sure it will)...it does mean that I
  17299. field the Tech Support questions which come up when Frontier is used.
  17300.  
  17301.  
  17302. --John (speaking for himself)
  17303.  
  17304. --John W. Baxter    Port Ludlow, WA USA   jwbaxter@pt.olympus.net
  17305.   UserLand Software support
  17306. =========================================================================
  17307. Date:         Mon, 25 Jul 1994 10:15:50 -0700
  17308. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17309. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17310. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  17311. Subject:      Re: MacPPP Control, AfterDark and AE, time idle
  17312.  
  17313. >At  9:04 7/22/94 +0000, Neil Christie wrote:
  17314. >
  17315. >>Does anyone know of an Afterdark module or other screen-saverthat can send
  17316. >>appleevents when activated? This could be used for the problem Charles
  17317. >>Wiltgen describes where he wants to run a MM Director file after a certain
  17318. >>period of inactivity something that all screen-savers monitor.
  17319. >
  17320. >Well, I don't know of any (which basically means Berkeley Systems probably
  17321. >doesn't make any; I don't have too much contact with 3rd-party modules for
  17322. >AD, other than the 'cute' ones).
  17323. >
  17324. >How about writing one? BSI for a while was releasing programming examples
  17325. >to make your own module.  Given that the After Dark Module Contest still
  17326. >happens every year, I'm sure they'd be willing to offer some sort of
  17327. >minimal help in designing something (this isn't official.  If you think I
  17328. >speak for them, you're wrong.).
  17329. >
  17330.  
  17331. After Dark installs a Gestalt selector which returns a function which when
  17332. called gets and sets information regarding the state of After Dark (and,
  17333. thus, gets the idleness of the system, among other things).
  17334.  
  17335. I forget the details, and what I have is old anyhow.  Berkeley will no
  17336. doubt supply something newer.
  17337.  
  17338. So...you may not need an After Dark module...an osax which calls the
  17339. Gestalt selector and then calls the function appropriately may be enough.
  17340. Hmmm...I just made the mistake of looking for the Gestalt selector(s)
  17341. involved on a machine where I don't have After Dark installed.  For some
  17342. reason, that doesn't work.
  17343.  
  17344. BTW, there is more than one selector involved...at least one is agreed to
  17345. among Berkeley and the other major screen saver players (or was).
  17346.  
  17347.    --John
  17348.  
  17349. --
  17350. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  17351. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  17352. =========================================================================
  17353. Date:         Mon, 25 Jul 1994 12:58:11 -0700
  17354. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17355. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17356. From:         Mike Shaff <shaff@QUILTY.STANFORD.EDU>
  17357. Subject:      Launching applications on remote machine?
  17358.  
  17359. Greetings,
  17360.  
  17361. After trying some experiments, reading the faq, and trying to systematically
  17362. approach the problem, I turn to the chaos of the net.
  17363.  
  17364. I am trying to lauch an application on a distant machine.  Let's take as an
  17365. example our local hero, "Scriptable Text Editor."  It's remote linking
  17366. check-box is set.  The distant machine's program linking check-box is set. And
  17367. to make matters more mouth-watering close, I can see the application from
  17368. 'choose application' WHEN, and only when, the application is running already.
  17369.  
  17370. What am I overlooking?
  17371.  
  17372. Thank-you,
  17373.  
  17374. Michael
  17375. =========================================================================
  17376. Date:         Mon, 25 Jul 1994 15:38:21 -0500
  17377. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17378. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17379. From:         Fred Terry <pfterry@LKS.CSI.COM>
  17380. Subject:      Re: Screen capture from a script ?
  17381. In-Reply-To:  Your message of "Mon, 25 Jul 94 06:43:40 CDT"
  17382.  
  17383. Herb,
  17384.  
  17385. > Is there a way to do a capture of a window from a script ? The screen
  17386. >capture programs I know of ( FlashIt, ScreenShot, SnapJot  ) trigger the
  17387. >capture using  some keystroke but all  mechanisms I can think of to send
  17388. >keystrokes to the Finder from a script don't  work ( QuickKeys,
  17389. >AutoType,etc... ). I guess this is because the screen capture extension
  17390. >never gets to see the keystrokes.
  17391.  
  17392. If I'm not mistaken, there was a screen capture osax on the AppleScript beta
  17393. CD. I don't think it's available in any of the current crop of osaxen, though
  17394. I'm sure someone will correct me if I'm wrong.
  17395.  
  17396. You should also be able to use the Execute FKey command in Jon's commands to
  17397. take a snapshot of the screen.
  17398.  
  17399.  
  17400. pf
  17401. =========================================================================
  17402. Date:         Mon, 25 Jul 1994 16:09:13 -0800
  17403. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17404. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17405. From:         David Lewis <lewis@NETCOM.COM>
  17406. Subject:      Re: Screen capture from a script ?
  17407.  
  17408. >Herb,
  17409. >
  17410. >> Is there a way to do a capture of a window from a script ? The screen
  17411. >>capture programs I know of ( FlashIt, ScreenShot, SnapJot  ) trigger the
  17412. >>capture using  some keystroke but all  mechanisms I can think of to send
  17413. >>keystrokes to the Finder from a script don't  work ( QuickKeys,
  17414. >>AutoType,etc... ). I guess this is because the screen capture extension
  17415. >>never gets to see the keystrokes.
  17416. >
  17417. KeyQuencer has facilities to capture a selected area of the screen from a
  17418. script, and I just used Frontier (AppleScript does as well) to have it
  17419. issue a Cmd-Shift-3 to get a pict file of the screen.
  17420.  
  17421.         David
  17422.  
  17423. David Lewis     Seagate Technology      (408) 439-2374  lewis@netcom.com
  17424. =========================================================================
  17425. Date:         Tue, 26 Jul 1994 11:11:27 +1200
  17426. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17427. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17428. From:         Owen Watson <owen@RSNZ.GOVT.NZ>
  17429. Subject:      Can't get event dictionary
  17430.  
  17431. I'm trying to contact a program on a remote machine with
  17432.  
  17433. tell "Program name" of machine "Machine name"
  17434.  
  17435. (no zones)
  17436.  
  17437. and I keep getting the message: Can't get event dictionary. It works fine
  17438. when the program is running locally.
  17439.  
  17440. I'm running AS 1.0 (still waiting for the upgrade disk).
  17441.  
  17442. Any clues?
  17443.  
  17444. -------------------------------------------------------------------------
  17445. Owen Watson, The Royal Society of NZ, PO Box 598, Wellington, New Zealand
  17446. Internet watson.o@rsnz.govt.nz  Ph: +64 4 472 7421 Fax: +64 4 473 1841
  17447. The gateway to New Zealand science: http://www.rsnz.govt.nz/
  17448. =========================================================================
  17449. Date:         Mon, 25 Jul 1994 22:12:45 EDT
  17450. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17451. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17452. From:         JeffBB@AOL.COM
  17453. Subject:      Re: Items skipped in "walking"
  17454.  
  17455. In catching up I see talk of the file-walker skipping a file when one is
  17456. deleted.
  17457.     For the Quarksters among us, be forewarned that the same thing happens if
  17458. you tell Quark to "delete paragraphs 1 thru 2" of a text box....
  17459.     First it deletes paragraph 1, which makes paragraph 3 the second one, so
  17460. when it deletes paragraph 2 it's really 3.
  17461.    To actually delete paragraphs 1 and 2, I tell...
  17462.    repeat 2 times
  17463.        delete paragraph 1 of etc
  17464.    end repeat
  17465.    This one is worth remembering for those of us that need to delete stuff
  17466. when automating page production (like stocks!)
  17467.  
  17468. Jeff Beebe / Gannett
  17469. JeffBB@aol.com
  17470. =========================================================================
  17471. Date:         Mon, 25 Jul 1994 22:13:03 EDT
  17472. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17473. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17474. From:         JeffBB@AOL.COM
  17475. Subject:      Re: PowerMac fixes
  17476.  
  17477. Good to see Apple has fixed a couple OSAXEN for Power Macs .... has anybody
  17478. fixed  Dialog Runner ("run dialog") that came with the BMUG Tao?
  17479.     GTQ, if you're reading ... it appears "set printer to" doesn't work with
  17480. PowerMac either (nor does Rinaldi's XCMD OSAX cousin ChoosePrinter).....
  17481.  
  17482. Jeff Beebe / Gannett
  17483. JeffBB@aol.com
  17484. =========================================================================
  17485. Date:         Mon, 25 Jul 1994 22:17:27 EDT
  17486. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17487. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17488. From:         Shaddar@AOL.COM
  17489. Subject:      Re: Launching applications on remote machine?
  17490.  
  17491. >From what I understand, AppleScript cannot cross machines to run
  17492. applications.  I think it was implemented as some kind of security
  17493. consideration... I don't really know.  But the end result is you can't launch
  17494. them.
  17495.  
  17496. What can you do?
  17497.  
  17498. You can design a client script which you put in the starup folder of each
  17499. machine.  The scripts runs all the time, (using 200 K of memory), but is
  17500. ready to accept commands from your machine.  This way you can tell the client
  17501. script to do whatever is necessary, and since it is on the remote machine it
  17502. has the access priviledges to launch applications.
  17503.  
  17504. Hope this helps! :)
  17505.  
  17506. ~Shaddar
  17507. =========================================================================
  17508. Date:         Tue, 26 Jul 1994 01:13:27 -0700
  17509. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17510. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17511. From:         Jon Pugh <jonpugh@NETCOM.COM>
  17512. Subject:      Re: Launching applications on remote machine?
  17513.  
  17514. >From:    Shaddar@AOL.COM
  17515. >>From what I understand, AppleScript cannot cross machines to run
  17516. >applications.  I think it was implemented as some kind of security
  17517. >consideration... I don't really know.  But the end result is you can't laun=
  17518. ch
  17519. >them.
  17520. >
  17521. >What can you do?
  17522.  
  17523. You can tell the Finder to launch an application.  All System 7 Finders can
  17524. do this.  The security feature is simply that the Finder only accepts 2
  17525. commands from remote users.  These are open (i.e. launch) and print (as in
  17526. documents, not windows).
  17527.  
  17528. The trick is that you need to know EXACTLY where the file you want to
  17529. launch is.  That is, you need to know the full pathname of the file.  Then
  17530. you run one of the routines below (from the Finder Scripting Toolkit, a
  17531. must-have item from gaea).
  17532.  
  17533. >From:    Owen Watson <owen@RSNZ.GOVT.NZ>
  17534. >Subject: Can't get event dictionary
  17535. >
  17536. >I'm trying to contact a program on a remote machine with
  17537. >
  17538. >tell "Program name" of machine "Machine name"
  17539. >
  17540. >(no zones)
  17541. >
  17542. >and I keep getting the message: Can't get event dictionary. It works fine
  17543. >when the program is running locally.
  17544.  
  17545. Owen, you need to launch the application first.  AppleScript can't
  17546. automatically launch the file, although it should be able to get the
  17547. dictionary if the remote machine's disk was mounted.  By launching the app
  17548. first, AS can then send it the ascrgdut event which returns the dictionary
  17549. (assuming AppleScript is installed on the remote machine to handle the
  17550. event).
  17551.  
  17552. =46or the MIME-impaired, there are some funky characters in these scripts:
  17553.     =AC is option-L or option-return
  17554.     =AB is << option-\
  17555.     =BB is >> option-shift-\
  17556.  
  17557. Jon
  17558.  
  17559. --      RemoteOpenObjects
  17560. --
  17561. --      Opens a list of Finder objects, as if they were double-clicked in th=
  17562. e
  17563. --      Finder.
  17564. --      This variant sends the command to a remote Finder in the same zone.
  17565. --      The aliases must be meaningful to this remote Finder.
  17566. --
  17567. --      Parameters
  17568. --              cont (alias) : folder containing the objects.
  17569. --              objs (alias list) : objects to open.
  17570. --              mach (string) : name of remote machine.
  17571. --
  17572. --      Examples
  17573. --              RemoteOpenObjects(alias "Disk:", =AC
  17574. --              {alias "Disk:file", alias "Disk:folder:"}, "Bob's Mac")
  17575. --
  17576. on RemoteOpenObjects(cont, objs, mach)
  17577.         tell application "Finder" of machine mach to =ABevent FNDRsope=BB =
  17578. =AC
  17579.         cont given =ABclass fsel=BB:objs
  17580. end RemoteOpenObjects
  17581.  
  17582. --
  17583. --      RemoteOpenObjectsWithZone
  17584. --
  17585. --      Opens a list of Finder objects, as if they were double-clicked in th=
  17586. e
  17587. --      Finder.
  17588. --      This variant sends the command to a remote Finder in any zone.
  17589. --      The aliases must be meaningful to this remote Finder.
  17590. --
  17591. --      Parameters
  17592. --              cont (alias) : folder containing the objects.
  17593. --              objs (alias list) : objects to open.
  17594. --              mach (string) : name of remote machine.
  17595. --              zn (string) : name of zone.
  17596. --
  17597. --      Examples
  17598. --              RemoteOpenObjectsWithZone(alias "Disk:", =AC
  17599. --              {alias "Disk:file", alias "Disk:folder:"}, =AC
  17600. --              "Bob's Mac", "2nd floor")
  17601. --
  17602. on RemoteOpenObjectsWithZone(cont, objs, mach, zn)
  17603.         tell application "Finder" of machine mach of zone zn to =AC
  17604.         =ABevent FNDRsope=BB cont given =ABclass fsel=BB:objs
  17605. end RemoteOpenObjectsWithZone
  17606. =========================================================================
  17607. Date:         Tue, 26 Jul 1994 05:07:31 -0400
  17608. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17609. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17610. From:         Bob Snyder <snyderra@DUNX1.OCS.DREXEL.EDU>
  17611. Subject:      Re: AppleScriptable MacPGP and AppleScripts
  17612.  
  17613. At 10:55 AM 7/24/94, Pete Hinely wrote:
  17614.  
  17615. >Greetings everyone,
  17616. >   Because of a suprising amount of interest in my MacPGP AppleScripts, I
  17617. >am posting my FAQ on where to get a copy of my scripts and where to get an
  17618. >AppleScriptable version of MacPGP. For those of you out there who don't
  17619. >know what PGP is, it is a freeware public-key encryption program that
  17620. >allows you to encrypt files for yourself and for for other people.
  17621. >Public-key encryption is especially useful for email because no secret
  17622. >keys ever have to be exchanged.  PGP is available for a wide variety of
  17623. >platforms, from UNIX to Windoze to Mac to Amiga.  So don't send your email
  17624. >on a postcard for any snoop to read, PGP it!
  17625.  
  17626. Please be aware that use of a "ui" version of PGP withing the US is very
  17627. likely a infringement of patents held by Public Key Partners and RSADSI.
  17628. PGP 2.6 (and MacPGP2.6) is fully legal, although I don't know if the Apple
  17629. Event changes have been added to the US-legal version of PGP.
  17630.  
  17631. Bob
  17632.  
  17633. --
  17634. Bob Snyder N2KGO                                     MIME, RIPEM mail accepted
  17635. snyderra@dunx1.ocs.drexel.edu                       finger for RIPEM public key
  17636.          When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.
  17637. =========================================================================
  17638. Date:         Tue, 26 Jul 1994 17:41:47 +0800
  17639. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17640. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17641. From:         Todd Hooper <todd@PERTH.DIALIX.OZ.AU>
  17642. Subject:      Scriptable News client?
  17643.  
  17644. Has anybody found a Usenet News reader which is scriptable? I looked
  17645. at the latest NewsWatcher expecting it to be scriptable but it isn't.
  17646.  
  17647. TIA,
  17648.  
  17649. Todd
  17650. =========================================================================
  17651. Date:         Tue, 26 Jul 1994 00:37:26 -1000
  17652. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17653. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17654. From:         Pete Hinely <phinely@UHUNIX.UHCC.HAWAII.EDU>
  17655. Subject:      Re: Launching applications on remote machine?
  17656. In-Reply-To:  <9407260320.AA19139@uhunix.uhcc.Hawaii.Edu>
  17657.  
  17658. On Mon, 25 Jul 1994 Shaddar@aol.com wrote:
  17659.  
  17660. > You can design a client script which you put in the starup folder of each
  17661. > machine.  The scripts runs all the time, (using 200 K of memory), but is
  17662. > ready to accept commands from your machine.  This way you can tell the client
  17663. > script to do whatever is necessary, and since it is on the remote machine it
  17664. > has the access priviledges to launch applications.
  17665. >
  17666.  
  17667. Actually most scripts run fine if you set their memory way below the
  17668. default 200K.  I've had no problems running scripts at 20K for example.
  17669.  
  17670. -peter
  17671. =========================================================================
  17672. Date:         Tue, 26 Jul 1994 07:32:11 -0400
  17673. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17674. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17675. From:         John Schettino <js12@GTE.COM>
  17676. Subject:      Re: Scriptable News client?
  17677.  
  17678. >Has anybody found a Usenet News reader which is scriptable? I looked
  17679. >at the latest NewsWatcher expecting it to be scriptable but it isn't.
  17680. >
  17681. >TIA,
  17682. >
  17683. >Todd
  17684.  
  17685. At the end of this month I'll be releasing my runner-up in the AppleScript
  17686. Hacks contest, the Netnews Grazer. Using the TCP/IP osax and an NNTP news
  17687. server, you can "script" the news.
  17688.  
  17689. - john
  17690.  
  17691. -----------------------------------------
  17692. js12@gte.com             GTE Laboratories
  17693. John Schettino                Waltham, MA
  17694. =========================================================================
  17695. Date:         Tue, 26 Jul 1994 14:47:01 +0100
  17696. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17697. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17698. From:         David Anguish <david.anguish@SIC.ADM.EPFL.CH>
  17699. Subject:      Available disk space
  17700.  
  17701. Hi there, Someone said it the other day: "I'ts so obvious I feel embarrased
  17702. to ask it ...". Can any one help me with a script to get the available disk
  17703. space ? Any ideas, With Much Thanks, David A.
  17704.  
  17705. ----------------------------------------------
  17706. David Anguish, SA/SIC
  17707. EPFL, CP 121 - 1015 Lausanne - CH
  17708. E-mail: anguish@sic.adm.epfl.ch
  17709. Phone:  +41 21 693 45 81
  17710. ----------------------------------------------
  17711. =========================================================================
  17712. Date:         Tue, 26 Jul 1994 03:03:23 -1000
  17713. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17714. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17715. From:         Pete Hinely <phinely@UHUNIX.UHCC.HAWAII.EDU>
  17716. Subject:      AppleScript Exit()?
  17717.  
  17718. Hi, maybe someone out there familiar with AppleScript can help me with
  17719. this question.  Is there a good way to exit from scripts immediately?  I
  17720. know if I was in the "main" procedure, I could just use a "return"
  17721. statement, but how do you quit a script immediately if you are in a
  17722. procedure?
  17723.  
  17724. Here is an example of what I mean:
  17725.  
  17726. Foo()
  17727.  
  17728. on Foo()
  17729.   do something
  17730.   do something else
  17731.   if exitFlag then
  17732.     QUIT THIS SILLY SCRIPT NOW (AT THIS STATEMENT AND NO LATER!)
  17733.   end if
  17734.   do something else
  17735. end Foo
  17736.  
  17737.  
  17738. Anybody know an easy way to do this?  It seems like it should be such a
  17739. simple thing to do, but I have spent hours trying to figure out a solution.
  17740.  
  17741. Thanks in advance,
  17742. pH
  17743. =========================================================================
  17744. Date:         Tue, 26 Jul 1994 07:42:48 -0800
  17745. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17746. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17747. From:         "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  17748. Subject:      Re: AppleScript Exit()?
  17749.  
  17750. At  3:03 7/26/94 -1000, Pete Hinely wrote:
  17751. >Hi, maybe someone out there familiar with AppleScript can help me with
  17752. >this question.  Is there a good way to exit from scripts immediately?  I
  17753. >know if I was in the "main" procedure, I could just use a "return"
  17754. >statement, but how do you quit a script immediately if you are in a
  17755. >procedure?
  17756. [...]
  17757. >  if exitFlag then
  17758. >    QUIT THIS SILLY SCRIPT NOW (AT THIS STATEMENT AND NO LATER!)
  17759.  
  17760. Actually, AppleScript 1.2 (now in beta release), has something that even
  17761. has a very similar syntax --
  17762.  
  17763. if exitFlag then
  17764.         QuitRightNowNoKiddingIMeanIt
  17765. end if
  17766.  
  17767. -roy
  17768.  
  17769. (err, OK, OK, just making fun of AS's near-english programming language)
  17770.  
  17771.  
  17772. Roy S. Rapoport -- rsr@mail.berksys.com -- rsr@berksys.com
  17773. 510-540-5535 ext. 280
  17774. "It Wasn't Me"
  17775. =========================================================================
  17776. Date:         Tue, 26 Jul 1994 09:58:20 -0500
  17777. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17778. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17779. From:         "Dean J. Spearman" <Dean_Spearman@MBNET.MB.CA>
  17780. Subject:      Set data in Filemaker
  17781.  
  17782. Does anyone know if it is possible to use the "set data" command to set a
  17783. specific subset of cells in a given filemaker database?  (and if so what is
  17784. the correct syntax).  I know this works for Get data but I haven't figured
  17785. out how to do it with set data.  I suppose I could use multiple set data
  17786. statements but I can't belive that this wouldn't have a significant
  17787. performance hit.
  17788.  
  17789. Even better, is their any way to use "create record with data" to do the
  17790. same thing with a new record
  17791. =========================================================================
  17792. Date:         Tue, 26 Jul 1994 11:00:18 EDT
  17793. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17794. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17795. From:         Danny Goodman <DGoodman@AOL.COM>
  17796. Subject:      Re: AppleScript Exit()?
  17797.  
  17798. >Is there a good way to exit from scripts immediately?
  17799.  
  17800. The statement
  17801.  
  17802.     error number -128
  17803.  
  17804. is the same as clicking the Cancel button in a dialog.  All processing stops
  17805. right there.
  17806. =========================================================================
  17807. Date:         Tue, 26 Jul 1994 08:16:24 -0800
  17808. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17809. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17810. From:         Nick Arnett <nicka@MCCMEDIA.COM>
  17811. Subject:      Re: Scriptable News client?
  17812.  
  17813. At  5:41 PM 7/26/94 +0800, Todd Hooper wrote:
  17814. >Has anybody found a Usenet News reader which is scriptable? I looked
  17815. >at the latest NewsWatcher expecting it to be scriptable but it isn't.
  17816.  
  17817. I'd like the same.  The closest I've found are a couple of HyperCard-based
  17818. readers that thus could be scripted indirectly, of course.
  17819.  
  17820. I think this is from sumex-aim:
  17821.  
  17822. >/mac/util/comm/newsfetcher0.45.cpt.hqx
  17823. >  75     6/19/94    BinHex4.0,Compact1.34
  17824. >
  17825. >   A HyperCard stack to download news articles from a NNTP server and
  17826. >   save them into digest text files.
  17827.  
  17828. There's also StackedNews.
  17829.  
  17830. Nick
  17831.  
  17832.  
  17833. Multimedia Computing Corp.
  17834. Campbell, California
  17835. ----------------------------------------------------------
  17836. "We are surrounded by insurmountable opportunity." -- Pogo
  17837. =========================================================================
  17838. Date:         Tue, 26 Jul 1994 08:19:04 -0800
  17839. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17840. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17841. From:         Nick Arnett <nicka@MCCMEDIA.COM>
  17842. Subject:      Re: Scriptable News client?
  17843.  
  17844. At  7:32 AM 7/26/94 -0400, John Schettino wrote:
  17845.  
  17846. >At the end of this month I'll be releasing my runner-up in the AppleScript
  17847. >Hacks contest, the Netnews Grazer. Using the TCP/IP osax and an NNTP news
  17848. >server, you can "script" the news.
  17849.  
  17850. I'll look forward to that.  By any wild chance, are you integrating
  17851. AppleSearch?  That's what I'd really like to see.  Unfortunately,
  17852. AppleSearch isn't yet scriptable, though it does support events.
  17853.  
  17854. Nick
  17855.  
  17856.  
  17857. Multimedia Computing Corp.
  17858. Campbell, California
  17859. ----------------------------------------------------------
  17860. "We are surrounded by insurmountable opportunity." -- Pogo
  17861. =========================================================================
  17862. Date:         Tue, 26 Jul 1994 10:21:06 -0500
  17863. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17864. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17865. From:         Fred Terry <pfterry@LKS.CSI.COM>
  17866. Subject:      Re: Screen capture from a script ?
  17867.  
  17868. --------
  17869.  
  17870. Herb,
  17871.  
  17872. >Is there a way to do a capture of a window from a script ? The screen
  17873. >capture programs I know of ( FlashIt, ScreenShot, SnapJot  ) trigger the
  17874. >capture using  some keystroke but all  mechanisms I can think of to send
  17875. >keystrokes to the Finder from a script don't  work ( QuickKeys,
  17876. >AutoType,etc... ). I guess this is because the screen capture extension
  17877. >never gets to see the keystrokes.
  17878.  
  17879. Just a postscript to this question. I did some poking around last night and
  17880. found that a Screen Dump OSAX did ship on the AppleScript beta CD.
  17881.  
  17882. But, I also remembered Ed Lai's Clipboard Magician
  17883. (ftp://gaea.kgs.ukans.edu//applescript/scriptableapps/ClipboardMagician.76.sit.
  17884. hqx).
  17885. It has a couple of grab commands that might allow you to grab the window or a
  17886. portion of the screen. Didn't check the docs (couldn't find them); just looked
  17887. at the application's dictionary.
  17888.  
  17889. Ed's on the list, so he may comment.
  17890.  
  17891. pf
  17892.  
  17893.  
  17894. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  17895. Fred Terry, The Alta Group, pfterry@lks.csi.com, +1 913/841-1283
  17896. =========================================================================
  17897. Date:         Tue, 26 Jul 1994 08:59:41 -0700
  17898. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17899. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17900. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  17901. Subject:      Re: Available disk space
  17902.  
  17903. >Hi there, Someone said it the other day: "I'ts so obvious I feel embarrased
  17904. >to ask it ...". Can any one help me with a script to get the available disk
  17905. >space ? Any ideas, With Much Thanks, David A.
  17906. >
  17907.  
  17908. For the Scriptable Finder, and English AppleScript, it's like this:
  17909.  
  17910. tell application "Finder" -- scriptable Finder only
  17911.     free space of disk "Vashon"
  17912. end tell
  17913.  
  17914.  
  17915. In the States, Scriptable Finder is routinely available...I don't know
  17916. about over there.  It will come with System 7.5.
  17917.  
  17918. There are no doubt also Scripting Additions which will do the job...I no
  17919. longer care, since I run Scriptable Finder.  --John
  17920.  
  17921. --
  17922. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  17923. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  17924. =========================================================================
  17925. Date:         Tue, 26 Jul 1994 09:52:45 -0800
  17926. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17927. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17928. From:         Leonard Rosenthol <leonardr@NETCOM.COM>
  17929. Subject:      Re: Scriptable News client?
  17930.  
  17931. >Has anybody found a Usenet News reader which is scriptable? I looked
  17932. >at the latest NewsWatcher expecting it to be scriptable but it isn't.
  17933. >
  17934.         No scriptable clients taht I know of.  It's on John's list for
  17935. NewsWatcher, but it;s not a high priority since scripting News isn't all
  17936. that it's cracked up to be.
  17937.  
  17938.         What would you want to script??
  17939.  
  17940.  
  17941. LDR
  17942.  
  17943. -----------------------------------------------------------------------------
  17944. Leonard Rosenthol                       Internet:       leonardr@netcom.com
  17945. Director of Advanced Technology         AppleLink:      MACgician
  17946. Aladdin Systems, Inc.                   GEnie:          MACgician
  17947. =========================================================================
  17948. Date:         Tue, 26 Jul 1994 10:25:06 -0700
  17949. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17950. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  17951. From:         Edmund Lai <lai@APPLE.COM>
  17952. Subject:      Re: Screen capture from a script ?
  17953.  
  17954. >--------
  17955. >
  17956. >Herb,
  17957. >
  17958. >>Is there a way to do a capture of a window from a script ? The screen
  17959. >>capture programs I know of ( FlashIt, ScreenShot, SnapJot  ) trigger the
  17960. >>capture using  some keystroke but all  mechanisms I can think of to send
  17961. >>keystrokes to the Finder from a script don't  work ( QuickKeys,
  17962. >>AutoType,etc... ). I guess this is because the screen capture extension
  17963. >>never gets to see the keystrokes.
  17964. >
  17965. >Just a postscript to this question. I did some poking around last night and
  17966. >found that a Screen Dump OSAX did ship on the AppleScript beta CD.
  17967. >
  17968. >But, I also remembered Ed Lai's Clipboard Magician
  17969. >(ftp://gaea.kgs.ukans.edu//applescript/scriptableapps/ClipboardMagician.76.sit.
  17970. >hqx).
  17971. >It has a couple of grab commands that might allow you to grab the window or a
  17972. >portion of the screen. Didn't check the docs (couldn't find them); just looked
  17973. >at the application's dictionary.
  17974. >
  17975. >Ed's on the list, so he may comment.
  17976. >
  17977. >pf
  17978. >
  17979. >
  17980. >+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  17981. >Fred Terry, The Alta Group, pfterry@lks.csi.com, +1 913/841-1283
  17982.  
  17983. I probably would not recommand either the dump screen osax or Clipboard
  17984. Magician. Clipboard Magician is a collection of independent code
  17985. resource. The screen dump code resource expects the user to manually
  17986. select the rectangle with the mouse, and it would only do a 1 bit
  17987. screen dump. The screen dump osax actually just stole code from the
  17988. Clipboard Magican and so it also just do a 1 bit screen dump.
  17989.  
  17990. The easiest way to do it is have an osax that would do execute FKEY 3.
  17991. There should be osax such osax out there. If not it would be trival
  17992. and very useful to write such an osax where you can execute a FKEY by
  17993. either number of by FKEY name.
  17994.  
  17995. However, there is a difference between what FKEY 3 does and what
  17996. dump screen osax/Clipboard Magician does. FKEY 3 generates a PICT
  17997. file, which I suspect is what is asked for. However dump screen
  17998. osax would return PICT as result to AppleScript, which AppleScript
  17999. can then manipulate, such as scale, rotate, store in the scrapbook etc.
  18000. Unfortunately we do not have a lot of application that offers scripting
  18001. for graphical data. Clipboard Magican offers a few, but they are fairly
  18002. simple minded ones. One advance of AppleScript over HyperTalk is that
  18003. AppleScript variable can be of any data type, including PICT, so PICT
  18004. can be handled directly inside AppleScript. So it is unfortunate that
  18005. there are very few application or osax that let you manipulate such
  18006. non-textual data, and people still use AppleScript exclusively for
  18007. textual data.
  18008.  
  18009. /* Disclaimer: All statments and opinions expressed are my own */
  18010. /* Edmund K. Lai                                               */
  18011. /* Apple Computer, MS303-3A                                    */
  18012. /* 20525 Mariani Ave,                                          */
  18013. /* Cupertino, CA 95014                                         */
  18014. /* (408)974-6272                                               */
  18015. zW@h9cOi
  18016. =========================================================================
  18017. Date:         Tue, 26 Jul 1994 13:40:00 -0500
  18018. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18019. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18020. From:         David Boroditsky <sage!dave@NOC.TOR.HOOKUP.NET>
  18021. Organization: Sage Design
  18022. Subject:      Frontier records & lists
  18023.  
  18024. I have question regarding accessing a list of records in Frontier.
  18025. When scripting Quark, you can do something like
  18026.  
  18027.    get(page[1].picturebox[color == "foo"].name)
  18028.  
  18029. and you will be returned a list of the names of all the picture boxes one
  18030. page 1 that have the color "foo".
  18031.  
  18032. Is there any way to do something like this with a very large list of records
  18033. in Frontier? I have created a type of index for 2500 illustrations (stock
  18034. number, folder name, and file name), and want to be able to get all the file
  18035. names that pertain to a certain item number. The client for whose jobs I
  18036. created these scripts is organizationally challenged and has several
  18037. duplicate stock numbers for completely different products.
  18038.  
  18039. I want to be able to find all the records that contain the same value in one
  18040. particular field  without looping through the entire list and checking the
  18041. value of that field. For example I would like to be able to do something like
  18042.  
  18043.  
  18044.   foo = a very large list of records
  18045.   bar = foo['fld1' == "something"]
  18046.  
  18047. and have bar be a list of either the records themselves or even the index
  18048. values of the list elements that match.
  18049. I am just wondering if Frontier can do this but I haven't figured it out how,
  18050. or if it can't.  If it can't, consider it a suggestion.
  18051.  
  18052. +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
  18053. |       Everything is very very deeply      \
  18054. |    I  N  T  E  R  T  W  I  N  G  L  E  D   \
  18055. | dave@sage.uucp/sage!dave@noc.tor.hookup.net \
  18056. +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
  18057. =========================================================================
  18058. Date:         Tue, 26 Jul 1994 13:50:00 -0400
  18059. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18060. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18061. Comments:     Warning -- original Sender: tag was ross@BNR.CA
  18062. From:         ab026@FREENET.CARLETON.CA
  18063. Subject:      Re: Scriptable News client?
  18064.  
  18065. >>Has anybody found a Usenet News reader which is scriptable? I looked
  18066. >>at the latest NewsWatcher expecting it to be scriptable but it isn't.
  18067. >>
  18068. >        No scriptable clients taht I know of.  It's on John's list for
  18069. >NewsWatcher, but it;s not a high priority since scripting News isn't all
  18070. >that it's cracked up to be.
  18071. >
  18072. >        What would you want to script??
  18073.  
  18074. Good question.  Maybe when John implements filtering, you might want to
  18075. take a daily disk dump of selected postings?
  18076.  
  18077. Since NewsWatcher implements many functions through menu commands, perhaps
  18078. my Menu Events extension and scripting addition package might do the trick.
  18079. James Davis's AutoType OSAX would be a help as well.
  18080.  
  18081. ftp://gaea.kgs.ukans.edu/applescript/addons/Menu_Events_1.1.2.sit.hqx
  18082.  
  18083. Fully documented and free.  Have fun.
  18084.  
  18085. Ross Brown - AWOL Software Productions
  18086. PO Box 24207, 300 Eagleson Road, Kanata, Ontario, Canada K2M 2C3
  18087. publisher of AWOL Utilities - "the best deal in freeware!"
  18088. ab026@freenet.carleton.ca
  18089. =========================================================================
  18090. Date:         Tue, 26 Jul 1994 11:15:20 -0800
  18091. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18092. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18093. From:         Gabriel Lawrence <gabe@UCSD.EDU>
  18094. Subject:      Scriptable terminal emulator?
  18095.  
  18096. any one know of a free probram like zterm that supports scripting?
  18097.  
  18098. thanx a million!
  18099.  
  18100. -Gabe
  18101.  
  18102. -----------------------------------------------------------------------
  18103.                   Scripps Institution of Oceanography
  18104.                             UC San Diego
  18105.                   Wrk: 619.534.2040 Hme: 619.455.6506
  18106.                      http://sio.ucsd.edu/~gabe
  18107.  
  18108.         You know that the Pentium TV commercial with the flying chip
  18109.         touting how fantastically fast the Pentium is? That commercial
  18110.         was created on a *Macintosh* 840AV running the ElectricImage
  18111.         Animation System. Now, if Apple would only advertise *that*.
  18112. =========================================================================
  18113. Date:         Tue, 26 Jul 1994 14:02:31 -0500
  18114. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18115. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18116. From:         Chris Dowling <cdowling@FACSTAFF.WISC.EDU>
  18117. Subject:      Update on handling dialog box buttons
  18118.  
  18119. I recently asked for help handling dialog box buttons with AppleScript.
  18120. Thank you to all who responded.  The following is a description of the
  18121. problem and possible solutions.
  18122.  
  18123. PROBLEM:
  18124. I wanted to open an AppleShare volume alias with the following script.
  18125. (The alias is for a user without a password.)  I expected the login dialog
  18126. box to flip by, but it sat there waiting for action from the user.  How can
  18127. this login be automated so that the dialog box won't prompt for user
  18128. response?
  18129.  
  18130. -- Opens an login alias.
  18131. set login to (path to system folder as string) & "USER1"
  18132. tell finderLib to openFiles at {login}
  18133.  
  18134. SOLUTIONS:
  18135. 1. The mountVol scripting addition (osax) works when "Guest" (<Any User> in
  18136. AppleShare) login is enabled .  The following command logs in as <Any User>
  18137. on the KODIAK volume of the BEAR server in the MAMMAL zone.  The one
  18138. drawback is that guest access allows anyone to login to the server.
  18139. MountVol can be retrieved via anonymous FTP:
  18140. /applescript/osaxen/MountVolosax.hqx at  gaea.kgs.ukans.edu
  18141.  
  18142. MountVolume zone "MAMMAL" server "BEAR" volume "KODIAK"
  18143.  
  18144. 2. The Okey Dokey control panel device works when the "user without a
  18145. password" causes the login dialog box to appear.  This INIT/CDEV "presses"
  18146. the default button in modal dialogs after a time limit.  The control panel
  18147. lets one set the time limit by minutes and seconds.  The one drawback is
  18148. that the time limit is global.  So, it presses the default button in other
  18149. modal dialogs, for example, print dialog boxes.  Retrieve Okey Dokey via
  18150. anonymous FTP in
  18151. /mirror/umich-mac/system.extensions/cdev/okeydokey1.01.sit.hqx at
  18152. nic.switch.ch (130.59.1.40).
  18153.  
  18154. 3.  The AutoType scripting addition (osax) was another solution I tried.
  18155. Its script command sent a return to the Mac, but I just couldn't direct its
  18156. keystrokes to the login dialog box.  Maybe after a time I'll improve my
  18157. aim.  AutoType can be retrieved via anonymous FTP:
  18158. /applescript/osaxen/AutoType1.0.sit.hqx at gaea.kgs.ukans.edu
  18159.  
  18160. Happy scripting,
  18161. Chris
  18162. ~~~~
  18163. Chris Dowling, Manager, SOE Computer Lab,
  18164. 1025 W. Johnson St., Madison, WI  53706, (608) 263-4339
  18165. cdowling@facstaff.wisc.edu
  18166. ~~~~
  18167. =========================================================================
  18168. Date:         Tue, 26 Jul 1994 12:17:51 -0800
  18169. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18170. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18171. From:         Leonard Rosenthol <leonardr@NETCOM.COM>
  18172. Subject:      Re: Scriptable terminal emulator?
  18173.  
  18174. At 11:15 AM 7/26/94, Gabriel Lawrence wrote:
  18175. >any one know of a free probram like zterm that supports scripting?
  18176. >
  18177.         ZTerm is not free, it is a shareware program.  If you use it, you
  18178. must pay for it.
  18179.  
  18180.         That aside, the only scriptable communications program at this time
  18181. is SITcomm from Aladdin Systems, Inc.   It is a commercial product and is
  18182. quite reasonably priced ($65 mailorder, $45 as a sidegrade from Aladdin).
  18183.  
  18184. Leonard
  18185.  
  18186. -----------------------------------------------------------------------------
  18187. Leonard Rosenthol                       Internet:       leonardr@netcom.com
  18188. Director of Advanced Technology         AppleLink:      MACgician
  18189. Aladdin Systems, Inc.                   GEnie:          MACgician
  18190. =========================================================================
  18191. Date:         Tue, 26 Jul 1994 15:43:07 -0400
  18192. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18193. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18194. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  18195. Subject:      Re: Set data in Filemaker
  18196. In-Reply-To:  <no.id> from "Dean J. Spearman" at Jul 26, 94 09:58:20 am
  18197.  
  18198. --Dean J. Spearman wrote:
  18199. >
  18200. >Does anyone know if it is possible to use the "set data" command to set a
  18201. >specific subset of cells in a given filemaker database?  (and if so what is
  18202. >the correct syntax).  I know this works for Get data but I haven't figured
  18203. >out how to do it with set data.  I suppose I could use multiple set data
  18204. >statements but I can't belive that this wouldn't have a significant
  18205. >performance hit.
  18206.  
  18207.     I believe the sytax works something like the following:
  18208.  
  18209. tell application "FileMaker Pro"
  18210.     set field "Cell A" to {"Value 1", "value 2", ... "Value n"}
  18211. end tell
  18212.  
  18213.     This will set the value of cell "Cell A" in the first n records of
  18214. the current found set to the successive items of the list. Think of it
  18215. as the quick way to perform multiple "Set Cell "Cell A"" statements.
  18216.  
  18217. >Even better, is their any way to use "create record with data" to do the
  18218. >same thing with a new record
  18219.  
  18220.     Good question. I really don't know if there is a way to do this.
  18221.  
  18222. -Hades
  18223. =========================================================================
  18224. Date:         Tue, 26 Jul 1994 12:59:27 -0800
  18225. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18226. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18227. From:         "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  18228. Subject:      Re: Update on handling dialog box buttons
  18229.  
  18230. At 14:02 7/26/94 -0500, Chris Dowling wrote:
  18231.  
  18232. >SOLUTIONS:
  18233. >1. The mountVol scripting addition (osax) works when "Guest" (<Any User> in
  18234. >AppleShare) login is enabled .  The following command logs in as <Any User>
  18235. >on the KODIAK volume of the BEAR server in the MAMMAL zone.  The one
  18236. >drawback is that guest access allows anyone to login to the server.
  18237. >MountVol can be retrieved via anonymous FTP:
  18238. >/applescript/osaxen/MountVolosax.hqx at  gaea.kgs.ukans.edu
  18239. >
  18240. >MountVolume zone "MAMMAL" server "BEAR" volume "KODIAK"
  18241.  
  18242. This is cool and exactly what I wanted (and didn't think I could do) for
  18243. something I'm working on right now, only the machine *does* require a login
  18244. name and password (and it's a machine that holds our financial records, so
  18245. I'd rather not enable guest access).  Any way, either with this osax or
  18246. with another one to log in as a specific person?
  18247.  
  18248. -roy
  18249.  
  18250. Roy S. Rapoport -- rsr@mail.berksys.com -- rsr@berksys.com
  18251. 510-540-5535 ext. 280
  18252. "It Wasn't Me"
  18253. =========================================================================
  18254. Date:         Tue, 26 Jul 1994 16:11:59 -0400
  18255. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18256. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18257. From:         Lee Hoong <lhoong@UNIX.CC.EMORY.EDU>
  18258. Subject:      Re: Set data in Filemaker
  18259.  
  18260. >--Dean J. Spearman wrote:
  18261. >>
  18262. >>Does anyone know if it is possible to use the "set data" command to set a
  18263. >>specific subset of cells in a given filemaker database?  (and if so what is
  18264. >>the correct syntax).  I know this works for Get data but I haven't figured
  18265. >>out how to do it with set data.  I suppose I could use multiple set data
  18266. >>statements but I can't belive that this wouldn't have a significant
  18267. >>performance hit.
  18268. >
  18269. >    I believe the sytax works something like the following:
  18270. >
  18271. >tell application "FileMaker Pro"
  18272. >    set field "Cell A" to {"Value 1", "value 2", ... "Value n"}
  18273. >end tell
  18274. >
  18275. >    This will set the value of cell "Cell A" in the first n records of
  18276. >the current found set to the successive items of the list. Think of it
  18277. >as the quick way to perform multiple "Set Cell "Cell A"" statements.
  18278. >
  18279. >>Even better, is their any way to use "create record with data" to do the
  18280. >>same thing with a new record
  18281. >
  18282. >    Good question. I really don't know if there is a way to do this.
  18283. >
  18284. >-Hades
  18285.  
  18286. You can certainly do this.  For example,
  18287.  
  18288.  
  18289. tell application "FileMaker Pro"
  18290.         set Record 1 of Database 1 to {"1", "2nd", "Third"}
  18291.         Create New Record With Data {"2", "second 2nd", "4"}
  18292. end tell
  18293.  
  18294. will set the first three fields of record 1 to "1", "2nd", and "Third" then
  18295. create a new record with the first 3 fields having values "2", "second
  18296. 2nd", and "4".
  18297.  
  18298. At least, this works with FMP 2.1v2. ;-)
  18299.  
  18300. Lee.
  18301.  
  18302. Lee K. Hoong
  18303. Emory University
  18304. Atlanta, GA 30322
  18305. Internet: lhoong@emoryu1.cc.emory.edu
  18306. AOL: LHOONG
  18307. ==========================
  18308. Opinions and comments expressed are mine; I do not represent Emory
  18309. University.
  18310. =========================================================================
  18311. Date:         Tue, 26 Jul 1994 16:10:55 -0400
  18312. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18313. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18314. From:         "Kevin A. Gemeinhart" <kg14+@ANDREW.CMU.EDU>
  18315. Subject:      AS / FMPro Date Reference
  18316.  
  18317. I am looking for the correct reference form to tell AppleScript to set a
  18318. FMPro DATE field, "TDays Date" to the AS current date cDate.  The
  18319. following have been attempted so far:
  18320.  
  18321.     set cDate to Current Date
  18322.  
  18323.     tell application "FileMaker Pro"
  18324.                 tell Database DBName
  18325.                             tell Layout 0
  18326.  
  18327.                     set Cell "T'days Date" to cDate as Date
  18328.                     -- unable to coerce
  18329.                     set Cell "T'days Date" to cDate as Text
  18330.                     -- invalid date supplied
  18331.                     set Cell "T'days Date" to cDate without time and
  18332.  
  18333.                         day as Date
  18334.                     -- FM doesn't understand  message
  18335.                     set Cell "T'days Date" to cDate without time and
  18336.  
  18337.                         day as Text
  18338.                     -- FM doesn't understand  message
  18339.  
  18340. I don't want to have to change the FMPro field to TEXT.
  18341.  
  18342. Thanks,
  18343.  
  18344. Kevin
  18345. =========================================================================
  18346. Date:         Tue, 26 Jul 1994 13:42:22 -0700
  18347. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18348. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18349. From:         MR Mac - Michael Robertson <robertso@SDSC.EDU>
  18350. Subject:      An Applescript to play a System 7 2x clickable sound - possible?
  18351.  
  18352. I need a script to play a System 7 sound file. You know the ones you can
  18353. double click and automatically play. Any ideas?
  18354.  
  18355.  
  18356.  
  18357. -- Michael
  18358.  
  18359.  
  18360. _____________________________________________________________________________
  18361. Michael Robertson - MR Mac         (619) 534-5107 office
  18362. Macintosh Business Consultant      (619) 989-8943 pager
  18363. San Diego Supercomputer Ctr.       (619) 534-5152 fax
  18364.  
  18365. Internet, America Online           robertso@sdsc.edu
  18366. Alphapager                         pager@sdsc.edu with subject mrmac
  18367. _____________________________________________________________________________
  18368. =========================================================================
  18369. Date:         Tue, 26 Jul 1994 16:53:31 -0400
  18370. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18371. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18372. From:         anthony brown <anbrown@HUSC9.HARVARD.EDU>
  18373. Subject:      Re: Scriptable terminal emulator?
  18374. In-Reply-To:  <01HF60EDEH029JNOYX@NETOP8.HARVARD.EDU>
  18375.  
  18376. Actually, Microphone and Microphone LT are scriptable term emulators.
  18377.  
  18378. Anthony
  18379.  
  18380. *********************************************************************
  18381. *                                                                   *
  18382. *  Anthony Brown, Macintosh Programming Intern, Harvard Universtiy  *
  18383. *                                                                   *
  18384. *  "Classic Rock Music Station's,  The 70's are calling,            *
  18385. *   They want their 8 - Tracks back!"                               *
  18386. *                                                                   *
  18387. *   Dolphin's Rule!! Undefeated 17 - 0  The Perfect Team 1972-73    *
  18388. *                                                                   *
  18389. *********************************************************************
  18390. =========================================================================
  18391. Date:         Tue, 26 Jul 1994 20:21:25 EST
  18392. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18393. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18394. From:         Neal_Weinstein@MAGIC-BBS.CORP.APPLE.COM
  18395. Organization: M A G I C
  18396. Subject:      4D Applescript
  18397.  
  18398. I have been exploring applescript in conjunction with 4D and am very
  18399. impressed. However, I also need to write some applescript for Wordperfect
  18400. and am experiencing a few problems.
  18401.  
  18402. Has anyone done some applescript for Wordperfect?
  18403.  
  18404. Thanks,
  18405. neal
  18406. =========================================================================
  18407. Date:         Tue, 26 Jul 1994 14:21:32 -0800
  18408. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18409. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18410. From:         David Lewis <lewis@NETCOM.COM>
  18411. Subject:      Re: An Applescript to play a System 7 2x clickable sound -
  18412.               possible?
  18413.  
  18414. >I need a script to play a System 7 sound file. You know the ones you can
  18415. >double click and automatically play. Any ideas?
  18416. >
  18417. Tell the Finder to open it. "Finder.open (fileName)" in Frontier. I'm sure
  18418. AppleScript can do it too.
  18419.  
  18420.         David
  18421.  
  18422. David Lewis     Seagate Technology      (408) 439-2374  lewis@netcom.com
  18423. =========================================================================
  18424. Date:         Tue, 26 Jul 1994 10:03:06 -1000
  18425. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18426. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18427. From:         Pete Hinely <phinely@UHUNIX.UHCC.HAWAII.EDU>
  18428. Subject:      Storing file aliases in AppleScript
  18429.  
  18430. hi,
  18431.    What's the best way to store the alias from a "choose file" so that when
  18432. you run the script again you won't have to find the file again?
  18433.  
  18434. EXAMPLE:
  18435. --------
  18436.  
  18437. property theFile : ""
  18438.  
  18439. set theFile to choose file with prompt "" of type "TEXT"
  18440.  
  18441. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  18442. Preferably the user would only have to do this the first time the script
  18443. is run.  The script would remember where the file was from then on.
  18444.  
  18445. Anybody have any good solutions?
  18446.  
  18447. -peter
  18448. =========================================================================
  18449. Date:         Tue, 26 Jul 1994 14:44:58 -0700
  18450. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18451. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18452. From:         MR Mac - Michael Robertson <robertso@SDSC.EDU>
  18453. Subject:      Playing System 7 sound files via AppleScript
  18454.  
  18455. >>I need a script to play a System 7 sound file. You know the ones you can
  18456. >>double click and automatically play. Any ideas?
  18457. >>
  18458. >>
  18459. >I thought you could do that with either the open file command or the play
  18460. >sound commands that come with the standard AppleScript osaxen?
  18461.  
  18462. I tried both last night with no success. The open command was complaining
  18463. that ummmm... I can't remember... something about "can't open via
  18464. AppleEvents" or something like that. And the play sound command complains
  18465. about no sound resource found. :(
  18466. =========================================================================
  18467. Date:         Tue, 26 Jul 1994 14:51:35 -0800
  18468. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18469. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18470. From:         Mike Cohen <isis@NETCOM.COM>
  18471. Subject:      Re: Scriptable News client?
  18472.  
  18473. At  9:52 AM 7/26/94 -0800, Leonard Rosenthol wrote:
  18474. >>Has anybody found a Usenet News reader which is scriptable? I looked
  18475. >>at the latest NewsWatcher expecting it to be scriptable but it isn't.
  18476. >>
  18477. >        No scriptable clients taht I know of.  It's on John's list for
  18478. >NewsWatcher, but it;s not a high priority since scripting News isn't all
  18479. >that it's cracked up to be.
  18480. >
  18481. >        What would you want to script??
  18482. >
  18483. It would make life a lot easier for Kibo (there, I said it;) or anyone else
  18484. who wants to grab articles by some criteria. Wouldn't it be nice to be able
  18485. to do something like "get all articles containing 'AppleScript'"?
  18486.  
  18487. _______________________________________________________________
  18488. Mike Cohen           | ISIS International
  18489. (818) 788-4747 Voice | isis@netcom.com           | ALink: D6734
  18490. (818) 501-0653 Fax   | NewtonMail, eWorld: MikeC | AOL: MikeC20
  18491. Home Page: file://ftp.netcom.com/pub/isis/home.html
  18492. =========================================================================
  18493. Date:         Tue, 26 Jul 1994 14:56:39 -0800
  18494. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18495. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18496. From:         Mike Cohen <isis@NETCOM.COM>
  18497. Subject:      Re: 4D Applescript
  18498.  
  18499. At  8:21 PM 7/26/94 -0500, Neal_Weinstein@MAGIC-BBS.CORP.APPLE.COM wrote:
  18500. >I have been exploring applescript in conjunction with 4D and am very
  18501. >impressed. However, I also need to write some applescript for Wordperfect
  18502. >and am experiencing a few problems.
  18503. >
  18504. >Has anyone done some applescript for Wordperfect?
  18505. >
  18506. >Thanks,
  18507. >neal
  18508.  
  18509. WordPerfect's AppleScripting capabilities are a little bit flaky. DoScript
  18510. works nicely, but the core stuff is broken in various random ways. In
  18511. particular, the aete resource lies about some of what it understands so
  18512. you'll often get results like "can't access so-and-so". In spite of this, I
  18513. guess it's still better than MS Word which has *no* scripting capability.
  18514.  
  18515. _______________________________________________________________
  18516. Mike Cohen           | ISIS International
  18517. (818) 788-4747 Voice | isis@netcom.com           | ALink: D6734
  18518. (818) 501-0653 Fax   | NewtonMail, eWorld: MikeC | AOL: MikeC20
  18519. Home Page: file://ftp.netcom.com/pub/isis/home.html
  18520. =========================================================================
  18521. Date:         Tue, 26 Jul 1994 15:09:06 -0700
  18522. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18523. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18524. From:         Doug Baron <userland@NETCOM.COM>
  18525. Subject:      Re: Update on handling dialog box buttons
  18526.  
  18527. >At 14:02 7/26/94 -0500, Chris Dowling wrote:
  18528. >
  18529. >>SOLUTIONS:
  18530. >>1. The mountVol scripting addition (osax) works when "Guest" (<Any User> in
  18531. >>AppleShare) login is enabled .  The following command logs in as <Any User>
  18532. >>on the KODIAK volume of the BEAR server in the MAMMAL zone.  The one
  18533. >>drawback is that guest access allows anyone to login to the server.
  18534. >>MountVol can be retrieved via anonymous FTP:
  18535. >>/applescript/osaxen/MountVolosax.hqx at  gaea.kgs.ukans.edu
  18536. >>
  18537. >>MountVolume zone "MAMMAL" server "BEAR" volume "KODIAK"
  18538. >
  18539. >This is cool and exactly what I wanted (and didn't think I could do) for
  18540. >something I'm working on right now, only the machine *does* require a login
  18541. >name and password (and it's a machine that holds our financial records, so
  18542. >I'd rather not enable guest access).  Any way, either with this osax or
  18543. >with another one to log in as a specific person?
  18544.  
  18545. Roy,
  18546.  
  18547. Frontier and Frontier Runtime support a verb that does what you want:
  18548.  
  18549.         file.mountServerVolume ("zone:server:vol", "username", "password")
  18550.  
  18551. Since it is OSA-compliant, you can think of Frontier Runtime as a huge, $35
  18552. shareware OSAX library. With it installed, you can call this verb (and many
  18553. others) from AppleScript.
  18554.  
  18555. Doug
  18556. =========================================================================
  18557. Date:         Tue, 26 Jul 1994 15:09:12 -0700
  18558. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18559. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18560. From:         Doug Baron <userland@NETCOM.COM>
  18561. Subject:      Re: Frontier records & lists
  18562.  
  18563. >I have question regarding accessing a list of records in Frontier.
  18564. >When scripting Quark, you can do something like
  18565. >
  18566. >   get(page[1].picturebox[color == "foo"].name)
  18567. >
  18568. >and you will be returned a list of the names of all the picture boxes one
  18569. >page 1 that have the color "foo".
  18570. >
  18571. >Is there any way to do something like this with a very large list of records
  18572. >in Frontier? I have created a type of index for 2500 illustrations (stock
  18573. >number, folder name, and file name), and want to be able to get all the file
  18574. >names that pertain to a certain item number. The client for whose jobs I
  18575. >created these scripts is organizationally challenged and has several
  18576. >duplicate stock numbers for completely different products.
  18577. >
  18578. >I want to be able to find all the records that contain the same value in one
  18579. >particular field  without looping through the entire list and checking the
  18580. >value of that field. For example I would like to be able to do something like
  18581. >
  18582. >
  18583. >  foo = a very large list of records
  18584. >  bar = foo['fld1' == "something"]
  18585. >
  18586. >and have bar be a list of either the records themselves or even the index
  18587. >values of the list elements that match.
  18588. >I am just wondering if Frontier can do this but I haven't figured it out how,
  18589. >or if it can't.  If it can't, consider it a suggestion.
  18590. >
  18591.  
  18592. This should work fine, memory permitting. Generally, the list you get back
  18593. will contains object specifiers for the indicated items, but if you ask for
  18594. the items' ids, you should get back a list of ids. For example:
  18595.  
  18596.     foobar = foo ['fld1' == "something"].id
  18597.  
  18598. This assumes that "foo"s _have_ ids in the first place.
  18599.  
  18600. Doug
  18601. =========================================================================
  18602. Date:         Tue, 26 Jul 1994 22:06:33 GMT
  18603. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18604. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18605. From:         Christophe Reverd <Christophe_Reverd@EMAIL.FRANCENET.FR>
  18606. Organization: FranceNet
  18607. Subject:      Re: Set data in Filemaker
  18608.  
  18609. >Does anyone know if it is possible to use the "set data" command to set a
  18610. >specific subset of cells in a given filemaker database?  (and if so what is
  18611. >the correct syntax).  I know this works for Get data but I haven't figured
  18612. >out how to do it with set data.  I suppose I could use multiple set data
  18613. >statements but I can't belive that this wouldn't have a significant
  18614. >performance hit.
  18615. >
  18616. >Even better, is their any way to use "create record with data" to do the
  18617. >same thing with a new record
  18618.  
  18619. Did you try some of these statements ?
  18620.  
  18621. tell application "FileMaker Pro"
  18622.         Set Data first Record to "a\tb"
  18623.         Set Data Record 2 to {"a", "b"}
  18624.         Set Data Record 3 of window 2 to {"aa", "bb"}
  18625.         Set Data Record 4 of window 2 to "aaa\tbbbb"
  18626.         Set Data Cell 2 to "ccc"
  18627.         Set Data Field 1 to "replaced"
  18628.         Set Data Field "c" of Database "Test1" to "munged"
  18629.         make Record with data "data"
  18630.         make Record at window 2 with data "test2"
  18631.         make Record at first document with data "test3"
  18632.         make Record at Database 2 with data "test4"
  18633.         make Record at Database 2
  18634.         make Record with data {"more data", "abc"}
  18635.         make Record at window 2 with data {"test2", "abc"}
  18636.         make Record at first document with data {"test3", "abc"}
  18637.         make Record at Database "a" with data {"test4", "abc"}
  18638.         Set Data first Record to "a\tb"
  18639.         Set Data Record 2 to {"a", "b"}
  18640.         Set Data Record 3 of window 2 to {"aa", "bb"}
  18641.         Set Data Record 4 of window 2 to "aaa\tbbbb"
  18642.         Set Data Cell 2 to "ccc"
  18643.         Set Data Field 1 to "replaced"
  18644.         Set Data Field "c" of Database "Test1" to "munged"
  18645. end tell
  18646.  
  18647. Each line is independant from other.
  18648.  
  18649. Hope it helps !
  18650.  
  18651. Regards
  18652.  
  18653. Christophe Reverd
  18654.  
  18655. French FM Pro User Group
  18656. Externals for FM Pro devleoper
  18657.  
  18658. eMail : cReverd@FranceNet.fr or Christophe_Reverd@Email.FranceNet.fr
  18659. =========================================================================
  18660. Date:         Tue, 26 Jul 1994 15:58:43 -0700
  18661. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18662. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18663. From:         Steve Michel <michel@NETCOM.COM>
  18664. Subject:      Re: Storing file aliases in AppleScript
  18665.  
  18666. >hi,
  18667. >   What's the best way to store the alias from a "choose file" so that when
  18668. >you run the script again you won't have to find the file again?
  18669. >
  18670. >EXAMPLE:
  18671. >--------
  18672. >
  18673. >property theFile : ""
  18674. >
  18675. >set theFile to choose file with prompt "" of type "TEXT"
  18676. >
  18677.  
  18678. This'll do it:
  18679.  
  18680. property thefile:{}
  18681.  
  18682. if thefile is {} then
  18683.    set theFile to choose file with prompt "" of type "TEXT"
  18684. end if
  18685.  
  18686.  
  18687. ================================================================
  18688. "In order to come up with something that rings true, you would
  18689. have to stay out of the way of that information machine that
  18690. everyone is plugged into. If you're plugged into the same
  18691. information machine, then there's no point to write, 'cause then
  18692. everyone knows the same thing."
  18693.                                  -- Bob Dylan
  18694. ================================================================
  18695. =========================================================================
  18696. Date:         Wed, 27 Jul 1994 11:18:00 +1200
  18697. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18698. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18699. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  18700.               NZ" <LDO@WAIKATO.AC.NZ>
  18701. Subject:      Re: Applet RAM usage (was Re: Launching applications on remote
  18702.               machine?)
  18703.  
  18704. Pete Hinely <phinely@UHUNIX.UHCC.HAWAII.EDU> writes:
  18705.  
  18706. >Actually most scripts run fine if you set their memory way below the
  18707. >default 200K.  I've had no problems running scripts at 20K for example.
  18708.  
  18709. I wondered about this. Obviously 200K was chosen as an "average" amount, but
  18710. many scripts will run in less, while some will need more.
  18711.  
  18712. 200K may seem a small amount for one application, but if you think about
  18713. running lots of hang-around-in-the-background server scripts at once, that
  18714. can rapidly mount up.
  18715.  
  18716. I wonder: it wouldn't be hard to patch the applet stub code to set the
  18717. heap zone to the system heap at the start. Then your scripts could be set to
  18718. run in a really small partition, because they can dynamically allocate RAM in
  18719. the system heap as they need it!
  18720.  
  18721. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  18722. Info & Tech Services Division              fax: +64-7-838-4066
  18723. University of Waikato            electric mail: ldo@waikato.ac.nz
  18724. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  18725. =========================================================================
  18726. Date:         Wed, 27 Jul 1994 11:45:00 +1200
  18727. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18728. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18729. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  18730.               NZ" <LDO@WAIKATO.AC.NZ>
  18731. Subject:      Re: Storing file aliases in AppleScript
  18732.  
  18733. Pete Hinely <phinely@UHUNIX.UHCC.HAWAII.EDU> asks:
  18734.  
  18735. >   What's the best way to store the alias from a "choose file" so that when
  18736. >you run the script again you won't have to find the file again?
  18737. >
  18738. >EXAMPLE:
  18739. >--------
  18740. >
  18741. >property theFile : ""
  18742. >
  18743. >set theFile to choose file with prompt "" of type "TEXT"
  18744. >
  18745. >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  18746. >Preferably the user would only have to do this the first time the script
  18747. >is run.  The script would remember where the file was from then on.
  18748.  
  18749. You're on the right track. In your run handler, put in a check like the
  18750. following
  18751.  
  18752.         if class of theFile is not alias then
  18753.                 set theFile to (choose file ...)
  18754.         end if
  18755.  
  18756. The "choose file" command returns an alias, which is the most robust form in
  18757. which to store a file reference.
  18758.  
  18759. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  18760. Info & Tech Services Division              fax: +64-7-838-4066
  18761. University of Waikato            electric mail: ldo@waikato.ac.nz
  18762. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  18763. =========================================================================
  18764. Date:         Wed, 27 Jul 1994 11:49:00 +1200
  18765. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18766. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18767. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  18768.               NZ" <LDO@WAIKATO.AC.NZ>
  18769. Subject:      Re: App scriptability (was Re: 4D Applescript)
  18770.  
  18771. Mike Cohen <isis@NETCOM.COM> writes:
  18772.  
  18773. >WordPerfect's AppleScripting capabilities are a little bit flaky. DoScript
  18774. >works nicely, but the core stuff is broken in various random ways. In
  18775. >particular, the aete resource lies about some of what it understands so
  18776. >you'll often get results like "can't access so-and-so". In spite of this, I
  18777. >guess it's still better than MS Word which has *no* scripting capability.
  18778.  
  18779. Has anybody else looked at MacWrite Pro 1.5? I have, briefly. That has some
  18780. interesting scripting functions in it--it doesn't support the Object Model,
  18781. but I think you can do some useful things nonetheless.
  18782.  
  18783. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  18784. Info & Tech Services Division              fax: +64-7-838-4066
  18785. University of Waikato            electric mail: ldo@waikato.ac.nz
  18786. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  18787. =========================================================================
  18788. Date:         Tue, 26 Jul 1994 17:58:51 -0700
  18789. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18790. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18791. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  18792. Subject:      Re: An Applescript to play a System 7 2x clickable sound -
  18793.               possible?
  18794.  
  18795. >I need a script to play a System 7 sound file. You know the ones you can
  18796. >double click and automatically play. Any ideas?
  18797.  
  18798. With the scriptable Finder, it is (for a sound file on the desktop)
  18799.  
  18800. tell application "Finder"
  18801.      open file "Sosumi"
  18802. end tell
  18803.  
  18804. with the same file at the top level of the startup disk, it becomes...
  18805.  
  18806. tell application "Finder"
  18807.     open file "Sosumi" of startup disk
  18808. end tell
  18809.  
  18810.  
  18811. And so on.  Finder Liaison, FinderLib and other old-Finder crutches should
  18812. do the job, too.  In fact, after a few false starts (one of which crashed
  18813. =46inder), this seems to do the trick for the old Finder:
  18814.  
  18815. tell application "Finder"
  18816.     =ABevent FNDRsope=BB alias "Vashon:" given =ABclass fsel=BB:{alias "Vash=
  18817. on:Sosumi"}
  18818. end tell
  18819.  
  18820.   --John (=AB is left chevron, =BB is right chevron, for the MIME-impaired)
  18821.  
  18822. --
  18823. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  18824. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  18825. =========================================================================
  18826. Date:         Tue, 26 Jul 1994 18:02:56 -0700
  18827. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18828. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18829. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  18830. Subject:      Re: 4D Applescript
  18831.  
  18832. >I have been exploring applescript in conjunction with 4D and am very
  18833. >impressed. However, I also need to write some applescript for Wordperfect
  18834. >and am experiencing a few problems.
  18835. >
  18836. >Has anyone done some applescript for Wordperfect?
  18837.  
  18838. There are enough problems with the AppleScript (or Frontier) support in
  18839. WordPerfect 3.0 that I have concluded that for me, it is best to wait for
  18840. an improved release.  I've spoken to the product manager (at a dog-and-pony
  18841. show he did), and they are aware of the problems and plan to attend to
  18842. them.  Since then, there's a small matter of a corporate change...it
  18843. *probably* won't get in the way (although some of the assets might shift
  18844. toward OpenDoc support, I suppose).
  18845.  
  18846. For the moment, it's probably best to do everything possible with
  18847. WordPerfect macros, and trigger them from your scripts.
  18848.  
  18849.    --John
  18850.  
  18851. --
  18852. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  18853. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  18854. =========================================================================
  18855. Date:         Tue, 26 Jul 1994 18:22:18 -0800
  18856. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18857. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18858. From:         Leonard Rosenthol <leonardr@NETCOM.COM>
  18859. Subject:      Re: Scriptable News client?
  18860.  
  18861. >>        What would you want to script??
  18862. >>
  18863. >It would make life a lot easier for Kibo (there, I said it;) or anyone else
  18864. >who wants to grab articles by some criteria. Wouldn't it be nice to be able
  18865. >to do something like "get all articles containing 'AppleScript'"?
  18866. >
  18867.         It would be nice, BUT that is not the kind of thing that I see
  18868. doing with scripting since it would require that each message be "fetched"
  18869. which in terms kinda slows things down a LOT - UNLESS you are talking about
  18870. an offline News reader....
  18871.  
  18872.  
  18873. Leonard
  18874.  
  18875. -----------------------------------------------------------------------------
  18876. Leonard Rosenthol                       Internet:       leonardr@netcom.com
  18877. Director of Advanced Technology         AppleLink:      MACgician
  18878. Aladdin Systems, Inc.                   GEnie:          MACgician
  18879. =========================================================================
  18880. Date:         Wed, 27 Jul 1994 00:48:47 GMT
  18881. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18882. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18883. From:         Jay Hebert <jayh@LAISON.W8HD.ORG>
  18884. Organization: L'AISON - Beverly Hills, Michigan
  18885. Subject:      Calling Fontier from Applescript
  18886.  
  18887. Doug Baron <NETCOM.COM!userland> writes:
  18888.  
  18889. > Since it is OSA-compliant, you can think of Frontier Runtime as a huge, $35
  18890. > shareware OSAX library. With it installed, you can call this verb (and many
  18891. > others) from AppleScript.
  18892.  
  18893.  
  18894. Boy, now _I_ feel dumb for practically ignoring every post concerning how to
  18895. solve some problem in Frontier....  grr...
  18896.  
  18897. What are the logistics of doing so?  Do I issue a "Do Script <insert
  18898. frontier.cmd here>" via a tell statement or what?
  18899.  
  18900. This sounds like a very cool way to get the best of both worlds, thanks Doug!
  18901.  
  18902. Regards,
  18903. Jay Hebert
  18904. jayh@laison.w8hd.org
  18905. =========================================================================
  18906. Date:         Tue, 26 Jul 1994 21:27:07 -0800
  18907. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18908. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18909. From:         Leonard Rosenthol <leonardr@NETCOM.COM>
  18910. Subject:      Re: Applet RAM usage (was Re: Launching applications on remote
  18911.               machine?)
  18912.  
  18913. >I wonder: it wouldn't be hard to patch the applet stub code to set the
  18914. >heap zone to the system heap at the start. Then your scripts could be set to
  18915. >run in a really small partition, because they can dynamically allocate RAM in
  18916. >the system heap as they need it!
  18917. >
  18918.         I don't see why not.  When OSA Menu executes a script, it does so
  18919. with the System Heap as the current one for just this reason!
  18920.  
  18921.  
  18922. LDR
  18923.  
  18924. -----------------------------------------------------------------------------
  18925. Leonard Rosenthol                       Internet:       leonardr@netcom.com
  18926. Director of Advanced Technology         AppleLink:      MACgician
  18927. Aladdin Systems, Inc.                   GEnie:          MACgician
  18928. =========================================================================
  18929. Date:         Wed, 27 Jul 1994 15:36:05 +0800
  18930. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18931. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18932. From:         Todd Hooper <todd@PERTH.DIALIX.OZ.AU>
  18933. Subject:      Scriptable News client
  18934.  
  18935. I wrote:
  18936.  
  18937. >Has anybody found a Usenet News reader which is scriptable? I looked
  18938. >at the latest NewsWatcher expecting it to be scriptable but it isn't.
  18939.  
  18940. Thanks for everyones suggestions and pointers.
  18941.  
  18942. Leonard wrote:
  18943.  
  18944. >What would you want to script??
  18945.  
  18946. It's for a prototype Newton based News client. You select the groups you are
  18947. interested in, and it downloads all of the relevant articles to your Newton
  18948. for browsing offline at a later time.
  18949.  
  18950. Nick wrote:
  18951.  
  18952. >By any wild chance, are you integrating
  18953. >AppleSearch?  That's what I'd really like to see.  Unfortunately,
  18954. >AppleSearch isn't yet scriptable, though it does support events.
  18955.  
  18956. I can't work out why AppleSearch isn't scriptable. The AppleSearch
  18957. client developers kit includes an 'Apple Events API'. Is there a
  18958. specific reason AppleSearch itself isn't directly scriptable? Does
  18959. anybody know if the new version of AppleSearch is scriptable? It
  18960. seems odd that Apple would leave this vital feature out of a key
  18961. technology.
  18962.  
  18963. Someone else wrote about a difficulty getting dates into FileMaker. I've
  18964. had this too and I'd welome a solution (short of using text fields!).
  18965.  
  18966. Regards,
  18967.  
  18968. Todd
  18969. =========================================================================
  18970. Date:         Wed, 27 Jul 1994 09:42:23 +0100
  18971. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18972. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18973. From:         David Anguish <david.anguish@SIC.ADM.EPFL.CH>
  18974. Subject:      Availability of space
  18975.  
  18976. I'm not sure if this message got through first time(new subscriber) so here
  18977. it is again:
  18978. Does anyone have an idea how I might access in a script the Mac value
  18979. "Available disk space". I see no obvious Gestalt selector for this ...?
  18980. With Thanks, David A.
  18981.  
  18982. ----------------------------------------------
  18983. David Anguish, SA/SIC
  18984. EPFL, CP 121 - 1015 Lausanne - CH
  18985. E-mail: anguish@sic.adm.epfl.ch
  18986. Phone:  +41 21 693 45 81
  18987. ----------------------------------------------
  18988. =========================================================================
  18989. Date:         Wed, 27 Jul 1994 00:36:51 -0800
  18990. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18991. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  18992. From:         Jon Pugh <jonpugh@NETCOM.COM>
  18993. Subject:      Re: Screen capture from a script ?
  18994.  
  18995. >From:    Edmund Lai <lai@APPLE.COM>
  18996. >The easiest way to do it is have an osax that would do execute FKEY 3.
  18997. >There should be osax such osax out there. If not it would be trival
  18998. >and very useful to write such an osax where you can execute a FKEY by
  18999. >either number of by FKEY name.
  19000.  
  19001. Jon's Commands has the execute fkey command.  It can do this.
  19002.  
  19003. >Unfortunately we do not have a lot of application that offers scripting
  19004. >for graphical data.
  19005.  
  19006. Notable is Apple's PhotoFlash.  It's scriptable, recordable and attachable.
  19007. Version 1.1 has a native PPC image engine.  Version 2.0 is coming RSN.  It
  19008. will include an integrated scriptable image browser and be completely
  19009. native.
  19010.  
  19011. Jon
  19012. =========================================================================
  19013. Date:         Wed, 27 Jul 1994 10:39:47 +0000
  19014. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19015. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19016. From:         Simon Gill <Simon.Gill@BRUNEL.AC.UK>
  19017. Subject:      Intercepting HyperCard data
  19018.  
  19019. I have been experimenting with monitoring students interactions in a series
  19020. of HyperCard stacks. I have been successfully able to feed the choosen
  19021. 'key' interactions across ethertalk to another mac running HyperCard via
  19022. Apple Events.
  19023. The remote machine then sends back a suggestion for certain interactions
  19024. and interaction patterns.
  19025.  
  19026. I would now like to try writing a small Applet with AppleScript to run on
  19027. the host machine. I envisage using events being sent from Hypercard to the
  19028. applet, cached and stored to disk by the applet, and then certain doscript
  19029. events sent back from the AppleScript applet to HyperCard.
  19030.  
  19031. I am wondering what is the best method to intercept events from HyperCard.
  19032. The data is typically like;
  19033.  
  19034. COPN,Start,Stationary/Motion,1,Stationary/Motion,10:54:33 am
  19035.  
  19036. OMDN,Start,Stationary/Motion,1,Falling,10:54:53 am
  19037.  
  19038. MOPN,Start,Stationary/Motion,1,Falling,10:54:57 am
  19039.  
  19040. each line represents the data for one event.
  19041. I would appreciate any ideas as I am quite new to AppleScript.
  19042.  
  19043. Thanks in advance
  19044.  
  19045. ____________________________________________________________________
  19046.  
  19047. Simon Gill
  19048. Department of Design
  19049. Brunel University
  19050. Egham
  19051. Surrey TW20 OJZ
  19052. United Kingdom
  19053. ____________________________________________________________________
  19054.  
  19055. Tel:    +44 784 431341                     email: Simon.Gill@brunel.ac.uk
  19056. =========================================================================
  19057. Date:         Wed, 27 Jul 1994 14:00:58 EETDST
  19058. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19059. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19060. From:         Tero Loimuneva <Tero.Loimuneva@TH.TELE.FI>
  19061. Subject:      Reset Timeout and Sender's address - how?
  19062. In-Reply-To:  <9407270409.AA29285@smtp.tele.fi>; from "Automatic digest
  19063.               processor" at Jul 27, 94 12:00 am
  19064.  
  19065. 1) Can anyone tell me how do I make AE Manager's AEResetTimout function from AS
  19066. to get more time for the server script to accomplish its task?
  19067.  
  19068. 2) Is there a way to get the address of the serder of the event (ie. in open doc
  19069. s) in AS? I can't seem to find anyting on either of these questions (I have IM V
  19070. I & Language at Glance stack).
  19071.  
  19072. Actually, if I would know the answer to the second question then I could easily
  19073. make an osax to solve the first problem.
  19074.  
  19075. Some background:
  19076. I have a client server system to automate some file manipulations
  19077. (usually lots of files at the time). The client application (written in Pascal)
  19078. should know how the task is progressing.
  19079.  
  19080. Now I've made the client to send one file at the time and wait for the server
  19081. to RETURN or signal ERROR messages. However this makes the Pascal program and
  19082. the AS script a bit "messy" or harder to update.
  19083.  
  19084. I'd like to make the client and server to talk to each other but I can't code th
  19085. e clients address into the server since the client can be in any machine on the
  19086. whole network. AND I'm not happy with the idea to send a separate event from
  19087. the client to tell it's address on the network.
  19088.  
  19089.         - Loimu
  19090. =========================================================================
  19091. Date:         Wed, 27 Jul 1994 09:47:05 -0500
  19092. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19093. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19094. From:         David Boroditsky <sage!dave@NOC.TOR.HOOKUP.NET>
  19095. Organization: Sage Design
  19096. Subject:      Re(2): Frontier records & lists
  19097.  
  19098. Doug Baron wrote:
  19099.  
  19100. >This should work fine, memory permitting. Generally, the list you get back
  19101. >will contains object specifiers for the indicated items, but if you ask for
  19102. >the items' ids, you should get back a list of ids. For example:
  19103. >
  19104. >    foobar = foo ['fld1' == "something"].id
  19105. >
  19106. >This assumes that "foo"s _have_ ids in the first place.
  19107.  
  19108. Am I missing something? It seems to me that this kind of thing does not work
  19109. with lists of records in Frontier, but does work with objects in Quark. Allow
  19110. me to illustrate:
  19111.  
  19112. local
  19113.   foo, bar
  19114. foo = {{'fld1':"rec 1 fld 1 data",'fld2':"rec 1 fld 2 data"},{'fld1':"rec 2
  19115. fld 1 data",'fld2':"rec 2 fld 2 data"}}
  19116.  
  19117. foo is a list that contains 2 elements. Each element is a record that
  19118. contains 2 fields, named 'fld1' and 'fld2'.
  19119.  
  19120. The following command
  19121.  
  19122.   bar = foo['fld1' == "rec 2 fld 1 data"]
  19123.  
  19124. yields the error "Array index is out of range. The list "foo" doesn't have an
  19125. item #0"
  19126.  
  19127. Shouldn't the above assignment work?
  19128.  
  19129. Or what about the following potentially quite useful assignments...
  19130.  
  19131.   bar = foo[100-last]['fld1' == "rec 2 fld 1 data"]
  19132.   bar = foo['fld1' contains "rec 2"]
  19133.   bar = foo['fld1' startswith "rec"]
  19134.  
  19135. or something similar.
  19136.  
  19137. Basically, I am wondering if what I want to do in Frontier is currently
  19138. impossible (and if not how do I?), and to recommend that it be implemented in
  19139. the future if it is.
  19140.  
  19141. thanx
  19142. +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+
  19143. |       Everything is very very deeply      \
  19144. |    I  N  T  E  R  T  W  I  N  G  L  E  D   \
  19145. | dave@sage.uucp/sage!dave@noc.tor.hookup.net \
  19146. +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
  19147. =========================================================================
  19148. Date:         Wed, 27 Jul 1994 10:47:31 EDT
  19149. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19150. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19151. From:         Danny Goodman <DGoodman@AOL.COM>
  19152. Subject:      Re: Storing file aliases in AppleScript
  19153.  
  19154. >What's the best way to store the alias from a "choose file"?
  19155.  
  19156. You also need to make sure your script is covered when someone moves the
  19157. file.  Here's a fragment that takes care of all scenarios:
  19158.  
  19159. property theFileAlias:""
  19160. repeat
  19161.   try
  19162.       -- your command that requires theFileAlias here --
  19163.       exit repeat
  19164.    on error -- file wasn't found or theFileAlias is empty
  19165.       set theFileAlias to (choose file with prompt "" of type "TEXT")
  19166.    end try
  19167. end repeat
  19168.  
  19169. This example based on code from The Complete AppleScript Handbook, p. 307.
  19170. =========================================================================
  19171. Date:         Wed, 27 Jul 1994 09:54:28 -0500
  19172. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19173. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19174. From:         iozzo nicholas f <niozzo@UXA.CSO.UIUC.EDU>
  19175. Subject:      Want to learn Apple Script!
  19176.  
  19177. I'm new to this (obviously) and I would like to find some good documentation
  19178. on Apple Script. Where (on the internet) could I go to get this help?
  19179.  
  19180. Nick Iozzo
  19181. =========================================================================
  19182. Date:         Wed, 27 Jul 1994 10:59:55 -0400
  19183. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19184. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19185. From:         Lee Hoong <lhoong@EMORYU1.CC.EMORY.EDU>
  19186. Subject:      Re: AS / FMPro Date Reference
  19187.  
  19188. >I am looking for the correct reference form to tell AppleScript to set a
  19189. >FMPro DATE field, "TDays Date" to the AS current date cDate.  The
  19190. >following have been attempted so far:
  19191. >
  19192. >    set cDate to Current Date
  19193. >
  19194. >    tell application "FileMaker Pro"
  19195. >                tell Database DBName
  19196. >                            tell Layout 0
  19197. >
  19198. >                    set Cell "T'days Date" to cDate as Date
  19199. >                    -- unable to coerce
  19200. >                    set Cell "T'days Date" to cDate as Text
  19201. >                    -- invalid date supplied
  19202. >                    set Cell "T'days Date" to cDate without time and
  19203. >
  19204. >                        day as Date
  19205. >                    -- FM doesn't understand  message
  19206. >                    set Cell "T'days Date" to cDate without time and
  19207. >
  19208. >                        day as Text
  19209. >                    -- FM doesn't understand  message
  19210. >
  19211. >I don't want to have to change the FMPro field to TEXT.
  19212. >
  19213. >Thanks,
  19214. >
  19215. >Kevin
  19216.  
  19217. The problem here is that FMP will accept dates (in date fields) only in
  19218. dd/mm/yy format (at least in the US version).  The key then is to provide
  19219. the date in this format when setting your field values via AS.  There will
  19220. be some extra work involved since the current date returned by AS is not in
  19221. the dd/mm/yy format.  Furthermore, AS does NOT provide a convenient method
  19222. for getting the no. of the current month (e. g. July = 7, January = 1); on
  19223. the other hand, one can get the day integer easily (see below).
  19224.  
  19225. The following script works for me in terms of setting the date field "start
  19226. date":
  19227.  
  19228. set mth to {{name:January, order:1}, {name:February, order:2}, {name:March,
  19229. order:3}, {name:April, order:4}, {name:May, order:5}, {name:June, order:6},
  19230. {name:July, order:7}, {name:August, order:8}, {name:September, order:9},
  19231. {name:October, order:10}, {name:November, order:11}, {name:December,
  19232. order:12}}
  19233.  
  19234. set nowmonth to month of the (current date)
  19235. set nowday to day of the (current date)
  19236. set nowyear to year of the (current date)
  19237. set shortyear to (text from character -2 to character -1 of (nowyear as string))
  19238.  
  19239. repeat with n in mth
  19240.         if name of n = nowmonth then set monthno to order of n
  19241. end repeat
  19242.  
  19243. tell application "FileMaker Pro"
  19244.         Set Data Cell "start date" of Record 1 To ((monthno & "/" & nowday
  19245. & "/" & shortyear) as string)
  19246. end tell
  19247.  
  19248. I'm using FMP 2.1v2.
  19249.  
  19250. Lee.
  19251.  
  19252. Lee K. Hoong
  19253. Emory University
  19254. Atlanta, GA 30322
  19255. Internet: lhoong@unix.cc.emory.edu
  19256. AOL: LHOONG
  19257. ==========================
  19258. Opinions and comments expressed are mine; I do not represent Emory
  19259. University.
  19260. =========================================================================
  19261. Date:         Wed, 27 Jul 1994 12:01:13 -0400
  19262. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19263. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19264. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  19265. Subject:      Re: AS / FMPro Date Reference
  19266. In-Reply-To:  <no.id> from "Lee Hoong" at Jul 27, 94 10:59:55 am
  19267.  
  19268. --Lee Hoong wrote:
  19269. >
  19270. >The problem here is that FMP will accept dates (in date fields) only in
  19271. >dd/mm/yy format (at least in the US version).  The key then is to provide
  19272. >the date in this format when setting your field values via AS.  There will
  19273. >be some extra work involved since the current date returned by AS is not in
  19274. >the dd/mm/yy format.  Furthermore, AS does NOT provide a convenient method
  19275. >for getting the no. of the current month (e. g. July = 7, January = 1); on
  19276. >the other hand, one can get the day integer easily (see below).
  19277. >
  19278. >The following script works for me in terms of setting the date field "start
  19279. >date":
  19280.  
  19281. >[script deleted]
  19282.  
  19283.     Lee's script, or one like it, will work just fine for this but there
  19284. is a much shorter way to get the date in the format that FM Pro wants it
  19285. in. If you have the GTQ Scripting Library from gaea.kgs.ukans.edu you
  19286. can combine two of the OSAXen into this command:
  19287.  
  19288.         date string for (current date in seconds) in short format
  19289.  
  19290.     This returns the current date in mm/dd/yy format.
  19291.  
  19292. -Hades
  19293. =========================================================================
  19294. Date:         Wed, 27 Jul 1994 09:26:07 -0800
  19295. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19296. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19297. From:         Nick Arnett <nicka@MCCMEDIA.COM>
  19298. Subject:      Re: Scriptable News client
  19299.  
  19300. At  3:36 PM 7/27/94 +0800, Todd Hooper wrote:
  19301.  
  19302. >I can't work out why AppleSearch isn't scriptable. The AppleSearch
  19303. >client developers kit includes an 'Apple Events API'. Is there a
  19304. >specific reason AppleSearch itself isn't directly scriptable? Does
  19305. >anybody know if the new version of AppleSearch is scriptable? It
  19306. >seems odd that Apple would leave this vital feature out of a key
  19307. >technology.
  19308.  
  19309. They've said that it's coming.  In fact, the AppleSearch product manager
  19310. either reads this list or has articles forwarded to her -- she let me know
  19311. about a company that's doing some interesting things with it.
  19312.  
  19313. I am surprised that scripting still hasn't been added.  AppleSearch could
  19314. be a tremendous help to any information integration system, but AppleScript
  19315. is the obvious way to do so.
  19316.  
  19317. I really should get my hands on the AppleEvents API for it, but there's
  19318. always something else to do... I keep hoping someone else will wire it into
  19319. HyperCard so that I can just borrow the code.  I'm mostly just prototyping
  19320. to learn about the technology for my reports and such, so I try to get a
  19321. lot of leverage from others' work... ;-)
  19322.  
  19323. Nick
  19324.  
  19325.  
  19326. Multimedia Computing Corp.
  19327. Campbell, California
  19328. ----------------------------------------------------------
  19329. "We are surrounded by insurmountable opportunity." -- Pogo
  19330. =========================================================================
  19331. Date:         Wed, 27 Jul 1994 12:29:51 -0400
  19332. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19333. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19334. From:         Lee Hoong <lhoong@EMORYU1.CC.EMORY.EDU>
  19335. Subject:      Re: AS / FMPro Date Reference
  19336.  
  19337. >--Lee Hoong wrote:
  19338. >>
  19339. >>The problem here is that FMP will accept dates (in date fields) only in
  19340. >>dd/mm/yy format (at least in the US version).  The key then is to provide
  19341. >>the date in this format when setting your field values via AS.  There will
  19342. >>be some extra work involved since the current date returned by AS is not in
  19343. >>the dd/mm/yy format.  Furthermore, AS does NOT provide a convenient method
  19344. >>for getting the no. of the current month (e. g. July = 7, January = 1); on
  19345. >>the other hand, one can get the day integer easily (see below).
  19346. >>
  19347. >>The following script works for me in terms of setting the date field "start
  19348. >>date":
  19349. >
  19350. >>[script deleted]
  19351. >
  19352. >    Lee's script, or one like it, will work just fine for this but there
  19353. >is a much shorter way to get the date in the format that FM Pro wants it
  19354. >in. If you have the GTQ Scripting Library from gaea.kgs.ukans.edu you
  19355. >can combine two of the OSAXen into this command:
  19356. >
  19357. >        date string for (current date in seconds) in short format
  19358. >
  19359. >    This returns the current date in mm/dd/yy format.
  19360. >
  19361. >-Hades
  19362.  
  19363. Thanks for that tip, Brian!  And I just realized that I made the mistake of
  19364. using the dd/mm/yy format in my original post when it should really be
  19365. mm/dd/yy.  Chock it up to lack of coffee.  ;-)
  19366.  
  19367. Lee.
  19368.  
  19369. Lee K. Hoong
  19370. Emory University
  19371. Atlanta, GA 30322
  19372. Internet: lhoong@unix.cc.emory.edu
  19373. AOL: LHOONG
  19374. ==========================
  19375. Opinions and comments expressed are mine; I do not represent Emory
  19376. University.
  19377. =========================================================================
  19378. Date:         Wed, 27 Jul 1994 09:43:43 -0700
  19379. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19380. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19381. From:         Michael Clasen <cmdesign@NETCOM.COM>
  19382. Subject:      Re: An Applescript to play a System 7 2x clickable sound -
  19383.               possible?
  19384.  
  19385. One way is to make an alias of the sound, using the scriptable finder then:
  19386. tell application "Finder"
  19387.         open alias "MACsmac:Desktop Folder:Money alias"
  19388. end tell
  19389. This works
  19390. lemme know if it works for you
  19391. mac
  19392. ================
  19393. >I need a script to play a System 7 sound file. You know the ones you can
  19394. >double click and automatically play. Any ideas?
  19395. >
  19396. >
  19397. >
  19398. >-- Michael
  19399. >
  19400. >
  19401. >_____________________________________________________________________________
  19402. >Michael Robertson - MR Mac         (619) 534-5107 office
  19403. >Macintosh Business Consultant      (619) 989-8943 pager
  19404. >San Diego Supercomputer Ctr.       (619) 534-5152 fax
  19405. >
  19406. >Internet, America Online           robertso@sdsc.edu
  19407. >Alphapager                         pager@sdsc.edu with subject mrmac
  19408. >_____________________________________________________________________________
  19409.  
  19410. -------
  19411. Michael A. Clasen   |  Voice - 1-415-703-8736
  19412. Clement Mok Design  |  Fax   - 1-415-703-9901
  19413. 600 Townsend St.    |  Internet: cmdesign@netcom.com
  19414. -------------------------------------------------
  19415. Live Anonomously    |2nd Century B.C.
  19416. =========================================================================
  19417. Date:         Wed, 27 Jul 1994 09:43:48 -0700
  19418. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19419. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19420. From:         Michael Clasen <cmdesign@NETCOM.COM>
  19421. Subject:      Re: 4D Applescript
  19422.  
  19423. How do you get 4D to be scriptable, is there some extension?
  19424. lemme know
  19425. mac
  19426. =======
  19427. >I have been exploring applescript in conjunction with 4D and am very
  19428. >impressed. However, I also need to write some applescript for Wordperfect
  19429. >and am experiencing a few problems.
  19430. >
  19431. >Has anyone done some applescript for Wordperfect?
  19432. >
  19433. >Thanks,
  19434. >neal
  19435.  
  19436. -------
  19437. Michael A. Clasen   |  Voice - 1-415-703-8736
  19438. Clement Mok Design  |  Fax   - 1-415-703-9901
  19439. 600 Townsend St.    |  Internet: cmdesign@netcom.com
  19440. -------------------------------------------------
  19441. Live Anonomously    |2nd Century B.C.
  19442. =========================================================================
  19443. Date:         Wed, 27 Jul 1994 09:44:08 -0700
  19444. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19445. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19446. From:         Michael Clasen <cmdesign@NETCOM.COM>
  19447. Subject:      Filemaker Pro Text selection
  19448.  
  19449. July 27, 1994, 9:31 AM
  19450. I'm tryng to use Applescript to place the insertion point at the end of a
  19451. first line in a Filemaker Pro text field. The script below operates like
  19452. Touchbase in that it moves the text down and the date stamps the first
  19453. paragraph.
  19454.   Does anyone know how to place the insertion point into a Text field in FMPro?
  19455. I got it to work using just the 4d language with the following script in a
  19456. button:
  19457. ---------------------------
  19458. vNotes:=[Users]User Notes
  19459. If ([Users]User Notes="")
  19460.   BEEP`this beeps if the text block is empty; will used for message to
  19461. users later
  19462.   [Users]User Notes:=Insert string([Users]User Notes;String(Current
  19463. date)+": ";0)
  19464.   HIGHLIGHT TEXT([Users]User Notes;10;10)`this selects end of the line in
  19465. paragraph 1
  19466. Else
  19467.   [Users]User Notes:=Char(13)+vNotes
  19468.   [Users]User Notes:=Insert string([Users]User Notes;String(Current
  19469. date)+": ";0)
  19470.   HIGHLIGHT TEXT([Users]User Notes;10;10)
  19471. End if
  19472. ------------------------------------------------
  19473. lemme know
  19474.  
  19475. -------
  19476. Michael A. Clasen   |  Voice - 1-415-703-8736
  19477. Clement Mok Design  |  Fax   - 1-415-703-9901
  19478. 600 Townsend St.    |  Internet: cmdesign@netcom.com
  19479. -------------------------------------------------
  19480. Live Anonomously    |2nd Century B.C.
  19481. =========================================================================
  19482. Date:         Wed, 27 Jul 1994 10:07:15 -0700
  19483. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19484. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19485. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  19486. Subject:      Re: 4D Applescript
  19487.  
  19488. >How do you get 4D to be scriptable, is there some extension?
  19489. >lemme know
  19490. >mac
  19491.  
  19492. Contact Mike Cohen <isis@NETCOM.COM>, regarding scripting 4D, and
  19493. "System7Pack" in general.  Warning...commercial product.  --John
  19494.  
  19495. --
  19496. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  19497. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  19498. =========================================================================
  19499. Date:         Wed, 27 Jul 1994 10:22:11 -0700
  19500. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19501. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19502. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  19503. Subject:      Re: AS / FMPro Date Reference
  19504.  
  19505. >
  19506. >    Lee's script, or one like it, will work just fine for this but there
  19507. >is a much shorter way to get the date in the format that FM Pro wants it
  19508. >in. If you have the GTQ Scripting Library from gaea.kgs.ukans.edu you
  19509. >can combine two of the OSAXen into this command:
  19510. >
  19511. >        date string for (current date in seconds) in short format
  19512. >
  19513. >    This returns the current date in mm/dd/yy format.
  19514. >
  19515.  
  19516. One cavaet regarding Brian's script:
  19517. US FileMaker wants dates in mm/dd/yy format, regardless of how your Mac is
  19518. set up in the Date & Time control panel.  Greg's osax, on the other hand,
  19519. follows the Control Panel (international resource) settings.  So, today, if
  19520. I set the Contorl Panel for dd/mm/yy, I get "27/7/94" from the above date
  19521. string... .  And FileMaker rejects that.  Worse, on the first through the
  19522. 12th, FileMaker would silently accept the date, and put the wrong value
  19523. into your database.
  19524.  
  19525. Lee Hoong's solution is thus safer.
  19526.    --John
  19527.  
  19528. --
  19529. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  19530. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  19531. =========================================================================
  19532. Date:         Wed, 27 Jul 1994 12:51:28 -0700
  19533. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19534. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19535. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  19536. Subject:      Re: Calling Fontier from Applescript
  19537.  
  19538. >Doug Baron <NETCOM.COM!userland> writes:
  19539. >
  19540. >> Since it is OSA-compliant, you can think of Frontier Runtime as a huge, $=
  19541. 35
  19542. >> shareware OSAX library. With it installed, you can call this verb (and ma=
  19543. ny
  19544. >> others) from AppleScript.
  19545. >
  19546. >
  19547. >What are the logistics of doing so?  Do I issue a "Do Script <insert
  19548. >frontier.cmd here>" via a tell statement or what?
  19549.  
  19550. There are actually two ways to cause Frontier or Runtime to execute code,
  19551. from an AppleScript script written in the Script Editor:
  19552.  
  19553. [The Frontier verb string.dateString () takes no parameters, and returns
  19554. the current date in (abbreviated) string form:  "Wed, Jul 27, 1994".]
  19555.  
  19556. You can use Do Script:
  19557.  
  19558. tell application "Frontier Runtime=81"
  19559.     Do Script "string.dateString ()"
  19560. end tell
  19561.  
  19562. You can also--inside a tell addressing Frontier or Runtime, do this:
  19563. tell application "Frontier Runtime=81"
  19564.     |string.dateString|()
  19565. end tell
  19566.  
  19567. I believe that is implemented as a subroutine event sent from AppleScript
  19568. to the target (Runtime, here).  [AETracker isn't cooperating this morning.]
  19569.  
  19570. The vertical bars are necessary to convince AppleScript that you know what
  19571. you are doing...otherwise the '.' is a syntax error.  Script Editor will
  19572. style string.dateString as a variable, etc, not as a keyword.
  19573.  
  19574. This even works for those cases where a Frontier verb's name collides with
  19575. an AppleScript keyword:
  19576.  
  19577. tell application "Frontier Runtime=81"
  19578.     |number|("123")
  19579. end tell
  19580.  
  19581. invokes Frontier's number (xxx) verb, which coerces to an integer,
  19582. returning 1 for the example.  [AppleScript's own
  19583.     number "1.23"
  19584. would produce an error.
  19585.  
  19586. ---------------
  19587. When you are writing AppleScript scripts in a Frontier script window, you
  19588. don't need the | characters...Frontier adds them as needed in the process
  19589. of passing the script's text off to AppleScript to deal with.  You can, in
  19590. fact, writing in the Frontier editor in AppleScript, pretty freely treat
  19591. everything in Frontier as an extension to the AppleScript language.  I
  19592. haven't done much of it.
  19593.  
  19594.    --John
  19595.  
  19596. --John W. Baxter    Port Ludlow, WA USA   jwbaxter@pt.olympus.net
  19597.   UserLand Software support
  19598. =========================================================================
  19599. Date:         Wed, 27 Jul 1994 17:13:25 -0400
  19600. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19601. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19602. From:         anthony brown <anbrown@HUSC.HARVARD.EDU>
  19603. Subject:      scriptablility of 4d, and max size of a variable...
  19604.  
  19605. I have two questions for all of you more experienced scripters.
  19606. a)  To what extent is 4d scriptable via applescript?
  19607.     I am not interested in knowing that it can possibly be scripted using
  19608. the menu events extension.  In other words, is it as scriptable as fmpro?
  19609.  
  19610. b)  How big can a variable in applescript be?  Am I limited only by the
  19611. amount of memory that I have, or is there a ceiling on the amount of info
  19612. that it can hold?
  19613.  
  19614.  
  19615. any info would be greatly appreciated...
  19616.  
  19617. Anthony
  19618.  
  19619. *********************************************************************
  19620. *                                                                   *
  19621. *  Anthony Brown, Macintosh Programming Intern, Harvard Universtiy  *
  19622. *                                                                   *
  19623. *  "Classic Rock Music Station's,  The 70's are calling,            *
  19624. *   They want their 8 - Tracks back!"                               *
  19625. *                                                                   *
  19626. *   Dolphin's Rule!! Undefeated 17 - 0  The Perfect Team 1972-73    *
  19627. *                                                                   *
  19628. *********************************************************************
  19629. =========================================================================
  19630. Date:         Wed, 27 Jul 1994 16:27:25 -0700
  19631. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19632. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19633. From:         Doug Baron <userland@NETCOM.COM>
  19634. Subject:      Re: Re(2): Frontier records & lists
  19635.  
  19636. >Doug Baron wrote:
  19637. >
  19638. >>This should work fine, memory permitting. Generally, the list you get back
  19639. >>will contains object specifiers for the indicated items, but if you ask for
  19640. >>the items' ids, you should get back a list of ids. For example:
  19641. >>
  19642. >>    foobar = foo ['fld1' == "something"].id
  19643. >>
  19644. >>This assumes that "foo"s _have_ ids in the first place.
  19645. >
  19646. >Am I missing something? It seems to me that this kind of thing does not work
  19647. >with lists of records in Frontier, but does work with objects in Quark. Allow
  19648. >me to illustrate:
  19649.  
  19650. You're not missing anything; I missed the crux of your question the first
  19651. time around. No, you can't use "conditional indexing" to form a sublist of
  19652. a UserTalk list variable. You need to index through the list and look for
  19653. the entries you want. But, part of what I was trying to illustrate is that
  19654. you might be able to get a more narrowed-down list in the first place by
  19655. making your QXP "get" expression more complex. Then again, you might not;
  19656. it really depends on the specifics.
  19657.  
  19658. Doug
  19659. =========================================================================
  19660. Date:         Wed, 27 Jul 1994 16:27:17 -0700
  19661. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19662. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19663. From:         Doug Baron <userland@NETCOM.COM>
  19664. Subject:      Re: Calling Fontier from Applescript
  19665.  
  19666. >There are actually two ways to cause Frontier or Runtime to execute code,
  19667. >from an AppleScript script written in the Script Editor:
  19668. >
  19669. >[The Frontier verb string.dateString () takes no parameters, and returns
  19670. >the current date in (abbreviated) string form:  "Wed, Jul 27, 1994".]
  19671. >
  19672. >You can use Do Script:
  19673. >
  19674. >tell application "Frontier Runtime=81"
  19675. >    Do Script "string.dateString ()"
  19676. >end tell
  19677. >
  19678. >You can also--inside a tell addressing Frontier or Runtime, do this:
  19679. >tell application "Frontier Runtime=81"
  19680. >    |string.dateString|()
  19681. >end tell
  19682. >
  19683. >I believe that is implemented as a subroutine event sent from AppleScript
  19684. >to the target (Runtime, here).  [AETracker isn't cooperating this morning.]
  19685.  
  19686. Right. (Thanks for covering this, John.) It should be pointed out that the
  19687. big advantage of the latter, subroutine-invoking form is that parameters
  19688. can be used quite freely; you can pass AS variables and expressions as
  19689. parameters to Frontier verbs.
  19690.  
  19691. Doug
  19692.  
  19693. p.s. to all: I'm going to be on the road for a while, so after tomorrow
  19694. I'll temporarily discontinue my subscription to MACSCRPT until I get back.
  19695. Gotta avoid that overflowing mailbox...
  19696. =========================================================================
  19697. Date:         Thu, 28 Jul 1994 10:01:35 +1000
  19698. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19699. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19700. From:         Danny Thomas <D.Thomas@VTHRC.UQ.EDU.AU>
  19701. Subject:      Re: AS / FMPro Date Reference
  19702.  
  19703. >>        date string for (current date in seconds) in short format
  19704. >>
  19705. >>    This returns the current date in mm/dd/yy format.
  19706. >>
  19707. >
  19708. >One cavaet regarding Brian's script:
  19709. >US FileMaker wants dates in mm/dd/yy format, regardless of how your Mac is
  19710. >set up in the Date & Time control panel.  Greg's osax, on the other hand,
  19711. >follows the Control Panel (international resource) settings.  So, today, if
  19712. >I set the Contorl Panel for dd/mm/yy, I get "27/7/94" from the above date
  19713. >string... .  And FileMaker rejects that.  Worse, on the first through the
  19714. >12th, FileMaker would silently accept the date, and put the wrong value
  19715. >into your database.
  19716. >
  19717. >Lee Hoong's solution is thus safer.
  19718. >   --John
  19719.  
  19720. There is a flexible and trivial to write approach which unfortunately is
  19721. unlikely to be practical. Simply build an AppleScript-callable routine with
  19722. a C compiler that supported a wide variety of locales. Then you could
  19723. simply repackage the ANSI standard library function strftime() which takes
  19724. a pointer, buf size, format string, and timestructure to stuff a stingized
  19725. date into the buffer. The format string can contain about twenty format
  19726. specifications including
  19727.   %a abbreviated weekday name, eg "Mon"
  19728.   %A full weekday name, eg "Lundi"  (what country is this?)
  19729.   %m month as a decimal number
  19730.   %U week number of the year (00-53)
  19731.   %y year without century
  19732.   %z timezone name or abbreviation
  19733.  
  19734. in this case you'd use a simple format "%d/%m/%y".
  19735.  
  19736. If you're developing stand-alone programs ported to a variety of machine
  19737. types throughout the world, there are advantages to using a development
  19738. system which has the internationalization info built into it, eg C locales
  19739. and wide-characters. But I guess much of this info is available on the Mac
  19740. OS anyway through Apple's internationalization efforts.
  19741.  
  19742. cheers,
  19743. Danny Thomas
  19744. =========================================================================
  19745. Date:         Thu, 28 Jul 1994 01:17:47 -0800
  19746. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19747. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19748. From:         Jon Pugh <jonpugh@NETCOM.COM>
  19749. Subject:      I learned something new today
  19750.  
  19751. OK, so I received my free copy of Script Lizard, er, Wizard for either
  19752. taking second place with Jon's Commands or for beta testing it or some
  19753. reason.  I've played with the program already, so I scan the manual and
  19754. score gold with a tip I didn't know.
  19755.  
  19756. In the Script Editor 1.1 there is the nifty event log window.  Hopefully
  19757. everyone has played with this.  The tip is that AppleScript knows 3
  19758. commands for dealing with this.  All of them only do things when the window
  19759. is showing, so they can be left in finished scripts.  The first is "start
  19760. log", the second is "stop log" and the last is simply "log".  (All kids
  19761. love Log!)
  19762.  
  19763. The start and stop log events simply turn event logging on and off so that
  19764. you can localize the event logging to your area of interest.  That's not so
  19765. cool.  What's cool is that the log command takes a string and prints that
  19766. to the log window.  You can use this instead of display dialog!
  19767.  
  19768. It's cool.  I like it and I will be using Log.
  19769.  
  19770. Jon
  19771.  
  19772. What rolls down stairs?
  19773.   Alone or in pairs,
  19774.     And flattens the neighbor's dog...
  19775. =========================================================================
  19776. Date:         Thu, 28 Jul 1994 06:53:05 -0700
  19777. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19778. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19779. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  19780. Subject:      Re: I learned something new today
  19781.  
  19782. At 01:17 7/28/94 -0800, Jon Pugh wrote:
  19783.  
  19784. >
  19785. >In the Script Editor 1.1 there is the nifty event log window.  Hopefully
  19786. >everyone has played with this.  The tip is that AppleScript knows 3
  19787. >commands for dealing with this.  All of them only do things when the window
  19788. >is showing, so they can be left in finished scripts.  The first is "start
  19789. >log", the second is "stop log" and the last is simply "log".  (All kids
  19790. >love Log!)
  19791. >
  19792. >The start and stop log events simply turn event logging on and off so that
  19793. >you can localize the event logging to your area of interest.  That's not so
  19794. >cool.  What's cool is that the log command takes a string and prints that
  19795. >to the log window.  You can use this instead of display dialog!
  19796.  
  19797. I stumbled onto this a week or so ago, too.  My source was the
  19798. Addison-Wesley edition of "AppleScript Scripting Additions Guide English
  19799. Dialect" (I mentioned that book here).
  19800.  
  19801. One note (from the book) about the log event:  it logs (if the log window
  19802. is open) even if you have shut off event logging using stop log.  Also,
  19803. consider this (rather silly) script:
  19804.  
  19805. stop log
  19806. tell application "Finder"
  19807.     items
  19808.     log "This is a test"
  19809.     start log
  19810.     disks
  19811. end tell
  19812.  
  19813. The log which results is:
  19814.  
  19815.     (*This is a test*)
  19816. tell application "Finder"
  19817.     get every disk
  19818.         --> {startup disk, disk "Lopez", disk "Blake", disk "Sucia"}
  19819. end tell
  19820.  
  19821.  
  19822. Note that the log has retroactively gone back and inserted the tell...nice
  19823. so you know who's dealing with the event.
  19824. ---------
  19825. One use of the log:  to help answer the "who's doing that?" question.  Has
  19826. a given operation been done by AppleScript, or by the target application.
  19827. Sometimes that matters (where they do things differently), and sometimes
  19828. it's less than obvious at first glance.  Things which AppleScript does
  19829. itself are not logged.
  19830.  
  19831. I was very pleased to find this.  --John
  19832.  
  19833. --
  19834. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  19835. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  19836. =========================================================================
  19837. Date:         Thu, 28 Jul 1994 14:13:42 GMT
  19838. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19839. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19840. From:         Christophe Reverd <Christophe_Reverd@EMAIL.FRANCENET.FR>
  19841. Organization: FranceNet
  19842. Subject:      Re: Filemaker Pro Text selection
  19843.  
  19844. >Does anyone know how to place the insertion point into a Text field in FMPro?
  19845.  
  19846. I don't think FMPro let you do this kinf os stuff.
  19847.  
  19848. Christophe Reverd
  19849. _________________________________________
  19850. French Speakers FM Pro User Group
  19851. External for FM Pro developer
  19852.  
  19853. eMail : cReverd@FranceNet.fr
  19854. or Christophe_Reverd@Email.FranceNet.fr
  19855. _________________________________________
  19856. =========================================================================
  19857. Date:         Thu, 28 Jul 1994 10:56:17 +0000
  19858. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19859. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19860. From:         Gib Veconi <Gib_Veconi@SCP.COM>
  19861. Subject:      RE>scriptablility of 4d, and max size of a variable...
  19862.  
  19863. To: MacintoshScriptingSystems <MACSCRPT@DARTCMS1.DARTMOUTH.EDU>
  19864.  
  19865. Anthony Brown writes:
  19866. >
  19867. > I have two questions for all of you more experienced scripters.
  19868. > a)  To what extent is 4d scriptable via applescript?
  19869. >     I am not interested in knowing that it can possibly be scripted using
  19870. > the menu events extension.  In other words, is it as scriptable as fmpro?
  19871.  
  19872. 4D itself is not scriptable. However, if you are using 4D Server, you
  19873. can use the bundled middleware app 4D AppleScript to access server data
  19874. from your AppleScript app. We have used it to do some custom reporting
  19875. with graphics software, and it works well.
  19876.  
  19877. Gib Veconi
  19878. gib@scp.com
  19879. =========================================================================
  19880. Date:         Thu, 28 Jul 1994 10:56:23 +0000
  19881. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19882. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19883. From:         Gib Veconi <Gib_Veconi@SCP.COM>
  19884. Subject:      RE> 4D AppleScript
  19885.  
  19886. John W. Baxter writes:
  19887.  
  19888. > >How do you get 4D to be scriptable, is there some extension?
  19889. > >lemme know
  19890. > >mac
  19891. >
  19892. > Contact Mike Cohen <isis@NETCOM.COM>, regarding scripting 4D, and
  19893. > "System7Pack" in general.  Warning...commercial product.  --John
  19894.  
  19895. If you are running your 4D app with 4D Server, you can use ACI's
  19896. 4D Open for AppleScript (also known as 4D AppleScript) as a
  19897. middleware layer to access the 4D Server. It's pretty easy to
  19898. use, and is bundled with 4D Server.
  19899.  
  19900. 4D AppleScript will not provide any scriptability for your
  19901. 4D application itself, it just offers data table access through
  19902. AppleScript.
  19903. =========================================================================
  19904. Date:         Thu, 28 Jul 1994 10:59:33 -0500
  19905. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19906. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19907. From:         robert patoine <patoine@CAM.ORG>
  19908. Subject:      MacWorld, Boston
  19909.  
  19910. I plan to be in Boston for the MacWorld Next Week, by car.  Is there
  19911. suppose to be
  19912.  
  19913. some interesting materail or conferences about or ralted to AppleScrip?
  19914.  Second question !
  19915.  
  19916. Anaybody can suggest an Hotel name in the vivinity of the Bay side or the
  19917.  Worls trade center affordable... All hotels are full.
  19918. =========================================================================
  19919. Date:         Fri, 29 Jul 1994 08:14:00 -0700
  19920. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19921. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19922. From:         "Evad, Paul" <PEVAD@PUBAFFAIR.ENV.GOV.BC.CA>
  19923. Subject:      Help with deleting folders
  19924.  
  19925. OK, I've tried tackling this one for a few days... but can't seem to work my
  19926. head around it. (problem is I'm doing this in addition to my other duties in
  19927. the office).
  19928.  
  19929. I need to look at the creation dates of a list of folders in a specific
  19930. folder (ignoring files), looking at the creation date of the folders and
  19931. deleting all folders with a creation date < current date - 3 days.
  19932.  
  19933. Here is my complete script so far, please forgive the long post and feel free
  19934. to comment and hack this one apart as I am a novice in scripting...
  19935.  
  19936. ______________________________________________________________________
  19937.  
  19938. property sourceFolders : {}
  19939. property destFolder : "NULL"
  19940. property confirmBackups : false
  19941. -- locate the folder(s) that are to be backed up. This is done first time the
  19942. script is run
  19943. if (sourceFolders = {}) then
  19944.  set sourceFolders to
  19945.   choose several folders with prompt
  19946.    "Select folders to backup:" starting with sourceFolders
  19947. end if
  19948. -- Locate the folder where the backup archive is to be placed
  19949. if (destFolder = "NULL") then
  19950.  set destFolder to choose folder with prompt "Select destination folder:"
  19951. end if
  19952. set folderNamestring to (current date) as string
  19953. set oldDelimiters to AppleScript's text item delimiters
  19954. set AppleScript's text item delimiters to {","}
  19955. set monthName to word 2 of folderNamestring
  19956. set dayName to word 3 of folderNamestring
  19957. set hourname to word 5 of folderNamestring
  19958. set minname to word 6 of folderNamestring
  19959. set ampmname to word 8 of folderNamestring
  19960.  
  19961. set AppleScript's text item delimiters to oldDelimiters
  19962. set BfolderName to monthName & " " & dayName & " " & hourname & " " & minname
  19963. & " " & ampmname
  19964. create folder (BfolderName) as string in destFolder
  19965. set Bpath to (destFolder as string) & BfolderName & ":"
  19966. set Filestomove to list folder of sourceFolders
  19967. **tell FinderLib
  19968. ** copyFiles from sourceFolders to Bpath as string with warning
  19969. **end tell
  19970. **set folderlist to list folder destFolder
  19971. **if (get fileinfo creation date of folder list)   (current date) - 129600
  19972. **then tell application "Finder"
  19973. **activate
  19974. **delete theFolder
  19975.  
  19976. ___________________________________________________________________
  19977.  
  19978. another problem I have with the above is the need for FinderLib - ideally I
  19979. would like this script to run on any macintosh with the minimal "applescript
  19980. extensions" neccessary.
  19981.  
  19982. I have ** the relevent sections.
  19983.  
  19984. Comments? Suggestions? Solutions?
  19985.  
  19986. Paul Evad
  19987. pevad@pubaffair.env.gov.bc.ca
  19988. uj032@freenet.victoria.bc.ca
  19989. =========================================================================
  19990. Date:         Thu, 28 Jul 1994 11:18:50 -0400
  19991. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19992. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  19993. From:         "George R. Brown" <gbrown@PARTECH.COM>
  19994. Subject:      Multi-line input dialog box from applescript?
  19995.  
  19996. Is there a way within AppleScript to prompt for a multi-line input (with
  19997. scroll bars if the text exceeds the visible area of the box)?
  19998.  
  19999. George Brown                    Voice: 315-738-0600x250
  20000. 8383 Seneca Turnpike            FAX: 315-738-8304
  20001. New Hartford, NY  13413-4991    e-mail: george@partech.com
  20002. =========================================================================
  20003. Date:         Thu, 28 Jul 1994 10:34:55 -0500
  20004. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20005. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20006. From:         "Dean J. Spearman" <Dean_Spearman@MBNET.MB.CA>
  20007. Subject:      Filemaker, applescript, network
  20008.  
  20009. While we are on the subject of filemaker and applescript has anyone set up
  20010. an applescript to open a networked filemaker database as a guest.  In this
  20011. case there is not finder level access to the file.  I was hoping for
  20012. something like
  20013.  
  20014.                               open {"(*)filename"}
  20015.  
  20016. but it doesn't seem to work
  20017. =========================================================================
  20018. Date:         Thu, 28 Jul 1994 12:07:25 EDT
  20019. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20020. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20021. From:         Danny Goodman <DGoodman@AOL.COM>
  20022. Subject:      Re: MacWorld, Boston
  20023.  
  20024. >Is there suppose to be
  20025. >some interesting materail or conferences about or ralted to AppleScrip?
  20026.  
  20027. I'll be giving a talk on Wednesday afternoon about scripting applications
  20028. with AppleScript.  The session is part of the conference program, and will be
  20029. at the World Trade Center (2:30-3:50 pm).
  20030.  
  20031. Also, for those who have my AppleScript book but have not called for the 1.1
  20032. update disk (which contains a file with about 50pp. of new information about
  20033. 1.1, such as the event log et al.), I've asked Random House to bring extra
  20034. disks to their booth.  I'll be at their booth (at Bayside) on Thursday from
  20035. 10:30-11:30, so drop by and say 'howdy.'
  20036.  
  20037. Danny Goodman
  20038. =========================================================================
  20039. Date:         Thu, 28 Jul 1994 12:38:45 -0800
  20040. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20041. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20042. From:         Tom Emerson <tree@BEDFORD.SYMANTEC.COM>
  20043. Subject:      Re: MacWorld, Boston
  20044.  
  20045. At 10:59 7/28/94 -0500, robert patoine wrote:
  20046. >I plan to be in Boston for the MacWorld Next Week, by car.  Is there
  20047. >suppose to be
  20048. >
  20049. >some interesting materail or conferences about or ralted to AppleScrip?
  20050. > Second question !
  20051.  
  20052. I don't know about this - I haven't glanced at the program recently.
  20053.  
  20054. >Anaybody can suggest an Hotel name in the vivinity of the Bay side or the
  20055. > Worls trade center affordable... All hotels are full.
  20056.  
  20057. Chances are you are *not* going to find a hotel in Boston or Cambridge that
  20058. is going to have vacancies during MacWorld. There is a Holiday Inn in
  20059. Concord just off of Route 2 that, while a bit of a hike (about 20 miles or
  20060. so from downtown Boston) is on four lane highway most of the way. I'm not
  20061. as familiar with the downtown area and immediate vicinity, but you could
  20062. probably find stuff out in the Lexington/Bedford/Concord area, and perhaps
  20063. in Cambridge. Reasonable? I doubt it. The Charles Hotel in Harvard Square
  20064. is very nice, but pricy. There is a place next to it, I think it is called
  20065. the "Harvard Motor House" or something like that which is basic but OK.
  20066.  
  20067. There is always the Hyatt Regency in Cambridge... ;-)
  20068.  
  20069.         -tre
  20070.  
  20071. ---
  20072. Tom Emerson                                              Software Engineer
  20073. Development Tools Group                               Symantec Corporation
  20074.                           tree@bedford.symantec.com
  20075.   "I dreamed I had to take a test, in a Dairy Queen, on another planet."
  20076. =========================================================================
  20077. Date:         Thu, 28 Jul 1994 12:56:34 -0400
  20078. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20079. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20080. From:         "Andy J. Williams" <ack@COOS.DARTMOUTH.EDU>
  20081. Subject:      Re: MacWorld, Boston
  20082. In-Reply-To:  <no.id> from "Danny Goodman" at Jul 28, 94 12:07:25 pm
  20083.  
  20084. I plan on attending the expo and am interested in putting faces to the
  20085. names. Is anyone else in possibly getting some kind of MACSCRPT get-together
  20086. together?
  20087.  
  20088. -A
  20089.  
  20090. --
  20091. Andy J. Williams (AndyJW@dartmouth.edu)
  20092. Manager, Computer Resource Center, Dartmouth College
  20093.  
  20094. "Doing strange things in the name of art..."
  20095. =========================================================================
  20096. Date:         Thu, 28 Jul 1994 13:17:35 -0400
  20097. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20098. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20099. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  20100. Subject:      Re: MacWorld, Boston
  20101. In-Reply-To:  <no.id> from "Andy J. Williams" at Jul 28, 94 12:56:34 pm
  20102.  
  20103. --Andy J. Williams wrote:
  20104. >
  20105. >I plan on attending the expo and am interested in putting faces to the
  20106. >names. Is anyone else in possibly getting some kind of MACSCRPT get-together
  20107. >together?
  20108.  
  20109.     Well, we could all try to get together during the Netter's Dinner.
  20110. It's Thursday night, 7pm, at the European Italian Restaurant. It's
  20111. located in Boston's North End, pratically on the Freedom Trail, but I
  20112. can't remember the exact address. It's a short walk from Faneuil Hall or
  20113. the Haymarket T stop.
  20114.  
  20115. -Hades
  20116. =========================================================================
  20117. Date:         Thu, 28 Jul 1994 10:25:55 -0700
  20118. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20119. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20120. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  20121. Subject:      Re: MacWorld, Boston
  20122.  
  20123. >Chances are you are *not* going to find a hotel in Boston or Cambridge that
  20124. >is going to have vacancies during MacWorld. There is a Holiday Inn in
  20125. >Concord just off of Route 2 that, while a bit of a hike (about 20 miles or
  20126. >so from downtown Boston) is on four lane highway most of the way.
  20127.  
  20128. My, things HAVE changed (naturally) since I was at MIT late 50s and early
  20129. 60s.  Concord was reached by a series of "interesting" two lane roads then.
  20130.  
  20131. In those days, there were some very "interesting" hotels around Scolley
  20132. Square (I understand Scolley Square is now gone in its old form).  Hourly
  20133. rentals, companionship and all.  Probably not what the poster meant.
  20134.  
  20135.   --John
  20136.  
  20137. --
  20138. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  20139. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  20140. =========================================================================
  20141. Date:         Thu, 28 Jul 1994 15:27:20 -0400
  20142. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20143. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20144. From:         anthony brown <anbrown@HUSC9.HARVARD.EDU>
  20145. Subject:      Re: MacWorld, Boston
  20146. In-Reply-To:  <01HF8O7Z9OJA9JOQ7V@NETOP8.HARVARD.EDU>
  20147.  
  20148. I'm going to be there at macworld for 2 hour shifts doing a favor in
  20149. exchange for a free pass.  I'll be displaying this solar powered
  20150. powerbook battery(sya that fast 10 times) for some company.  I think it's
  20151. going to be at bayside.  I'm always trying to meet new people with
  20152. similar interests(scripting applescript)  so just come on by!
  20153.  
  20154. Anthony
  20155.  
  20156. *********************************************************************
  20157. *                                                                   *
  20158. *  Anthony Brown, Macintosh Programming Intern, Harvard Universtiy  *
  20159. *                                                                   *
  20160. *  "Classic Rock Music Station's,  The 70's are calling,            *
  20161. *   They want their 8 - Tracks back!"                               *
  20162. *                                                                   *
  20163. *   Dolphin's Rule!! Undefeated 17 - 0  The Perfect Team 1972-73    *
  20164. *                                                                   *
  20165. *********************************************************************
  20166. =========================================================================
  20167. Date:         Thu, 28 Jul 1994 13:18:31 -0800
  20168. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20169. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20170. From:         "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  20171. Subject:      Re: Update on handling dialog box buttons
  20172.  
  20173. At 15:09 7/26/94 -0700, Doug Baron wrote:
  20174. >Frontier and Frontier Runtime support a verb that does what you want:
  20175. >
  20176. >        file.mountServerVolume ("zone:server:vol", "username", "password")
  20177. >
  20178. >Since it is OSA-compliant, you can think of Frontier Runtime as a huge, $35
  20179. >shareware OSAX library. With it installed, you can call this verb (and many
  20180. >others) from AppleScript.
  20181.  
  20182. Cool! Where can I find Frontier Runtime?
  20183.  
  20184. -roy
  20185.  
  20186. Roy S. Rapoport -- rsr@mail.berksys.com -- rsr@berksys.com
  20187. 510-540-5535 ext. 280
  20188. "It Wasn't Me"
  20189. =========================================================================
  20190. Date:         Thu, 28 Jul 1994 15:43:37 -0500
  20191. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20192. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20193. From:         Fred Terry <pfterry@LKS.CSI.COM>
  20194. Subject:      Re: Update on handling dialog box buttons
  20195. In-Reply-To:  Your message of "Thu, 28 Jul 94 13:18:31 -0900"
  20196.  
  20197. >Cool! Where can I find Frontier Runtime?
  20198.  
  20199. tsk, tsk, tsk.
  20200.  
  20201. ftp://gaea.kgs.ukans.edu/frontier/FromUserland/runtime303.sea.hqx
  20202. ftp://ftp.netcom.com/pub/userland/runtime303.sea.bin
  20203. =========================================================================
  20204. Date:         Thu, 28 Jul 1994 17:03:46 -0500
  20205. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20206. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20207. From:         Roy Eassa <re@ZORK.TIAC.NET>
  20208. Subject:      Scripting Stuffit Deluxe 3.0.7
  20209.  
  20210. Hi,
  20211.  
  20212. I'm new to both Applescript and this mailing list.  In fact, this is the
  20213. first message I've ever sent to any mailing list.
  20214.  
  20215. I have Applescript 1.1 and Stuffit Deluxe 3.0.7.  I would like to create an
  20216. applet that does the following:  When you drop one or more stuffit archives
  20217. on it, it sets each archive's creation and modification date to match that
  20218. of the newest item within the archive.  That way, the archive's date for
  20219. purposes of sorting, filing, and weeding, properly represents its contents
  20220. rather than when it happens to have been compressed.
  20221.  
  20222. Ideally, the applet would pop up a small dialog permitting the user to
  20223. select among four dates for each of "created" and "modified":  Don't
  20224. change, change to match newest item within archive, change to match oldest
  20225. item within archive, or set to "right now".  However, I'd gladly settle for
  20226. just setting the creation and modification dates to the newest element
  20227. within the archive.
  20228.  
  20229. Three questions:
  20230.  
  20231. 1.  What the heck is going on with Stuffit's dictionary?  It does not seem
  20232. to be in the standard format.  Except for the "required" suite, the other
  20233. functions are not correctly documented in the dictionary and Applescript is
  20234. totally absent in the Stuffit manual.  For many subroutines, it seems the
  20235. scripter must supply the same information in two separate parameters.  Must
  20236. I pass one, the other, or both?  The prototype has just the subroutine name
  20237. followed by a single quote then a few spaces then another single quote.  On
  20238. subsequent lines, there is a list of parameter data types, but usually each
  20239. lacks a description and an indication of whether it's required or optional.
  20240. Help!
  20241.  
  20242. 2.  Must I recursively search through all the items within the Stuffit
  20243. archives?  Within an archive there can be any arbitrary collection of files
  20244. and folders, and each folder likewise contains files and folders.
  20245. (However, Stuffit thinks all archives have exactly one item -- the "top
  20246. level" item.)  Is there any way to look at each file iteratively (like a
  20247. depth-first walk through the tree with Stuffit handling the hierarchy), or
  20248. must I recurse?  Again, the dictionary and manual do not make this clear at
  20249. all!
  20250.  
  20251. 3.  Does anybody know of free/shareware utilities, OSAXen, etc., that would
  20252. facilitate the task I am attempting?  Or even -- does anybody have a
  20253. similar script to offer as an example?  I'm just starting out here and love
  20254. Applescript's seemingly great potential, but am very frustrated so far.
  20255.  
  20256. Thanks for the help!
  20257.  
  20258.  
  20259. --
  20260. Roy Eassa
  20261. re@tiac.net
  20262. =========================================================================
  20263. Date:         Thu, 28 Jul 1994 14:25:38 -0800
  20264. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20265. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20266. From:         "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  20267. Subject:      Re: AS and Frontier Runtime
  20268.  
  20269. At 15:09 7/26/94 -0700, Doug Baron wrote:
  20270. >Roy,
  20271. >
  20272. >Frontier and Frontier Runtime support a verb that does what you=
  20273.  want:
  20274. >
  20275. >        file.mountServerVolume ("zone:server:vol", "username", "password")
  20276. >
  20277. >Since it is OSA-compliant, you can think of Frontier Runtime as=
  20278.  a huge, $35
  20279. >shareware OSAX library. With it installed, you can call this verb=
  20280.  (and many
  20281. >others) from AppleScript.
  20282.  
  20283. Great! Fantastic! Err, how do I do this? :)
  20284.  
  20285. You said Frontier Runtime is OSA-compliant, so I figured I'd put=
  20286.  it in the
  20287. Scripting Additions folder where the rest of my OSAs are.  Then I=
  20288.  tried:
  20289. ---
  20290. start log
  20291. file.mountServerVolume("First Floor:AccountServer:AccountServer",
  20292. "rrapoport", "xxxxx")
  20293. ---
  20294. Which got me "Expected expression, property, or key form etc. but=
  20295.  found
  20296. unknown token", with the '.' between file and mountServerVolume highlited.
  20297.  
  20298. Well, OK, maybe I need to tell Frontier this?
  20299. So I tried
  20300. ---
  20301. start log
  20302. tell application "Frontier Runtime=81"
  20303. file.mountServerVolume("First Floor:AccountServer:AccountServer",
  20304. "rrapoport", "xxxxx")
  20305. end tell
  20306. ---
  20307.  
  20308. which gave me the same error.  Hmm.  Maybe
  20309. ---
  20310. start log
  20311. tell application "Frontier Runtime=81"
  20312. file mountServerVolume("First Floor:AccountServer:AccountServer",
  20313. "rrapoport", "xxxxx")
  20314. end tell
  20315. ---
  20316. which let me know that FR does not understand the 'mountServerVolume'=
  20317.  message.
  20318.  
  20319. What the hell am I doing wrong? Hell, let'a back up -- what the hell=
  20320.  am I
  20321. doing? :)
  20322.  
  20323. -roy
  20324.  
  20325.  
  20326. Roy S. Rapoport -- rsr@mail.berksys.com -- rsr@berksys.com
  20327. 510-540-5535 ext. 280
  20328. "It Wasn't Me"
  20329. =========================================================================
  20330. Date:         Thu, 28 Jul 1994 14:37:08 -0700
  20331. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20332. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20333. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  20334. Subject:      Re: Update on handling dialog box buttons
  20335.  
  20336. >At 15:09 7/26/94 -0700, Doug Baron wrote:
  20337. >>Frontier and Frontier Runtime support a verb that does what you want:
  20338. >>
  20339. >>        file.mountServerVolume ("zone:server:vol", "username", "password")
  20340. >>
  20341. >>Since it is OSA-compliant, you can think of Frontier Runtime as a huge, $35
  20342. >>shareware OSAX library. With it installed, you can call this verb (and many
  20343. >>others) from AppleScript.
  20344. >
  20345. >Cool! Where can I find Frontier Runtime?
  20346. >
  20347.  
  20348. I think the right file is
  20349.    ftp://gaea.kgs.ukans.edu/frontier/FromUserland/RUNT.sit.hqx
  20350.  
  20351. I don't know what's in the much smaller
  20352.    ftp://gaea.kgs.ukans.edu/frontier/FromUserland/RuntimePreviewKit.sit.hqx
  20353. except that by its date it discuss a slightly older version.
  20354.  
  20355.   --John
  20356.  
  20357. --
  20358. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  20359. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  20360. =========================================================================
  20361. Date:         Thu, 28 Jul 1994 16:56:32 -0500
  20362. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20363. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20364. From:         Fred Terry <pfterry@LKS.CSI.COM>
  20365. Subject:      Re: Update on handling dialog box buttons
  20366. In-Reply-To:  Your message of "Thu, 28 Jul 94 14:37:08 PDT"
  20367.  
  20368. >>>Since it is OSA-compliant, you can think of Frontier Runtime as a huge, $35
  20369. >>>shareware OSAX library. With it installed, you can call this verb (and many
  20370. >>>others) from AppleScript.
  20371. >>
  20372. >>Cool! Where can I find Frontier Runtime?
  20373. >>
  20374. >I think the right file is
  20375. >   ftp://gaea.kgs.ukans.edu/frontier/FromUserland/RUNT.sit.hqx
  20376.  
  20377. This is actually Runtime 3.01 (just pulled it down and checked).
  20378.  
  20379. >I don't know what's in the much smaller
  20380. >   ftp://gaea.kgs.ukans.edu/frontier/FromUserland/RuntimePreviewKit.sit.hqx
  20381. >except that by its date it discuss a slightly older version.
  20382.  
  20383. This has a readme file and a document about writing scripts for Runtime.
  20384.  
  20385. The file
  20386.  
  20387. ftp://gaea.kgs.ukans.edu/frontier/FromUserland/runtime303.sea.hqx
  20388.  
  20389. while having an odd date, is the latest version of Frontier Runtime.
  20390.  
  20391. Sorry for all of the confusion. Guess I need to work on the Frontier
  20392. directories a bit more.
  20393.  
  20394. pf
  20395. =========================================================================
  20396. Date:         Thu, 28 Jul 1994 15:00:37 -0700
  20397. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20398. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20399. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  20400. Subject:      Re: Scripting Stuffit Deluxe 3.0.7
  20401.  
  20402. At 17:03 7/28/94 -0500, Roy Eassa wrote:
  20403. .... [wants a droplet which re-dates an archive per its contents]
  20404. .... (I'll look at this later, if no one else does...it sounds useful.  If
  20405. I do post a solution, it will require the Scriptable Finder [the problem
  20406. doesn't, but at this time I see no reason to do the extra work to avoid
  20407. it].)
  20408.  
  20409.  
  20410. >1.  What the heck is going on with Stuffit's dictionary?  It does not seem
  20411. >to be in the standard format.  Except for the "required" suite, the other
  20412. >functions are not correctly documented in the dictionary and Applescript is
  20413. >totally absent in the Stuffit manual.  For many subroutines, it seems the
  20414. >scripter must supply the same information in two separate parameters.  Must
  20415. >I pass one, the other, or both?  The prototype has just the subroutine name
  20416. >followed by a single quote then a few spaces then another single quote.  On
  20417. >subsequent lines, there is a list of parameter data types, but usually each
  20418. >lacks a description and an indication of whether it's required or optional.
  20419. >Help!
  20420.  
  20421. StuffIt is written with a set of custom events, not the core suite.  I'm
  20422. not privy to all the reasons, but...scripting was added to StuffIt long ago
  20423. (before AppleScript emerged, but after the core suite had *almost* stopped
  20424. shifting around).  Also...it is far easier to implement rationally designed
  20425. events than to do the Object Model armwaving involved in the more modern
  20426. approach.  I'm not with Aladdin, and don't know their plans (except that
  20427. 3.5 is due sometime).
  20428.  
  20429. I suggest you take the events as they are, and work with them.  They are,
  20430. in fact, very well thought out.  And probably easier to script than an
  20431. "Object Model" approach would have been.
  20432.  
  20433. -------
  20434. >2.  Must I recursively search through all the items within the Stuffit
  20435. >archives?
  20436.  
  20437. I think so, but I won't know until I look at the original problem.
  20438.  
  20439. More anon (unless I don't get to it).
  20440.  
  20441.    --John
  20442.  
  20443. --
  20444. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  20445. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  20446. =========================================================================
  20447. Date:         Thu, 28 Jul 1994 16:49:54 GMT
  20448. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20449. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20450. From:         Jay Hebert <jayh@LAISON.W8HD.ORG>
  20451. Organization: L'AISON - Beverly Hills, Michigan
  20452. Subject:      TCP/IP apps, Frontmost and otherwise?
  20453.  
  20454. Hi all...
  20455.  
  20456. A while ago, before the big contest and all, there was a thread about tcp/ip
  20457. stuff in AS.  As I recall, there were one or two authors who had apps written
  20458. in Frontmost, et al, that they were considereing for release after they
  20459. entered them into the contest (something like that - my memory's a little
  20460. dim...).
  20461.  
  20462. Anyways, have these projects been released?  Can I find them at gaea?
  20463.  
  20464. I'm looking into this area of scripting, and something like this would give
  20465. me sample code to keep me occupied for months...  =)
  20466.  
  20467. Thanks in advance,
  20468. Jay Hebert
  20469. jayh@laison.w8hd.org
  20470. =========================================================================
  20471. Date:         Thu, 28 Jul 1994 11:51:13 -1000
  20472. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20473. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20474. From:         Pete Hinely <phinely@UHUNIX.UHCC.HAWAII.EDU>
  20475. Subject:      Re: Multi-line input dialog box from applescript?
  20476. In-Reply-To:  <9407282128.AA09427@uhunix.uhcc.Hawaii.Edu>
  20477.  
  20478. On Thu, 28 Jul 1994, George R. Brown wrote:
  20479.  
  20480. > Is there a way within AppleScript to prompt for a multi-line input (with
  20481. > scroll bars if the text exceeds the visible area of the box)?
  20482. >
  20483.  
  20484. You can enter multi-line input with the display dialog command.  There
  20485. are no scroll bars though.  If you want it to show a big box to enter
  20486. text in, just make the default text a couple of returns.
  20487.  
  20488. -peter
  20489. =========================================================================
  20490. Date:         Thu, 28 Jul 1994 15:24:43 -0800
  20491. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20492. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20493. From:         "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  20494. Subject:      Launching Applications on Remote Machines
  20495.  
  20496. I really don't see why I can't do this:
  20497.  
  20498. I've got one machine, say "Bob"
  20499. I've got another machine, say "Jim"
  20500.  
  20501. Bob contains an AS script to copy data from Location 1 to Location 2.  When
  20502. the script is finished, I want it to call a script on Jim.  The script on
  20503. Jim copies information from Location 2 on Bob to a location in Jim.
  20504.  
  20505. Now, the reason I can't have the script just copy the information into Jim
  20506. is because I'm trying to make the script run as quickly as possible (it's
  20507. backing up data once a day at noon, and our work is halted until it's
  20508. finished).  If I have the script run on the other machine, this machine
  20509. isn't held up until its finished.
  20510.  
  20511. The problem is, according to the AppleScript Language Guid (English
  20512. Dialect), in page 148, "AppleScript doesn't open applications on remote
  20513. computers."
  20514.  
  20515. Why? Can I do it any other way, assuming I want to stick with AppleScript
  20516. as the basic environment? Can I, for example, tell Finder on the other
  20517. machine, something like
  20518. tell application "Finder" of machine "Jim" of zone "Far Out Zonked"
  20519.         open "JimDisk:Desktop Folder:JimBob"
  20520. end tell
  20521. or something like it, assuming the Finder on the other machine is the
  20522. Scriptable Finder?
  20523.  
  20524. -roy
  20525.  
  20526. Roy S. Rapoport -- rsr@mail.berksys.com -- rsr@berksys.com
  20527. 510-540-5535 ext. 280
  20528. "It Wasn't Me"
  20529. =========================================================================
  20530. Date:         Fri, 29 Jul 1994 10:36:38 +1200
  20531. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20532. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20533. From:         Owen Watson <owen@RSNZ.GOVT.NZ>
  20534. Subject:      AppleScript reference app?
  20535.  
  20536. Is there any freeware/shareware program giving AppleScript command syntax
  20537. etc? ie something more than just looking up the library. The ideal would be
  20538. Danny's book in outline format. . . .
  20539.  
  20540. -------------------------------------------------------------------------
  20541. Owen Watson, The Royal Society of NZ, PO Box 598, Wellington, New Zealand
  20542. Internet watson.o@rsnz.govt.nz  Ph: +64 4 472 7421 Fax: +64 4 473 1841
  20543. The gateway to New Zealand science: http://www.rsnz.govt.nz/
  20544. =========================================================================
  20545. Date:         Thu, 28 Jul 1994 15:48:20 -0700
  20546. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20547. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20548. From:         Michael Clasen <cmdesign@NETCOM.COM>
  20549. Subject:      Re: MacWorld, Boston
  20550.  
  20551. I won't be going to MacWorld Boston this year but have read your book
  20552. (actually I'm up to page 200 and counting) Is there a way to get the disk
  20553. from the publisher for those West Coast people who cannot drop by the booth
  20554. until MacWorld SF?
  20555. thanks in advance
  20556. =====================
  20557. >>Is there suppose to be
  20558. >>some interesting materail or conferences about or ralted to AppleScrip?
  20559. >
  20560. >I'll be giving a talk on Wednesday afternoon about scripting applications
  20561. >with AppleScript.  The session is part of the conference program, and will be
  20562. >at the World Trade Center (2:30-3:50 pm).
  20563. >
  20564. >Also, for those who have my AppleScript book but have not called for the 1.1
  20565. >update disk (which contains a file with about 50pp. of new information about
  20566. >1.1, such as the event log et al.), I've asked Random House to bring extra
  20567. >disks to their booth.  I'll be at their booth (at Bayside) on Thursday from
  20568. >10:30-11:30, so drop by and say 'howdy.'
  20569. >
  20570. >Danny Goodman
  20571.  
  20572. -------
  20573. Michael A. Clasen   |  Voice - 1-415-703-8736
  20574. Clement Mok Design  |  Fax   - 1-415-703-9901
  20575. 600 Townsend St.    |  Internet: cmdesign@netcom.com
  20576. -------------------------------------------------
  20577. Live Anonomously    |2nd Century B.C.
  20578. =========================================================================
  20579. Date:         Fri, 29 Jul 1994 10:56:00 +1200
  20580. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20581. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20582. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  20583.               NZ" <LDO@WAIKATO.AC.NZ>
  20584. Subject:      Re: Update on handling dialog box buttons
  20585.  
  20586. "John W. Baxter" <jwbaxter@OLYMPUS.NET> writes:
  20587.  
  20588. >I think the right file is
  20589. >   ftp://gaea.kgs.ukans.edu/frontier/FromUserland/RUNT.sit.hqx
  20590.  
  20591. The "runt" version of Frontier. I like it. :-)
  20592.  
  20593. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  20594. Info & Tech Services Division              fax: +64-7-838-4066
  20595. University of Waikato            electric mail: ldo@waikato.ac.nz
  20596. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  20597. =========================================================================
  20598. Date:         Thu, 28 Jul 1994 15:57:24 -0700
  20599. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20600. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20601. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  20602. Subject:      Re: AS and Frontier Runtime
  20603.  
  20604. >At 15:09 7/26/94 -0700, Doug Baron wrote:
  20605. >>Roy,
  20606. >>
  20607. >>Frontier and Frontier Runtime support a verb that does what you want:
  20608. >>
  20609. >>        file.mountServerVolume ("zone:server:vol", "username", "password")
  20610. >>
  20611. >>Since it is OSA-compliant, you can think of Frontier Runtime as a huge, $3=
  20612. 5
  20613. >>shareware OSAX library. With it installed, you can call this verb (and man=
  20614. y
  20615. >>others) from AppleScript.
  20616. >
  20617. >Great! Fantastic! Err, how do I do this? :)
  20618. >
  20619. >You said Frontier Runtime is OSA-compliant, so I figured I'd put it in the
  20620. >Scripting Additions folder where the rest of my OSAs are.  Then I tried:
  20621.  
  20622. =46rontier Runtime is an application.  The application and its data
  20623. file--named Runtime.root should be together in some handy folder, such as
  20624. the one the installer put them into.  Launch Runtime (either by hand, or as
  20625. the result of a tell statement).
  20626.  
  20627. With Runtime running, a couple of things happen:
  20628.  
  20629. 1.  The language popup at the bottom of the Script Editor's script editing
  20630. windows now includes the language name "UserTalk", along with
  20631. "AppleScript".  For now, leave that set to AppleScript.
  20632.  
  20633. 2.  When you want to have Runtime execute a command, tell Frontier Runtime
  20634. to do so.  For you example
  20635.  
  20636. tell application "Frontier Runtime=81"   -- =81 is the trademark symbol
  20637.     |file.mountServerVolume| ("First Floor:AccountServer:AccountServer",
  20638. >"rrapoport", "xxxxx")   -- all on one line
  20639. end tell
  20640.  
  20641.  
  20642. In UserTalk (the OSA-compliant scripting language used by Frontier and
  20643. Runtime) commands (verbs) receive their parameters inside () pairs, as with
  20644. C and Pascal functions (and Pascal procedures).  Verbs, and all other
  20645. things in the Runtime.root file, are accessed by name.  They are organized
  20646. into a hierarchy, with a table named "root" at the top.  A few levels down
  20647. from "root" is the table named file.  One of the scripts ("verbs") in file
  20648. is mountServerVolume ().  Its full name is
  20649. root.system.verbs.builtins.file.mountServerVolume.
  20650.  
  20651. In the <correct> belief that no one wants to type all that, Frontier was
  20652. given a means of "shortcutting" those names.  One place things can be found
  20653. is in the table
  20654.    root.system.verbs.builtins
  20655. just by giving their name ("file" in this case) inside that table.  So,
  20656.    file
  20657. names the table containing a bunch of file-related verbs, and
  20658.    file.mountServerVolume
  20659. names the mountServerVolume verb.
  20660.  
  20661. To me, there is a serious problem with "treating Runtime as a large osax".
  20662. That is...folks who want to do that don't know what facilities are
  20663. available.  You're pretty much reduced, at first, to copying scripts you
  20664. see here or other places.
  20665.  
  20666. ------
  20667. =46rontier's documentation is primarily done through the "DocServer"
  20668. application.  I don't believe that is included in the RUNT.SIT package.
  20669. When Doug returns, I'll ask about making it available separately.
  20670. Meanwhile, I guess, ask here in the list, or ask me.
  20671.  
  20672.    --John
  20673.  
  20674. --
  20675. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  20676. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  20677. =========================================================================
  20678. Date:         Thu, 28 Jul 1994 16:02:33 -0800
  20679. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20680. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20681. From:         Leonard Rosenthol <leonardr@NETCOM.COM>
  20682. Subject:      Re: Scripting Stuffit Deluxe 3.0.7
  20683.  
  20684. >1.  What the heck is going on with Stuffit's dictionary?
  20685. >
  20686.         StuffIt 3.0.7 was shipping before AppleScript and so it's
  20687. dictionary contains a number of "betaisms".  A cleaned up dictionary and
  20688. more "standardize" Apple events are one of the MANY improvement in our
  20689. forthcoming upgrade.
  20690.  
  20691.         However, you should still be able to script all aspects of StuffIt.
  20692. One thing I recommend is to take advantage of the fact that StuffIt is
  20693. recordable and let it write at least some of the script for you.
  20694.  
  20695.  
  20696. >2.  Must I recursively search through all the items within the Stuffit
  20697. >archives?
  20698. >
  20699.         Yup, if you want your dates to be correct.
  20700.  
  20701. >Is there any way to look at each file iteratively (like a
  20702. >depth-first walk through the tree with Stuffit handling the hierarchy), or
  20703. >must I recurse?  Again, the dictionary and manual do not make this clear at
  20704. >all!
  20705. >
  20706.         Yup.  There is a sample of this that our tech support department
  20707. provides.
  20708.  
  20709.  
  20710. Leonard
  20711.  
  20712. -----------------------------------------------------------------------------
  20713. Leonard Rosenthol                       Internet:       leonardr@netcom.com
  20714. Director of Advanced Technology         AppleLink:      MACgician
  20715. Aladdin Systems, Inc.                   GEnie:          MACgician
  20716. =========================================================================
  20717. Date:         Thu, 28 Jul 1994 16:43:42 -0800
  20718. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20719. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20720. From:         "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  20721. Subject:      Re: AS and Frontier Runtime
  20722.  
  20723. At 15:57 7/28/94 -0700, John W. Baxter wrote:
  20724.  
  20725. >tell application "Frontier Runtime=81"   -- =81 is the trademark symbol
  20726. >    |file.mountServerVolume| ("First Floor:AccountServer:AccountServer",
  20727. >>"rrapoport", "xxxxx")   -- all on one line
  20728. >end tell
  20729.  
  20730. Great.  One last question (for now :) ):
  20731.  
  20732. I've done it, it works.  The problem is if I tell Frontier Runtime to quit,
  20733. the volume gets unmounted.  Is it supposed to do that? Is there any way
  20734. around it? (My general philosophy is to try to quit applications as soon as
  20735. they finish serving their purpose, which, once the volume is mounted, has
  20736. happened in this case).
  20737.  
  20738. -roy
  20739.  
  20740. Roy S. Rapoport -- rsr@mail.berksys.com -- rsr@berksys.com
  20741. 510-540-5535 ext. 280
  20742. "It Wasn't Me"
  20743. =========================================================================
  20744. Date:         Thu, 28 Jul 1994 16:52:34 -0700
  20745. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20746. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20747. From:         Jeff Wurtz <wurtz@SGI520.MSD.LMSC.LOCKHEED.COM>
  20748. Subject:      Re. Problem Pasting--Sticky Situation...
  20749.  
  20750. I wrote a droplet to do what I think you want. Two caveats:
  20751. a) max file size allowed by STE is only 32k so watch out!
  20752. b) extraneous garbage is left at the end of the output file; you can easily
  20753.    cut it out.
  20754.  
  20755. Perhaps this will be of some help to you.
  20756.  
  20757. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Cut Here <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  20758. on open (fileList)
  20759.         tell application "Scriptable Text Editor"
  20760.                 --create two "repository" windows
  20761.                 make document with properties {name:"TOC"}
  20762.                 make paragraph at beginning of window "TOC" with data "TOPICS:"
  20763. & return
  20764.                 make window with properties {name:"Body Text"}
  20765.  
  20766.                 repeat with inputFile in fileList
  20767.                         -- process each file dropped onto MyCombiner
  20768.                         open file (inputFile as string)
  20769.                         set firstPar to paragraph 1 of window 1
  20770.                         set allText to contents of window 1
  20771.                         make paragraph at end of window "TOC" with data firstPar
  20772.  & return
  20773.                         make text at end of window "Body Text" with data allText
  20774.  & return & return &
  20775.  return
  20776.                         close window 1 saving no
  20777.                 end repeat
  20778.  
  20779.                 make text at beginning of window "Body Text" with data (contents
  20780.  of window
  20781.  "TOC") & B
  20782.                         return & return
  20783.                 close window "TOC" saving no
  20784.                 try
  20785.                         with timeout of 999 seconds
  20786.                                 set newFile to new file with prompt B
  20787.                                         "Name the combined file:" default name "
  20788. Combined File"
  20789.                         end timeout
  20790.                 on error
  20791.                         beep
  20792.                 end try
  20793.                 close window "Body Text" saving in newFile
  20794.  
  20795.         end tell
  20796. end open
  20797.  
  20798. ================
  20799. Jeffrey D. Wurtz
  20800.    Local:  skynet::wurtz  O/81-10  B/157  C/5J2  408.756.1377
  20801. Internet:  wurtz@sgi520.msd.lmsc.lockheed.com
  20802. =========================================================================
  20803. Date:         Thu, 28 Jul 1994 18:54:58 -0500
  20804. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20805. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20806. From:         Steve Martin <martin@METRONET.COM>
  20807. Subject:      How to wait
  20808.  
  20809. Did anyone ever figure out a reasonable way to wait in AppleScript?
  20810.  
  20811. I'm trying to write a script to do something that I thought would be quite
  20812. simple: Quit NewsWatcher and close PPP.
  20813.  
  20814. Sounds simple right?  OK...
  20815.  
  20816. tell application "NewsWatcher" to quit
  20817. closePPP
  20818.  
  20819. Unfortunately, when NewsWatcher quits, it needs to send the newsrc file to
  20820. my unix host first and the script doesn't wait for it to finish.  The
  20821. closePPP happen before NewsWatcher actually quits and messes up its attempt
  20822. to send the file.
  20823.  
  20824. I tried using a repeat loop to wait until NewsWatcher isn't in the process
  20825. list, but it makes NewsWatcher's quit go extremely slow while AppleScript
  20826. sucks up all the processor time in its tight loop.  All I want is a "wait 1
  20827. second" like in Hypercard (without launching hypercard to do that!).
  20828.  
  20829. Sounds like a really easy OSAX for some OSAX programmer out there to add a
  20830. "wait" command.
  20831.  
  20832. Steve Martin (Please don't ask, I'm not the actor.)
  20833.   Internet: martin@metronet.com   NewtonMail: SFMartin@eworld.com
  20834. Compuserve: 72727,1471    AppleLink: SteveMartin  AOL: Steve Mart
  20835. WWW: http://www.metronet.com/1/HomePages/martin which contains...
  20836. Upcoming letterboxed movie TV schedule and latest version of Dockernaut and
  20837. lots of links.
  20838. =========================================================================
  20839. Date:         Thu, 28 Jul 1994 20:24:12 -0400
  20840. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20841. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20842. From:         anthony brown <anbrown@HUSC9.HARVARD.EDU>
  20843. Subject:      case of a conditional in applescript...
  20844.  
  20845. Looking through the applescript language guide and not finding anything,
  20846. I was wondering if there is something similar to c's switch or pascal's
  20847. case statements in applescript.
  20848.  
  20849. If not, is there an osax that will let you do this?
  20850.  
  20851. Anthony
  20852.  
  20853. *********************************************************************
  20854. *                                                                   *
  20855. *  Anthony Brown, Macintosh Programming Intern, Harvard Universtiy  *
  20856. *                                                                   *
  20857. *  "Classic Rock Music Station's,  The 70's are calling,            *
  20858. *   They want their 8 - Tracks back!"                               *
  20859. *                                                                   *
  20860. *   Dolphin's Rule!! Undefeated 17 - 0  The Perfect Team 1972-73    *
  20861. *                                                                   *
  20862. *********************************************************************
  20863. =========================================================================
  20864. Date:         Thu, 28 Jul 1994 17:52:32 -0700
  20865. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20866. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20867. From:         Doug Baron <userland@NETCOM.COM>
  20868. Subject:      Re: Update on handling dialog box buttons
  20869.  
  20870. >
  20871. >Cool! Where can I find Frontier Runtime?
  20872. >
  20873.  
  20874. If you want a binary sea instead of a (larget) hqx file, look in
  20875. ftp.netcom.com::ftp/pub/userland
  20876.  
  20877. Have fun!
  20878.  
  20879. Doug
  20880. =========================================================================
  20881. Date:         Thu, 28 Jul 1994 17:55:53 -0700
  20882. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20883. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20884. From:         Bill Nye <nye@CADENCE.COM>
  20885. Subject:      How to buy a SCRIPTABLE QuicKeys
  20886.  
  20887. Is buying QuicKeys 3.0.1 (list $169) enough to get me the Apple-scriptable
  20888. QuicKeys product that is regularly discussed in this mailing list?
  20889.  
  20890. I'm asking because the advertisement I'm looking at does not mention
  20891. "AppleScript" at all.
  20892.  
  20893. (Is the $89.95 MacWarehouse price the best I can do?)  -Bill Nye
  20894. =========================================================================
  20895. Date:         Fri, 29 Jul 1994 13:17:00 +1200
  20896. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20897. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20898. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  20899.               NZ" <LDO@WAIKATO.AC.NZ>
  20900. Subject:      Re: How to buy a SCRIPTABLE QuicKeys
  20901.  
  20902. Bill Nye <nye@CADENCE.COM> asks:
  20903.  
  20904. >Is buying QuicKeys 3.0.1 (list $169) enough to get me the Apple-scriptable
  20905. >QuicKeys product that is regularly discussed in this mailing list?
  20906. >
  20907. >I'm asking because the advertisement I'm looking at does not mention
  20908. >"AppleScript" at all.
  20909.  
  20910. I've got 3.0, and it included the OSA component, plus on-line documentation
  20911. for QuicKeys Script. It doesn't include AppleScript, of course, but if you
  20912. have that, QuicKeys appears automatically as another language option in the
  20913. Script Editor.
  20914.  
  20915. By the way, did they say what was different in 3.0.1 vs 3.0? I wonder if it
  20916. fixes the problem that was discussed in this list just a few days ago with
  20917. the "Jump" command...
  20918.  
  20919. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  20920. Info & Tech Services Division              fax: +64-7-838-4066
  20921. University of Waikato            electric mail: ldo@waikato.ac.nz
  20922. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  20923. =========================================================================
  20924. Date:         Thu, 28 Jul 1994 21:25:25 EDT
  20925. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20926. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20927. From:         Shaddar@AOL.COM
  20928. Subject:      Re: MacWorld, Boston
  20929.  
  20930. I live in Nashua, NH... about 45 minutes north of Boston, and would really
  20931. like to stop by for some of the activities.  I got some stuff in the mail not
  20932. too long ago but would like more info.  Could someone post some basic info...
  20933. prices, times, or point me to where I can find it?
  20934.  
  20935. Thanks  :)
  20936.  
  20937. ~Shaddar
  20938. =========================================================================
  20939. Date:         Thu, 28 Jul 1994 21:30:12 -0400
  20940. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20941. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20942. From:         anthony brown <anbrown@HUSC9.HARVARD.EDU>
  20943. Subject:      even more filemaker pro scripting questions...
  20944.  
  20945. I have a field in a fm pro record that has four checkboxes, and
  20946. anotherone that has 2 radio buttons.  My question is this:
  20947. How can I access the information of these fields from applescript?
  20948.  
  20949. I have tried to access them like this:
  20950. set info to (Class Info of Field "Product Number" of Record 1 of file
  20951.         temp) as string.
  20952.  
  20953. I have also tried to access it as a cell, but to no avail.
  20954.  
  20955. All I am trying to do is see if the checkboxes are checked or not, check
  20956. some of them depending on the settings that the user sets in my frontmost
  20957. window, and do the same thing with the radio buttons.  Can anyone of you
  20958. guys/gals point me in the right direction?
  20959.  
  20960. Another question:  Is there a FAQ for scripting fm Pro?  I have noticed a
  20961. lot of questions regarding this.  If not, then maybe a few of us can get
  20962. together via email and write a small FAQ on the subject of scripting fm
  20963. Pro.  I say this because there is no definative source on scripting
  20964. filemaker pro via applescript/frontmost/facespan...
  20965.  
  20966. Anthony
  20967.  
  20968.  
  20969. *********************************************************************
  20970. *                                                                   *
  20971. *  Anthony Brown, Macintosh Programming Intern, Harvard Universtiy  *
  20972. *                                                                   *
  20973. *  "Classic Rock Music Station's,  The 70's are calling,            *
  20974. *   They want their 8 - Tracks back!"                               *
  20975. *                                                                   *
  20976. *   Dolphin's Rule!! Undefeated 17 - 0  The Perfect Team 1972-73    *
  20977. *                                                                   *
  20978. *********************************************************************
  20979. =========================================================================
  20980. Date:         Fri, 29 Jul 1994 14:45:00 +1200
  20981. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20982. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  20983. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  20984.               NZ" <LDO@WAIKATO.AC.NZ>
  20985. Subject:      Date Calculations update
  20986.  
  20987. I've just dropped an updated version of my Date Calculations scripting addition
  20988. in the incoming directory on gaea.kgs.ukans.edu. I haven't included any
  20989. release notes or anything; at some point I suppose I should update the
  20990. archive I previously sent to Sumex and resubmit that.
  20991.  
  20992. I changed the names of some of the record fields for the structure returned
  20993. by the "date items" command. I hadn't done enough testing with AppleScript 1.1
  20994. before, and I just discovered that words like "month" and "day" cause clashes!
  20995. So the fields are now called "month part", "day part" and so on. Also "secnds"
  20996. becomes "seconds part", which I'm sure you'll agree is preferable. :-)
  20997.  
  20998. Oh, and I found yet another quirk in the "date offset" command. The old code
  20999. had various workarounds for odd behaviour in the LongDateToSeconds system
  21000. routine; I rewrote and simplified it all somewhat, and hopefully it should
  21001. work better now.
  21002.  
  21003. By the way, does anybody else wonder at the inexplicability that
  21004.  
  21005.         month of (current date)
  21006.  
  21007. returns "July" in the result window, yet
  21008.  
  21009.         (month of (current date)) as text
  21010.  
  21011. produces the message "Can't make July into a string"?
  21012.  
  21013. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  21014. Info & Tech Services Division              fax: +64-7-838-4066
  21015. University of Waikato            electric mail: ldo@waikato.ac.nz
  21016. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  21017. =========================================================================
  21018. Date:         Fri, 29 Jul 1994 01:03:38 -0700
  21019. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21020. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21021. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  21022. Subject:      Re: AS and Frontier Runtime
  21023.  
  21024. >At 15:57 7/28/94 -0700, John W. Baxter wrote:
  21025. >
  21026. >>tell application "Frontier Runtime=81"   -- =81 is the trademark symbol
  21027. >>    |file.mountServerVolume| ("First Floor:AccountServer:AccountServer",
  21028. >>>"rrapoport", "xxxxx")   -- all on one line
  21029. >>end tell
  21030. >
  21031. >Great.  One last question (for now :) ):
  21032. >
  21033. >I've done it, it works.  The problem is if I tell Frontier Runtime to quit,
  21034. >the volume gets unmounted.  Is it supposed to do that? Is there any way
  21035. >around it? (My general philosophy is to try to quit applications as soon as
  21036. >they finish serving their purpose, which, once the volume is mounted, has
  21037. >happened in this case).
  21038.  
  21039. No, it's not supposed to do that.  I'll have to experiment, when I get some
  21040. time.  --John
  21041.  
  21042. --
  21043. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  21044. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  21045. =========================================================================
  21046. Date:         Fri, 29 Jul 1994 11:23:37 GMT
  21047. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21048. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21049. From:         Christophe Reverd <Christophe_Reverd@EMAIL.FRANCENET.FR>
  21050. Organization: FranceNet
  21051. Subject:      AS: FTP Mirors Sites ?
  21052.  
  21053. Hi everybody,
  21054.  
  21055. Just one point :
  21056.  
  21057. Is there some mirors sites of the famous 'ftp://gaea.kgs.ukans.edu' ?
  21058.  
  21059. Thanks for your help.
  21060. Regards
  21061.  
  21062. Christophe Reverd
  21063. ____________________________
  21064. eMail : cReverd@FranceNet.fr
  21065. =========================================================================
  21066. Date:         Fri, 29 Jul 1994 10:09:25 -0500
  21067. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21068. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21069. From:         robert patoine <patoine@CAM.ORG>
  21070. Subject:      Re: Boston
  21071.  
  21072. >
  21073. >>Is there suppose to be
  21074. >>some interesting materail or conferences about or ralted to AppleScrip?
  21075.  
  21076. Danny Goodman wrote..
  21077. >I'll be giving a talk on Wednesday afternoon about scripting applications
  21078. >with AppleScript.  The session is part of the conference program, and will be
  21079. >at the World Trade Center (2:30-3:50 pm).
  21080.  
  21081. That is a good reason to attend the conference, I'll be there,
  21082.  
  21083. and another  from Andy J. Williams
  21084.  
  21085. >    Well, we could all try to get together during the Netter's Dinner.
  21086. >It's Thursday night, 7pm, at the European Italian Restaurant. It's
  21087. >located in Boston's North End, pratically on the Freedom Trail, but I
  21088. >can't remember the exact address. It's a short walk from Faneuil Hall or
  21089. >the Haymarket T stop.
  21090. =========================================================================
  21091. Date:         Thu, 28 Jul 1994 11:02:42 -0600
  21092. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21093. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21094. From:         "Andy Cemelli [remote]" <ANDYC@WORDPERFECT.COM>
  21095.  
  21096. Many of the messages i've been getting are missing hard returns
  21097. (particularly before "end if" and "end tell" is everyone having this
  21098. problem or is it just coming into our system this way or is it a more
  21099. advanced version of AppleScript that doesn't require a return before
  21100. the end of the "closing" items.
  21101.  
  21102. >>> Steve Michel <michel@NETCOM.COM> - 7/26/94 3:58 PM >>>
  21103. if thefile is {} then
  21104.    set theFile to choose file with prompt "" of type "TEXT" end if
  21105. =========================================================================
  21106. Date:         Fri, 29 Jul 1994 10:27:34 -0400
  21107. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21108. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21109. From:         John Schettino <js12@GTE.COM>
  21110. Subject:      Re: How to wait
  21111.  
  21112. >Did anyone ever figure out a reasonable way to wait in AppleScript?
  21113. >
  21114. >I'm trying to write a script to do something that I thought would be quite
  21115. >simple: Quit NewsWatcher and close PPP.
  21116. >
  21117. >Sounds simple right?  OK...
  21118. >
  21119. >tell application "NewsWatcher" to quit
  21120. >closePPP
  21121. >
  21122. >Unfortunately, when NewsWatcher quits, it needs to send the newsrc file to
  21123. >my unix host first and the script doesn't wait for it to finish.  The
  21124. >closePPP happen before NewsWatcher actually quits and messes up its attempt
  21125. >to send the file.
  21126. >
  21127. >I tried using a repeat loop to wait until NewsWatcher isn't in the process
  21128. >list, but it makes NewsWatcher's quit go extremely slow while AppleScript
  21129. >sucks up all the processor time in its tight loop.  All I want is a "wait 1
  21130. >second" like in Hypercard (without launching hypercard to do that!).
  21131. >
  21132. >Sounds like a really easy OSAX for some OSAX programmer out there to add a
  21133. >"wait" command.
  21134.  
  21135. Yeah, it does...
  21136. Until then, here's a hack using script objects... "the most powerful AS
  21137. construct"
  21138.  
  21139. -- save this as a stay open app!
  21140. property waitProc : {}
  21141. property repCnt : 2
  21142.  
  21143. -- you can have as many of these as you want!
  21144. -- they all *must* have a doit() handler, where the work gets done
  21145. script waitForNewsQuit
  21146.         on doit()
  21147.                 -- is newswatcher gone?
  21148.                 if not <however you test for this> then
  21149.                      set end of waitProc to me -- keep calling me
  21150.                 end if
  21151.                 -- If it's gone, just leave yourself off the stack
  21152.         end doit
  21153. end script
  21154.  
  21155. script doClosePPP
  21156.         on doit()
  21157.                 closePPP
  21158.         end doit
  21159. end script
  21160.  
  21161. -- keep executing methods off of the stack, until the're all gone
  21162. -- then just quit
  21163. on idle
  21164.         -- pop next method to call off end of stack
  21165.         set nextCommand to item -1 of waitProc
  21166.         if number of items in waitProc > 1 then
  21167.                 set waitProc to items 1 thru -2 of whatProc
  21168.         else
  21169.                 set waitProc to {}
  21170.         end if
  21171.  
  21172.         -- call the next method
  21173.         nextCommand's doit()
  21174.  
  21175.         -- was that the last one?
  21176.         if (number of items in waitProc) is 0 then
  21177.                 quit
  21178.         else
  21179.                 return 5 -- or as often as you'd like
  21180.         end if
  21181. end idle
  21182.  
  21183. -- do your work in the run handler
  21184. on run
  21185.         ...
  21186.         tell application "NewsWatcher" to quit
  21187.         set end of whatProc to doClosePPP -- push on action
  21188.         set end of whatProc to waitForNewsQuit -- push on action
  21189. end run
  21190.  
  21191.  
  21192. - john
  21193.  
  21194. -----------------------------------------
  21195. js12@gte.com             GTE Laboratories
  21196. John Schettino                Waltham, MA
  21197. =========================================================================
  21198. Date:         Fri, 29 Jul 1994 10:07:32 -0500
  21199. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21200. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21201. From:         Fred Terry <pfterry@LKS.CSI.COM>
  21202. Subject:      Re: Date Calculations update
  21203. In-Reply-To:  Your message of "Fri, 29 Jul 94 14:45:00 +1100"
  21204.  
  21205. >I've just dropped an updated version of my Date Calculations scripting additio
  21206. >n
  21207. >in the incoming directory on gaea.kgs.ukans.edu. I haven't included any
  21208. >release notes or anything; at some point I suppose I should update the
  21209. >archive I previously sent to Sumex and resubmit that.
  21210.  
  21211. I've moved Lawrence's Date Calculations osax into
  21212.  
  21213. ftp://gaea.kgs.ukans.edu/applescript/osaxen/DateCalculations.hqx
  21214.  
  21215. I've left the old version in place for now since it has a readme file and a
  21216. sample script.
  21217.  
  21218. Cheers.
  21219.  
  21220. pf
  21221. =========================================================================
  21222. Date:         Fri, 29 Jul 1994 11:27:41 EDT
  21223. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21224. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21225. From:         Danny Goodman <DGoodman@AOL.COM>
  21226. Subject:      Re: MacWorld, Boston
  21227.  
  21228. >Is there a way to get the disk from the publisher
  21229.  
  21230. Yes.  Call Random House at 1-800-733-3000 and order the Complete AppleScript
  21231. Handbook Update Disk (ISBN: 0-679-75537-3).  Cost is $4.75.  There have been
  21232. some outrageous snafus among order takers/warehouse people there (when their
  21233. master disk got corrupted, it never occurred to them to ask for another so
  21234. they could duplicate more).  I'm told things are getting back to sanity
  21235. there.
  21236.  
  21237. Danny Goodman
  21238. =========================================================================
  21239. Date:         Fri, 29 Jul 1994 11:34:46 EDT
  21240. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21241. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21242. From:         Danny Goodman <DGoodman@AOL.COM>
  21243. Subject:      Re: Date Calculations update
  21244.  
  21245. >By the way, does anybody else wonder at the inexplicability that
  21246. >
  21247. >        month of (current date)
  21248. >
  21249. >returns "July" in the result window, yet
  21250. >
  21251. >        (month of (current date)) as text
  21252. >
  21253. >produces the message "Can't make July into a string"?
  21254.  
  21255. The month names are all constants in AS, and it appears that constants cannot
  21256. be coerced to strings.
  21257.  
  21258. Danny Goodman
  21259. =========================================================================
  21260. Date:         Fri, 29 Jul 1994 11:01:47 CDT
  21261. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21262. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21263. From:         Taylor Leaming H3-283 <leamingt@TOBOR.SPS.MOT.COM>
  21264. Subject:      Re: MacWorld, Boston
  21265.  
  21266. > >Is there a way to get the disk from the publisher
  21267. >
  21268. > Yes.  Call Random House at 1-800-733-3000 and order the Complete AppleScript
  21269. > Handbook Update Disk (ISBN: 0-679-75537-3).  Cost is $4.75.  There have been
  21270. > some outrageous snafus among order takers/warehouse people there (when their
  21271. > master disk got corrupted, it never occurred to them to ask for another so
  21272. > they could duplicate more).  I'm told things are getting back to sanity
  21273. > there.
  21274. >
  21275. > Danny Goodman
  21276.  
  21277. I guess that isn't a real problem for a book...   ;^)
  21278.  
  21279. BTW, Danny, I like your book.  I keep borrowing a copy but I'm going to
  21280. finally get my own.  Too bad I can't go to MacWorld and get a personalized
  21281. copy....(sigh!).
  21282.  
  21283. -Taylor
  21284. =========================================================================
  21285. Date:         Fri, 29 Jul 1994 10:11:38 -0600
  21286. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21287. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21288. From:         Stephen Nesbitt <oapsn@GEMINI.OSCS.MONTANA.EDU>
  21289. Subject:      Timing
  21290.  
  21291. >>Did anyone ever figure out a reasonable way to wait in AppleScript?
  21292. >>
  21293. >>I'm trying to write a script to do something that I thought would be quite
  21294. >>simple: Quit NewsWatcher and close PPP.
  21295. >>
  21296. >>Sounds simple right?  OK...
  21297. >>
  21298. >>tell application "NewsWatcher" to quit
  21299. >>closePPP
  21300. >>
  21301. >>Unfortunately, when NewsWatcher quits, it needs to send the newsrc file to
  21302. >>my unix host first and the script doesn't wait for it to finish.  The
  21303. >>closePPP happen before NewsWatcher actually quits and messes up its attempt
  21304. >>to send the file.
  21305.  
  21306. Really good discussion touching on an aspect of scripting which I continue
  21307. to struggle with - synchronizing AEs.
  21308.  
  21309. As I do more and more scripting using AEs, with Frontier, I keep running
  21310. into the problem of determining, or even knowing, when a client app has
  21311. processed an AE. How do I know, for example, when an app I launched is ready
  21312. to accept a doScript command?
  21313.  
  21314. Basically, I think the questions are:
  21315. 1) With Frontier & AS, when is the command following one AEs command invoked
  21316. - as soon as the command is issued? when the AE returns a value?
  21317.  
  21318. 2) Is there a standard means to determine if a client is in a "ready" state
  21319. for certain AEs - e.g. not accepting doScript commands because of
  21320. initialization activities.
  21321.  
  21322. 3) If the scripter needs to wrap events around a sleep routine, what is a
  21323. reasonable sleep time? seconds or ticks? how many?
  21324.  
  21325. 4) After a sleep session how can the server determine the client is
  21326. completed with the given task. For example is a TRUE status for
  21327. sys.appIsRunning(appID) mean that the app has been told to launch, has just
  21328. started launching or is launched and idle?
  21329.  
  21330. Aesthetically, I really don't like timing routines - it seems to me that its
  21331. a lowest common denominator routine which will require constant tweaking to
  21332. adjust to different processor speeds and system loads - a 30 tick sleep may
  21333. be great for the 601 and totally inadequate for a Mac Classic.
  21334.  
  21335. Inquiring minds want to know!
  21336.  
  21337.  
  21338. -steve
  21339. oapsn@gemini.oscs.montana.edu
  21340. "Don't let the blues stop you singing,
  21341.  you've only got a broken wing,
  21342.  You just hang on to my rainbow sleeves" - Tom Waits
  21343. =========================================================================
  21344. Date:         Fri, 29 Jul 1994 09:16:34 -0700
  21345. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21346. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21347. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  21348. Subject:      Re: AS and Frontier Runtime
  21349.  
  21350. At 16:43 7/28/94 -0800, Roy S. Rapoport wrote:
  21351. >>tell application "Frontier Runtime=81"   -- =81 is the trademark symbol
  21352. >>    |file.mountServerVolume| ("First Floor:AccountServer:AccountServer",
  21353. >>>"rrapoport", "xxxxx")   -- all on one line
  21354. >>end tell
  21355. >
  21356. >Great.  One last question (for now :) ):
  21357. >
  21358. >I've done it, it works.  The problem is if I tell Frontier Runtime to quit,
  21359. >the volume gets unmounted.  Is it supposed to do that? Is there any way
  21360. >around it? (My general philosophy is to try to quit applications as soon as
  21361. >they finish serving their purpose, which, once the volume is mounted, has
  21362. >happened in this case).
  21363.  
  21364. It doesn't happen here...that is the volume remains mounted when I quit
  21365. Runtime.  I'm using PowerPC version of Runtime 3.0.3, (which shouldn't
  21366. matter vs the 68K version), and "Personal Filesharing" in System 7.x on my
  21367. IIci as the server.  I suppose other servers could give other results.
  21368.  
  21369. If you're still having the problem there, I'll reverse machines and try again.
  21370.    --John
  21371.  
  21372. --
  21373. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  21374. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  21375. =========================================================================
  21376. Date:         Fri, 29 Jul 1994 12:25:19 -0400
  21377. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21378. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21379. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  21380. Subject:      Re: Date Calculations update
  21381. In-Reply-To:  <no.id> from "Danny Goodman" at Jul 29, 94 11:34:46 am
  21382.  
  21383. --Danny Goodman wrote:
  21384. >
  21385. >>By the way, does anybody else wonder at the inexplicability that
  21386. >>
  21387. >>        month of (current date)
  21388. >>
  21389. >>returns "July" in the result window, yet
  21390.  
  21391.     If you have AS 1.1 there are definitely no quotes around the July
  21392. beucase it's not returning a script. It's returning the name of the
  21393. month as an enumerated constant.
  21394.  
  21395. >>        (month of (current date)) as text
  21396. >>
  21397. >>produces the message "Can't make July into a string"?
  21398. >
  21399. >The month names are all constants in AS, and it appears that constants cannot
  21400. >be coerced to strings.
  21401.  
  21402.     You know this sounds an awful lot like the old enumerated data type
  21403. problem from Pascal. I wonder if there is any relation between the two?
  21404.  
  21405. -Hades
  21406. =========================================================================
  21407. Date:         Fri, 29 Jul 1994 12:35:05 -0500
  21408. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21409. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21410. From:         David Myers <myers@ACEC.COM>
  21411. Subject:      Frontier & TCP/IP osax: Receiving binary data?
  21412.  
  21413. Has anyone managed to successfully script a TCP/IP binary data transfer
  21414. through the TCP/IP osax?  I was trying to write a simple script to
  21415. download weather image .GIFs from the UIUC weather archive, but two
  21416. problems arise:
  21417.  
  21418. 1.  The script terminates early, having sucked up only 1/3 of the file
  21419.  
  21420. 2.  The data that did come through is not the same as gopher received
  21421.     when the image was manually transferred.
  21422.  
  21423. Here's the script (in UserLand Frontier dialect):
  21424.  
  21425. =AB request IR image from the server
  21426. tcpip.tcpWrite(myStream, "0/Images/Satellite Images/Satellite East
  21427. IR/00LATEST.GIF" + char(13), using: tcpip.iso88591);
  21428. clock.waitSeconds(5); =AB seems to be necessary
  21429.  
  21430. =AB read the entire input stream buffer
  21431. tcpip.tcpReceive(myStream, "/:tmp:Satellite East IR", using: tcpip.iso88591)=
  21432. ;
  21433.  
  21434. =AB close the stream
  21435. tcpip.tcpClose(myStream)
  21436.  
  21437.  
  21438. Thanks for information...
  21439.  
  21440. -David.
  21441.  
  21442.  
  21443. ____________________________________________________
  21444.  
  21445. David C. Myers
  21446. myers@acec.com
  21447. =========================================================================
  21448. Date:         Fri, 29 Jul 1994 09:41:21 -0700
  21449. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21450. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21451. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  21452. Subject:      Re: Date Calculations update
  21453.  
  21454. >>By the way, does anybody else wonder at the inexplicability that
  21455. >>
  21456. >>        month of (current date)
  21457. >>
  21458. >>returns "July" in the result window, yet
  21459. >>
  21460. >>        (month of (current date)) as text
  21461. >>
  21462. >>produces the message "Can't make July into a string"?
  21463. >
  21464. >The month names are all constants in AS, and it appears that constants cann=
  21465. ot
  21466. >be coerced to strings.
  21467.  
  21468. With just a little help:
  21469.  
  21470. set m to month of (current date)
  21471. tell application "Frontier Runtime=81"  -- =81 is trademark
  21472.     |string|(m)  -- pipes prevent collision between string and string
  21473. end tell
  21474.  
  21475. Of course, what comes back (today) is "jul ", which isn't what one wants,
  21476. anyhow.  So either a nasty chain of ifs (not cross cultural in any easy way
  21477. at all) or an osax (which can easily be cross-cultural) is more useful for
  21478. this job.
  21479.  
  21480. By the way, you can also induce Frontier to give you the month as an index.
  21481. This one is most easily developed by writing some UserTalk in a separate
  21482. script, in Script Editor (setting the language to UserTalk, must have
  21483. Runtime running to do so):
  21484.  
  21485. local (day, month, year, hour, minute, second);
  21486. date.get (clock.now(), @day, @month, @year, @hour, @minute, @second);
  21487. return (month)
  21488.  
  21489. Having proven that, though, you can pass it in a doScript:
  21490.  
  21491. tell application "UserLand Frontier=81"
  21492.     set monthNum to Do Script "local (day, month, year, hour, minute, second=
  21493. );
  21494. date.get (clock.now(), @day, @month, @year, @hour, @minute, @second);
  21495. return (month)"
  21496. end tell
  21497. monthNum
  21498.  
  21499.  
  21500. which returns 7 (today, 8 soon...where did July go, anyhow).
  21501.    --John
  21502.  
  21503. --
  21504. jwbaxter@pt.olympus.net (John W. Baxter)  Port Ludlow, WA
  21505. finger me to prove I'm all wet (Port Ludlow rainfall numbers).
  21506. =========================================================================
  21507. Date:         Fri, 29 Jul 1994 12:09:15 CDT
  21508. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21509. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21510. From:         Peter Fleck - SMM <fleck@ASTRO.SPA.UMN.EDU>
  21511. Subject:      Basic Questions
  21512.  
  21513. Greetings,
  21514.  
  21515. I've been lurking on this list for a while and I'm finally writing my
  21516. first useful AppleScript. I have questions, some of which are very
  21517. basic, I think. I can post the whole script (not real long) if it
  21518. would help and if folks would be interested in critiquing my style.
  21519.  
  21520. The Script
  21521. ----------
  21522. I log on a local TeleFinder BBS. TeleFinder is similar to First Class
  21523. in that it gives the user a Mac-like interface. After downloading a
  21524. bunch of files, I want TeleFinder to hang up the modem. TF does have a
  21525. dictionary and it includes a Hang Up command.
  21526.  
  21527. The problem is there is no way to tell when the download is done.
  21528. First I tried sending Hang Up during the download, thinking it
  21529. wouldn't activate until the download finished but no such luck. It
  21530. hung up during the download.
  21531.  
  21532. So I'm using the Menu Events OSAX to figure out when the Special Menu
  21533. is enabled which means the Hang Up command is available. I tried
  21534. working directly with the Hang Up command menu item but Menu Events
  21535. said it was enabled when it wasn't. The OSAX seems to report the
  21536. status of the Special Menu correctly.
  21537.  
  21538. Questions
  21539. ---------
  21540. TeleFinder needs to be open for this script to work. As far as I can
  21541. tell, AS and the standard OSAXen don't provide a way to find this out.
  21542. I'm using "list applications" from the GTQ Scripting Library. Is there
  21543. a standard AS way to do this?
  21544.  
  21545. I use the Dialog Display OSAX several times and my reading of the docs
  21546. indicates that it should return "Cancel" in the "button returned"
  21547. record. It returns nothing when cancel is clicked. I have to use a Try
  21548. statement and trap for the error -128. Am I missing something.
  21549.  
  21550. I'm using an idle handler to continue checking the Special Menu. I set
  21551. some variables right before "on idle" for use in the handler. But AS
  21552. says the variables are not defined once the idle handler starts
  21553. running. By setting the variables with a Property statement, they work
  21554. through the whole script. Does the "on idle" sort of start a new
  21555. segment, erasing previous local variables (meaning I need the global
  21556. property statement)?
  21557.  
  21558. Main Question
  21559. -------------
  21560. I use a Choose File command to have the user select their copy of TF
  21561. at the beginning of my script, then store that info in a property so
  21562. they only need this the first time through. Here's my command:
  21563.  
  21564. set TF_Loc to (choose file with prompt (cont. char)
  21565.                 "Please locate your Telefinder User Application." of type
  21566. {"APPL"})
  21567. as text
  21568.  
  21569. I then want to use TF_Loc throughout the script. Works fine for the
  21570. most part except when I actually want TF to hang up. Here's the
  21571. pertinent part of the script:
  21572.  
  21573. on idle
  21574.   tell application TF_Loc
  21575.                   activate
  21576.                    [menu checking stuff here]
  21577.  
  21578.                   if hangUpNow then
  21579.                                         Hang Up
  21580.                           tell me to quit -- shut down the script
  21581.      end if
  21582.   end tell
  21583. end idle
  21584.  
  21585. When I try to compile this, I get a syntax error: "Expected end of
  21586. line, etc. but found application constant or consideration." Without
  21587. the Hang Up command, this works fine (meaning the "activate" is
  21588. getting through).
  21589.  
  21590. Using (within the idle and tell parts):
  21591.  
  21592.   tell application "TeleFinder*/User 3.2.6" to Hang up
  21593.  
  21594. works but this means I have to know the name of the user's TF copy.
  21595.  
  21596. I found a workaround. I substituted "TeleFinder" for TF_Loc in the
  21597. initial Tell statement that follows on idle. AS then figures out (or
  21598. asks the user) where TeleFinder is and remembers from there on. And
  21599. the Hang Up works. But I still want to know why I couldn't use the
  21600. variable to refer to TF
  21601.  
  21602.  
  21603. Distribution
  21604. ------------
  21605. Can I include the OSAXen (Menu Events, List Applications) with my
  21606. Script without including the whole GTQ and Menu Events package? The
  21607. docs, at least for GTQ seem to state otherwise.
  21608.  
  21609.  
  21610. Peter Fleck
  21611. fleck@astro.spa.umn.edu
  21612. =========================================================================
  21613. Date:         Fri, 29 Jul 1994 10:35:00 -0700
  21614. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21615. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21616. From:         "Evad, Paul" <PEVAD@PUBAFFAIR.ENV.GOV.BC.CA>
  21617. Subject:      Help with deleting folders
  21618.  
  21619. If this is a duplicate message please forgive, I sent it out two days ago...
  21620. and I didn't notice it showing up on the list... we seem to be having some
  21621. problems with our mail server.
  21622.  
  21623.  I need to look at the creation dates of a list of folders in a specific
  21624. folder (ignoring files), looking at the creation date of the folders and
  21625. deleting all folders with a creation date < current date - 3 days.
  21626.  
  21627. Here is my complete script so far, please forgive the long post and feel free
  21628. to comment and hack this one apart as I am a novice in scripting...
  21629.  
  21630. ______________________________________________________________________
  21631.  
  21632. property sourceFolders : {}
  21633. property destFolder : "NULL"
  21634. property confirmBackups : false
  21635. -- locate the folder(s) that are to be backed up. This is done first time the
  21636. script is run
  21637. if (sourceFolders = {}) then
  21638.  set sourceFolders to
  21639.   choose several folders with prompt
  21640.    "Select folders to backup:" starting with sourceFolders
  21641. end if
  21642. -- Locate the folder where the backup archive is to be placed
  21643. if (destFolder = "NULL") then
  21644.  set destFolder to choose folder with prompt "Select destination folder:"
  21645. end if
  21646. set folderNamestring to (current date) as string
  21647. set oldDelimiters to AppleScript's text item delimiters
  21648. set AppleScript's text item delimiters to {","}
  21649. set monthName to word 2 of folderNamestring
  21650. set dayName to word 3 of folderNamestring
  21651. set hourname to word 5 of folderNamestring
  21652. set minname to word 6 of folderNamestring
  21653. set ampmname to word 8 of folderNamestring
  21654.  
  21655. set AppleScript's text item delimiters to oldDelimiters
  21656. set BfolderName to monthName & " " & dayName & " " & hourname & " " & minname
  21657. & " " & ampmname
  21658. create folder (BfolderName) as string in destFolder
  21659. set Bpath to (destFolder as string) & BfolderName & ":"
  21660. set Filestomove to list folder of sourceFolders
  21661.  
  21662. **  tell FinderLib
  21663. **   copyFiles from sourceFolders to Bpath as string with warning
  21664. **  end tell
  21665. **  set folderlist to list folder destFolder
  21666. **  if (get fileinfo creation date of folder list)   (current date) - 129600
  21667. **  then tell application "Finder"
  21668. **  activate
  21669. **  delete theFolder
  21670.  
  21671. ___________________________________________________________________
  21672.  
  21673. another problem I have with the above is the need for FinderLib - ideally I
  21674. would like this script to run on any macintosh with the minimal "applescript
  21675. extensions" neccessary.
  21676.  
  21677. I have ** the relevent sections.
  21678.  
  21679. Comments? Suggestions? Solutions?
  21680.  
  21681. Paul Evad
  21682. pevad@pubaffair.env.gov.bc.ca
  21683. uj032@freenet.victoria.bc.ca
  21684. =========================================================================
  21685. Date:         Fri, 29 Jul 1994 13:50:17 -0400
  21686. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21687. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21688. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  21689. Subject:      Re: case of a conditional in applescript...
  21690. In-Reply-To:  <no.id> from "anthony brown" at Jul 28, 94 08:24:12 pm
  21691.  
  21692. --anthony brown wrote:
  21693. >
  21694. >Looking through the applescript language guide and not finding anything,
  21695. >I was wondering if there is something similar to c's switch or pascal's
  21696. >case statements in applescript.
  21697.  
  21698.     Nope.
  21699.  
  21700. >If not, is there an osax that will let you do this?
  21701.  
  21702.     I've said it before, and I'll say it again. I'd almost kill for a
  21703. decent implimentation of a case statement for AppleScript.
  21704.  
  21705. -Hades
  21706. =========================================================================
  21707. Date:         Fri, 29 Jul 1994 13:57:30 -0400
  21708. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21709. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21710. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  21711. Subject:      Re: MacWorld, Boston
  21712. In-Reply-To:  <no.id> from "Shaddar@aol.com" at Jul 28, 94 09:25:25 pm
  21713.  
  21714. --Shaddar@aol.com wrote:
  21715. >
  21716. >I live in Nashua, NH... about 45 minutes north of Boston, and would really
  21717. >like to stop by for some of the activities.  I got some stuff in the mail not
  21718. >too long ago but would like more info.  Could someone post some basic info...
  21719. >prices, times, or point me to where I can find it?
  21720.  
  21721.     The best source for this is a current issue of MacWorld magazine.
  21722. Specifically the June, July, or August(I think) issues. Aside from what
  21723. has been in MacWorld, the only other info that we pre-registration types
  21724. have received is a simple conference schedule. All other information is
  21725. contained in the MacWorld Expo booklet that you get when you arrive.
  21726.  
  21727. -Hades
  21728. =========================================================================
  21729. Date:         Fri, 29 Jul 1994 11:01:16 -0700
  21730. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21731. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21732. From:         Derrick Schneider <derrick@NETCOM.COM>
  21733. Subject:      Second edition of Tao book
  21734.  
  21735. Howdy all!
  21736.  
  21737. Just joined the list and thought I'd make my first contribution an announcement.
  21738.  
  21739. The Second Edition of The Tao of AppleScript will be available at Boston Expo,
  21740.  from both Hayden and BMUG. I'm not quite sure of the pricing, but I think it's
  21741.  about $5 more than the last one.
  21742.  
  21743. New features:
  21744. 1.1 coverage (big surprise, huh?)
  21745. Scriptable Finder coverage
  21746. Whole section of sample scripts illustrating different AS concepts
  21747. All in all, about 400 pages worth of book (total, not changed!)
  21748.  
  21749. Two disks, instead of one. Disk 1 is the official AppleScript Runtime Kit (not
  21750.  just the bare bones, like we did in the original Tao). Disk 2 is filled with
  21751.  lots more stuff in the way of shareware et al. Not, I regret to say, the
  21752.  scriptable Finder.
  21753. For those who complained before, all the scripts are also included on the disk.
  21754.  
  21755. I won't be there, but do stop by the BMUG booth and pick up your copy.
  21756.  
  21757. Derrick
  21758. P.S. I don't think there's an upgrade policy.
  21759. =========================================================================
  21760. Date:         Fri, 29 Jul 1994 14:01:56 -0400
  21761. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21762. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21763. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  21764. Subject:      Re: Boston
  21765. In-Reply-To:  <no.id> from "robert patoine" at Jul 29, 94 10:09:25 am
  21766.  
  21767. --robert patoine wrote:
  21768. >
  21769. >and another  from Andy J. Williams
  21770. >
  21771. >>    Well, we could all try to get together during the Netter's Dinner.
  21772. >>It's Thursday night, 7pm, at the European Italian Restaurant. It's
  21773. >>located in Boston's North End, pratically on the Freedom Trail, but I
  21774. >>can't remember the exact address. It's a short walk from Faneuil Hall or
  21775. >>the Haymarket T stop.
  21776.  
  21777.     Actually, I wrote the above paragraph in a reply to a message that
  21778. Andy posted to the list. Just trying to keep the attribution straight.
  21779.  
  21780. -Hades
  21781. =========================================================================
  21782. Date:         Fri, 29 Jul 1994 14:15:44 -0400
  21783. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21784. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21785. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  21786. Subject:      Re: even more filemaker pro scripting questions...
  21787. In-Reply-To:  <no.id> from "anthony brown" at Jul 28, 94 09:30:12 pm
  21788.  
  21789. --anthony brown wrote:
  21790. >
  21791. >I have a field in a fm pro record that has four checkboxes, and
  21792. >anotherone that has 2 radio buttons.  My question is this:
  21793. >How can I access the information of these fields from applescript?
  21794.  
  21795.     There is one piece of information that you need to access these
  21796. fields that you seem to be lacking. Which is the fact that a field
  21797. defined to show up as a checkbox or radio button group is nothing more
  21798. than a text field (usually) with a different kind of display. So when
  21799. you check off items in a checkbox what you are really doing is putting
  21800. the checked value into the field. The checkbox interface has no real
  21801. relation to the data contained in the field, it's just an easier way to
  21802. enter that data.
  21803.  
  21804. >I have tried to access them like this:
  21805. >set info to (Class Info of Field "Product Number" of Record 1 of file
  21806. >        temp) as string.
  21807. >
  21808. >I have also tried to access it as a cell, but to no avail.
  21809.  
  21810.    Remember, when scripting FM Pro, a Cell is a single value for a given
  21811. record and a Field is actually a list of values from a given cell over
  21812. the current range of records. Think of an FM Pro database as a table
  21813. where the rows are records, the columns are fields, and the intersection
  21814. of a row and a column is a cell. It will make your life much easier when
  21815. you try to script FM Pro. (This also explains why the Apple Event
  21816. Dictionary for FM Pro contains a subset of the Table suite)
  21817.  
  21818. >All I am trying to do is see if the checkboxes are checked or not, check
  21819. >some of them depending on the settings that the user sets in my frontmost
  21820. >window, and do the same thing with the radio buttons.  Can anyone of you
  21821. >guys/gals point me in the right direction?
  21822.  
  21823.     If you want to see if a checkbox is checked all you need to do is
  21824. get the value of the Cell from the record you want, and then see if that
  21825. Cell contains the value of the ckeckboxes you are looking for. If it
  21826. does, then those items have been checked, if it doesn't they haven't.
  21827. The same goes for radio buttons with this exception: there is a maximum
  21828. of one value for a radio button. A checkbox can have a maximum of one
  21829. value for each checkbox item.
  21830.  
  21831. >Another question:  Is there a FAQ for scripting fm Pro?  I have noticed a
  21832. >lot of questions regarding this.  If not, then maybe a few of us can get
  21833. >together via email and write a small FAQ on the subject of scripting fm
  21834. >Pro.  I say this because there is no definative source on scripting
  21835. >filemaker pro via applescript/frontmost/facespan...
  21836.  
  21837.     There is no FAQ for scripting FM Pro, but I'm not too sure there
  21838. really needs to me much of one, if any at all (nice sentence... ;). Once
  21839. you understand FM Pro's dictionary and you understand how the Apple
  21840. Event Object Model works, FM Pro really isn't that tough to work with.
  21841.  
  21842. -Hades
  21843. =========================================================================
  21844. Date:         Fri, 29 Jul 1994 11:58:54 -0800
  21845. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21846. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21847. From:         Mike Hopkins <mhopkins@NETCOM.COM>
  21848. Subject:      ScriptWizard 1.0.1fc1 update available
  21849.  
  21850. We have uploaded patchers to Gaea that make ScriptWizard 1.0.1fc1 from the
  21851. commercially released ScriptWizard version 1.0 software. The new version is
  21852. not yet commercially released, and we are still shipping version 1.0 to our
  21853. customers; we are making these patch files widely available to existing
  21854. customers to make sure there are no outstanding bugs in the new version
  21855. before we put it into production. There are two patch files included with
  21856. this package: one to update the US release of the software, and one to
  21857. update the UK release of the software.
  21858.  
  21859. ScriptWizard 1.0.1 will be a bug fix release. It does not contain feature
  21860. enhancements or major changes. There are five changes:
  21861.  
  21862. * A "debugger break" in the Dictionary window has been removed; the break
  21863. message dropped into Macsbug with the message "ScanAETE failed". This error
  21864. is now reported with an "out of memory" alert box.
  21865.  
  21866. * A fix to eliminate crashes when using the "Locate" popup on long files.
  21867.  
  21868. * A fix to correct errors in the "find" function on long files.
  21869.  
  21870. * The "Open" file dialog boxes no longer attempt to resolve and open every
  21871. alias file they encounter. This means that the program will be unable to
  21872. open a file (if it isn't openable) even if an alias to the file appeared in
  21873. the dialog box, but the benefit is that ScriptWizard will no longer cause
  21874. the file system to ask for offline media to be reinserted while displaying
  21875. the file dialog boxes.
  21876.  
  21877. * The Dictionary window now marks "optional" parameters of Apple events.
  21878.  
  21879. The patch files have been uploaded to Gaea, for attention by the
  21880. moderators. They are ONLY available by FTP from Gaea.
  21881.  
  21882. Mike Hopkins                |   PH:  (408)253-7199
  21883. Full Moon Software, Inc.    |   FAX: (408)252-2379
  21884. P.O. Box 700237             |   CIS: 70713,2664
  21885. San Jose, CA  95170         |   AOL: MHopkins
  21886. =========================================================================
  21887. Date:         Fri, 29 Jul 1994 12:01:49 -0700
  21888. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21889. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21890. Comments:     Warning -- original Sender: tag was jcallaha@WILLAMETTE.EDU
  21891. From:         postmaster@WILLAMETTE.EDU
  21892. Subject:      mail sent to: Multiple recipients of list MACSCRPT
  21893.               <MACSCRPT@DARTCMS1.DARTMOUTH.EDU>
  21894. In-Reply-To:  <199407291901.MAA16412@jupiter.willamette.edu>
  21895.  
  21896. In the future, please use the address:
  21897.   slambert@willamette.edu
  21898. when sending mail to:
  21899.   Multiple recipients of list MACSCRPT <MACSCRPT@DARTCMS1.DARTMOUTH.EDU>
  21900.  
  21901. This will insure that they will always receive mail on the machine
  21902. they have designated as their mailhost, and mail will not get lost.
  21903.  
  21904. Thanks!
  21905. Willamette Postmaster
  21906. =========================================================================
  21907. Date:         Fri, 29 Jul 1994 14:10:31 -0500
  21908. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21909. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21910. From:         Fred Terry <pfterry@LKS.CSI.COM>
  21911. Subject:      Re: ScriptWizard patch
  21912. In-Reply-To:  Your message of "Fri, 29 Jul 94 11:59:00 -0900"
  21913.  
  21914. Folks,
  21915.  
  21916. >We have uploaded a release candidate for a ScriptWizard patch to gaea as
  21917. >follows:
  21918. >
  21919. >-rw-rw-rw-   1 40098    30         87980 Jul 29 18:52 SW(1.0.1fc1).sit.hqx
  21920. >
  21921.  
  21922. You'll find the patcher in
  21923.  
  21924. ftp://gaea.kgs.ukans.edu/applescript/demos/SW1.01fc1.sit.hqx
  21925.  
  21926. pf
  21927. =========================================================================
  21928. Date:         Fri, 29 Jul 1994 01:35:11 -1000
  21929. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21930. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21931. From:         Pete Hinely <phinely@UHUNIX.UHCC.HAWAII.EDU>
  21932. Subject:      Opening files on remote machines
  21933.  
  21934. I think somsone was asking about opening files on a remote machine.
  21935. Maybe the following stuff will help.  It's from "Finder Scripting Toolkit
  21936. v1.0".  There's other cool Finder scripting stuff in it too.
  21937.  
  21938. Finder Scripting Toolkit v1.0
  21939. Freeware by Daniel Ranson
  21940.  
  21941. Finder Scripting Toolkit is an alternative to the FinderLib provided with
  21942. AppleScript. It gives AppleScript access to the full Finder (7.0, 7.1)
  21943. Apple Events suite, does not require an aete resource for recompilation,
  21944. and has a very low memory overhead. It is expected that script writers
  21945. will copy the handlers they need to their own scripts. The handlers are
  21946. independant of each other, making this easy.
  21947.  
  21948.  
  21949. --
  21950. --      RemoteOpenObjects
  21951. --
  21952. --      Opens a list of Finder objects, as if they were double-clicked in
  21953. the Finder.
  21954. --      This variant sends the command to a remote Finder in the same zone.
  21955. --      The aliases must be meaningful to this remote Finder.
  21956. --
  21957. --      Parameters
  21958. --              cont (alias) : folder containing the objects.
  21959. --              objs (alias list) : objects to open.
  21960. --              mach (string) : name of remote machine.
  21961. --
  21962. --      Examples
  21963. --              RemoteOpenObjects(alias "Disk:", {alias "Disk:file",
  21964. alias "Disk:folder:"}, "Bob's Mac")
  21965. --
  21966. on RemoteOpenObjects(cont, objs, mach)
  21967.         tell application "Finder" of machine mach to Gevent FNDRsopeH
  21968. cont given Gclass fselH:objs
  21969. end RemoteOpenObjects
  21970.  
  21971. --
  21972. --      RemoteOpenObjectsWithZone
  21973. --
  21974. --      Opens a list of Finder objects, as if they were double-clicked in
  21975. the Finder.
  21976. --      This variant sends the command to a remote Finder in any zone.
  21977. --      The aliases must be meaningful to this remote Finder.
  21978. --
  21979. --      Parameters
  21980. --              cont (alias) : folder containing the objects.
  21981. --              objs (alias list) : objects to open.
  21982. --              mach (string) : name of remote machine.
  21983. --              zn (string) : name of zone.
  21984. --
  21985. --      Examples
  21986. --              RemoteOpenObjectsWithZone(alias "Disk:", {alias
  21987. "Disk:file", alias "Disk:folder:"}, "Bob's Mac", "2nd floor")
  21988. --
  21989. =========================================================================
  21990. Date:         Fri, 29 Jul 1994 15:50:35 -0500
  21991. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21992. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  21993. From:         Roy Eassa <re@ZORK.TIAC.NET>
  21994. Subject:      Re: ScriptWizard 1.0.1fc1 update available
  21995.  
  21996. At 11:58 AM 7/29/94 -0800, Mike Hopkins wrote:
  21997. >We have uploaded patchers to Gaea that make ScriptWizard 1.0.1fc1 from the
  21998. >commercially released ScriptWizard version 1.0 software. The new version is
  21999. >not yet commercially released, and we are still shipping version 1.0 to our
  22000. >customers; we are making these patch files widely available to existing
  22001. >customers to make sure there are no outstanding bugs in the new version
  22002. >before we put it into production. There are two patch files included with
  22003. >this package: one to update the US release of the software, and one to
  22004. >update the UK release of the software.
  22005. >
  22006. >ScriptWizard 1.0.1 will be a bug fix release. It does not contain feature
  22007. >enhancements or major changes. There are five changes:
  22008. >
  22009. >* A "debugger break" in the Dictionary window has been removed; the break
  22010. >message dropped into Macsbug with the message "ScanAETE failed". This error
  22011. >is now reported with an "out of memory" alert box.
  22012. >
  22013. >* A fix to eliminate crashes when using the "Locate" popup on long files.
  22014. >
  22015. >* A fix to correct errors in the "find" function on long files.
  22016. >
  22017. >* The "Open" file dialog boxes no longer attempt to resolve and open every
  22018. >alias file they encounter. This means that the program will be unable to
  22019. >open a file (if it isn't openable) even if an alias to the file appeared in
  22020. >the dialog box, but the benefit is that ScriptWizard will no longer cause
  22021. >the file system to ask for offline media to be reinserted while displaying
  22022. >the file dialog boxes.
  22023. >
  22024. >* The Dictionary window now marks "optional" parameters of Apple events.
  22025. >
  22026. >The patch files have been uploaded to Gaea, for attention by the
  22027. >moderators. They are ONLY available by FTP from Gaea.
  22028. >
  22029. >Mike Hopkins                |   PH:  (408)253-7199
  22030. >Full Moon Software, Inc.    |   FAX: (408)252-2379
  22031. >P.O. Box 700237             |   CIS: 70713,2664
  22032. >San Jose, CA  95170         |   AOL: MHopkins
  22033.  
  22034.  
  22035. --
  22036. Roy Eassa
  22037. re@tiac.net
  22038. =========================================================================
  22039. Date:         Fri, 29 Jul 1994 13:33:10 -0800
  22040. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22041. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22042. From:         Brian Hall <mspace@NETCOM.COM>
  22043. Subject:      Re: MACSCRPT Digest - 27 Jul 1994 to 28 Jul 1994
  22044.  
  22045. >The start and stop log events simply turn event logging on and off so that
  22046. >you can localize the event logging to your area of interest.  That's not so
  22047. >cool.  What's cool is that the log command takes a string and prints that
  22048. >to the log window.  You can use this instead of display dialog!
  22049.  
  22050. Hey - that *is* a cool tip!  I had "display dialog" surrounded by "if
  22051. debugging" all over my scripts!
  22052.  
  22053. __________________________________________________________________________
  22054.  Drop by and say hello! Apple and Prometheus booths MacWorld Expo Aug 1-5
  22055.  
  22056. Mark/Space Softworks                                    voice 408-293-7299
  22057. 111 West Saint John, Suite 230                            fax 408-293-7298
  22058. San Jose, CA 95113                                        bbs 408-293-7290
  22059.  
  22060. Macintosh connectivity software:               Internet: mspace@netcom.com
  22061. Communicate, ZMODEM Tool, PageNOW!               AppleLink, AOL: MARKSPACE
  22062. Mark/Space Softworks               Goodies at ftp.netcom.com in pub/mspace
  22063. =========================================================================
  22064. Date:         Fri, 29 Jul 1994 15:13:49 -0800
  22065. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22066. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22067. From:         "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  22068. Subject:      Re: AS and Frontier Runtime
  22069.  
  22070. At  9:16 7/29/94 -0700, John W. Baxter wrote:
  22071.  
  22072. >>I've done it, it works.  The problem is if I tell Frontier Runtime to quit,
  22073. >>the volume gets unmounted.  Is it supposed to do that? Is there any way
  22074. >>around it? (My general philosophy is to try to quit applications as soon as
  22075. >>they finish serving their purpose, which, once the volume is mounted, has
  22076. >>happened in this case).
  22077. >
  22078. >It doesn't happen here...that is the volume remains mounted when I quit
  22079. >Runtime.  I'm using PowerPC version of Runtime 3.0.3, (which shouldn't
  22080. >matter vs the 68K version), and "Personal Filesharing" in System 7.x on my
  22081. >IIci as the server.  I suppose other servers could give other results.
  22082. >
  22083. >If you're still having the problem there, I'll reverse machines and try again.
  22084.  
  22085. Well, it could have been worse.  I was about to send the list a message
  22086. saying, "MountVol  (the AS addition) mounts a volume, but it gets unmounted
  22087. after exactly 5 seconds! Help!"
  22088.  
  22089. Then I figured I'd try another volume, and lo and behold, is suddenly
  22090. worked.  So hey, I figured I'd try the frontier thing again, with a
  22091. different server.
  22092.  
  22093. I'm such an idiot -- I set up file sharing, but forgot to tell it which
  22094. files to share, so I can log on, but not get access to anything ...
  22095.  
  22096. Nevermind ...
  22097. -roy
  22098. =========================================================================
  22099. Date:         Fri, 29 Jul 1994 20:08:30 -0400
  22100. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22101. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22102. From:         Boris Levitin <boris@WORLD.STD.COM>
  22103. Subject:      Re: Opening files on remote machines
  22104.  
  22105. Where can "Finder Scripting Toolkit v1.0" be found? It doesn't seem to be on
  22106. gaea.
  22107.  
  22108. (Pete Hinely <phinely@UHUNIX.UHCC.HAWAII.EDU> wrote:
  22109. Finder Scripting Toolkit v1.0
  22110. Freeware by Daniel Ranson
  22111. an alternative to the FinderLib provided with
  22112. AppleScript. It gives AppleScript access to the full Finder (7.0, 7.1)
  22113. Apple Events suite, does not require an aete resource for recompilation,
  22114. and has a very low memory overhead.
  22115. )
  22116.  
  22117. Boris Levitin                                  WGBH Public Broadcasting, Boston
  22118.                                    boris@world.std.com * boris_levitin@wgbh.org
  22119.               I produced this message and am solely responsible for its content
  22120. =========================================================================
  22121. Date:         Fri, 29 Jul 1994 20:18:10 -0400
  22122. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22123. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22124. From:         Boris Levitin <boris@WORLD.STD.COM>
  22125. Subject:      Finder Scripting Toolkit
  22126.  
  22127. Sorry, I did find FST, in the scripts directory on gaea.
  22128. =========================================================================
  22129. Date:         Fri, 29 Jul 1994 17:41:17 -0800
  22130. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22131. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22132. From:         "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  22133. Subject:      Weird Error Message
  22134.  
  22135. The fun continues ... I've got a script that makes use of the Finder
  22136. Scripting Toolkit routines.  When I run it on my machine, it's fine.  When
  22137. I run it on another machine, it goes to the line that has
  22138. tell application "Finder" to ...
  22139.  
  22140. highlights *JUST* the second quotes mark, and says "File not found."
  22141.  
  22142. What does this mean?
  22143. =========================================================================
  22144. Date:         Fri, 29 Jul 1994 14:30:54 -1000
  22145. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22146. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22147. From:         Pete Hinely <phinely@UHUNIX.UHCC.HAWAII.EDU>
  22148. Subject:      Re: Opening files on remote machines
  22149. In-Reply-To:  <9407300016.AA06911@uhunix.uhcc.Hawaii.Edu>
  22150.  
  22151. On Fri, 29 Jul 1994, Boris Levitin wrote:
  22152.  
  22153. > Where can "Finder Scripting Toolkit v1.0" be found? It doesn't seem to be on
  22154. > gaea.
  22155.  
  22156. I forget where I got it, but it was probably the University of Michigan
  22157. mac archives.  They are really nice archives because there is a brief
  22158. description of every file in the index.  Try
  22159. gopher gopher.archive.merit.edu and explore the mac development directory I
  22160. think it is.  The directory has a whole bunch of scripting additions and
  22161. other stuff in it.
  22162.  
  22163. -peter
  22164. =========================================================================
  22165. Date:         Fri, 29 Jul 1994 17:55:07 -0800
  22166. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22167. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22168. From:         "Roy S. Rapoport" <rsr@WAFFLE.BERKSYS.COM>
  22169. Subject:      Re: Weird Errors
  22170.  
  22171. Nevermind.  I rebooted and somehow that solved it...
  22172.  
  22173. -roy
  22174. =========================================================================
  22175. Date:         Fri, 29 Jul 1994 21:33:48 -0500
  22176. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22177. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22178. From:         David Myers <dcmyers@ACCESS.DIGEX.NET>
  22179. Subject:      More on Frontier & TCP/IP [longish, with code]
  22180.  
  22181. A follow-up to my own earlier question...
  22182.  
  22183. Attached is some sample code showing how to do binary transfers under
  22184. gopher using Frontier and the TCP/IP osax.  There were a couple of
  22185. problems with my earlier script...1) gopher "tags" the kind of file
  22186. transfer you want to do; this is the purpose of the number prefix you
  22187. see in gopher URLs.  "0" means text, apparently.  "9" means GIF.
  22188. I had to change the tcpWrite function call to specify this "9" tag.
  22189. 2) The tcpReceive command is not asynchronous; call it and you'll
  22190. tie up your computer until the download is finished.
  22191.  
  22192. This script may be useful to applescripters, after some reasonably
  22193. self-evident changes are made.
  22194.  
  22195. Code follows.  The comments are going to be garbagey, owing to the
  22196. high-bit characters.
  22197.  
  22198.  
  22199. lf =3D char(10);
  22200.  
  22201. try { =AB attempt to establish connection to weather server
  22202.         myStream =3D tcpip.tcpConnect(toHost: "wx.atmos.uiuc.edu", port: 70)=
  22203. }
  22204. else { =AB signal the error
  22205.         dialog.notify ("Unable to make connection to wx.atmos.uiuc.edu
  22206. Weather Server.");
  22207.         return false};
  22208.  
  22209. file.new(path1);
  22210.  
  22211. =AB request IR image from the server
  22212. tcpip.tcpWrite(myStream, "9/Images/Satellite Images/Satellite East
  22213. IR/00LATEST" + char(13), using: tcpip.iso88591);
  22214.  
  22215. =AB read the entire input stream buffer
  22216. while not tcpip.tcpAhead(myStream, lf) { =AB kill time waiting for connectio=
  22217. n
  22218.         continue};
  22219. while (true) {
  22220.         data =3D tcpip.tcpRead(myStream);
  22221.         if data { =AB got data?  good
  22222.                 file.write(path1, data);
  22223.                 clock.waitSeconds(1)}  =AB go too fast, and you'll outrun TC=
  22224. P!
  22225.         else { =AB no?  try once more...
  22226.                 clock.waitSeconds(10); =AB wait a little longer this time
  22227.                 data =3D tcpip.tcpRead(myStream);
  22228.                 if data { =AB it was there after all
  22229.                         file.write(path1, data)}
  22230.                 else { =AB truly no data, so quit and close up
  22231.                         break}}}
  22232.  
  22233. file.close(myStream);
  22234.  
  22235.  
  22236.  
  22237. There's an obvious problem with this script: it depends on coarse
  22238. timing figures to determine if the connection has finished.  Basically,
  22239. if nothing's come over the line in 10 seconds, it assumes the transfer
  22240. is done.  I'm still trying to understand the TCP osax interface to
  22241. determine if there's a better way to check for connection closure.
  22242.  
  22243. I'd be curious to e-talk with other TCP applescripters or usertalkers,
  22244. to see how others have done these things.
  22245.  
  22246. -David.
  22247. =========================================================================
  22248. Date:         Fri, 29 Jul 1994 21:41:44 -0700
  22249. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22250. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22251. From:         "John W. Baxter" <jwbaxter@OLYMPUS.NET>
  22252. Subject:      Re: Making Frontier wait for KeyQuencer
  22253.  
  22254. >I'm trying to automate a job which requires altering Eudora's In box file.
  22255. >Before doing this, I wanted to have Eudora compact its mailboxes.
  22256. >KeyQuencer.doScript (string) just sends the AppleEvent to KQ AppleEvents
  22257. >which is running in the background. If I execute the following code from
  22258. >OSA Menu, I hear the speaker beep before the compacting starts, which is
  22259. >what I expect; Frontier is just sending the events and then going on.
  22260. >
  22261. >on testScript () {
  22262. >    bundle { =ABCompact the mailboxes
  22263. >        KeyQuencer.doScript (=B3Menu "Special" "Compact Mailboxes"=B2);
  22264. >        KeyQuencer.doScript (=B3Wait 1 seconds=B2); =ABLet it start
  22265. >        KeyQuencer.doScript (=B3WaitWindow "In" open=B2);
  22266. >        KeyQuencer.doScript (=B3Click closebox=B2);
  22267. >        KeyQuencer.doScript (=B3WaitWindow "In" close=B2);
  22268. >        KeyQuencer.doScript (=B3SwitchApp "Frontier" partial=B2)};
  22269. >    speaker.beep ();
  22270. >    return (true)};
  22271. >
  22272. >testScript ()
  22273. >
  22274. >if I insert, before the speaker.beep (), the fragment
  22275. >
  22276. >    while not (sys.frontmostApp () contains "Frontier")
  22277. >        sys.systemTask () =AB or clock.waitSeconds (1); it doesn't matter
  22278. >
  22279. >my system will hang. If I just insert clock.waitSeconds (10) instead, the
  22280. >system will wait 10 seconds, then I'll hear the beep, and *then* Eudora
  22281. >will begin compacting the mailboxes. It appears that I'm having trouble
  22282. >getting Frontier to relinquish the system. Since I'm running under OSA
  22283. >Menu, Eudora is in front when all this starts. Thanks in advance.
  22284.  
  22285. Hi, David...sorry for the delay responding.  Please understand that I don't
  22286. have KeyQuencer, so I'm partly guessing.
  22287.  
  22288.    Since you are triggering this scripting sequence from OSA Menu, I think
  22289. you are going to need to arrange to let OSA Menu believe the sequence has
  22290. terminated, thus letting OSA Menu terminate its control of what is
  22291. happening.  I see some things you could experiment with:
  22292.  
  22293. 1.  (I don't like this one...there will be a delay of up to one minute
  22294. before any action takes place [but after the trigger script returns to OSA
  22295. Menu].  One minute in this context is "forever")
  22296.    Have the script executed by OSA Menu install a one-time Scheduler task,
  22297. which does the actual work.  See the Scheduler suite.
  22298.  
  22299. 2.  Much like #1, but would use an agent whose last act is to remove itself
  22300. from the system.agents table.  The trigger script called by OSA Menu would
  22301. install the agent in the agents table, and probably execute script.compile
  22302. () upon it to insure that it runs.
  22303.  
  22304. 3.  Have the trigger script use the finderEvent () verb to send Frontier an
  22305. event which says to run the action script.  No reason that can't be in the
  22306. form
  22307.     finderEvent ('LAND', 'misc', 'dosc', callToActionScript (...))
  22308. The finderEvent () verb is like the Apple event verb except that, since the
  22309. "classic" Finder verbs never return a result, finderEvent doesn't wait for
  22310. one.
  22311.  
  22312.    Please let us know what you work out!  --John
  22313.  
  22314. --John W. Baxter    Port Ludlow, WA USA   jwbaxter@pt.olympus.net
  22315.   UserLand Software support
  22316. =========================================================================
  22317. Date:         Sat, 30 Jul 1994 08:56:19 CDT
  22318. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22319. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22320. From:         Peter Fleck - SMM <fleck@ASTRO.SPA.UMN.EDU>
  22321. Subject:      Basic Questions
  22322.  
  22323. [I apologize if this is a duplicate message but I haven't seen it
  22324. on the list and I've received no replies.]
  22325.  
  22326. Greetings,
  22327.  
  22328. I've been lurking on this list for a while and I'm finally writing my
  22329. first useful AppleScript. I have questions, some of which are very
  22330. basic, I think. I can post the whole script (not real long) if it
  22331. would help and if folks would be interested in critiquing my style.
  22332.  
  22333. The Script
  22334. ----------
  22335. I log on a local TeleFinder BBS. TeleFinder is similar to First Class
  22336. in that it gives the user a Mac-like interface. After downloading a
  22337. bunch of files, I want TeleFinder to hang up the modem. TF does have a
  22338. dictionary and it includes a Hang Up command.
  22339.  
  22340. The problem is there is no way to tell when the download is done.
  22341. First I tried sending Hang Up during the download, thinking it
  22342. wouldn't activate until the download finished but no such luck. It
  22343. hung up during the download.
  22344.  
  22345. So I'm using the Menu Events OSAX to figure out when the Special Menu
  22346. is enabled which means the Hang Up command is available. I tried
  22347. working directly with the Hang Up command menu item but Menu Events
  22348. said it was enabled when it wasn't. The OSAX seems to report the
  22349. status of the Special Menu correctly.
  22350.  
  22351. Questions
  22352. ---------
  22353. TeleFinder needs to be open for this script to work. As far as I can
  22354. tell, AS and the standard OSAXen don't provide a way to find this out.
  22355. I'm using "list applications" from the GTQ Scripting Library. Is there
  22356. a standard AS way to do this?
  22357.  
  22358. I use the Dialog Display OSAX several times and my reading of the docs
  22359. indicates that it should return "Cancel" in the "button returned"
  22360. record. It returns nothing when cancel is clicked. I have to use a Try
  22361. statement and trap for the error -128. Am I missing something.
  22362.  
  22363. I'm using an idle handler to continue checking the Special Menu. I set
  22364. some variables right before "on idle" for use in the handler. But AS
  22365. says the variables are not defined once the idle handler starts
  22366. running. By setting the variables with a Property statement, they work
  22367. through the whole script. Does the "on idle" sort of start a new
  22368. segment, erasing previous local variables (meaning I need the global
  22369. property statement)?
  22370.  
  22371. Main Question
  22372. -------------
  22373. I use a Choose File command to have the user select their copy of TF
  22374. at the beginning of my script, then store that info in a property so
  22375. they only need thist of the dictionary.  Yes, I'll upgrade
  22376. when the next release comes out, but can you point me to some documentation
  22377. for the current release?
  22378.  
  22379.  
  22380. >>2.  Must I recursively search through all the items within the Stuffit
  22381. >>archives?
  22382. >>
  22383. >        Yup, if you want your dates to be correct.
  22384. >
  22385. >>Is there any way to look at each file iteratively (like a
  22386. >>depth-first walk through the tree with Stuffit handling the hierarchy), or
  22387. >>must I recurse?  Again, the dictionary and manual do not make this clear at
  22388. >>all!
  22389. >>
  22390. >        Yup.  There is a sample of this that our tech support department
  22391. >provides.
  22392.  
  22393. Hold on.  I asked whether I must use recursion or if I can get by with
  22394. iteration instead, and you answered "yes" to both!  Which is it, forced
  22395. recursion?  Or is iteration possible instead?
  22396.  
  22397. Thanks!
  22398.  
  22399.  
  22400. --
  22401. Roy Eassa
  22402. re@tiac.net
  22403. =========================================================================
  22404. Date:         Sat, 30 Jul 1994 21:44:32 MST
  22405. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22406. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22407. From:         103t_english@WEST.CSCWC.PIMA.EDU
  22408. Subject:      Sorry.
  22409.  
  22410. If anyone received multiple copies of the digest, I am truly sorry. Mail
  22411. services on the VAX are not all that transparent to use.
  22412.  
  22413. Lawson D. English 103T_ENGLISH@west.cscwc.pima.edu
  22414.  
  22415. -INSERT INFORMATIVE AND WITTY MESSAGE HERE-
  22416.  
  22417. West Campus Internet Class of 1994
  22418. =========================================================================
  22419. Date:         Sat, 30 Jul 1994 22:31:37 -0700
  22420. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22421. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22422. From:         David Ray <daver@NETCOM.COM>
  22423. Subject:      Re: How to buy a SCRIPTABLE QuicKeys
  22424.  
  22425. >Bill Nye <nye@CADENCE.COM> asks:
  22426. >
  22427. >>Is buying QuicKeys 3.0.1 (list $169) enough to get me the Apple-scriptable
  22428. >>QuicKeys product that is regularly discussed in this mailing list?
  22429.  
  22430. I don't understand why anyone familiar with AppleScript would be interested
  22431. in spending $$$ for Quickkeys when they have the same functionality for
  22432. less money and without any new inits from the AutoType/AutoClick OSAXEN.
  22433.  
  22434. -Dave
  22435. (a satisfied AutoType customer)
  22436.  
  22437. ------------------------------------------------------------------------------
  22438. David Ray                Dream Designs          Music Composition
  22439. daver@netcom.com         PO Box 5631            Interactive Multimedia
  22440. 510-527-9010             Berkeley CA 94705      Virtual Worlds
  22441. =========================================================================
  22442. Date:         Mon, 1 Aug 1994 02:01:30 +0800
  22443. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22444. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22445. From:         Todd Hooper <todd@PERTH.DIALIX.OZ.AU>
  22446. Subject:      Filemaker Pro - printing
  22447.  
  22448. The dictionary for FileMaker Pro shows a print command with an
  22449. object specifier.
  22450.  
  22451. If you say
  22452.  
  22453. print
  22454.  
  22455. FM brings up the print dialog box. Once I hit OK it gives me an error stating
  22456. that "some parameter was invalid".
  22457.  
  22458. Adding an object (e.g. print window "x") gives a different error
  22459. message of "can't make some data into the expected type".
  22460.  
  22461. Does anybody have some good examples of printing? I would also like to think
  22462. that FM provides more control over the printing process and that
  22463. you could bypass the print dialog completely. Is that possible?
  22464.  
  22465. Thanks in advance,
  22466.  
  22467. Todd
  22468. =========================================================================
  22469. Date:         Sun, 31 Jul 1994 11:09:55 -1000
  22470. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22471. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22472. From:         Pete Hinely <phinely@UHUNIX.UHCC.HAWAII.EDU>
  22473. Subject:      Automatically saving scripts as run-only?
  22474.  
  22475. Hi,
  22476.   My latest set of AppleScripts for MacPGP now number about 20.  I want
  22477. them saved in run-only format when I distribute them, but it is a real
  22478. pain to open all the scripts and manually save them as run-only.
  22479.  
  22480. Do any of you have a drag-n-drop utility to automatically save other
  22481. scripts as run-only?
  22482.  
  22483. The script editor does not appear to be scriptable.
  22484.  
  22485. Thanks in advance,
  22486. peter
  22487. =========================================================================
  22488. Date:         Sun, 31 Jul 1994 17:55:41 -0400
  22489. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22490. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22491. From:         "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU>
  22492. Subject:      Re: Filemaker Pro - printing
  22493. In-Reply-To:  <no.id> from "Todd Hooper" at Aug 1, 94 02:01:30 am
  22494.  
  22495. --Todd Hooper wrote:
  22496. >
  22497. >Does anybody have some good examples of printing? I would also like to think
  22498. >that FM provides more control over the printing process and that
  22499. >you could bypass the print dialog completely. Is that possible?
  22500.  
  22501.     Well, I don't do a lot of printing with FM Pro from AppleScript, but
  22502. if I were going to and I wanted to bypass the dialog box I would create
  22503. a FM Pro internal script whose only command is Print [no dialog]. Then I
  22504. would use a Do Script AppleScript command to call that script.
  22505.  
  22506. -Hades
  22507. =========================================================================
  22508. Date:         Mon, 1 Aug 1994 10:00:00 +1200
  22509. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22510. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22511. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  22512.               NZ" <LDO@WAIKATO.AC.NZ>
  22513. Subject:      Re: Basic Questions
  22514.  
  22515. Responses to some of the questions of Peter Fleck - SMM
  22516. <fleck@ASTRO.SPA.UMN.EDU>:
  22517.  
  22518. >The problem is there is no way to tell when the download is done.
  22519. >First I tried sending Hang Up during the download, thinking it
  22520. >wouldn't activate until the download finished but no such luck. It
  22521. >hung up during the download.
  22522. >
  22523. >So I'm using the Menu Events OSAX to figure out when the Special Menu
  22524. >is enabled which means the Hang Up command is available. I tried
  22525. >working directly with the Hang Up command menu item but Menu Events
  22526. >said it was enabled when it wasn't. The OSAX seems to report the
  22527. >status of the Special Menu correctly.
  22528.  
  22529. You mean, the Hang Up AppleEvent still works even though the Hang Up menu
  22530. command is disabled? That's a nasty inconsistency.
  22531.  
  22532. AppleEvents (and AppleScript) are meant to be a high-level way of communicating
  22533. with an application. Unfortunately, this means you are at the mercy of the
  22534. application designers: if they stuff up the AppleEvent interface in some small
  22535. but crucially important way, you end up with major aggro like this.
  22536.  
  22537. >I use the Dialog Display OSAX several times and my reading of the docs
  22538. >indicates that it should return "Cancel" in the "button returned"
  22539. >record. It returns nothing when cancel is clicked. I have to use a Try
  22540. >statement and trap for the error -128. Am I missing something.
  22541.  
  22542. I believe that the "button returned" structure is only returned for custom
  22543. buttons that you specify. The default "OK" and "Cancel" buttons work somewhat
  22544. differently, as you found: I think "OK" returns "button returned: 'OK'", but
  22545. "Cancel" does indeed returned a cancel error.
  22546.  
  22547. >I'm using an idle handler to continue checking the Special Menu. I set
  22548. >some variables right before "on idle" for use in the handler. But AS
  22549. >says the variables are not defined once the idle handler starts
  22550. >running. By setting the variables with a Property statement, they work
  22551. >through the whole script. Does the "on idle" sort of start a new
  22552. >segment, erasing previous local variables (meaning I need the global
  22553. >property statement)?
  22554.  
  22555. Variables are assumed local unless declared global. Declarations and statements
  22556. which are not explicitly enclosed in any handler are assumed to be part of an
  22557. implicit "run" handler.
  22558.  
  22559. >set TF_Loc to (choose file with prompt (cont. char)
  22560. >                "Please locate your Telefinder User Application." of type
  22561. >{"APPL"})
  22562. >as text
  22563. ...
  22564. >on idle
  22565. >  tell application TF_Loc
  22566. ...
  22567.  
  22568. >When I try to compile this, I get a syntax error: "Expected end of
  22569. >line, etc. but found application constant or consideration." Without
  22570. >the Hang Up command, this works fine (meaning the "activate" is
  22571. >getting through).
  22572. >
  22573. >Using (within the idle and tell parts):
  22574. >
  22575. >  tell application "TeleFinder*/User 3.2.6" to Hang up
  22576. >
  22577. >works but this means I have to know the name of the user's TF copy.
  22578. >
  22579. >I found a workaround. I substituted "TeleFinder" for TF_Loc in the
  22580. >initial Tell statement that follows on idle. AS then figures out (or
  22581. >asks the user) where TeleFinder is and remembers from there on. And
  22582. >the Hang Up works. But I still want to know why I couldn't use the
  22583. >variable to refer to TF
  22584.  
  22585. Because then AppleScript doesn't know which dictionary to find the hangup
  22586. command in. Remember, AppleScript is a compiled language, it can't leave any
  22587. of the source as uninterpreted text. Your workaround is indeed the way God
  22588. intended you to use AppleScript: put in an explicit application name, and then
  22589. when your script is moved to a different system, AppleScript will take care of
  22590. asking the user where their copy of the application is.
  22591.  
  22592. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  22593. Info & Tech Services Division              fax: +64-7-838-4066
  22594. University of Waikato            electric mail: ldo@waikato.ac.nz
  22595. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  22596. =========================================================================
  22597. Date:         Mon, 1 Aug 1994 10:35:00 +1200
  22598. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22599. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22600. From:         "Lawrence D'Oliveiro, Waikato University, Hamilton,
  22601.               NZ" <LDO@WAIKATO.AC.NZ>
  22602. Subject:      Re: case of a conditional in applescript...
  22603.  
  22604. "Brian V. Hughes" <hades@COOS.DARTMOUTH.EDU> says:
  22605.  
  22606. >    I've said it before, and I'll say it again. I'd almost kill for a
  22607. >decent implimentation of a case statement for AppleScript.
  22608.  
  22609. This may not be quite what you had in mind, and the squeamish may want to
  22610. avert their eyes...
  22611.  
  22612.     script case1
  22613.         display dialog "Case 1"
  22614.     end script
  22615.  
  22616.     script case2
  22617.         display dialog "Case 2"
  22618.     end script
  22619.  
  22620.     script case3
  22621.         display dialog "Case 3"
  22622.     end script
  22623.  
  22624.     set i to 2
  22625.     run item i of {case1, case2, case3}
  22626.  
  22627. :-)
  22628.  
  22629. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  22630. Info & Tech Services Division              fax: +64-7-838-4066
  22631. University of Waikato            electric mail: ldo@waikato.ac.nz
  22632. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  22633. =========================================================================
  22634. Date:         Sun, 31 Jul 1994 15:57:01 -0700
  22635. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22636. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22637. From:         Mike Shaff <shaff@QUILTY.STANFORD.EDU>
  22638. Subject:      Hypercard droplets?
  22639.  
  22640. Greetings,
  22641.  
  22642. Is there a method for making Hypercard stacks saved as applications into
  22643. droplets?
  22644.  
  22645. I added the method Open with the parameter itemList to my stack script which is
  22646. set to interpret AppleScript:
  22647.  
  22648. on Open (itemList)
  22649.  
  22650.         -- Handle drop communication
  22651.  
  22652. end Open
  22653.  
  22654. Saved the stack as an application.  But, lo, the application does not invert
  22655. when items are dragged upon it.
  22656.  
  22657. Anyone know the lore to accomplish this?
  22658.  
  22659. Thanks, I have had many questions answered here before I even knew they were
  22660. questions.  Now, that's a user interface.
  22661.  
  22662. Michael
  22663. =========================================================================
  22664. Date:         Sun, 31 Jul 1994 19:05:32 CDT
  22665. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22666. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22667. From:         Peter Fleck - SMM <fleck@ASTRO.SPA.UMN.EDU>
  22668. Subject:      Re: HyperCard Droplets?
  22669.  
  22670. Following is from HyperTalk 2.2: The Book by Winkler-Kamins-Devoto. Supposed to
  22671. allow printing of text files by drag&drop. Haven't tried it but thought it might
  22672. help. Good luck.
  22673.  
  22674. Watch out for typos! I didn't proof this.
  22675.  
  22676. on appleEvent theClass,theID,theSender -- collect text files
  22677. -- hold down keys to open standalone
  22678.   if the optionKey is down and the commandKey is down [cont]
  22679.   and the shiftKey is down then pass appleEvent
  22680.   -- get just the name of the sending program
  22681.   get the itemDelimiter
  22682.   set the itemDelimiter to colon
  22683.   put last item of theSender into sendingProgram
  22684.   set the itemDelimiter to it
  22685.   -- did the event result from dropping a file on me?
  22686.   if theClass is "aevt" and theID is "odoc" [cont]
  22687.   and sendingProgram is "Finder" then
  22688.     -- set up printing properties, which are stored in the stack
  22689.     set the printTextFont to card field "Font"
  22690.     set the printTextSize to card field "Size"
  22691.     -- read and print each file
  22692.     lock screen
  22693.     lock messages
  22694.     set the cursor to watch
  22695.     put "Reading text files..."
  22696.     request appleEvent data -- this is the file pathname
  22697.     put it into filenameList
  22698.     repeat with x = 1 to the number of lines of filenameList
  22699.       open file (line x of filenameList)
  22700.       read from file (line x of filenameList) until end
  22701.       close file (line x of filenameList
  22702.       print it
  22703.     end repeat
  22704.     doMenu "Quit HyperCard"
  22705.   else pass appleEvent
  22706. end appleEvent
  22707.  
  22708. Peter Fleck
  22709.  
  22710. [Now that I have it all nicely typed, I suppose I should try it.  :-)  ]
  22711. =========================================================================
  22712. Date:         Sun, 31 Jul 1994 20:45:04 -0700
  22713. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22714. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22715. From:         David Ray <daver@NETCOM.COM>
  22716. Subject:      Re: Automatically saving scripts as run-only?
  22717.  
  22718. >Hi,
  22719. >  My latest set of AppleScripts for MacPGP now number about 20.  I want
  22720. >them saved in run-only format when I distribute them, but it is a real
  22721. >pain to open all the scripts and manually save them as run-only.
  22722. >
  22723. >Do any of you have a drag-n-drop utility to automatically save other
  22724. >scripts as run-only?
  22725.  
  22726. Nope, but I have another suggestion - if you invoke the scripts from Script
  22727. Menu or OSA Menu instead of Other Menu, you can run the scripts as compiled
  22728. scripts rather than stand-alone applications. The scripts will use the heap
  22729. space of whatever the front application is.
  22730.  
  22731. -Dave
  22732.  
  22733. ------------------------------------------------------------------------------
  22734. David Ray                Dream Designs          Music Composition
  22735. daver@netcom.com         PO Box 5631            Interactive Multimedia
  22736. 510-527-9010             Berkeley CA 94705      Virtual Worlds
  22737. =========================================================================
  22738. Date:         Sun, 31 Jul 1994 20:47:18 -0700
  22739. Reply-To:     Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22740. Sender:       Macintosh Scripting Systems <MACSCRPT@DARTCMS1.BITNET>
  22741. From:         Mark Elpers <melpers@NETCOM.COM>
  22742. Subject:      File Exists?
  22743.  
  22744. Is there an AppleScript Addition that allows me to check is a file exists
  22745. at a specified path? I do not have the Scriptable Finder (yet...)
  22746.  
  22747. Thank you.
  22748.  
  22749. --------------------------------------------------------------------------
  22750. |Mark Richard Elpers                                      Product Manager|
  22751. |E-Mail: melpers@netcom.com                               T/Maker Company|
  22752. |AOL: AFC Mark                                        Phone: 415-691-7769|
  22753. --------------------------------------------------------------------------
  22754.