This is a port of the example Script in How about a progressbar like this? to an UDF. These are the functions: #cs ---------------------------------------------------------------------------- AutoIt Version: 3.2.12.0 Author: Prog@ndy after Script from nobbe ( 2008 in http://www.autoitscript.com/forum/index.php?s=&showtopic=64703&view=findpost&p=485031 ) Script Function: A UDF for colored Progressbars with GDIPlus Remarks: Theres an exam