Jump to content
Sign in to follow this  

open IE and write in two input and click enter

Recommended Posts


Sorry i am not very good in english.

Hi all,

I will put an icon which is an .exe on the desk.

When you click on it, the navigator of the person above opens with a URL quite precise.

Example : I click on it and the navigator go to google.

After I need to write in two fields text and press enter.

Example : In google, you write 'informatique' and press enter for the search.

I hope you understand my idea. thank you, bye all.

En français

Bonjour à tous,

Je vais mettre un icone qui est le raccourci de l'exe sur le bureau de la personne.

Je veux qu'en cliquant dessus le navigateur de la personne s'ouvre à une url bien précise.

exemple: je clique sur l'icone et j'arrive sur google.

Après je veux que l'exe écrive dans deux champs texte.

exemple: écrire dans google toto et valide

mais il y a qu'un champs texte et moi j'en ai deux.

voilà en gros mon idée.

merci de ton attention, bye all.

Edited by tiyolx

Share this post

Link to post
Share on other sites

#include <IE.au3>

$url = "www.google.com"
$search = "AutoIt"

$oIE = _IECreate($url, 1)
$oForm = _IEFormGetObjByName($oIE, "f")
$oInput = _IEFormElementGetObjByName($oForm, "q")
_IEFormElementSetValue($oInput, $search)

IE Dev ToolbarMSDN: InternetExplorer ObjectMSDN: HTML/DHTML Reference Guide[quote]It is surprising what a man can do when he has to, and how little most men will do when they don't have to. - Walter Linn[/quote]--------------------[font="Franklin Gothic Medium"]Post a reproducer with less than 100 lines of code.[/font]

Share this post

Link to post
Share on other sites

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
Sign in to follow this