Re: Better Open Dictionary
Re: Better Open Dictionary
- Subject: Re: Better Open Dictionary
- From: John Delacour <email@hidden>
- Date: Wed, 5 Mar 2003 21:00:35 +0000
- Mac-eudora-version: 6.0a9
At 10:50 am -0500 5/3/03, Steve Roy wrote:
tell application "Script Editor"
set theSelectedText to contents of selection of front document
Interesting.
I had a notion Script Editor 2 might be a cocoa application and as
we've been told cocoa doesn't do selection -- that's why TextEdit and
Mail can't do it.
However this is the first application I've ever seen that can do
selection but not do 'selection as string', which is the most
tell application "Scriptable Text Editor"
selection as string
end tell
tell application "Script Editor"
try
selection as string
on error e
e
end try
end tell
--> "NSReceiverEvaluationScriptError: 5"
--> Extremely helpful error message !!
Well at least we now have another app to start filing hundreds of bugs for.
Any comment from Chris Nebel?
Sigh
JD
_______________________________________________
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.