Hola wbueso lo que pasa que no estabas leyendo lo que hay en el control. sino que pasabas el ID del control.
Entonces para obtener lo que esta en nuestro control $User hacemos esto.
Ahí te lo corregí, te agregue una nueva variable $sUser.
Código: Seleccionar todo
#########################################################################################################
;Inicia los Include
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <StaticConstants.au3>
#include <File.au3>
#include <Array.au3>
#########################################################################################################
;Crea la GUI (Ventana)
GuiCreate("Proyecto Creado por Zimrry Zelaya",510,430,2,2)
#########################################################################################################
;Crea los controles (Botones)
Global $ABoton = 50, $GBoton = 50, $User, $Pass
#########################################################################################################
;Primera linea de controles
Global $ArribaB1 = 25, $ArribaL1 = 75
GUICtrlCreateGroup("Herramientas de WIndows",5,2,420,105)
GUICtrlCreateIcon("Icons\Windows 3.ico","",365,25,55,50)
$Boton_Calc = GUICtrlCreateButton("",10,$ArribaB1,$ABoton,$GBoton,$BS_ICON)
GUICtrlCreateLabel("Calculadora",10,$ArribaL1,50,30)
GUICtrlSetImage($Boton_Calc,"Icons\Calc.ico",22)
$Boton_Mapa = GUICtrlCreateButton("",70,$ArribaB1,$ABoton,$GBoton,$BS_ICON)
GUICtrlCreateLabel("Mapa de caracteres",70,$ArribaL1,50,30)
GUICtrlSetImage($Boton_Mapa,"Icons\MapaCaracteres.ico",22)
$Boton_Bloc = GUICtrlCreateButton("",130,$ArribaB1,$ABoton,$GBoton,$BS_ICON)
GUICtrlCreateLabel("Bloc de Notas",130,$ArribaL1,50,30)
GUICtrlSetImage($Boton_Bloc,"Icons\Bloc.ico",22)
$Boton_WordPad = GUICtrlCreateButton("",190,$ArribaB1,$ABoton,$GBoton,$BS_ICON)
GUICtrlCreateLabel("WordPad",190,$ArribaL1,60,30)
GUICtrlSetImage($Boton_WordPad,"Icons\wordpad.ico",22)
$Boton_Teclado = GUICtrlCreateButton("",250,$ArribaB1,$ABoton,$GBoton,$BS_ICON)
GUICtrlCreateLabel("Teclado en Pantalla",248,$ArribaL1,55,30)
GUICtrlSetImage($Boton_Teclado,"Icons\Teclado en Pantalla 4.ico",0)
$Boton_Media = GUICtrlCreateButton("",310,$ArribaB1,$ABoton,$GBoton,$BS_ICON)
GUICtrlCreateLabel("Windows Player",313,$ArribaL1,55,30)
GUICtrlSetImage($Boton_Media,"Icons\Media Player.ico",0)
#########################################################################################################
;Segunda linea de controles
Global $ArribaB2 = 140, $ArribaL2 = 190
GUICtrlCreateGroup("Herramientas de Microsoft Office",5,117,355,105)
GUICtrlCreateIcon("Icons\Office 2.ico","",308,145,40,40)
$Boton_Word = GUICtrlCreateButton("",8,$ArribaB2,$ABoton,$GBoton,$BS_ICON)
GUICtrlCreateLabel("Microsoft Word",8,$ArribaL2,55,30)
GUICtrlSetImage($Boton_Word,"Icons\Word 3d2.ico",0)
$Boton_Excel = GUICtrlCreateButton("",68,$ArribaB2,$ABoton,$GBoton,$BS_ICON)
GUICtrlCreateLabel("Microsoft Excel",68,$ArribaL2,55,30)
GUICtrlSetImage($Boton_Excel,"Icons\Excel 3d.ico",0)
$Boton_PP = GUICtrlCreateButton("",128,$ArribaB2,$ABoton,$GBoton,$BS_ICON)
GUICtrlCreateLabel("Microsoft Power Point",123,$ArribaL2,60,30)
GUICtrlSetImage($Boton_PP,"Icons\Power Point 3d.ico",0)
$Boton_Access = GUICtrlCreateButton("",188,$ArribaB2,$ABoton,$GBoton,$BS_ICON)
GUICtrlCreateLabel("Microsoft Access",188,$ArribaL2,60,30)
GUICtrlSetImage($Boton_Access,"Icons\Access.ico",0)
$Boton_Publisher = GUICtrlCreateButton("",248,$ArribaB2,$ABoton,$GBoton,$BS_ICON)
GUICtrlCreateLabel("Microsoft Publisher",248,$ArribaL2,60,30)
GUICtrlSetImage($Boton_Publisher,"Icons\publisher 3d.ico",0)
#########################################################################################################
;Tercera linea de controles
Global $ArribaB3 = 253, $ArribaL3 = 303
GUICtrlCreateGroup("Herramientas de Internet",5,230,355,105)
GUICtrlCreateIcon("Icons\Intrenet.ico","",305,260,45,40)
$Boton_Hotmail = GUICtrlCreateButton("",8,$ArribaB3,$ABoton,$GBoton,$BS_ICON)
GUICtrlCreateLabel("Hotmail",13,$ArribaL3,55,30)
GUICtrlSetImage($Boton_Hotmail,"Icons\Hotmail.ico",0)
$Boton_Yahoo = GUICtrlCreateButton("",68,$ArribaB3,$ABoton,$GBoton,$BS_ICON)
GUICtrlCreateLabel("Yahoo",78,$ArribaL3,55,30)
GUICtrlSetImage($Boton_Yahoo,"Icons\Yahoo.ico",0)
$Boton_Gmail = GUICtrlCreateButton("",128,$ArribaB3,$ABoton,$GBoton,$BS_ICON)
GUICtrlCreateLabel("Gmail",138,$ArribaL3,60,30)
GUICtrlSetImage($Boton_Gmail,"Icons\GMail.ico",0)
$Boton_Google = GUICtrlCreateButton("",188,$ArribaB3,$ABoton,$GBoton,$BS_ICON)
GUICtrlCreateLabel("Google",195,$ArribaL3,60,30)
GUICtrlSetImage($Boton_Google,"Icons\Google.ico",0)
$Boton_Facebook = GUICtrlCreateButton("",248,$ArribaB3,$ABoton,$GBoton,$BS_ICON)
GUICtrlCreateLabel("Facebook",248,$ArribaL3,60,30)
GUICtrlSetImage($Boton_Facebook,"Icons\Facebook.ico",0)
#########################################################################################################
$Boton_Salir = GUICtrlCreateButton("Salir",5,400,60,25)
$User = GUICtrlCreateInput("",5,340,110,20)
$Pass = GUICtrlCreateInput("",5,365,110,20)
Local $sUser=""
GUICtrlCreateLabel("@????????.com",120,343,100,30)
GUISetState(@SW_Show)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $Boton_Calc
ShellExecuteWait("Calc.exe")
Case $Boton_Mapa
ShellExecuteWait(@SystemDir&"\charmap.exe")
Case $Boton_Bloc
ShellExecuteWait(@SystemDir&"\notepad.exe")
Case $Boton_WordPad
ShellExecuteWait(@ProgramFilesDir&"\Windows NT\Accesorios\wordpad.exe")
Case $Boton_Teclado
ShellExecuteWait(@SystemDir&"\osk.exe")
Case $Boton_Media
ShellExecuteWait(@ProgramFilesDir&"\Windows Media Player\wmplayer.exe")
Case $Boton_Word
ShellExecuteWait(@ProgramFilesDir&"\Microsoft Office\OFFICE11\WINWORD.EXE")
Case $Boton_Excel
ShellExecuteWait(@ProgramFilesDir&"\Microsoft Office\OFFICE11\EXCEL.EXE")
Case $Boton_PP
ShellExecuteWait(@ProgramFilesDir&"\Microsoft Office\OFFICE11\POWERPNT.EXE")
Case $Boton_Access
ShellExecuteWait(@ProgramFilesDir&"\Microsoft Office\OFFICE11\MSACCESS.EXE")
Case $Boton_Publisher
ShellExecuteWait(@ProgramFilesDir&"\Microsoft Office\OFFICE11\MSPUB.EXE")
Case $Boton_Hotmail
ShellExecute("www.hotmail.com") ;========== Aqui es donde me he estancado
WinWaitActive("Iniciar sesión","")
WinActivate("Iniciar sesión","")
Sleep(1000)
;Aignamos a nuestra variable $sUser lo que hay en el control $User
$sUser=GUICtrlRead($User)
Send($sUser & "@hotmail.com")
Case $Boton_Yahoo
Case $Boton_Gmail
Case $Boton_Google
Case $Boton_Facebook
Case $GUI_EVENT_CLOSE
Exit
Case $Boton_Salir
Exit
EndSwitch
WEnd