Jump to content

Recommended Posts

Hi, I'm new to Autoit, and i'm trying my best to understand this.

I'm starting to understand how Auto-It works since i know a little bit of Java, just the basics

I want to be able to use an option where i can send

Text to another Window, in a specific Edit Field...

I think you would use the

ControlSend option... I have the AutoIt Window Info.. I got the Information on where i want to send the Text to:

here it is

Class Edit

Instance 1

Classname NN Edit1

ID 1001

Text

Position 308,148

Size 108,20

ControlClick Coords 43,7

Style 0x58010080

ExStyle 0x00000204

If you guys would also help me with what statement i would type of i wanted to Change the title of another window...

If theres a Dictionary for Autoit statements could you please refer me to one,

Thanks alot! :)

Link to post
Share on other sites

Being it is a standard edit control you could also use the GuiEdit UDFs in the Beta, for example:

#include <GuiEdit.au3>

Run("notepad")
WinWaitActive("Untitled -")

$handle = ControlGetHandle("Untitled -", "", "Edit1")

_GUICtrlEdit_AppendText($handle, "This is a test of the edit functions" & @CRLF & "This is only a test")
MsgBox(0,"Test", _GUICtrlEdit_GetText($handle))

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to post
Share on other sites

Oh My god!! Thx it worked... Now How Do i rename another window.

For example This window.. The WebBrowser Window is currently named

How would I?-AutoIt Forums...

If i wanted to change it too

Explorer,

How would i do that?

Edited by demonsc
Link to post
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...