• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Eudora weirdness when failing to set a var to selected text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Eudora weirdness when failing to set a var to selected text
      • From: email@hidden
    • Re: Eudora weirdness when failing to set a var to selected text
      • From: Bill Briggs <email@hidden>
  • Prev by Date: Default AppleScript Formatting
  • Next by Date: Re: How do we sort a list?
  • Previous by thread: Re: Default AppleScript Formatting
  • Next by thread: Re: Eudora weirdness when failing to set a var to selected text
  • Index(es):
    • Date
    • Thread