@Command( [AttachmentLaunch] ) code not opening up .PDF File in Form

I have a form in which on the “ON LOAD” of it I have code that say if you are not a “Manager” role run the @Attachmentlaunch command. There are all .PDF file in the documents and it is not automatically opening the attachment. Does anyone have a solution?

Thanks in advance.

John