Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Sun Oct 21, 2018 6:28 pm

All times are UTC




Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: probléms with speed
Thanked: 0 time(s)  Unread post Posted: Wed Sep 27, 2017 5:04 pm 
New User
New User



Joined: Wed Sep 27, 2017 4:51 pm
Posts: 10
Been thanked: 0 time(s)
Has thanked: 4 time(s)
Contribution Points: 20
hello guys i have problems with the speed execution time in image recogniser
for exemple to do this :
if Image.Can be located on screen("image1", "100")
or
Image.Can be located on screen("image2", "100")
or
Image.Can be located on screen("image3", "100")
or
Image.Can be located on screen("image4", "100")
begin
do ..........."working time"


i have encountered a problem that when "image1" is present, it is a normal working time
When the "image2" is present, the work is fairly quick
And when the picture is 3 and 4, the work is so fast that I have problems
please help me and i will very thankful


Top
 Profile  
Reply with quote  
 Post subject: Re: probléms with speed
Thanked: 0 time(s)  Unread post Posted: Fri Nov 24, 2017 6:25 pm 
New User
New User



Joined: Wed Sep 27, 2017 4:51 pm
Posts: 10
Been thanked: 0 time(s)
Has thanked: 4 time(s)
Contribution Points: 20
help me plz


Top
 Profile  
Reply with quote  
 Post subject: Re: probléms with speed
Thanked: 1 time(s)  Unread post Posted: Fri Nov 24, 2017 9:52 pm 
VIP Contributor
VIP Contributor
User avatar



Joined: Fri Nov 01, 2013 10:45 pm
Posts: 837
Location: Egypt , Portsaid
Been thanked: 240 time(s)
Has thanked: 10 time(s)
Contribution Points: 1984
walid02 wrote:
help me plz

man i think we need more explanation so we can help u .

_________________
--------------------------------------------------------------------------------
All Of My Scripts Can Be Found in Here !!!
viewtopic.php?f=304&p=190914
--------------------------------------------------------------------------------


Top
 Profile  
Reply with quote  
 Post subject: Re: probléms with speed
Thanked: 0 time(s)  Unread post Posted: Sun Nov 26, 2017 7:43 pm 
New User
New User



Joined: Wed Sep 27, 2017 4:51 pm
Posts: 10
Been thanked: 0 time(s)
Has thanked: 4 time(s)
Contribution Points: 20
for exemple this macro
begin
if Image.Can be located on screen("C:\Users\dell\Pictures\picture1.jpg", "100")
or
Image.Can be located on screen("C:\Users\dell\Pictures\picture2.jpg", "100")
or
Image.Can be located on screen("C:\Users\dell\Pictures\picture3.jpg", "100")
or
Image.Can be located on screen("C:\Users\dell\Pictures\picture4.jpg", "100")
begin
Keyboard.Release keys("{<lmenu>}")
Macro.Wait for current global loop execution time to exceed("539")
Mouse.Move to coordinate("292", "371")
Macro.Wait for current global loop execution time to exceed("1157")
Mouse.Hold button("left")
Macro.Wait for current global loop execution time to exceed("1313")
Mouse.Release button("left")
Macro.Wait for current global loop execution time to exceed("1777")
Mouse.Move to coordinate("725", "682")
Macro.Wait for current global loop execution time to exceed("3077")
Mouse.Hold button("left")
Macro.Wait for current global loop execution time to exceed("3226")
Mouse.Release button("left")
Macro.Wait for current global loop execution time to exceed("3464")
Mouse.Move to coordinate("1070", "514")
end

end
When the first picture appears, the program (red writing) is done at a normal time
But I have problems when the second or third picture appears, so the program is fast and I notice that the mouse is moving fast and is fast
I want the solution is that when any image appears in the screen no matter what, the program work normally


Top
 Profile  
Reply with quote  
 Post subject: Re: probléms with speed
Thanked: 1 time(s)  Unread post Posted: Sun Nov 26, 2017 8:39 pm 
VIP Contributor
VIP Contributor
User avatar



Joined: Fri Nov 01, 2013 10:45 pm
Posts: 837
Location: Egypt , Portsaid
Been thanked: 240 time(s)
Has thanked: 10 time(s)
Contribution Points: 1984
Well u can try it like that think it should work Properly
this code
Code:
Function.Execute("Picture")

