Re: Script Editor 'get selection'
Re: Script Editor 'get selection'
- Subject: Re: Script Editor 'get selection'
- From: Paul Skinner <email@hidden>
- Date: Wed, 5 Mar 2003 17:29:07 -0500
On Wednesday, March 5, 2003, at 04:51 PM, John Delacour wrote:
Here are some more constructive comparisons
Latest Script Editor:
tell application "Script Editor"
try
get selection in window 2
on error e
e
--> "NSCannotCreateScriptCommandError"
end try
get selection of document 2
--> characters 11 thru 16 of document 2
get selection in document 2
--> characters 11 thru 16 of document 2
get selection of window 2
end tell
Strange. I get very different results here when I run this.
tell application "Script Editor"
try
get selection in window 2
on error e
e
-->Script Editor got an error: An error of type 10 has occurred.
end try
get selection of document 2
--> Script Editor got an error: An error of type 1 has occurred.
get selection in document 2
--> Script Editor got an error: An error of type 1 has occurred.
get selection of window 2
-->Script Editor got an error: An error of type 10 has occurred.
end tell
Paul Skinner
10.2.4 / 1.9.1 / SE 2.0 (v20) beta
_______________________________________________
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.