Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Thu Nov 21, 2024 7:41 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Missing Parameter in Window.Get location Example
Thanked: 0 time(s)  Unread post Posted: Sun Dec 29, 2019 5:32 pm 
New User
New User



Joined: Tue Oct 01, 2019 5:44 pm
Posts: 11
Been thanked: 0 time(s)
Has thanked: 1 time(s)
Contribution Points: 125
On page http://www.blueeye-macro.com/viewtopic.php?f=172&t=484 the code example reads:
Code:
 begin
     Window.Get location("Untitled - Notepad", "yes", "variableForX", "variableForY")
 end

There is a parameter missing. A compilation error is raised without it. It should read:
Code:
 begin
     Window.Get location("Untitled - Notepad", "yes", "no", "variableForX", "variableForY")
 end

I don't know what the "yes" and "no" actually mean. It doesn't say.


Top
 Profile  
Reply with quote  
 Post subject: Re: Missing Parameter in Window.Get location Example
Thanked: 0 time(s)  Unread post Posted: Sun Dec 29, 2019 5:57 pm 
Partner / License admin
Partner / License admin
User avatar



Joined: Sun Oct 10, 2010 5:16 pm
Posts: 2259
Location: USA
Been thanked: 535 time(s)
Has thanked: 38 time(s)
Contribution Points: 17741
The first "yes/no" is if the title (name of the window you wrote) needs to be an exact match
The second "yes/no" is if should return the coordinates of the center of the window (yes) or the upper left (no)

Thanks for the feedback. I'll change it on the forum.

*Edit: It looks like when that was written there was only one option, it always returned the upper left coordinate. The Instruction was changed to allow a user choice of upper left or center, but the forum page must not have been updated. Thanks again.

_________________
----------------------------------------Syrifina---------------------------------------------------
PM me for licenses and/or licensing information: Click Here
[Be sure to include and update your profile with your BE ID]

Forum Rules
Reminder of rules regarding Contribution points
Getting started in 1, 2, 3
Virtual Drivers; Manual Installers


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

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