G33kDude / Chrome.ahk

Automate Google Chrome using native AutoHotkey
https://autohotkey.com/boards/viewtopic.php?t=42890
MIT License
336 stars 82 forks source link

3 improvements. #25

Closed telppa closed 2 years ago

telppa commented 2 years ago

47e1b50 If chrome.lnk is not found, we can still get a clear error info (Chrome could not be found) here instead of a com error info.

7d3e25b It is easy to fail here because "new chrome ()" takes a long time to execute. Therefore, it will be tried again and again within 10 seconds until it succeeds or times out.

262f0db When the profilepath given by the user does not exist, try to create it. In this way, chrome can be simply run with a brand-new identity. Therefore, the user can specify an existing identity to run, or simply create a new identity for automation and keep it there all the time.