Jump to content
Macro Express Forums

Save as dialog box called from acrobat pro X


Recommended Posts

Hello first post here.

 

I have a problem with a macro I invoke while using Acrobat Pro X.

I start the macro from a dialoge box called "Sign Document" inside Acrobat.

 

The macro tabs thru the fields, enters a password, tabs again to the Sign Button:

 

Text Type (simulate keystrokes) <TAB><TAB>password<TAB><TAB><TAB><TAB><TAB><TAB>

 

The line above works.

I then do a enter to click the button.

 

Text Type (simulate keystrokes) <NUMENTER>

 

The line above also works. It brings the "Save As" dialog box. Whith focus in the File Name field.

Here is where I have a problem...

I want to tab twice to the save button and click to save:

 

Text Type (simulate keystrokes) <TAB><TAB><NUMENTER>

 

For some reason the macro will not execute the above line. Focus stays in the File Name field in the "Save As" dialog box.

 

I tried debuging using breakpoints and step, but when the "Save As" dialog box appears, the <TAB> macro commands do not work.

 

I changed my scope to global. still does not work.

I put a delay before the problem line (Delay:0.5 seconds) did not work.

 

Any suggestions appreciated.

Bill

Link to comment
Share on other sites

It's more efficient to use controls in this case. One of many benefits is that is you can use the control's readiness to control timing. This way you don't waste extra time on the delay. There is a good tutorial on controls either in the samples file in your MEP folder or on the website. I can't remember which.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...