Jump to content
Sign in to follow this  
Dp138504

GUICtrlSetData

Recommended Posts

Dp138504

how would one go about clearing an input box with this? Ive read the help file and all but i cant figure it out this is the code im using

While 1
    Switch GUIGetMsg()
        Case - 3
            Exit
        case $clear
            GUICtrlSetData( $URL, "http://www.")
    EndSwitch
WEnd


n00bie

Share this post


Link to post
Share on other sites
SmOke_N

While 1
    Switch GUIGetMsg()
        Case - 3
            Exit
        case $clear
            GUICtrlSetData( $URL, "")
            GUICtrlSetData( $URL, "http://www.")
    EndSwitch
WEnd


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
SmOke_N

didn't work :P

Then I don't understand what you are doing... care to make a reproducer script that actually works ... and doesn't do what you want that we can run ourselves?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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  

×