Cannot launch Chrome from script?

Get help with using AutoHotkey and its commands and hotkeys
User avatar
Scoox
Posts: 122
Joined: 11 May 2014, 09:12
Location: China

Cannot launch Chrome from script?

24 Sep 2019, 02:38

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!
User avatar
Xtra
Posts: 1768
Joined: 02 Oct 2015, 12:15

Re: Cannot launch Chrome from script?

24 Sep 2019, 03:13

Works fine here:
Google Chrome is up to date
Version 77.0.3865.90 (Official Build) (64-bit)
rommmcek
Posts: 972
Joined: 15 Aug 2014, 15:18

Re: Cannot launch Chrome from script?

24 Sep 2019, 05:59

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.
User avatar
Scoox
Posts: 122
Joined: 11 May 2014, 09:12
Location: China

Re: Cannot launch Chrome from script?

24 Sep 2019, 09:18

Thanks for taking the time to check. That's strange, I'll try on a virtual machine later.
User avatar
Scoox
Posts: 122
Joined: 11 May 2014, 09:12
Location: China

Re: Cannot launch Chrome from script?

25 Sep 2019, 05:42

After a system restart, everything's back to normal. Typical :facepalm: Thanks guys for your time!

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], Forgetabyteit, kdservices, tee_rock, vsub, yuyu and 128 guests