Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
I found a simple method to open a PDF file with Smart Assembly that I thoughtI would pass on. We are using this totie pdfcatalog pages to library parts.
Using variables as part of the pdfpath/filename:
\"+SA_CATALOG_FILE_VALUE+".pdf"
Or entering a pdf file name directly:
I noticed with the PDF X-Change Viewer program I am using, whether the file opens full screen or not depends on the state when the reader was closedfrom the last file opened manually. There may be other ways to control this with the DOS command.
Rick Behne
Hawk Technology Ltd.
Mobile: 309/236-7380
Cool! Thanks for sharing.
Design well!
Hi Rick,
Thanks for that post. FYI - We often use the PLUGIN command to pull all sorts of external resources into the process with SmartAssembly applications. There are times where we've used it to call up an external program that generates a variety of information that then gets read into SmartAssembly using a text, XML or even Excel files.
PLUGIN is a very powerful, very under-used command line in my opinion.
Joel Beckley
Application Engineer
SIGMAXIM
One thing to note, use the double back slash for a back slash to be safe (since the back slash is an escape sequence for other characters). Sometimes it seems to work without but has tripped me up before. Updated lines below.
Using variables as part of the pdfpath/filename:
"+SA_CATALOG_FILE_VALUE+".pdf"
Or entering a pdf file name directly:
In Reply to Rick Behne:
One thing to note, use the double back slash for a back slash to be safe (since the back slash is an escape sequence for other characters). Sometimes it seems to work without but has tripped me up before. Updated lines below.
Using variables as part of the pdfpath/filename:
"+SA_CATALOG_FILE_VALUE+".pdf"
Or entering a pdf file name directly: