Sorry Nick for the confusion.
So i need to check and try to adapt the WindowText.
function outlined_text (colour, window, text, size, x, y)
outlineColour = colourBlack
-- write the information inside
WindowFont(window,'f','Times New Roman',size,1,0,0,0)
-- smear black text around the location to create an outline, so that it's clearer to read
WindowText(window,'f',text,x+1,y+1,0,0,outlineColour,0)
WindowText(window,'f',text,x+1,y,0,0,outlineColour,0)
WindowText(window,'f',text,x+1,y-1,0,0,outlineColour,0)
WindowText(window,'f',text,x,y+1,y,0,outlineColour,0)
WindowText(window,'f',text,x,y-1,y,0,outlineColour,0)
WindowText(window,'f',text,x-1,y+1,0,0,outlineColour,0)
WindowText(window,'f',text,x-1,y,0,0,outlineColour,0)
WindowText(window,'f',text,x-1,y-1,0,0,outlineColour,0)
-- display the text
WindowText(window,'f',text,x,y,0,0,colour,0)
end -- outlined_text
The only place where i have WindowText is in this function. So this function creates the text in the little balloon?
I've created the macros that you teached me earlier in this post, one for every F key, so i have macro1 to macro12. How can i set, lets say, keywords for everyone of those macros? I can write them manually but i want them to be displayed. |