Sign in to follow this  
Followers 0
jmeerkat

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

8 posts in this topic

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Provided informations are not enough.

Post screenshot or find out control's ClassNameNN by Au3Info tool.

Thanks -

AU3Info tool shows control's ClassNameNN as SysListView322

Share this post


Link to post
Share on other sites

Then open AutoIt's helpfile and look at ControlListView() and GUIListView UDF functions.

Thanks for the lead I really appreciate it.

BTW, Happy Birthday!

JM

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  
Followers 0