metis Posted March 6, 2011 Share Posted March 6, 2011 I have a problem because, as I do to paste the text in the window. Me code Autoit _FFXPath("//textarea[@id='ChatText']", "", 9) _FFObj("xpath.value = ''^v''") Does not paste text in the box just paste the active window on my notepad. The program is running in the background Link to comment Share on other sites More sharing options...
Stilgar Posted March 6, 2011 Share Posted March 6, 2011 I have a problem because, as I do to paste the text in the window. Me code Autoit _FFXPath("//textarea[@id='ChatText']", "", 9) _FFObj("xpath.value = ''^v''") Does not paste text in the box just paste the active window on my notepad. The program is running in the background Hello, try _FFSetValue and ClipGet() instead: _FFSetValue( ClipGet(), "ChatText", "id") ; or your code: _FFXPath("//textarea[@id='ChatText']", "", 9) _FFObj("xpath.value = '" & ClipGet() & "'") Stilgar jEdit4AutoIt PlanMaker_UDF Link to comment Share on other sites More sharing options...
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