Re: How do I delete the 1st three characters from a variable
Re: How do I delete the 1st three characters from a variable
- Subject: Re: How do I delete the 1st three characters from a variable
- From: has <email@hidden>
- Date: Sat, 7 Jan 2006 22:41:58 +0000
Shane Stanley wrote:
> > All you can really do is send the developer a polite enhancement request in
> > the hope that they'll iron out this wrinkle in future releases
>
>FWIW, I've already been through this with one developer, who said it wasn't
>so simple. Because the app had defined its own text class, he said there was
>no way he could get it to work.
Probably a slight exaggeration. More likely, the developer's using a high-level framework to resolve AEOM references doesn't support this sort of thing natively, and doesn't make it easy to deviate from the 'official approach'. Were they using only the Apple Event Manager API it would be trivial to do: a few lines of code at most, assuming they've already got support for resolving 'text (character x) thru (character y)', and since everything is about equally painful that way they'd probably consider it 'easy' by comparison.
Ah, the sweet tyranny of frameworks: everything's perfect until they don't do what you need, and then you're probably screwed because most of them don't make it easy to do it yourself either. So saying there's 'no way' to do it is likely a brush-off on cost-vs-benefit grounds, though can't really blame them if that's the case. But ask me again in a couple months, when I've gotten around to implementing scripting support, including 'text x thru y' references, in my own Next Big Thing...; )
Cheers,
has
--
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