sep$='#'
PluginSet("UO","sep$")
PluginRun("UO","LVGetSelItem")
PluginGet("UO","Get$")
***extracting the pdfnum from the uo selected item
For j=1 To 5
getfield$[j]=GetArrayItem(Get$,'#',j)
Next j
***making the path to open the file
pdfpath$ = '<SrcDir>\PDF\\' + getfield$[5] + '.pdf'
pdfpath$ = '<srcdir>\pdf\\' + getfield$[5] + '.pdf'
pdfpath$ = <srcdir>+'\pdf\\' + getfield$[5] + '.pdf'