Here is what I have:
AutoIt
#include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #Include <Clipboard.au3> #Region ### START Koda GUI section ### Form= $Form1 = GUICreate("Form1", 623, 137, 192, 124) $FitName = GUICtrlCreateEdit("Fit Name", 253, 40, 121, 21, BitOR($ES_AUTOHSCROLL,$ES_WANTRETURN,$WS_HSCROLL)) $View = GUICtrlCreateEdit("", 8, 8, 601, 21, BitOR($ES_AUTOHSCROLL,$ES_WANTRETURN,$WS_HSCROLL)) $Link = GUICtrlCreateEdit("Link", 253, 72, 121, 21, BitOR($ES_AUTOHSCROLL,$ES_WANTRETURN,$WS_HSCROLL)) $Generate = GUICtrlCreateButton("Generate", 276, 104, 75, 25) GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Link GUICtrlSetData($Link,"") GUICtrlSetData($Link, _ClipBoard_GetData()) Case $View _ClipBoard_SetData($View) Case $Generate $str = StringReplace(GUICtrlRead($Link), "fitting:", "<a onclick=" & Chr(34) & "CCPEVE.showFitting('") & "')" & Chr(34) & ">" & GUICtrlRead($FitName) & "</a>" GUICtrlSetData($View, $str) EndSwitch WEnd
*edit Should be easier to read with the color codes in now.
Edited by AceSentinal, 05 March 2011 - 02:07 AM.





