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

Is there a script similar to TableImportExport that allows you to import and export macros the same way?

As the title says, or is there a way to modify TableImportExport to allow MacroImportExport?
1547571531
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I would highly suggest for this and many other reasons, to use a Macro Character Sheet . (The other reason being that macros built on a character sheet are much simpler to code. Since they are Abilities, there is less need to employ workarounds like HTML replacments)
keithcurtis said: I would highly suggest for this and many other reasons, to use a Macro Character Sheet . (The other reason being that macros built on a character sheet are much simpler to code. Since they are Abilities, there is less need to employ workarounds like HTML replacments) Using this method, how would I reference them for macros that create buttons inside of my chat?
1547572549
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Abilities also have the capability of being used by Macro Quick Bar and Token Action Buttons. Also, you might find some more help by following this link for  Chat Menus .
1547591102
The Aaron
Roll20 Production Team
API Scripter
Just got completeness, I do have a script for packing and unpacking macros between games, similar to TableExport. 
1547596341
GiGs
Pro
Sheet Author
API Scripter
I was going to mention your script Aaron, but didnt have a link. Neither do you, it seems ;)
1547599297
The Aaron
Roll20 Production Team
API Scripter
Here it is:&nbsp; <a href="https://app.roll20.net/forum/post/4606812/import-macros-between-campaigns/?pageforid=4607824#post-4607824" rel="nofollow">https://app.roll20.net/forum/post/4606812/import-macros-between-campaigns/?pageforid=4607824#post-4607824</a>
The Aaron said: Here it is:&nbsp; <a href="https://app.roll20.net/forum/post/4606812/import-macros-between-campaigns/?pageforid=4607824#post-4607824" rel="nofollow">https://app.roll20.net/forum/post/4606812/import-macros-between-campaigns/?pageforid=4607824#post-4607824</a> It would appear you have almost all the scripts I can think of already created. Are we able to freely view your github scripts?
1547646704

Edited 1547650271
The Aaron
Roll20 Production Team
API Scripter
Yes, although there is a large caveat to that: I write two categories of API code: Scripts — full fledged scripts pushed to the Roll20 repo which include in-game help and configuration. For the most part, they are system agnostic and generally applicable.&nbsp; Snippets — little one-off scripts that do a single small thing, often system specific or niche functionality with no help or config.&nbsp; All my scripts are published to GitHub, my snippets are sprinkled through the forums. I have them all in my private dev repo and, as time permits, I develop the useful ones into full scripts and publish them.&nbsp;