Intelligent Automation & Macro Software  

Go Back   Automation Anywhere, Inc. Forums > Products Zone > Automation Anywhere Server & Enterprise
Register FAQ Search Today's Posts Mark Forums Read

Automation Anywhere Server & Enterprise Post messages and questions related to Automation Anywhere Server or Automation Anywhere Enterprise here.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-07-2011, 05:47 AM
desm35 desm35 is offline
Junior Member
 
Join Date: Sep 2011
Posts: 8
Default Random Mouse Click in either of 2 places

I am trying to create the following:

1 Start Loop "20" Times
2 Mouse Click: Left Button (363,527), OR Mouse Click: Left Button (452,525)
3 Delay: (54000 ms)
4 End Loop

Step 2 wants to randomly choose to click in one or other of the positions. Then a delay occurs and then we randomly click one or other positions again.

Can anyone help? Thanks.

Dunc
Reply With Quote
  #2 (permalink)  
Old 09-07-2011, 04:51 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hello desm35,

You can record random mouse clicks using the standard recorder and then you can run this task in a repeat mode.

Thanks & Regards.
Reply With Quote
  #3 (permalink)  
Old 09-08-2011, 02:28 AM
desm35 desm35 is offline
Junior Member
 
Join Date: Sep 2011
Posts: 8
Default

Thanks, I've already done that, but was looking for something a bit more intelligent. I have run a loop before of 30 or so clicks either in Position 1 or Position 2. My loop for instance may have run like this:

Mouse Click: Position 1
Delay: 54000
Mouse Click: Position 1
Delay: 54000
Mouse Click: Position 1
Delay: 54000
Mouse Click: Position 2
Delay: 54000
Mouse Click: Position 1
Delay: 54000
Mouse Click: Position 1
Delay: 54000
Mouse Click: Position 2
Delay: 54000
Mouse Click: Position 2
and so forth...

With this loop there will still always be a recognisable pattern. I want something that just randomnly clicks in Position 1 or Position 2. Thanks

Dunc
Reply With Quote
  #4 (permalink)  
Old 09-09-2011, 04:39 PM
forumstaff forumstaff is offline
Senior Member
 
Join Date: Oct 2010
Posts: 521
Default

Hello desm35,

Please find the attached task built according to your requirement with this post.

The task is scripted as below:

Variable Operation : 0 To $test$
Start Loop "1000" Times
If $test$ Equal To "0" Then
Mouse Click: Left Button on 'FolderView' in "Desktop"
Variable Operation : 1 To $test$
Else
Mouse Click: Left Button on 'FolderView' in "Desktop"
Variable Operation : 0 To $test$
End If
End Loop


Please save the task in "My Documents/Automation Anywhere/Automation Anywhere/My Tasks"

Thanks & Regards
Attached Files
File Type: atmn randomclicks.atmn (1.0 KB, 0 views)
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -7. The time now is 02:09 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 ©2007, Crawlability, Inc.
Copyright © 2003-2011 Automation Anywhere, Inc. All rights reserved