shrihalbe
asked on
Third party utility
Hello ,
actually want to run PDF third party Compression utility on the PDf file then i have to attach that file to the document. that third party utility has dos based command that i want to execute from lotus script. how can i do that.any Help would be appreciated.
Thanks,
shrirang
actually want to run PDF third party Compression utility on the PDf file then i have to attach that file to the document. that third party utility has dos based command that i want to execute from lotus script. how can i do that.any Help would be appreciated.
Thanks,
shrirang
ASKER
Hello Hemanth,
The Dos Command has some parameteres too. so how can i send the that parameters to that command using the lotus script.
The command is like this
CVistaC [<Compression Options>] -in <Input Directive> [<Input Options>] [-out <Output directive>[<Output Options>]]
Thanks,
shri
The Dos Command has some parameteres too. so how can i send the that parameters to that command using the lotus script.
The command is like this
CVistaC [<Compression Options>] -in <Input Directive> [<Input Options>] [-out <Output directive>[<Output Options>]]
Thanks,
shri
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Dim taskId As Integer
taskId% = Shell("CVistaC [<Compression Options>] -in <Input Directive> [<Input Options>] [-out <Output directive>[<Output
Options>]]", 1)
The last value is the type of window you want opened:
1, 5, or 9 Normal with focus SHELL_NORMAL_FOCUS
2 Minimized with focus (default) SHELL_MIN_FOCUS
3 Maximized with focus SHELL_MAX_FOCUS
4 or 8 Normal without focus SHELL_NORMAL_NO_FOCUS
6 or 7 Minimized without focus SHELL_MIN_NO_FOCUS
Taskid% is the value returned when the program is running, on windowsNT or OS/2 the value is 33, so test the ID for errors. Also, the rest of your script will execute without waiting for the program to finish it's task.
Does this help?
marilyng
taskId% = Shell("CVistaC [<Compression Options>] -in <Input Directive> [<Input Options>] [-out <Output directive>[<Output
Options>]]", 1)
The last value is the type of window you want opened:
1, 5, or 9 Normal with focus SHELL_NORMAL_FOCUS
2 Minimized with focus (default) SHELL_MIN_FOCUS
3 Maximized with focus SHELL_MAX_FOCUS
4 or 8 Normal without focus SHELL_NORMAL_NO_FOCUS
6 or 7 Minimized without focus SHELL_MIN_NO_FOCUS
Taskid% is the value returned when the program is running, on windowsNT or OS/2 the value is 33, so test the ID for errors. Also, the rest of your script will execute without waiting for the program to finish it's task.
Does this help?
marilyng
ASKER
Hello Hemanth,
thank you again
Shri
thank you again
Shri
I hope this utlity creates pdf file, once it is on the disk use 'embedobject' to attach the file to the document
~Hemanth