Jump to content

Recommended Posts

Posted

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

Posted

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

Posted

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

Posted

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

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