Quantcast
Channel: SCN : All Content - Scripting Languages
Viewing all articles
Browse latest Browse all 522

Attachment list in a PMO

$
0
0

I need to retrieve all the attachment file names out of a list of PMO's.  I can macro to get to the attachment list, but how do I pull the names in?

 

I got here and could not get it to work.

 

session.findById("wnd[0]").maximize

session.findById("wnd[0]/titl/shellcont/shell").pressContextButton "%GOS_TOOLBOX"

session.findById("wnd[1]/usr/tblSAPLSWUGOBJECT_CONTROL/txtSWLOBJTDYN-DEF_ATTRIB[1,0]").caretPosition = 12

session.findById("wnd[1]").sendVKey 2

session.findById("wnd[0]/titl/shellcont/shell").selectContextMenuItem "%GOS_VIEW_ATTA"

session.findById("wnd[1]/usr/cntlCONTAINER_0100/shellcont/shell").currentCellColumn = "BITM_DESCR"

session.findById("wnd[1]/usr/cntlCONTAINER_0100/shellcont/shell").selectAll

session.findById("wnd[1]/usr/cntlCONTAINER_0100/shellcont/shell").pressToolbarContextButton "&MB_EXPORT"

Session.findById("wnd[1]/usr/cntlCONTAINER_FILENAME").Text = "test.xls"

                    Session.findById("wnd[1]/usr/cntlCONTAINER_0100_FILENAME").caretPosition = 14

                    Session.findById("wnd[1]/tbar[0]/btn[11]").press

 

 

session.findById("wnd[1]/usr/cntlCONTAINER_0100/shellcont/shell").selectContextMenuItem "&XXL"


Viewing all articles
Browse latest Browse all 522

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>