Search found 52 matches

by nirkedar
Thu Mar 12, 2015 6:37 pm
Forum: MapTool
Topic: Link not passing parameters or token issue
Replies: 0
Views: 542

Link not passing parameters or token issue

This one is stumping me: I have a link displayed as an HTML image. The link calls a macro called [email protected]:Controls and passes the calling Token ("Marco Polo" in this example) as it's parameter. Here is what the link is (when I print it using the broadcast(Link) command for debugging purpo...
by nirkedar
Fri Oct 24, 2014 6:14 am
Forum: Macros
Topic: Issues using the "<" symbol in code
Replies: 2
Views: 288

Issues using the "<" symbol in code

Here's my code: [H: Symbols = json.append("", "<", "=", "!=", "<=", ">=", ">")] [H: broadcast(Symbols)] Here is the result in the Chat window: ["","=","!=","=",">=",">"]...
by nirkedar
Sat Oct 18, 2014 3:09 pm
Forum: Bug Reports
Topic: [1.3b64] <textarea> wrapping
Replies: 12
Views: 1445

Re: [1.3b64] <textarea> wrapping

Did this issue ever get resolved?
I just want to know how to have my textarea control wrap.
by nirkedar
Sun Jul 13, 2014 11:43 am
Forum: Developer Notes
Topic: Redrawing a player's frame
Replies: 19
Views: 4334

Re: Redrawing a player's frame

I think that will do it.
Always a pleasure dealing with you gents.
Thanks.
by nirkedar
Sun Jul 13, 2014 11:10 am
Forum: Developer Notes
Topic: Redrawing a player's frame
Replies: 19
Views: 4334

Re: Redrawing a player's frame

I guess I didn't make my self clear: I know I can refresh a frame on the same machine by simply calling the macro that draws the frame, but I want the GM's action to refresh a frame on the Player's (a different person) computer. Is there a way to send a command to another computer terminal to refres...
by nirkedar
Sun Jul 13, 2014 8:19 am
Forum: Developer Notes
Topic: Redrawing a player's frame
Replies: 19
Views: 4334

Redrawing a player's frame

Is it possible for the GM to have a player's frame (character sheet) redrawn from code. In my situation each player has a frame showing his character sheet. On the sheet, the current movement mode is displayed on it (walk, climb, swim, etc) as well as the movement limit (30 feet, 15 feet, etc). 1. A...
by nirkedar
Wed May 28, 2014 11:43 am
Forum: Developer Notes
Topic: Unresponsive MACRO call.
Replies: 1
Views: 1480

Unresponsive MACRO call.

Can someone figure out why after running the red line, the code never comes back to the next (green) line. [H: macroName = ARG(0)] [H, IF(argCount()>1) : macroParams = ARG(1); macroParams = ""] [H, IF(argCount()>2) : dataToken = ARG(2); dataToken = ""] [H: macroLibName = substrin...
by nirkedar
Mon Apr 07, 2014 5:48 am
Forum: Macros
Topic: Getting values back from execLink
Replies: 6
Views: 557

Re: Getting values back from execLink

I ended up using the macro function in the end. For some strange reason it didn't work for me at first as far as using the original calling token's properties. Only after I manually called switchToken() to the original token did it use the correct properties. LIB:A was calling a macro on LIB:B On LI...
by nirkedar
Mon Apr 07, 2014 2:32 am
Forum: Macros
Topic: Getting values back from execLink
Replies: 6
Views: 557

Re: Getting values back from execLink

Thanks for the replies. I saw both of these suggestions beforehand.

I got around it, but UDF does not work for me here because the macro name is unknown (i.e. has to be determined) before execution. It's complicated.
But thanks anyways.
by nirkedar
Sun Apr 06, 2014 3:59 am
Forum: Macros
Topic: Getting values back from execLink
Replies: 6
Views: 557

Getting values back from execLink

Is there a way to fetch a returning value from execLink() like macro.return does for MACRO() ?

In other words: after calling a certain macro, I can read the returned result by:
[H: MACRO(macroLinkText): params]
[H: Result = macro.return]

How do I retrieve the results of an execLink(macroLinkText)?
by nirkedar
Thu Jun 27, 2013 5:57 am
Forum: Developer Notes
Topic: html tooltip over images
Replies: 4
Views: 2251

Re: html tooltip over images

That did it for me.
Thanks a mil. 8)
by nirkedar
Thu Jun 27, 2013 1:29 am
Forum: Developer Notes
Topic: html tooltip over images
Replies: 4
Views: 2251

Re: html tooltip over images

The image shows (no prob), but the tooltip is still not showing. What am I doing wrong? CODE [H: TokenID = ARG(0)] [H: TokenName = getName(TokenID)] [H: switchToken(TokenID)] [H: ImageFile = strformat('<img border=0 src="%s" />', getTokenImage(60))] <td style="padding:2px 2px; " ...
by nirkedar
Wed Jun 26, 2013 11:45 pm
Forum: Developer Notes
Topic: html tooltip over images
Replies: 4
Views: 2251

html tooltip over images

How do I place a tooltip over an image.
For example, say I wanted the token name to show when I hover over the token image in the Chat window. How would the code for it look like?

TIA.
by nirkedar
Wed Jun 12, 2013 12:00 am
Forum: Macros
Topic: How do I return updated data after displaying some html code
Replies: 14
Views: 765

Re: How do I return updated data after displaying some html

#rantOn A single macro can only have a single return value, and output and return value is almost the same thing for MT macros. It really is a special situation as it is all developed/grown from simple chat-macros. A macro does not create output, it IS output. Takes a while to really understand it....
by nirkedar
Tue Jun 11, 2013 10:07 am
Forum: Macros
Topic: How do I return updated data after displaying some html code
Replies: 14
Views: 765

Re: How do I return updated data after displaying some html

ah ok! so if if I understand it correctly you want the macro have TWO outputs! one to the chat with the html form and one returning some value to the caller macro! correct? Minor correction: The first output is to a frame (not the chat window). [R: frame(("frame name"):{[r:decode(htmlCode...

Go to advanced search