SetUnread

This method sets the read or unread state for an item and returns no value.

Syntax

MC.SetUnread(Elem [,Flag])

Parameters

Elem

Valid element from a prior call to Navigate or Locate.

Flag

Optional flag used to mark the state of Elem. The default value of 0 indicates “Unread”; 1 indicates “Read.”

Remarks

Mobile Channels Data (MDC) items are automatically marked as “Read,” but image items are not. This results in the image remaining marked as “Unread” even if it has been read. Furthermore, all the parent subchannels are also marked as “Unread” as long as any images within are unread. To remedy this situation, the script author should call this method to manually mark each image as “unread” each time it is displayed.