DrNoiseWater Posted January 28, 2009 Share Posted January 28, 2009 well.. yeah. i cant seem to get my text in the text bar.. im not getting any error reports or anything.. the text doesnt appear.. if anyone can please help me. i've been at this for about a week lol. Link to comment Share on other sites More sharing options...
bo8ster Posted January 28, 2009 Share Posted January 28, 2009 Do you mean title bar? Can you post up any code? Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic] Link to comment Share on other sites More sharing options...
DrNoiseWater Posted January 28, 2009 Author Share Posted January 28, 2009 Do you mean title bar?Can you post up any code?ok i got this ControlSend("What im accessing", "", "[CLASSNN:Edit1]", "4444")im trying to get that 4444 in a text boxim not sure if i even have the right sequence. Link to comment Share on other sites More sharing options...
bo8ster Posted January 28, 2009 Share Posted January 28, 2009 That looks ok. That will send "4444" to an edit control in the window called "What im accessing". Its like send but to a control. Check against the help file for syntax. Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic] Link to comment Share on other sites More sharing options...
DrNoiseWater Posted January 28, 2009 Author Share Posted January 28, 2009 That looks ok. That will send "4444" to an edit control in the window called "What im accessing". Its like send but to a control.Check against the help file for syntax.Gotcha, i really appreaciate it, thx Link to comment Share on other sites More sharing options...
DrNoiseWater Posted January 28, 2009 Author Share Posted January 28, 2009 is there another command for sending text to a text box? Link to comment Share on other sites More sharing options...
DrNoiseWater Posted January 28, 2009 Author Share Posted January 28, 2009 aside from this? ControlSend("what im accessing", "", "[CLASS:Edit; INSTANCE:1]", "4444") is there another or alternaet command i can use>? Link to comment Share on other sites More sharing options...
DrNoiseWater Posted January 28, 2009 Author Share Posted January 28, 2009 bump Link to comment Share on other sites More sharing options...
qazwsx Posted January 28, 2009 Share Posted January 28, 2009 One usually doesn't bump unless it has been 24 hours. Also choose a title that describes your question. try: send or controlsettext Link to comment Share on other sites More sharing options...
PsaltyDS Posted January 28, 2009 Share Posted January 28, 2009 (edited) aside from this? ControlSend("what im accessing", "", "[CLASS:Edit; INSTANCE:1]", "4444") is there another or alternaet command i can use>? You keep posting that on a broken line, are you really trying to use it that way? Should be: ControlSend("what im accessing", "", "[CLASS:Edit; INSTANCE:1]", "4444") And that should work perfectly well, assuming "what im accessing" is really a case-sensitive match to the window title. You could also user ControlSetText(), but the syntax is exactly the same. If that doesn't work, use AU3Info.exe to check the window and control, then post the data from the Summary tab. Edited January 28, 2009 by PsaltyDS Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
bo8ster Posted January 28, 2009 Share Posted January 28, 2009 aside from this? ControlSend("what im accessing", "", "[CLASS:Edit; INSTANCE:1]", "4444") is there another or alternaet command i can use>?You could set focus via CommandFocus, tabbing or mouse click then use Send() but I recommend CommandSend() or ControlSetText(). Be sure to look at the @error for any errors that may be returned. Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic] 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