Eudora weirdness when failing to set a var to selected text
Eudora weirdness when failing to set a var to selected text
- Subject: Eudora weirdness when failing to set a var to selected text
- From: Frank Watzl <email@hidden>
- Date: Wed, 24 Oct 2001 21:52:46 +0200
Eudora experts,
when I run this in Eudora with no messages or other windows open, the
error handler will not be executed. The last line however will throw
error -2753, although in the first line s is initialized. any ideas?
set s to ""
tell application "Eudora"
try
set s to selected text
on error e number n
activate
display dialog (n as string) & return & e -->this never happens
end try
end tell
if s = "" then return --> the variable s is not defined
--
Frank Watzl
Technische Kommunikation
Dahlmannstrasse 18
60385 Frankfurt am Main
Tel: 069 / 90 43 15 45
Mobil: 0179 / 207 99 67
Fax: 069 / 90 43 15 47
ISDN [Leonardo]: 069 / 44 54 00