Jump to content
Sign in to follow this  
Guest liontamer

Controlgettext And Controlsettext

Recommended Posts

Guest liontamer

hallo all, I've just started with autoitv3.I am using it to automate a 3d modelling program to create compound objects that would be awkward to make by hand.

Basically i need to read and write to a Transformation dialog which contains the 3d coords of a particular object or point within an object.

These values are held in edit boxes which au3spy shows as Edit1,Edit2,Edit3.

I have got to a point where the dialog is open and the edit1 value is highlighted.

Now i can change this value using:-

ControlSetText("Transformation Parameters", "", "Edit1", "12345")

But when I try:-

$var=ControlGetText("Transformation Parameters", "", "Edit1")

No value for $var is returned(empty string?)! I can work around it by copying to clipboard and then using clipget() but it would be tidier if ControlGetText worked.

Anybody have any idea why it should work one way and not the other?

any info appreciated.


Share this post

Link to post
Share on other sites


I just tried a similiar command in a 3d modeling program of my own, and came across no problems. Perhaps this is a problem specific to your own software... my only advise would be to ensure that you have the correct title for the sub-window, and that text is actually where you intend to read.

Sorry I couldn't be of more help.

Share this post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...