put it in the place (Function) u want the Bot search for The Pics in .


Code:
 begin
     Function.Execute("Picture")
 end

function("Picture")
     begin
          if  Image.Can be located on screen("C:\Users\dell\Pictures\picture1.jpg", "100")
               begin
                    Keyboard.Release keys("{<lmenu>}")
                    Macro.Wait for current global loop execution time to exceed("539")
                    Mouse.Move to coordinate("292", "371")
                    Macro.Wait for current global loop execution time to exceed("1157")
                    Mouse.Hold button("left")
                    Macro.Wait for current global loop execution time to exceed("1313")
                    Mouse.Release button("left")
                    Macro.Wait for current global loop execution time to exceed("1777")
                    Mouse.Move to coordinate("725", "682")
                    Macro.Wait for current global loop execution time to exceed("3077")
                    Mouse.Hold button("left")
                    Macro.Wait for current global loop execution time to exceed("3226")
                    Mouse.Release button("left")
                    Macro.Wait for current global loop execution time to exceed("3464")
                    Mouse.Move to coordinate("1070", "514")
               end
          if  Image.Can be located on screen("C:\Users\dell\Pictures\picture2.jpg", "100")
               begin
                    Keyboard.Release keys("{<lmenu>}")
                    Macro.Wait for current global loop execution time to exceed("539")
                    Mouse.Move to coordinate("292", "371")
                    Macro.Wait for current global loop execution time to exceed("1157")
                    Mouse.Hold button("left")
                    Macro.Wait for current global loop execution time to exceed("1313")
                    Mouse.Release button("left")
                    Macro.Wait for current global loop execution time to exceed("1777")
                    Mouse.Move to coordinate("725", "682")
                    Macro.Wait for current global loop execution time to exceed("3077")
                    Mouse.Hold button("left")
                    Macro.Wait for current global loop execution time to exceed("3226")
                    Mouse.Release button("left")
                    Macro.Wait for current global loop execution time to exceed("3464")
                    Mouse.Move to coordinate("1070", "514")
               end
          if  Image.Can be located on screen("C:\Users\dell\Pictures\picture3.jpg", "100")
               begin
                    Keyboard.Release keys("{<lmenu>}")
                    Macro.Wait for current global loop execution time to exceed("539")
                    Mouse.Move to coordinate("292", "371")
                    Macro.Wait for current global loop execution time to exceed("1157")
                    Mouse.Hold button("left")
                    Macro.Wait for current global loop execution time to exceed("1313")
                    Mouse.Release button("left")
                    Macro.Wait for current global loop execution time to exceed("1777")
                    Mouse.Move to coordinate("725", "682")
                    Macro.Wait for current global loop execution time to exceed("3077")
                    Mouse.Hold button("left")
                    Macro.Wait for current global loop execution time to exceed("3226")
                    Mouse.Release button("left")
                    Macro.Wait for current global loop execution time to exceed("3464")
                    Mouse.Move to coordinate("1070", "514")
               end
          if  Image.Can be located on screen("C:\Users\dell\Pictures\picture4.jpg", "100")
               begin
                    Keyboard.Release keys("{<lmenu>}")
                    Macro.Wait for current global loop execution time to exceed("539")
                    Mouse.Move to coordinate("292", "371")
                    Macro.Wait for current global loop execution time to exceed("1157")
                    Mouse.Hold button("left")
                    Macro.Wait for current global loop execution time to exceed("1313")
                    Mouse.Release button("left")
                    Macro.Wait for current global loop execution time to exceed("1777")
                    Mouse.Move to coordinate("725", "682")
                    Macro.Wait for current global loop execution time to exceed("3077")
                    Mouse.Hold button("left")
                    Macro.Wait for current global loop execution time to exceed("3226")
                    Mouse.Release button("left")
                    Macro.Wait for current global loop execution time to exceed("3464")
                    Mouse.Move to coordinate("1070", "514")
               end
     end
function
 

_________________
--------------------------------------------------------------------------------
All Of My Scripts Can Be Found in Here !!!
viewtopic.php?f=304&p=190914
--------------------------------------------------------------------------------


Top
 Profile  
Reply with quote  
 Post subject: Re: probléms with speed
Thanked: 0 time(s)  Unread post Posted: Sun Nov 26, 2017 9:52 pm 
New User
New User



