When using the Client toolbar in Workflow, document-based actions that are initiated by toolbar buttons, including running a VBScript, are performed on the document displayed in the Workflow viewer, regardless of how many documents are selected in the Workflow Inbox.