MilesAhead 23 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 Share this post Link to post Share on other sites
SmOke_N 211 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. Share this post Link to post Share on other sites
MilesAhead 23 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 Share this post Link to post Share on other sites