Cannot launch Chrome from script?

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
Scoox
Posts: 125
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: 2750
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)
User avatar
rommmcek
Posts: 1475
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: 125
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: 125
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 (v1)”

Who is online

Users browsing this forum: Chunjee, jaka1, rc76 and 313 guests