At 10:52 -0500 03/29/2002, Colin Holgate wrote:

>thatwindow = window("this window")
>tell thatwindow to dothis

FWIW that's how I do things and I've never seen this particular 
variety of misbehavior on Windows. Naturally I have seen quite a lot 
of misbehavior on Windows, but most of it has to do with the OS 
itself (IOW if it was not Windows it would not be misbehaving).

The other thing I do with my tell commands is what I do with my ifs:

   tell thatWindow
     doThis
   end tell

...as I also do:

   if something then
     that
   end if

Even my one-liners get broken up. I don't know for sure that it makes 
a difference, but it does not hurt and it provides my code with a 
consistent look.

-- 

              Warren Ockrassa | http://www.nightwares.com/
  Director help | Free files | Sample chapters | Freelance | Consulting
        Author | Director 8.5 Shockwave Studio: A Beginner's Guide
                    Published by Osborne/McGraw-Hill
          http://www.osborne.com/indexes/beginners_guides.shtml
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to