sendkeys after fHandlefile function

cpampas

Registered User.
Local time
Today, 10:19
Joined
Jul 23, 2012
Messages
221
Hi,
Could someone help me with this, I think it should be something easy, but I cant make it work :
I am running Dev Ashish s function fHandlefile to open a pdf I have in my domain

when the connection is established to open the pdf file , a dialog box pops up, for the user to enter login and password, wich is already filled in, and it only requires to hit the ENTER key, something that I would like to automate with SendKeys


DoEvents
Call fHandleFile("strWhereMyPDFis", WIN_NORMAL)
SendKeys "~", True

Is it because the focus is somewhere else ?
Thanks
Carlos
 

Users who are viewing this thread

Back
Top Bottom