Jump to content

How to stop when last file is clicked on a list?


Recommended Posts

Hi, I am new to Autoit, and am trying to get my script to stop after it doubleclicks on the last file

in a list.

Is there a command to detect when a mouseclick does NOT pull up a file? I tried several hours searching the help file and this forum, if somebody could just help me with the terminology to search for, I would really appreciate any help.

Thanks,

jm

Link to comment
Share on other sites

Post your script.

Sorry - Here it is - I want to see if I can stop it a more sophisticated way, instead of my bonehead 10 consecutive clicks. Quite often, the file list I am working with has only one or two files listed, up to a maximum of ten. Thanks for any help

; Script Start - Add your code below here

$i = 0

$x = 600

$y = 305

While $i <= 10

WinActivate("Search Results (Read-Only) - Laserfiche")

MouseMove ($x,$y)

MouseClick("left")

MouseClick("left")

$y = $y + 15

$i = $i + 1

WEnd

Link to comment
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
 Share

  • Recently Browsing   0 members

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