Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Fri Sep 21, 2018 3:44 am

All times are UTC




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: text over windows
Thanked: 5 time(s)  Unread post Posted: Wed Aug 22, 2012 6:15 am 
Lifetime VIP Contributor
Lifetime VIP Contributor
User avatar



Joined: Tue Nov 23, 2010 10:51 am
Posts: 212
Location: Pandora
Been thanked: 97 time(s)
Has thanked: 66 time(s)
Contribution Points: 8643
this displays text in front of other windows
  • click through the overlay like it's not there - text will stay on top
  • put as many as you want on the screen
  • customize how it looks including font, background, and transparency
  • if you change windows, the text will move underneath (unless you specify topmost option)

now part of the plugin suite! see sig

Image

Image

text gets antialiased (edges smoothed) when background is used. comparison:
Image

this will not draw over fullscreen games - use windowed modes

usage:
Code:
// draws text without a background
Plugins.overlay (Text without background)("text", "unique ID", "x", "y", "with respect to", "duration (ms)", "font name", "font size", "r", "g", "b", "transparency")

// draws text with inverse background like black → white or red → green for high visibility
Plugins.overlay (Text with inverse background)("text", "unique ID", "x", "y", "with respect to", "duration (ms)", "font name", "font size", "r", "g", "b", "background around text", "transparency")

// draws text over a background with color of your choice
Plugins.overlay (Text with background)("text", "unique ID", "x", "y", "with respect to", "duration (ms)", "font name", "font size", "r", "g", "b", "background r", "background g", "background b", "background around text", "transparency")

use "<br>" in the text field to insert a newline, ex: "i don't always use macros,<br>but when i do,<br>i prefer Blue Eye"

example macro:
Code:
 begin
     System.Get primary screen resolution("x", "y")
     Variable.Evaluate (Math)("{x} / 2", "x")
     Variable.Evaluate (Math)("{y} / 2", "y")
     Plugins.overlay (Text without background)("beastmode:", "bm", "{x}", "{y}", "x2y3", "2000", "Consolas", "108", "0", "0", "255", "75")
     Plugins.overlay (Text without background)("off", "act", "{x}", "{y}", "x2y1", "2000", "Consolas", "108", "255", "0", "0", "75")
     Macro.Pause("2050")
     Plugins.overlay (Text without background)("beastmode:", "bm", "{x}", "{y}", "x2y3", "2000", "Consolas", "108", "0", "0", "255", "0")
     Plugins.overlay (Text without background)("activated", "act", "{x}", "{y}", "x2y1", "1000", "Consolas", "108", "0", "255", "0", "0")
     Macro.Pause("1175")
     Plugins.overlay (Text without background)("activated", "act", "{x}", "{y}", "x2y1", "1000", "Consolas", "108", "0", "255", "0", "0")
 end
here's how the "with respect to" argument works in case the plugin tooltip doesn't make sense
you're choosing where you want the text in relation to your X and Y coordinates
Image

this will put a small executable (12.5 KB) in your "Blue Eye Macro" folder called overlayGUI.exe. it won't run without the parameters passed by the plugin
the overlays will stay after BEM closes, depending on the duration you set. if you want to kill some text before it times out, use ctrl+alt+del → task manager → kill all overlayGUI.exe, or in BEM like this:
Code:
// terminates all running overlays
System.Terminate process("overlayGUI")
Image


Top
 Profile  
Reply with quote  
 Post subject: Re: text over windows
Thanked: 0 time(s)  Unread post Posted: Thu Mar 07, 2013 6:09 pm 
Active User
Active User



Joined: Fri Nov 25, 2011 8:28 pm
Posts: 31
Been thanked: 1 time(s)
Has thanked: 1 time(s)
Contribution Points: 45
so this macro can visualize variables of a running macro, or did i just understand this plugin wrong?


Top
 Profile  
Reply with quote  
 Post subject: Re: text over windows
Thanked: 0 time(s)  Unread post Posted: Wed Apr 03, 2013 12:51 am 


How do you write a value of a variable to the screen?

I have tried

Plugins.overlay (Text without background)("value is {var1} ", "vts", "1030", "830", "x2y3", "5000", "Calibri", "16", "0", "0", "0", "30")

But that doesn't work.


Top
  
Reply with quote  
 Post subject: Re: text over windows
Thanked: 0 time(s)  Unread post Posted: Wed Apr 03, 2013 1:07 am 


I found a solution

Variable.Evaluate (Text)("Value1 {v1} <br> Value2 {v2} <br> Value3 {v3}", "textresult")
Plugins.overlay (Text without background)("{textresult}", "1", "1030", "830", "x2y3", "5000", "Calibri", "16", "0", "0", "0", "30")


Top
  
Reply with quote  
 Post subject: Re: text over windows
Thanked: 0 time(s)  Unread post Posted: Thu Apr 11, 2013 7:49 am 
New User
New User



Joined: Thu Mar 21, 2013 10:58 am
Posts: 6
Been thanked: 0 time(s)
Has thanked: 0 time(s)
Contribution Points: 20
so this macro can visualize variables of a running macro, or did i just understand this plugin wrong



_________________
Runescape Gold|Rs Gold|cheap Runescape Gold


Top
 Profile  
Reply with quote  
 Post subject: Re: text over windows
Thanked: 0 time(s)  Unread post Posted: Tue Jul 02, 2013 11:49 pm 
Lifetime VIP Contributor
Lifetime VIP Contributor
User avatar



Joined: Tue Nov 23, 2010 10:51 am
Posts: 212
Location: Pandora
Been thanked: 97 time(s)
Has thanked: 66 time(s)
Contribution Points: 8643
Yes, but like the other user said it won't evaluate variables within the argument... you want either one variable or plain text per plugin command. give it a try, make sure your game isn't in full screen mode


Top
 Profile  
Reply with quote  
 Post subject: Re: text over windows
Thanked: 0 time(s)  Unread post Posted: Wed Aug 14, 2013 5:25 pm 
Partner / Developer
Partner / Developer
User avatar



Joined: Mon Jan 18, 2010 11:51 am
Posts: 4523
Been thanked: 1190 time(s)
Has thanked: 132 time(s)
Contribution Points: 32841
Thanks for the update sickslug :)

_________________
Blue Eye - Developer / Moderator
Code:
Gigus


Please read the rules about contribution points - click here

Do you know everything about BE, the forum, licenses and contribution points?
Please take a minute to read this introduction & guidelines.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 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