MilesAhead Posted September 14, 2011 Posted September 14, 2011 (edited) Anyone know of a UDF or other method that would be equivalent of $text = GetActiveControlText() $success = SetActiveControlText("some text") ?? I'm wondering why it's required to get controlID. Seems like there should be an equivalent to $text = WinGetText("[ACTIVE]") What I'm trying to do is copy text out of a browser edit(like you would use on a forum) then pasted it back after editing using an external editor. I don't want to have to know all the class names of all the edit controls of all the browsers. It's already been done. I'm just trying to figure out if I can implement it myself. I already have a copy out to temp file using clipboard, but pasting the temp file back seems mysterious. Edited September 14, 2011 by MilesAhead My Freeware Page
Moderators SmOke_N Posted September 14, 2011 Moderators Posted September 14, 2011 ControlGetFocus() 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.
MilesAhead Posted September 14, 2011 Author Posted September 14, 2011 Thanks. Copy out is easy. Maybe I'll just stick with that. Esp. since somebody else already did paste back in. My Freeware Page
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now