SDK can get parameter by using AcroRd32.exe 0001.pdf aaa bbb ccc

Dec 15, 2020

Copy link to clipboard

Copied

I am using Acrobat SDK for developing *.api. When I use command line to open pdf file as follows:

AcroRd32.exe 0001.pdf aaa bbb ccc.

If *.api can get the parameter - aaa bbb ccc?

TOPICS
Acrobat SDK and JavaScript

Views

17

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

SDK can get parameter by using AcroRd32.exe 0001.pdf aaa bbb ccc

Dec 15, 2020

Copy link to clipboard

Copied

I am using Acrobat SDK for developing *.api. When I use command line to open pdf file as follows:

AcroRd32.exe 0001.pdf aaa bbb ccc.

If *.api can get the parameter - aaa bbb ccc?

TOPICS
Acrobat SDK and JavaScript

Views

18

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Dec 15, 2020 0
Dec 15, 2020

Copy link to clipboard

Copied

Those are not legal parameters, they should cause an error. If they don't cause an error today, they could fail at any time.

To get a command line you can use https://docs.microsoft.com/en-us/windows/win32/api/processenv/nf-processenv-getcommandlinew GetCommandLineW, but not if Protected Mode is switched on (since you are no longer running in the process with the original command line).

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 15, 2020 0