Re: AppleScript object (Re: text item delimiters question)
Re: AppleScript object (Re: text item delimiters question)
- Subject: Re: AppleScript object (Re: text item delimiters question)
- From: has <email@hidden>
- Date: Thu, 6 Mar 2003 01:03:21 +0000
Bill Briggs wrote:
tell app "foo"
set text item delimiters to "" -- application error
end
I don't have the time to go through your entire slate of cases, but
you need to rework it considering something you didn't take into
account as concerns text item delimiters and other applications [...]
that supports them
Mmmm... okay, quickie disclaimer: Application "foo" = any application
that doesn't have a 'text item delimiters' property of its own.
in this case where the application supports its own text item
delimiters - not many do - the command is handled by the application
with no difficulty.
Yup. My beef there was with applications that don't understand the
command not being delegated to the AppleScript object. It was
incidental to answering John's question anyway, which was if there
were any situations in which using 'my text item delimiters' would
break (answer: yes).
If you fail to put a TID in {} then it is not processed by the
application, nor does it change AppleScript's text item delimiters,
nor does it error.
That's a bug of said application then. Either it does what you ask it
to do, or it errors to tell you that you asked wrongly.
(BTW, for my own education: are there any newer apps that implement
their own TIDs property? STE's a veritable dinosaur... I doubt
there'll be an OSX version any time soon.;)
has
--
http://www.barple.pwp.blueyonder.co.uk -- The Little Page of AppleScripts
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.