Auto-close dialog/frame after macroLink clicked?

Discuss macro implementations, ask for macro help (to share your creations, see User Creations, probably either Campaign Frameworks or Drop-in Resources).

Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice

Post Reply
User avatar
Cave Troll
Posts: 40
Joined: Thu Oct 31, 2019 3:45 am

Auto-close dialog/frame after macroLink clicked?

Post by Purzelkater »

I'm not sure if this is possible...

Well, I have a dialog, opens a window with a bunch of macroLinks on it (like a rule book index list). Now I can click on a link an it opens the current linked rule section.
But the dialog window with all the links is still open and the new opened frame with the rule I have clicked is on the background of this window.

So now my question is: It is possible to close a dialog if a macroLink on this dialog is clicked?

I think I have found it: closeDialog() and closeFrame() should do this. Just have to insert this on the linked target.

Kind regards
from Purzelkater

Post Reply

Return to “Macros”