i tried this code but it didnt work, why??? i just want to color highlighted text in input6.... not all the text in input6.... can someone help please ???Code:result1 = Input.GetText("Input1"); result6 = Input.SetSelection("Input1", 1, -1); if result6 == "" then Dialog.Message("Notice", "error", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1); else undot = Input.GetText("Input1"); cbsa1 = ComboBox.GetSelected("ComboBox4"); cbsa = ComboBox.GetItemData("ComboBox4", cbsa1); Input.SetText("Input1", result1.."[color="..cbsa.."]"..result6.."[/color]"); Input.SetText("Input6", ""); end

