-
1
- #1
I have a batch file that I need to run at night when I'm not using my
PC. At night, I always either log out of my Windows NT machine or lock
the screen so no one can get into my files. Unfortunately, my batch
file calls a VB script that interacts with Microsoft Project, and the
script uses several sendkey commands.
What's happenning is the batch script seems to start up, but as soon as
it gets to the first SendKeys, it halts. When I log in, if I enter the
key where the program halts. The rest of the script, including the
SendKeys, will execute without any problems.
Does anyone know how to fix this problem? I've tried rewriting the
script to not use any SendKeys, and I can't get it to work.
Thanks,
Dana
PC. At night, I always either log out of my Windows NT machine or lock
the screen so no one can get into my files. Unfortunately, my batch
file calls a VB script that interacts with Microsoft Project, and the
script uses several sendkey commands.
What's happenning is the batch script seems to start up, but as soon as
it gets to the first SendKeys, it halts. When I log in, if I enter the
key where the program halts. The rest of the script, including the
SendKeys, will execute without any problems.
Does anyone know how to fix this problem? I've tried rewriting the
script to not use any SendKeys, and I can't get it to work.
Thanks,
Dana