Search found 155 matches

by Sydious
Sun Sep 25, 2011 7:07 pm
Forum: Macros
Topic: IF and Image Button
Replies: 12
Views: 745

Re: IF and Image Button

That was my original thought.... It baffles me though because I use the same name on the buttons in this macro...and all works correctly... The Dialog window with buttons named the same... [dialog("Start Turn", "width=400; height=400; temporary=1; input=0; noframe=0"):{ <html> [h...
by Sydious
Sun Sep 25, 2011 6:15 pm
Forum: General Discussion
Topic: The Board Game Project for Maptool
Replies: 46
Views: 5562

Re: The Board Game Project for Maptool

After reading most of these posts a question popped up... As long as nobody charges for anything....isn't it ok to use a comercial board game like monopoly and risk? I always thought as long as you don't take credit...and charge money...you could do that...I'm no lawyer so.... oh and as a side note....
by Sydious
Sun Sep 25, 2011 5:47 pm
Forum: Macros
Topic: IF and Image Button
Replies: 12
Views: 745

Re: IF and Image Button

I find it strange that it does display the correct image on the buttons but the values seem to be set by the last If statement.

I assume it is the IF statements that are causing the issue, but I don't know why. You would think if the correct Image is displayed, then the correct value should follow.
by Sydious
Sun Sep 25, 2011 5:31 pm
Forum: Macros
Topic: IF and Image Button
Replies: 12
Views: 745

Re: IF and Image Button

Durring my trouble shooting, I changed the value of CMU to 1 instead of 0 and ALL buttons turn to value "Down".

It's like the last button sets the value for ALL the other buttons.
by Sydious
Sun Sep 25, 2011 3:49 pm
Forum: Macros
Topic: IF and Image Button
Replies: 12
Views: 745

Re: IF and Image Button

Not how I think I wrote it... There are 2 values I am setting on the IF statement. value = "No Passage" if CMU = 0 or value = "Up" if EMU = 1. <td colspan = "2" align = "center"> [r,if(CMU==0): "<input type='image' src='"+getImage("Image:NoPassa...
by Sydious
Sun Sep 25, 2011 1:22 pm
Forum: Macros
Topic: IF and Image Button
Replies: 12
Views: 745

Re: IF and Image Button

I tried both methods last night and I get the same results. It seems like the last input in the code defines the value. My buttons are created correctly with the correct image, but the value for all of them becomes that last button in the code value.
by Sydious
Sat Sep 24, 2011 11:59 pm
Forum: Macros
Topic: IF and Image Button
Replies: 12
Views: 745

Re: IF and Image Button

I took Rumbles route on this one. Now I have another issue. Maybe it's not related.... I am using 4 diffrent image buttons and one submit button on my dialog. When I press any of the buttons, the macro.args are all the same. btnMove.value = "No Passage" The ones that have the value of &quo...
by Sydious
Sat Sep 24, 2011 10:40 pm
Forum: Macros
Topic: IF and Image Button
Replies: 12
Views: 745

Re: IF and Image Button

As always.. Thanks Ali.

response time is crazy fast!

(And Rumble! must have posted while I put my reply. :) )
by Sydious
Sat Sep 24, 2011 10:24 pm
Forum: Macros
Topic: IF and Image Button
Replies: 12
Views: 745

IF and Image Button

I am trying to use an IF roll option to either display a line of text OR an image button depending on the if statement. Here is the line of code I have. [r, if(CMU ==0): "Can't Move" ; "<input type="image" src="[r: getImage("image:Arrow_Up")]" name="...
by Sydious
Sat Sep 24, 2011 3:28 pm
Forum: User Creations
Topic: Notepad++ Maptool Text Editor config file [UPDATE: 5/31/12]
Replies: 104
Views: 64522

Re: Notepad++ Maptool Text Editor config file [UPDATE: 2/26]

I have decided to try NP++ out for codeing Maptool macros. Looks like it will make it easier. I decided to use the .zip install. I am attempting to place the userDefineLang.xml and shortcuts.xml files in the locations you instructed, but I do not have a notepad++ folder in the application data fold...
by Sydious
Sat Sep 24, 2011 1:38 am
Forum: Macros
Topic: Esc
Replies: 3
Views: 274

Re: Esc

um.....ok. Is there any documentation on that? I'm just catching on to input. I trip my way through it. I've manged to use submit and hidden inputs sucessfully.
by Sydious
Fri Sep 23, 2011 11:26 pm
Forum: Macros
Topic: Esc
Replies: 3
Views: 274

Esc

I don't suppose there is a way to disable the ESC key for when you have a dialog window open? Looking to stop someone from escaping out of a dialog window. Possible?
by Sydious
Fri Sep 23, 2011 8:21 pm
Forum: Macros
Topic: Setting Dialog Window Size
Replies: 3
Views: 249

Re: Setting Dialog Window Size

Ahh sorry. Didn't notice the bottom example. Was focusing on the first chunk of code.

Thanks.
by Sydious
Fri Sep 23, 2011 8:05 pm
Forum: Macros
Topic: Setting Dialog Window Size
Replies: 3
Views: 249

Setting Dialog Window Size

I am confused how you set the size of a dialog window with the dialog roll option.

Can someone provide me an example on how to do that?
Wiki didn't help me.
by Sydious
Fri Sep 23, 2011 6:30 pm
Forum: User Creations
Topic: Notepad++ Maptool Text Editor config file [UPDATE: 5/31/12]
Replies: 104
Views: 64522

Re: Notepad++ Maptool Text Editor config file [UPDATE: 2/26]

I have decided to try NP++ out for codeing Maptool macros. Looks like it will make it easier. I decided to use the .zip install. I am attempting to place the userDefineLang.xml and shortcuts.xml files in the locations you instructed, but I do not have a notepad++ folder in the application data folde...

Go to advanced search