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

Get current page? [Dumb question!]

1456005813
Lucian
Pro
API Scripter
Hey,  I have no doubt that I will find the answer microseconds after posting this, but I've looked and for the life of me I can't see how to get the id of the page currently visible to the person issuing an API command. I'd like to have a command that operates on the currently visible page. Obviously there's playerpageid, but that's not necessarily the page that the GM is looking at. What am I missing? Cheers, Lucian
It's not possible at the moment for the API to determine what page a GM is looking at. This is a much sought-after feature that the Roll20 Dev Team is aware of.
1456006325
Lucian
Pro
API Scripter
SadFace! Do you know if there's a Suggestion thread for it?
1456010468
Stephen S.
Pro
Marketplace Creator
Sheet Author
API Scripter
Detecting a token created from a rollable table. or using player bookmark. or using the party split. or some inferring method.
1456023660
The Aaron
Pro
API Scripter
Using the page id of a selected thing.