G33kDude / Chrome.ahk

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

Doent work! #19

Closed murataygunn closed 1 year ago

murataygunn commented 3 years ago

Just clone and run an example.

G33kDude commented 3 years ago

In what way does it not work? Did you also initialize/update the required submodules? Git does not pull submodules with the main repository by default, so you must either run the appropriate command to grab submodules, or use the released version which has all submodules/dependencies baked in.

murataygunn commented 3 years ago

I've used this comman to clone; git clone --recurse-submodules https://github.com/G33kDude/Chrome.ahk.git

It downloaded submodules as well. No problem here.

When i try to run the pastebin example i get this error;

image

I've tried different computers as well. Same issue. Latest AHK 1.1.33.02 vers. AutoHotkeyU64.exe installed.

murataygunn commented 3 years ago

Release version works ok.

mark-wiemer commented 3 years ago

I've fixed this in my fork: mark-wiemer/Chrome.ahk

tenbob commented 2 years ago

It would be helpful if the OP had said what the problem was in the title. It should really be "Call to nonexistent function Jxon_Dump()". I had the same problem. I don't fully understand the code, but it looks like the function is being executed inside its own definition. Is that right?

Thanks to @mark-wiemer who has solved this problem in his fork mark-wiemer/Chrome.ahk. @mark-wiemer also solved another problem which is a fatal error when the debug message contains a boolean value.

I don't see a Pull Request to bring this into the main branch. Without these changes the program seems to be unusable. Can someone make a PR, please.