Jump to content

help teh noob.


Recommended Posts

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

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

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
Link to comment
Share on other sites

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...