Re: Please explain this!? More....
Re: Please explain this!? More....
- Subject: Re: Please explain this!? More....
- From: Jon Pugh <email@hidden>
- Date: Fri, 23 Nov 2001 13:21:24 -0800
At 7:27 PM +0100 11/23/2001, Harald E Brandt wrote:
>
It's just too much debugging I am doing rather than writing correct from the beginning.
Welcome to AppleScript.
>
if there is a strictly logical execution model, I would like to get that into my head! It would decimate debugging time....
The key is to understand the general structure of an object specifier and the AppleEvent it gets stuffed into, since that gives you the conceptual model that all scriptable applications follow. I could drone on about it, but I haven't the time. I suppose you should read the ASLG:
<
http://developer.apple.com/techpubs/macosx/Carbon/interapplicationcomm/AppleScript/applescript.html>
I personally use the "write a little bit that works" technique to accumulate little segments into a working script. Thus, I use two script windows, one with the big saved script, and one with the current snippet that I'm getting to work the way I want it to.
I haven't found a better way to write working AppleScripts in the nine years I've been using AppleScript.
Jon
Man, how time flies.