Making Dialog & Frame windows static?

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
GothFox
Kobold
Posts: 8
Joined: Mon Feb 16, 2015 9:20 am

Making Dialog & Frame windows static?

Post by GothFox »

Hellooo me again, the Java, Html and macro noob :D

1. Is there any possibility to make frames and dialog windows static?

For example

Code: Select all

[dialog("KostLogie"): {
<html>
<head>
<title>Kost & Logie</title>
<image src='[r: tableImage("Preislisten", 1)]'</image>
</html>
}]
Opens a window with a pic. But the window is much smaller than te pic in it (368x695)Each time I open another window I have to resize it manually. The size option from tableImage chanes only the size of the pic, but not the size of the frame.

2. Is there a possibility to show the window to all players, and not only on my screen?

And yes, I read the tutorials in maptool.doc, but I can't find a solution for this.

User avatar
aliasmask
RPTools Team
Posts: 9031
Joined: Tue Nov 10, 2009 6:11 pm
Location: California

Re: Making Dialog & Frame windows static?

Post by aliasmask »

You can set the [dialog:] size with some options.

Code: Select all

[dialog("Window Name","height=200;width=200"): { Stuff inside }]

GothFox
Kobold
Posts: 8
Joined: Mon Feb 16, 2015 9:20 am

Re: Making Dialog & Frame windows static?

Post by GothFox »

Code: Select all

  [dialog("KostLogie","height=695;width=368"): {

      <html>
        <head>
          <title>Kost & Logie</title>
<image src='[r: tableImage("Preislisten", 1)]'</image>
      </html>

    }]
Like this?

User avatar
JamzTheMan
Great Wyrm
Posts: 1872
Joined: Mon May 10, 2010 12:59 pm
Location: Chicagoland
Contact:

Re: Making Dialog & Frame windows static?

Post by JamzTheMan »

FYI you can also set the table image size as well when you get it so both it and the window sizes are static.
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
Custom TokenTool 2.0 Fork: tokentool.nerps.net
More information here: MapTool Nerps! Fork

Post Reply

Return to “Macros”