layer 2 Posted November 29, 2004 (edited) Is there a way to make the font a ddiferent color and have a different style when it will be typed into a different window? And can I make it press shift enter before the text is typed? Heres the code: Func FakeSN () GUICreate ("Fake Screename", 600, 250) GUISetState (@SW_SHOW) $i= GUICtrlCreateInput ("", 10, 25) $l= GUICtrlCreateLabel ("Enter the users screename you want to send the fake sn to:", 1, 1) $i2= GUICtrlCreateInput ("", 100, 100) $l2= GUICtrlCreateLabel ("Enter the fake screename you would like and the message seperating each with a semi colon:", 70, 70) $b= GUICtrlCreateButton ("Go!", 150, 150, 50, 50) While 1 $get= GUIGetMsg () Select Case $get= $GUI_EVENT_CLOSE Exit Case $get= $b $getin= GUIRead ($i) $screenname = $getin $getin2= GUIRead ($i2) $message = $getin2 If StringInStr($screenname, " ") Then $screenname = StringReplace($screenname, " ", "+", 0, 0) EndIf If StringInStr($message, " ") Then $message = StringReplace($message, " ", "+", 0, 0) EndIf Run(@ComSpec & ' /c start aim:goim?screenname=' & '"' & $screenname & '&message=' & $message, '',@SW_HIDE) Opt("WinTitleMatchMode", 2) WinWait("Instant Message") EndSelect WEnd EndFunc Now I'm havong trouble making AutoIt send Shift and Enter... I know what function to yous, but where would it go? Like the part here Run(@ComSpec & ' /c start aim:goim?screenname=' & '"' & $screenname & '&message=' & $message, '',@SW_HIDE) How would I make it so that before it types $message it makes it bold, sends Shift and Enter and makes the font red or blue, I forgot, lets just say blue for now... Thanks for the help PS: I know that one function won't appear like magic, but I would like some suggestions, thank you. Edited November 29, 2004 by layer FootbaG Share this post Link to post Share on other sites
ZeDMIN 0 Posted November 29, 2004 errr .... why would u try to send a shift+enter in a run command?????? makes no sense to me. i don't have AIM so i can't test it. maybe you can tell me what happens after the run-command? does it send the message or does just appear a box ready-to-send? Greetings, ZeD Share this post Link to post Share on other sites
the_lord_mephy 0 Posted November 30, 2004 Shift enter makes a line break. Enter just sends the message. My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote] Share this post Link to post Share on other sites
the_lord_mephy 0 Posted November 30, 2004 Shift enter makes a line break. Enter just sends the message. You could do Send({shift down}) Send({enter}) Send({shift up}) or maybe even Send({shift down}{enter}{shift up}) =-P My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote] Share this post Link to post Share on other sites
the_lord_mephy 0 Posted November 30, 2004 Why that posted like that? I have no idea. My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote] Share this post Link to post Share on other sites