nestcle Posted August 8, 2008 Share Posted August 8, 2008 How do I send text with a variable? Link to comment Share on other sites More sharing options...
DjDeep00 Posted August 8, 2008 Share Posted August 8, 2008 $My_Variable="Hello World" Send($My_Variable) Link to comment Share on other sites More sharing options...
nestcle Posted August 8, 2008 Author Share Posted August 8, 2008 $My_Variable="Hello World" Send($My_Variable) Thanks for the reply, but ineed something like this Heres my code ;Declaring Vars $GetChannel=IniRead ( "C:/Pretendo Leech.ini", "Settings", "Channel", "" ) $GetD2Name=IniRead ( "C:/Pretendo Leech.ini", "Settings", "D2 Window Name", "" ) $var = ControlGetText("Untitled - Notepad", "", "Edit1") WinActivate("D2Loader", "") Sleep( 400 ) MouseClick("left", 109, 433, 2) After MouseClick("left", 109, 433, 2) I need to send /join then the result of $GetChannel Link to comment Share on other sites More sharing options...
martin Posted August 8, 2008 Share Posted August 8, 2008 Thanks for the reply, but ineed something like this Heres my code ;Declaring Vars $GetChannel=IniRead ( "C:/Pretendo Leech.ini", "Settings", "Channel", "" ) $GetD2Name=IniRead ( "C:/Pretendo Leech.ini", "Settings", "D2 Window Name", "" ) $var = ControlGetText("Untitled - Notepad", "", "Edit1") WinActivate("D2Loader", "") Sleep( 400 ) MouseClick("left", 109, 433, 2) After MouseClick("left", 109, 433, 2) I need to send /join then the result of $GetChannelMaybe Send('/join ' & $GetChannel) Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
Nevin Posted August 8, 2008 Share Posted August 8, 2008 Yeah, we need more D2 bots. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now