ardittristan / VTTInlineWebviewer

Allows you to have webpages open inside Foundry VTT
MIT License
7 stars 4 forks source link

Icon works but macro doesn't #40

Open Nis3r opened 1 year ago

Nis3r commented 1 year ago

The icon works perfectly but I can't get the macro to work. Right now it is posting the string in chat. I was wondering if I could get an example macro to cross-reference. I'm also not sure if I should replace the "Ardittristan" portion with my user name or if that's calling a part of the module.

Foundry Tabletop - Version 10 Build - 291

ardittristan commented 1 year ago

The name argument is mandatory window.Ardittristan.InlineViewer.sendUrl("https://example.com", false, 512, 512, "test")