Joined: Wed Sep 27, 2017 4:51 pm
Posts: 10
Been thanked: 0 time(s)
Has thanked: 4 time(s)
Contribution Points: 20
ahmedwaill thank you for help me
I tried your method but to no avail, but thank you very much anyway
I think you are an Arab? Right
me too am arab


Top
 Profile  
Reply with quote  
 Post subject: Re: probléms with speed
Thanked: 0 time(s)  Unread post Posted: Sun Nov 26, 2017 9:57 pm 
VIP Contributor
VIP Contributor
User avatar



Joined: Fri Nov 01, 2013 10:45 pm
Posts: 837
Location: Egypt , Portsaid
Been thanked: 240 time(s)
Has thanked: 10 time(s)
Contribution Points: 1984
walid02 wrote:
ahmedwaill thank you for help me
I tried your method but to no avail, but thank you very much anyway
I think you are an Arab? Right
me too am arab

Yeah I could figure out tat from it name .
And
Actually I didn't understand exactly what do u need the BOT to do so that's why I can't help that much
Why don't u use Macro Pause .
Instead of waiting for global time exceed ?

_________________
--------------------------------------------------------------------------------
All Of My Scripts Can Be Found in Here !!!
viewtopic.php?f=304&p=190914
--------------------------------------------------------------------------------


Top
 Profile  
Reply with quote  
 Post subject: Re: probléms with speed
Thanked: 0 time(s)  Unread post Posted: Mon Nov 27, 2017 12:13 am 
New User
New User



Joined: Wed Sep 27, 2017 4:51 pm
Posts: 10
Been thanked: 0 time(s)
Has thanked: 4 time(s)
Contribution Points: 20
لو تتكلم عربي , شوف انا عندي مشكلة
مثلا بدي أعمل برنامج لما يرى صورة 1 أو الصورة2 أو الصورة 3 يعمل تحريك الماوس و الظغط على أي شيء ...إلخ
لكنني أواجه مشكلة أنه عندما تظهر الصورة 2 أو الصورة الثالثة البرنامج تكون سرعته كبيرة و تحريك الماوس يكون بسرعة إلخ


Top
 Profile  
Reply with quote  
 Post subject: Re: probléms with speed
Thanked: 0 time(s)  Unread post Posted: Mon Nov 27, 2017 12:33 am 
VIP Contributor
VIP Contributor
User avatar



Joined: Fri Nov 01, 2013 10:45 pm
Posts: 837
Location: Egypt , Portsaid
Been thanked: 240 time(s)
Has thanked: 10 time(s)
Contribution Points: 1984
walid02 wrote:
لو تتكلم عربي , شوف انا عندي مشكلة
مثلا بدي أعمل برنامج لما يرى صورة 1 أو الصورة2 أو الصورة 3 يعمل تحريك الماوس و الظغط على أي شيء ...إلخ
لكنني أواجه مشكلة أنه عندما تظهر الصورة 2 أو الصورة الثالثة البرنامج تكون سرعته كبيرة و تحريك الماوس يكون بسرعة إلخ

Idk if Arabic is ok in this forum but I will talk in Arabic to explain to u .
بص هو بالنسبه بسرعته كبيره فل دي تقدر تبطأ سرعه الماوس من إعدادات البرنامج ذات نفسه .
و لو عايزها يقعد لمده ثانيه مثلا قبل ما يحرك الماوس استخدم الكود دا قبل ما ببدء يحرك الماوس .
Code:
Macro.Pause("1000")

_________________
--------------------------------------------------------------------------------
All Of My Scripts Can Be Found in Here !!!
viewtopic.php?f=304&p=190914
--------------------------------------------------------------------------------


Top
 Profile  
Reply with quote  
 Post subject: Re: probléms with speed
Thanked: 0 time(s)  Unread post Posted: Mon Nov 27, 2017 1:22 am 
New User
New User



Joined: Wed Sep 27, 2017 4:51 pm
Posts: 10
Been thanked: 0 time(s)
Has thanked: 4 time(s)
Contribution Points: 20
شوف انت فاهمني غلط , هاتلي فيس بوك حقك أو بعطيك فيس بوك حقي لنتحاور مع بعض و إن شاء الله أكون شاكرا لك
https://www.facebook.com/profile.php?id=100005536066547


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next

All times are UTC


You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group