Jump to content
Macro Express Forums

macro doesn't work


oded

Recommended Posts

I get a lot of pdf documents from my bank - all of them protected with a password.

I've created a very simple macro which types the password + ENTER.

When I try to open the pdf I'm of course asked to type the password. I run the macro but nothing happens.

If I open notepad and run this macro it works flawlessly.

Why doesn't the macro work with the protected pdf document?

Thanks for any help.

 

Oded.

Link to post
Share on other sites

Why doesn't the macro work with the protected pdf document?

Some programs disable the keyboard hooks when asking for a password. This keeps key loggers and other bad software from capturing your password. But it also ignores keystrokes from Macro Express.

Link to post
Share on other sites

I get a lot of pdf documents from my bank - all of them protected with a password.

I've created a very simple macro which types the password + ENTER.

When I try to open the pdf I'm of course asked to type the password. I run the macro but nothing happens.

If I open notepad and run this macro it works flawlessly.

Why doesn't the macro work with the protected pdf document?

Thanks for any help.

 

Oded.

 

Two suggestions:

Make sure the typing code is typing and isn't doing "paste". Should be a radio button option on the typing code.

 

Second would be to make sure the password screen has focus before typing. This can be done by putting a delay before the typing code or a "activate window"

 

Regards,

 

Don

Link to post
Share on other sites

Don,

 

The typing code is typing. I've checked the radio button...

I've also made sure the password screen has focus before typing.

It looks like Samrae is right. If so, can this be somehow bypassed?

 

Thanks Don and Samrae for your answers. Much appreciated :)

 

Oded.

Link to post
Share on other sites

1. Is the scope incorrectly set? If it's not already "Global," try changing it to that, or making it Window or Program specific.

 

2. Check that no other macro has the same activation as your login macro. You may have a conflict.

 

3. Change the way you send text to the PDF. Try typing out the text and pasting it. Try sending one character at a time. Capture the control, and then try sending the text directly to the control.

 

4. Try moving the mouse cursor to the insertion point, clicking or double clicking, and then typing or pasting the login info.

 

5. Try emptying the clipboard, assigning the password to the clipboard, and then pasting instead of typing it.

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...