Odd scripting problem 2

George Handley ghandley at kc.rr.com
Sun Mar 13 13:01:02 EDT 2016


Hi Steve, and thanks for your help!

RE: "Where does the first else associate, for instance?”

Now you and Henk have me confused. There are three “If" statements (One with an Else) and three "End if" statements.

The “else” statement below is associated with the fact that the Tennis Flag is either on or off.

I must be missing what you’re asking or telling me.

Below is ther most current version after James’ suggestions.

Please stick to your guns and tell me in a different way your concern about what is wrong with the “else” part of the code.

Thanks,

George



> On Mar 13, 2016, at 11:32 AM, Steve Hume <stevelist at hume.ca> wrote:
> 
> My first reaction was that some End Ifs were at least missing for clarity. Where does the first else associate, for instance?
> 
> I was going to consult my AppleScript book first but clarity still wins for maintainability anyways. 
> 
> Steve Hume
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20160313/8c813dca/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: For List 3 3-13-16.jpg
Type: image/jpeg
Size: 142793 bytes
Desc: not available
URL: <http://mail.machomeautomation.com/pipermail/xtensionlist/attachments/20160313/8c813dca/attachment.jpg>


More information about the XTensionList mailing list