• 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
Entourage Current Messages Apple Event
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Entourage Current Messages Apple Event


  • Subject: Entourage Current Messages Apple Event
  • From: Jed Verity <email@hidden>
  • Date: Fri, 09 Mar 2001 10:44:13 -0800

Has anyone experienced problems with <<class CMgs>> (the raw code for the
"current messages" method of Entourage)?

The script below returns "current messages" as an application command (i.e.
it's not a string or variable) instead of the list of current messages:

--begin script
--"OPIM" is creator code for Entourage and this script assumes the app is
--already running and that a message has been highlighted in any folder.

set appENT to my GetRightApp("OPIM")

tell appENT to get +class CMgs;

to GetRightApp(appCode)
tell application "Finder" to get first process whose creator type is
appCode
set appName to result as +class psn ;
end GetRightApp

--end script

Thanks in advance for any help, people of the scripture...
Jed

~)~)~)~)~)~)~)~)~)~)~)~)~)
Jed Verity


  • Follow-Ups:
    • Re: Entourage Current Messages Apple Event
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: display dialog requires security components (was Re: OS 9.1 Woes - AS Broken, How to Fix?)
  • Next by Date: Re: Long Filenames with Applescript
  • Previous by thread: Re: display dialog requires security components
  • Next by thread: Re: Entourage Current Messages Apple Event
  • Index(es):
    • Date
    • Thread