tell application "Google Chrome"
tell window 1
tell tab 1
[do something here]
Today, after many months, I tried editing the script but the AppleScript Editor is refusing to save it (even without any changes, e.g. after typing a space and then deleting it...), showing an error message:
Expected end of line but found number.
while highlighting the
tab 1 as being the offender...
What is wrong with the latest version of the applescript editor or of Chrome? Any ideas how to work around this problem?