Entourage Current Messages Apple Event
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