Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Can we programmatically set the location of handouts when they appear on screen?

So, like many others I am using informational tokens on a map. Select the token, hit the macro button, tada! A handout appears. Cool... No problems at all. But I want to determine WHERE those handouts appear on the screen. I have the perfect spot for them, but they just appear wherever they happen to. Can you set the location for handout instantiation? I'm sure I can use a placeholder token on the GM layer for a location reference. No problem. But what syntax listens for handout instantiation and allows us to say where it lands on the page? Is that even a thing?
1723904089
The Aaron
Roll20 Production Team
API Scripter
That isn't something that is exposed to the API.  You could ping pull someone to a place on the map that the handout represents. 
1723908667
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi GM! You can do something like this with Supernotes, but it requires setting your information up differently. All of the map pin information goes into the GM Note of each map pin. You could then have a macro such as: !gmnote --handout|Report| This will send the formatted contents of the GM Note to a handout called "Report" (or whatever you specify). The handout is live updating, so you can open it to a specific size and position on your screen, and every time you run the macro, the contents will change to the GMNotes of the selected token. There is even more you can do if you combine it with the Reporter script (filtered table of contents of tokens on the map, ping-pulling and more), but Supernotes alone will give the behavior I describe above.
HOLY WOW> THIS IS IT keithcurtis said: Hi GM! You can do something like this with Supernotes, but it requires setting your information up differently. All of the map pin information goes into the GM Note of each map pin. You could then have a macro such as: !gmnote --handout|Report| This will send the formatted contents of the GM Note to a handout called "Report" (or whatever you specify). The handout is live updating, so you can open it to a specific size and position on your screen, and every time you run the macro, the contents will change to the GMNotes of the selected token. There is even more you can do if you combine it with the Reporter script (filtered table of contents of tokens on the map, ping-pulling and more), but Supernotes alone will give the behavior I describe above.