 	SetWinDelay, -1
 	global TransparencyPercent
 	global Console_2_Mode
+	global Console_Mode
 	WinSet, Transparent, % currentTrans:=(abs(100-TransparencyPercent)/100)*255 , ahk_id %WindowHWND%
 	Winset, AlwaysOnTop, On, ahk_id %WindowHWND%
 	

		_tx:=((HorizontallyCentered) ? ((cmd_w_fix<A_ScreenWidth) ? abs((A_ScreenWidth-cmd_w_fix)/2) : 0) : 0) +((Console_2_Mode) ? 0 : -2)
		_ty:=((BottomPlaced) ? ((xC_height<A_ScreenHeight) ? abs(A_ScreenHeight-xC_height+( (WinTenPlus!=0) ? 16 : 0 )) : 0) : ((Console_2_Mode) ? 0 : -2))
		
		WinMove,%con%,,_tx, _ty
		
		;///////////////////////// [ XP Patch ] /////////////////////////

			AttachConsole(cPID)
			hs:=getStdoutHandle()
			cmd_int_fwidth:=getFontWidth()
			
			if (WinTenPlus) {
				GetConsoleSize(cmd_w_int,t_console_height)
				setconsoleSize(cmd_w_int,t_console_height)
				cmd_w_fix := winW
			} else {
				cmd_w_int:=(CMD_Width//cmd_int_fwidth)
				t_console_height:=getConsoleHeight()
				setconsoleSize(cmd_w_int,t_console_height)
				cmd_w_fix:=(cmd_w_int*cmd_int_fwidth)
			}
			
			winW:=CMD_Width+50
			
			SysGet,tbarH__,4
			WinMove,%con%,,,,%winW%,(xC_height+tbarH__)

			WindowDesign(hc)
			
			;debugMsgBox(cmd_w_int,t_console_height,tbarH__,xC_height,winW,"_______",cmd_a_w,cmd_a_h)
			
			;///////////////////////// [ XP Patch ] /////////////////////////
			if (XPMode) {
