"Jefferson R. Lowrey" <lowrey@postoffice.sells.com> writes: >At 4:32 AM -0400 8/29/98, Charles Albrecht wrote: >>I would think a simple AppleScript like: >> >>tell application "MacPerl" >> activate >> make new document >> set Spot 1 of document 1 to "#!/usr/bin/perl >>" >>end tell > >So, that leaves me wondering - what's a Spot? A good question, indeed. In my defense, I'd like to offer that I borrowed most of my AppleEvent and terminology code straight from an Apple sample program that seemed to have been written very early in the life cycle of AppleScript. I would certainly agree that the terminology is bad, but I'd prefer to leave it alone until I do a real rewrite of the frontend. >It appears from the script being presented that he means an insertion >point, or something like it. It seems also from the dictionary that one >could write qq{ set Line 1 of document 1 to "#!/usr/bin/perl"}. Yes, that should work, too. >And I suspect that a number of frequenters of the AppleScript implementer's >list might have opinions about "Spot" as a class name. Hehe. Matthias -- Matthias Neeracher <neeri@iis.ee.ethz.ch> http://www.iis.ee.ethz.ch/~neeri "One fine day in my odd past..." -- Pixies, _Planet of Sound_ ***** Want to unsubscribe from this list? ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch