Jump to content

Recommended Posts

Posted

hello.

I've just started with autoIt and I've got some problems.

I try to make a scripts to install somes programs but nothings work...on seven.

When a GUI window is poping up I can't handle anymore this new window, and the strange thing is that this window is ACTIVE and ON TOP so I was wondering if you could help me with a little "magicalgeektouch"

here is an example of my script:

Run('C:\Storage\progs\wrar380fr.exe')

WinWaitActive("WinRAR 3.80","")

MouseClick("left",306,8,1)

MouseClick("left",448,118,1)

WinWaitActive("find folder","")

MouseClick("left",35,88,1)

MouseClick("left",52,300,1)

MouseClick("left",53,88,2)

MouseClick("left",23,92,1)

MouseClick("left",73,299,1)

Send("winrar")

MouseClick("left",193,295,1)

WinWaitActive("WinRAR 3.80","")

MouseClick("left",202,373,1)

WinWaitActive("Configuration of WinRAR","")

MouseClick("left",230,65,1)

MouseClick("left",229,374,1)

MouseClick("left",244,370,1)

WinWaitActive("WinRAR","")

MouseClick("left",786,12,1)

Posted (edited)

  On 1/6/2010 at 1:31 PM, 'dot45 said:

also it might be better to use controlclicks instead of mouseclicks.

I fully agree.

The source of problems in such MouseClick() scripts can be also on previous systems for example:

- user has different theme (with different window's title/frame sizes --> this is probably source of problem on WIN7 here)

- user has different screen resolution

- user has different position of main Windows' toolbar (for example at top instead of bottom)

- ...

Edited by Zedna

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...