SENDKEYS + Batch Process

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

CHIN_at_KD
Date: 01/26/05


Date: Wed, 26 Jan 2005 14:32:16 -0300

Hi All!!!!
as u could see in this subject, this is a little weird problem.. lol

This is it:
I created a .vbs file, it runs a batch process opening an Internet Explorer
Window, logs in an external website , and upload a file from this comp (
where i have the vbs file )
The first problem i had : when i navigate a HTTPS URL , it ask for the
certificate window and i had to click YES manually .. so i used the SENDKEYS
to send 2 TABs and one ENTER to step over that window.. it worked

The second problem : On the upload page, i had to browse the file to upload.
HTML doesnt let u write in a FILE control Value. So i used again the
SENDKEYS to send the full path of the file to upload. It worked.

Now the Actual Problem : this computer has to be locked while the process
runs.. so.. the sendkeys doesnt work becouse the focus it s on the windows
login window.

Anyone has another idea to do what i m trying ?? thnx !! and sorry for my
poor english..

PS: i cant modify the upload web site

--
CHIN@KD
www.racingclub.com.ar


Relevant Pages

  • Sendkeys + Batch Process
    ... I created a .vbs file, it runs a batch process opening an Internet Explorer ... Window, logs in an external website, and upload a file from this comp ( ... On the upload page, i had to browse the file to upload. ...
    (microsoft.public.scripting.wsh)
  • SENDKEYS + Scheduled process Batch
    ... I created a .vbs file, it runs a batch process opening an Internet Explorer ... Window, logs in an external website, and upload a file from this comp ( ... On the upload page, i had to browse the file to upload. ...
    (microsoft.public.vb.winapi)
  • Re: SENDKEYS + Scheduled process Batch
    ... > I created a .vbs file, it runs a batch process opening an Internet ... > certificate window and i had to click YES manually .. ... On the upload page, i had to browse the file to ... > login window. ...
    (microsoft.public.vb.winapi)
  • Re: Window.Event.keyCode Problem
    ... I am using .VBS file to write VBScript. ... Unless you provide it a window, ... in CScript only, the input stream. ...
    (microsoft.public.scripting.vbscript)
  • Re: changing the url names from index pages
    ... and as a result you are producing "rich" or "heavy" html code. ... might want to download and install at least up to SP2. ... > yet when I open the window again, the name is present in the field. ... >> upload, and that is where the numbers still show? ...
    (microsoft.public.publisher.webdesign)