Exit Posted November 20, 2014 Share Posted November 20, 2014 (edited) There are several methods to fill a browser input field: Send(), ControlSend(), _IEPropertySet(), ... ... but I am only interested in _IEAction($oObejct, "paste") Please do not propose circumventions with other functions. Here a reproducer: #include <IE.au3> _Example() Func _Example() $oIE = _IECreate("http://autoit.oo3.co/example.html") $oObejct = _IEGetObjById($oIE, "text") _IEAction($oObejct, "focus") ClipPut("This is text from clipboard") _IEAction($oObejct, "paste") EndFunc ;==>_Example How to prevent this nagging prompt: Edited November 20, 2014 by Exit App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted November 21, 2014 Moderators Share Posted November 21, 2014 http://superuser.com/questions/476210/disable-do-you-want-to-allow-this-webpage-to-access-your-clipboard-message 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. Link to comment Share on other sites More sharing options...
Exit Posted November 21, 2014 Author Share Posted November 21, 2014 @SmOke_N Thanks for the useful pointer. @ALL Does somebody knows how to change these security setting without using the GUI ? (WinAPI, Registry, ....) I would like to set https://translate.google.com to allow clipboard operations. TIA Exit App: Au3toCmd UDF: _SingleScript() Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted November 21, 2014 Moderators Share Posted November 21, 2014 http://support.microsoft.com/kb/182569 HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionInternet SettingsZones HKEY_LOCAL_USER as well The key code (Name) is 1407 In zones 0-3, it looks like it needs to be set to 0 P.S. You could have found this the same way I did, I simply googled it. 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. Link to comment Share on other sites More sharing options...
Exit Posted November 22, 2014 Author Share Posted November 22, 2014 @ SmOke_N Thanks for the information. I also tried to google it, but the German keywords mostly don't match and the English words are not visible in German popups. Anyway, thanks a lot for your time. App: Au3toCmd UDF: _SingleScript() 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