09-17-2007, 02:33 AM
This is a macro I made because I got sick of color coding my comments on the forum. It could also be used for adding text to your post, something like a siggie.
It works off of a window trigger and when go to make post on QM forum your auto text will be added to the Message Body of the post. It should work on any Internet Browser, but I have only tested it on IE7.
Function ( QM_AutoText ) Trigger ( !n"Quick Macros :: Post" )
int cnt hwnd=val(_command);str istext AutoText;Htm x0
;1a
if cnt=400
,end
x0=htm("TEXTAREA" "" "" hwnd 0 0 0x20)
err
,cnt+1
,0.1
,goto 1a
istext=x0.Text
if len(istext)<>0
,end
;!!!!!!!!!!! Edit the the code between (AutoText=) and (x0.SetText(AutoText)) !!!!!!!!!!
AutoText=
;[color=darkblue][b]
;
;;[/b][/color]
x0.SetText(AutoText)
;If you need any help PM me on QM forum (JOHN_)