Page 1 of 1

Cannot launch Chrome from script?

Posted: 24 Sep 2019, 02:38
by Scoox
I recently updated Chrome and suddenly I'm unable to Run, Chrome.exe from within my script. This works with the version I was using before the update. Here's the code that's not working:

Code: Select all

Target = "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
Run, %Target%
Nothing happens. Chrome doesn't start, it doesn't even flash by. The above code works with Firefox, Notepad, and really any other application. Hopefully there's a solution!

Re: Cannot launch Chrome from script?

Posted: 24 Sep 2019, 03:13
by Xtra
Works fine here:
Google Chrome is up to date
Version 77.0.3865.90 (Official Build) (64-bit)

Re: Cannot launch Chrome from script?

Posted: 24 Sep 2019, 05:59
by rommmcek
Use: Target := "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe", or
Target = C:\Program Files (x86)\Google\Chrome\Application\chrome.exe
Sorry, your code works for me.

Re: Cannot launch Chrome from script?

Posted: 24 Sep 2019, 09:18
by Scoox
Thanks for taking the time to check. That's strange, I'll try on a virtual machine later.

Re: Cannot launch Chrome from script?

Posted: 25 Sep 2019, 05:42
by Scoox
After a system restart, everything's back to normal. Typical :facepalm: Thanks guys for your time!