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

Preset views to bind to macros

Are there any utility scripts out there to save the current view (page, zoom, position) to be recalled later? During play of Gloomhaven, I am finding the need to quickly jump between different areas of the "game board". For example, the current active map, current monster and PC cards, etc.
1546886361
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I think that some of this can be done with the API, but for the local computer only.
1546887176
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I've done some asking to Those Better Qualified Than I, and confirmed that ping-pulling for the gm is pretty much the only one of these things that can be done. I don't think there is a standalone program that does only that, but many of the combat trackers have it as part of their suite of functions.
Maybe "ping pulling" is what I mean? In Tabletop Simulator there is a way to set the camera position and zoom and keybind it. Then during play you can quickly jump _your own_ view around. I don't need to drag everyone else's views to match, just my own. (I'm streaming roll20 and fumbling about changing pages and zooming in/out/left/right would be alleviated with presets.)
1546895798
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
"Ping Pulling" is just moving the "camera" to a spot on the page. It doesn't change zoom. The GM can ping pull for players by pressing shift while clicking and holding on a spot. The API can pull the GM's view, but a ping pull for the players can only be done manually by the GM. As for keybinding, not really built in, but if you are using Chrome (or theoretically any browser that can run a bookmarklet), I do have a Stupid Trick that can help.
I think these features are lacking because the view is entirely client side. Running with nightmare.js, which I have wired in for twitch chat to roll20 integration, I am able to set up views outside of the browser. Works great!
If anyone has hints of how to change the page zoom, please let me know. I opened up the JS console and tried poking at things but I suspect I need a private JS function (ie. not one off of _d20ext_) to perform the action. 
1547020123
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I recall reading a thread on this in the last few months, but can't find it so far. IIRC, it required setting up a script with Tampermonkey on all computers logged in to the game. I.e. it cannot be done within the framework of Roll20.
1547020635
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Look here .