• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers

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

New Here ,
Dec 15, 2020 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

54

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
community guidelines
LEGEND ,
Dec 15, 2020 Dec 15, 2020

Copy link to clipboard

Copied

LATEST

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
community guidelines