Quote from
Vadim on March 30, 2021, 8:07 pm
@saeid
To open a TXT or RTF file in a publication, just read the file into a variable. Wherever the name of this variable is specified, the contents of the variable will be displayed, i.e. file contents.
To open a PDF or Excel file inside your application, you need to run the application in a rectangle.
To programmatically open the file in the default program, you can use the zmFunctions 1.0b plugin (Peter Pavlov), the zmOpenWithDefault command (see the example in the sample file).
Create three files named
file.txt
file.rtf
file.pdf
Put them in the same folder with the example and run the attached example.
The English version of the plugin zmFunctions lies here:
https://visualneo.com/forum/topic/loc-file-for-zmfunctions
@saeid
To open a TXT or RTF file in a publication, just read the file into a variable. Wherever the name of this variable is specified, the contents of the variable will be displayed, i.e. file contents.
To open a PDF or Excel file inside your application, you need to run the application in a rectangle.
To programmatically open the file in the default program, you can use the zmFunctions 1.0b plugin (Peter Pavlov), the zmOpenWithDefault command (see the example in the sample file).
Create three files named
file.txt
file.rtf
file.pdf
Put them in the same folder with the example and run the attached example.
The English version of the plugin zmFunctions lies here:
Uploaded files:- You need to login to have access to uploads.
luishp has reacted to this post.