thqby / ahk2_lib

MIT License
197 stars 26 forks source link

Re: `response := this('Runtime.evaluate',...)` in Chrome.ahk #33

Closed yg-i closed 7 months ago

yg-i commented 7 months ago

Regarding this line: https://github.com/thqby/ahk2_lib/blob/b72b2d06aa6ee0b55965227f68e97e9170128ee5/Chrome.ahk#L228C28-L228C28

  1. Should this be response := this.Call('Runtime.evaluate', ...) ?
  2. Why does response := this('Runtime.evaluate', ...) work as is?
thqby commented 7 months ago

https://www.autohotkey.com/docs/v2/misc/Functor.htm#User-Defined