To start with, I don’t think you need the AppleScript. From what I see, KM can do all of that.
There’s also a Google Chrome Library somewhere, which includes filling in a form. Perhaps that would be better than trying to hit a button with absolute coordinates.
Get rid of the Keyboard Maestro activate action and just use the AppleScript.
tell application "Google Chrome"
if not running then run
activate
tell (make new window)
set URL of active tab to "https://bitly.com/a/bitlinks/1HPMkB7"
set bounds to {1280, 0, 2559, 1200}
end tell
end tell
You probably can remove the filter portion of the URL “1HPMkB7” in the script.
Put a Pause Until Google Chrome Has Finished Loading action after the script.
It would be very unusual that rebuilding the macro exactly results in different behaviour. But if you would like to send me an export of both macros I am happy to look to see exactly what tiny differences there might be.
They never started to run, no logg entry, and I got the System error sound. And quitting the engine and restart of the Mac didn't help either. Probably some extremely stupid mistake,...