Jump to content

Recommended Posts

Posted

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.

Posted

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]

Posted

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 box

im not sure if i even have the right sequence.

Posted

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]

Posted

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

Posted (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 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
Posted

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]

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...