Jump to content

Recommended Posts

Posted (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:

post-45639-0-81746900-1416523555_thumb.j

Edited by Exit

App: Au3toCmd              UDF: _SingleScript()                             

  • Moderators
Posted

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.

Posted

@ 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()                             

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
×
×
  • Create New...