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

Macro dragged from character sheet--how to edit?

I am new to macros. I made a macro by dragging one of the Attacks from the character sheet to the macro bar. No problem there; the macro seems to work fine. Now I would like to Edit it. Actually I don't really want to Edit it in the sense of changing it; I just want to open it up and see the code. I think this would be a great way to learn. However, I can't figure out a way to "open" this macro directly, nor can I get it to show up in the Collection, where I know how to open the Edit window. Is it possible to do what I'm trying to do?
1585787683
The Aaron
Roll20 Production Team
API Scripter
Those sorts of macros can't be opened.  However, you can see what any macro or roll button does by running it, then clicking in the Chat box and pushing up.
Too bad that it can't be opened. Anyway, thank you for the response.
1585792290
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
It's essentially the same thing, though. Pressing the up arrow gives you the code which you can copy and past into a macro or ability and edit to your heart's content.
1585794491

Edited 1585795288
I see that clicking in the chat box and pressing the up arrow yields some text, but most of it is not recognizable code (I don't recognize it as code). It is a seemingly-random character string. I could copy and paste it somewhere but I would not be able to edit it because I don't understand it. EDIT: Clicking in the chat box and pressing the up arrow seems to yield the name of the macro, not its code. In the case of a macro generated by dragging from the character sheet to the macro bar, the name of the macro contains some recognizable information plus a seemingly-random character string.
1585835712
Kraynic
Pro
Sheet Author
You are probably dragging out a roll button from a repeating section of the sheet.  That random string is the row id that differentiates it from any other entries in that repeating section.
I get it now! What I need to do is make the attack, or saving throw, whatever, from the character sheet . Then click in the chat box and press the up arrow, and it prints the code for the macro. Earlier, I was clicking the macro and then going to the chat box and pressing the up arrow. Then all it gave me was the name of the macro. That's not very useful. This is going to be fun!  Thank you The Aaron and keithcurtis and Kraynick!