Forum Discussion
tlalok
15 years agoContributor
Hi,
I spend some more time searching the newsgroup and found a code snippet that helped me do this:
aCmdLine := 'BComp.com Baseline.pdf Verifiy.pdf /quickcompare';
aResult := Sys.OleObject('WScript.Shell').Run( aCmdLine, 1, TRUE);
Looks like I'm using the Windows Scripting Host now. I don't know much about it, but now I get my expected result "2" in aResult.
Great!
Regards,
-Carsten
I spend some more time searching the newsgroup and found a code snippet that helped me do this:
aCmdLine := 'BComp.com Baseline.pdf Verifiy.pdf /quickcompare';
aResult := Sys.OleObject('WScript.Shell').Run( aCmdLine, 1, TRUE);
Looks like I'm using the Windows Scripting Host now. I don't know much about it, but now I get my expected result "2" in aResult.
Great!
Regards,
-Carsten
Related Content
Recent Discussions
- 34 minutes agoashly