Closed mdbraber closed 2 years ago
As with the other feature, I'd be happy to include it if you could provide a separated PR for it! I may not take the time to investigate and build a solution myself (since I don't personally have use for AppleScript), but I really appreciate any contributions, even if they could be considered crude. 😄
I have a PR ready to submit in the next few days enabling three simple commands: get current URL, get current title, execute arbitrary javascript: https://github.com/joelekstrom/fastmate/pull/81
Basic Applescript support merged in #81. thanks @mdbraber. If you feel like it, feel free to add some examples to the readme too!
In my forked version (https://github.com/joelekstrom/fastmate/issues/14) I previously integrated Applescript support to return current URL and title. As there's now also to Copy Link / Copy Fastmate URL there might be a better way. Would you be willing to include Applescript support in the main version? Some pointers might be in my (probably crudely done) forked version