'Following code demonstrates the COM Interface of the Aloaha PDF Signator
'in case you need more automation commands please contact info@aloaha.com


'Create SignatorObject
Dim Signator
Set Signator = CreateObject("pdfsaver.remotecontrol")


'Instruct Signature to load document. 
'That can be a local or remote HTTP document of type PDF or XML
'Call Signator.LoadDocument("http://www.aloaha.com/pdf/aloaha_testform.xml")
Call Signator.LoadDocument("c:\N208ADOBE.pdf")

'define savepath when signing document

Signator.savepath = "c:\myPDF.pdf"


'msgbox "Will trigger to save document right away"
'call signator.TriggerSave("c:\myPDF.pdf")

msgbox "Please Click OK to unload"


'disable toolbar
Signator.ToolBarEnabled = false



'unload object
Set Signator = nothing
