Jump to content

Recommended Posts

Posted

Hi,

I am trying to write an autoit script so that it will automatically click on a button on an html page.I think I can do this using firefox automation(using FF.au3). But, I want it to happen without opening the html file in a browser. Means ,It should happen in the background.Please give me an idea. Thanks

Posted (edited)

AutoIt is capable of many things, but as I see it code like this is open to abuse. Perhaps you have a genuine reason for this request. I suggest you explain it.

Edited by czardas
Posted

Hi,

I want to use this feature for a desktop calculator app. I don have any abuse intentions. see my code below, the code is clicking the button only when the html is active.

Run("C:Program FilesMozilla Firefoxfirefox.exe test.html")

WinWaitActive("[CLASS:MozillaWindowClass]")

Send("^a")

Send("^c")

Send("{TAB}")

Send("{ENTER}")

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...