jmeerkat Posted October 2, 2008 Share Posted October 2, 2008 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 More sharing options...
Zedna Posted October 2, 2008 Share Posted October 2, 2008 Post your script. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
jmeerkat Posted October 2, 2008 Author Share Posted October 2, 2008 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 = 305While $i <= 10WinActivate("Search Results (Read-Only) - Laserfiche")MouseMove ($x,$y)MouseClick("left")MouseClick("left")$y = $y + 15$i = $i + 1WEnd Link to comment Share on other sites More sharing options...
Zedna Posted October 2, 2008 Share Posted October 2, 2008 Provided informations are not enough. Post screenshot or find out control's ClassNameNN by Au3Info tool. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
jmeerkat Posted October 2, 2008 Author Share Posted October 2, 2008 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 Link to comment Share on other sites More sharing options...
Zedna Posted October 2, 2008 Share Posted October 2, 2008 Thanks - AU3Info tool shows control's ClassNameNN as SysListView322Then open AutoIt's helpfile and look at ControlListView() and GUIListView UDF functions. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
jmeerkat Posted October 2, 2008 Author Share Posted October 2, 2008 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 Link to comment Share on other sites More sharing options...
Zedna Posted October 2, 2008 Share Posted October 2, 2008 Thanks for the lead I really appreciate it.BTW, Happy Birthday!JMOK. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now