[quote=“suman.rayabaram”]The Following code snippet to hit windows button and open Google chrome works on one windows machine but doesn’t work on the other windows machine.
Typetext “Google Chrome”, ENTER[/quote]
WindowsDown and WindowsUp are not commands or keywords – they would be typing the literal strings “WindowsDown” and “WindowsUp”, so they shouldn’t be doing anything at all, except maybe selecting an icon on the screen. This is also the reason for the behavior described in your second post. What you are seeing is just what happens when you have focus on the desktop and you start pressing keys. Windows Explorer selects the icon/shortcut that starts with the character or characters you are typing. When you have “Google Chrome” on the screen, it gets selected when you type those words, since your code to open the Start Menu wasn’t doing anything.
I wouldn’t think you’d need the Wait in there, so the code should be something like this:
WaitFor 4, "All Programs" // capture an image of this or use a text search
TypeText "Google Chrome" & return