-
Topic
-
Hi, I’m a formativ newbie and am trying to author a simple solution that will allow me to save the currently selected attachment to a directory specified by a registry key.
I have figured how to do everything I need *except* for being able to access the currently selected attachment. I can access the currently selected message no probs as per the programmers guide for Context.ClientState.SelectedMessages.Count
etc… But I cannot see a way to get the currently selected attachment.After reading the language guide I found the GroupWise.ItemAttachmentGetCurrentIndex() method, but when I call it in the code the following error is returned:
‘Token failed execution!’ is not a valid integer value at line 28, column 3.
I simply called:
Dim x
x = GroupWise.ItemAttachmentGetCurrentIndex()And yes, I have an attachment selected when running this code. Any thoughts?
Kind Regards,
Jason
- You must be logged in to reply to this topic.