[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] MacPerl AS dictionary



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?  I looked in the dictionary
and it said :
Class Spot: A Spot
Properties:
	Class  'cnum'  -- The class
So I looked in the dictionary for A Spot, and it said:
Class Spot: A Spot
Properties:
	Class  'cnum'  -- The class

"lather, rinse, repeat" indeed.

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"}.

And I suspect that a number of frequenters of the AppleScript implementer's
list might have opinions about "Spot" as a class name.

-Jefferson R. Lowrey
Systems Programmer
Sells Printing Company



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch