79163135

Date: 2024-11-06 14:58:27
Score: 6 🚩
Natty: 5
Report link

Ok, my situation is this, I have a Windows installer and I want to automate the first part of the installation (the first few screens where you need to edit the disk size, etc.) because I need to re-install 40 more laptops and go one by one is a bit time loss...

I have the script to erase the disk but I still need to click (or use the keyboard) on each screen of the process. I want to use a script to send keystrokes and I just came to this thread, so my situation:

Because my first starting point of the process is a CMD, I need to move out from the console or the commands will affect at the CMD screen instead the installation screens, so I tried this combination. script.vbs set shell = CreateObject("WScript.Shell"):shell.SendKeys "%{TAB}" & script.vbs

I've read the MS UI help/key declaration guide where it says the ALT key is %, but the combination "%{TAB}" dind not jump made the Alt+Tab combination. Im not really sure what im doing wrong but also im far from be a good scrpit person (It is something that usually never do, o just simple task) It is anyone who can point me in the right direction about what could be the error, or what could be the right command?

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): what could be
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: gOto