Re: Picking data from a record
Re: Picking data from a record
- Subject: Re: Picking data from a record
- From: has <email@hidden>
- Date: Mon, 27 Sep 2004 18:37:44 +0100
Emmanuel wrote:
>It may be that some editors implement [un]documented 'run script'
>commands with different behaviour to the osax version.
You've got that perfectly right, has. As for the good idea, I don't
know in general, but when the application maintains a persistent
context, which is the (unique) case of Smile, that's what the user
expects.
To clarify: Overriding the standard 'run script' event (<<event
sysodsct>>) with a non-standard, undocumented behaviour would be a
bad idea, because there the user completely expects the standard,
documented behaviour. While you personally know what to expect, to
the uninitiated (your users) it looks like some bizarre heisenbug.
(Not an impression you wish to create, I'm sure.;) Implementing an
independent, properly documented, Smile-specific event that executes
scripts in a custom context is totally sound, however, and certainly
allows some very cool stuff to be done, as Smile shows.
Cheers,
has
p.s. In my copy of Smile (2.6.5), 'run script sourceString' always
seems to follow the standard behaviour and I don't see an <<event
sysodsct>> handler defined anywhere in its aete, so Joe's script
didn't work for me at all there. (Not that I'm complaining, mind, but
just thought I should note it.)
--
http://freespace.virgin.net/hamish.sanderson/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden