Skip to main content
This topic is closed to new replies. Start a new post to keep the conversation going.

8 replies

Legend
Jul 24, 2019 11:13 AM UTC

Conditional compilation. There are only two platforms to worry about.

Translate
Known Participant
Jul 24, 2019 12:08 PM UTC

Thank you for the answers!

Translate
Legend
Jul 24, 2019 9:08 AM UTC

Use the system API to locate the temp folder. You can then use Acrobat APIs to write files there.

Translate
Known Participant
Jul 24, 2019 10:45 AM UTC

So, there is no option to do custom(*.txt, and so on ) temp files through Adobe acrobat api? Because ASFileSysGetTempPathName() autogenerates the temp file with *.tmp extension

Translate
lrosenth
Adobe Employee
Adobe Employee
Jul 22, 2019 8:05 PM UTC

ASFileSysGetTempPathName()

Translate
Known Participant
Jul 24, 2019 8:42 AM UTC

Thank you for the help! This method works fine, but can I write  files not only with *.tmp extension with this method ? For example I want to write *.txt file in temp path ?

Translate
Legend
Jul 22, 2019 7:34 PM UTC

You can write files anywhere Acrobat can write them. You may need to use the system API to locate the temporary folder first.

Translate