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

New Chrome User Profile issue. #22

Closed goglgo closed 1 year ago

goglgo commented 3 years ago

The error occurs when make new chrome user profile.

I think, some patch makes "--user-data-dir=" argument get only abstract folder path.

so, write correct path or attach previous script path. may be the solve.

Chrome.ahk Line 91 Like this. Run, % this.CliEscape(ChromePath) . " --remote-debugging-port=" this.DebugPort . (ProfilePath ? " --user-data-dir=" . this.CliEscape(**A_ScriptDir . "\" .** ProfilePath) : "") . (Flags ? " " Flags : "") . URLString ,,, OutputVarPID

if do that, it can solve some other issues I think.

G33kDude commented 1 year ago

This should be fixed by 1.3.0