A simple check of the unread flag and attachment flag?

  • Thread starter Thread starter Dennis Brown
  • Start date Start date
D

Dennis Brown

Hi,
If I want to check (with the Outlook object model) if a message's unread property is set, what would be the syntax when checking from the Message list?
Can I also see if there are any attachments from that position as well, as the user arrows down the list?
The adaptive screen reading software tries to read the "Read"/"Unread" status in icon graphic in the Message list, as well as the "Attachment" graphic, but it is difficult to let the blind user know there is an attachment, or that the message has been read, by trying to read a picture! I'd like to try this with the object model.
Thanks for any help!
 
Am Fri, 19 Aug 2005 11:09:38 -0400 schrieb Dennis Brown:

Hi Dennis,

sample:

Dim obj as Object
Set obj=Application.ActiveExplorer.Selection(1)
With obj
Select Case .Unread
Case False
MsgBox "The item has been read already"
Case Else
MsgBox "The item is unread"
End Select

MsgBox "The item has " & .Attachments.Count & " attachments"
End With

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Hi,
If I want to check (with the Outlook object model) if a message's
unread property is set, what would be the syntax when checking from the
Message list?
Can I also see if there are any attachments from that position as
well, as the user arrows down the list?
The adaptive screen reading software tries to read the "Read"/"Unread"
status in icon graphic in the Message list, as well as the "Attachment"
graphic, but it is difficult to let the blind user know there is an
attachment, or that the message has been read, by trying to read a
picture! I'd like to try this with the object model.
 
Great! Thanks a bunch!

--

Thanks,
Dennis
Am Fri, 19 Aug 2005 11:09:38 -0400 schrieb Dennis Brown:

Hi Dennis,

sample:

Dim obj as Object
Set obj=Application.ActiveExplorer.Selection(1)
With obj
Select Case .Unread
Case False
MsgBox "The item has been read already"
Case Else
MsgBox "The item is unread"
End Select

MsgBox "The item has " & .Attachments.Count & " attachments"
End With

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Hi,
If I want to check (with the Outlook object model) if a message's
unread property is set, what would be the syntax when checking from the
Message list?
Can I also see if there are any attachments from that position as
well, as the user arrows down the list?
The adaptive screen reading software tries to read the "Read"/"Unread"
status in icon graphic in the Message list, as well as the "Attachment"
graphic, but it is difficult to let the blind user know there is an
attachment, or that the message has been read, by trying to read a
picture! I'd like to try this with the object model.
 
Back
Top