Jump to content

"PDF File Save As" dialog box


Recommended Posts

Currently I create PDF files by bringing up the Print dialog box, select Adobe PDF printer, then provide the file name and process.

Simplified code:

Send("^p") ; bring up Print dialog box

Send("a") ; selects add printer

Send("a") ; second select to get Adobe PDF

Send("{ENTER}") ; bring up Adobe PDF dialgog box

provide file name and process

Is there a direct/simpler way to bring up the Adobe PDF Save As dialog box via code or .dll

This works fine but would like to cut down the steps.

Any help is appreciated

BTW: I have tried the FileSaveDialog command.

Link to comment
Share on other sites

If this is just a program for yourself you may be able to change/create a hotkey for it. Than again I don't know what program your using so I have no idea how to help you. (hint hint)

[center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw

Link to comment
Share on other sites

If this is just a program for yourself you may be able to change/create a hotkey for it. Than again I don't know what program your using so I have no idea how to help you. (hint hint)

The application monitors multiple mailboxes a day. Upon receipt of a html formatted email the email is printed and saved as a PDF file. Then the email is scanned for URLs and each URL is launched and this information is printed and saved as a PDF file. The process is automated and I provided simple code as an example. All is unattended, PDF file names are generated from email subject lines with appended info.

Bottome line. Example is simplified, between the send keys are routines to wait for Windows activation for Print/PDF Save As diallog boxes. Just want to have an automated PDF saving process that is a little more compact.

Thanks for the response.

Link to comment
Share on other sites

  • 10 years later...

Hello All,

I am running a program called test.exe and do not understand how to

provide file name and process ...to the example in the

First post

Could anyone please post a few line example ..

thanks all

Michael T.

 

Link to comment
Share on other sites

I can only assume since this post is several years old but they're opening Outlook, opening an email and then using the send keys.  However a lot will depend on what software are you using to create the PDF?  If Adobe Acrobat, what version of Adobe Acrobat?  What documents are you hoping to save as PDF?  If Office documents, i.e. Outlook, Word etc... what version of Office do you have as later versions of Office have saving as PDF included?

Link to comment
Share on other sites

Hello

I am updating a foxpro program from pdf.ocx  (windows XP)

When using the Acrobat PDF Writer you would use the pdf.ocx to

pass the complete file name including path to out to the pdf ocx and then just

print to that printer ... and the file is saved ...

On Windows 7 and Up PDf.ocx is no longer supported ...

But, Adobe PDF creator Printer driver does the same thing

as Acrobat PDFWriter printer driver did ...but has no pdf.ocx

I am Trying to write a simple autoit program I can Pass the File name

to so When the foxpro program can printer to the NEW

Adobe PDF creator Printer driver with the filename and the correct path...

Michael T.

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...