Blue Eye Logo

Blue Eye Macro

Automation is freedom
It is currently Thu Nov 21, 2024 4:34 pm

All times are UTC




Post a reply
Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
Font size:
Font colour
Options:
BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Please click and drag the 2 correct statements to the right hand side.
Please click and drag the 2 correct statements to the right hand side.
Please select the options below to the correct list to avoid automated registrations.
Statements
2 correct statements
Elephants can fly
Fish can swim
Chickens can talk
Dogs have 4 legs
   

Topic review - BlueEye Promotional & Simple Math Solver
Author Message
  Post subject:  Re: BlueEye Promotional & Simple Math Solver  Reply with quote
Gigus wrote:
OwnAge wrote:
Thanks :) next vid will be on making a google search macro.


Looking forward to it!

Actually i just created a small/fun version of your calculator, it will perform the calculation inside the document itself, at the very second you insert the "=" sign.

On a danish keyboard (like mine) a "=" sign, is made up by shift+0.

If it is not on your keyboard, you will need to modify the macro accordingly.

here is the code for it (sry i couldn't create a video right now)
Code:
 begin
     Keyboard.Wait for keys to held down("0")
 end
 if  Keyboard.Key is held down("{<shift>}")
     or
     Keyboard.Key is held down("{<rightshift>}")
     begin
          Keyboard.Wait for keys to be released("0{<shift>}{<rightshift>}")
          Keyboard.Press keys at once("{<ctrl>}a")
          Clipboard.Copy()
          Keyboard.Press key("{<end>}")
          Clipboard.Get text("expression")
          Variable.Replace within text("expression", "=", " ")
          Variable.Evaluate (Math)("{expression}", "result")
          Keyboard.Insert text("{result}")
     end     


Set the macro loops to infinite in the wizard, so you wont have to start the macro over and over again, to perform a new calculation.


Very clever. I like the way it shows up. Besides the google searcher which is already done I'm working on a Virtual Tutorial of Blue Eye using speech and window checks. Kinda walks you through how to use Blue Eye. It's pretty easy even without a tutorial but I just wanna see how it will turn out. You should make a snippet thread where we can insert useful macros so that way we dont have to keep creating new threads.
Post Posted: Thu Apr 29, 2010 9:09 am
  Post subject:  Re: BlueEye Promotional & Simple Math Solver  Reply with quote
Thank you for sharing. Nice "how to" - demo in regards to file usages and to evaluation of math expressions.
Post Posted: Thu Apr 29, 2010 8:58 am
  Post subject:  Re: BlueEye Promotional & Simple Math Solver  Reply with quote
OwnAge wrote:
Thanks :) next vid will be on making a google search macro.


Looking forward to it!

Actually i just created a small/fun version of your calculator, it will perform the calculation inside the document the second you enter the "=" sign.

On a danish keyboard (like mine) a "=" sign, is made up by shift+0.

If it is not on your keyboard, you will need to modify the macro accordingly.

here is the code for it (sry i couldn't create a video right now)
Code:
 begin
     Keyboard.Wait for keys to be held down("0")
 end
 if  Keyboard.Key is held down("{<shift>}")
     or
     Keyboard.Key is held down("{<rightshift>}")
     begin
          Keyboard.Wait for keys to be released("0{<shift>}{<rightshift>}")
          Keyboard.Press keys at once("{<ctrl>}a")
          Clipboard.Copy()
          Keyboard.Press key("{<end>}")
          Clipboard.Get text("expression")
          Variable.Replace within text("expression", "=", " ")
          Variable.Evaluate (Math)("{expression}", "result")
          Keyboard.Insert text("{result}")
     end     


Set the macro loops to infinite in the wizard, so you wont have to start the macro over and over again, to perform a new calculation.
Post Posted: Thu Apr 29, 2010 8:30 am
  Post subject:  Re: BlueEye Promotional & Simple Math Solver  Reply with quote
Drake wrote:
OwnAge wrote:
Video: http://www.youtube.com/watch?v=e2g5tocT3SQ


Code:
 begin
     File.Read text("C:\Users\My Computer\Desktop\math.txt", "mathproblem")
     Variable.Evaluate (Math)("{mathproblem}", "mathsolution")
     Variable.Evaluate (Text)("{mathproblem} = {mathsolution}", "sentence")
     File.Write text("C:\Users\My Computer\Desktop\math.txt", "No", "{sentence}")
     Window.Display Message Box("{sentence}", "true")
     System.Launch application("C:\Users\My Computer\Desktop\math.txt", "yes")
 end


The file location will probably be different depending on your OS.

To use this macro you need to create a text file on your desktop called math

Right now this macro does not support checking for multiple problems so it is slightly buggy.


I like how it writes the result back in to the file ^^
Nice work, thank you :)


Thanks :) next vid will be on making a google search macro.
Post Posted: Thu Apr 29, 2010 8:19 am
  Post subject:  Re: BlueEye Promotional & Simple Math Solver  Reply with quote
OwnAge wrote:
Video: http://www.youtube.com/watch?v=e2g5tocT3SQ


Code:
 begin
     File.Read text("C:\Users\My Computer\Desktop\math.txt", "mathproblem")
     Variable.Evaluate (Math)("{mathproblem}", "mathsolution")
     Variable.Evaluate (Text)("{mathproblem} = {mathsolution}", "sentence")
     File.Write text("C:\Users\My Computer\Desktop\math.txt", "No", "{sentence}")
     Window.Display Message Box("{sentence}", "true")
     System.Launch application("C:\Users\My Computer\Desktop\math.txt", "yes")
 end


The file location will probably be different depending on your OS.

To use this macro you need to create a text file on your desktop called math

Right now this macro does not support checking for multiple problems so it is slightly buggy.


I like how it writes the result back in to the file ^^
Nice work, thank you :)
Post Posted: Thu Apr 29, 2010 7:07 am
  Post subject:  Re: BlueEye Promotional & Simple Math Solver  Reply with quote
Very nice.

Thank you for sharing OwnAge.
Post Posted: Thu Apr 29, 2010 7:04 am
  Post subject:  BlueEye Promotional & Simple Math Solver  Reply with quote
Video: http://www.youtube.com/watch?v=e2g5tocT3SQ


Code:
 begin
     File.Read text("C:\Users\My Computer\Desktop\math.txt", "mathproblem")
     Variable.Evaluate (Math)("{mathproblem}", "mathsolution")
     Variable.Evaluate (Text)("{mathproblem} = {mathsolution}", "sentence")
     File.Write text("C:\Users\My Computer\Desktop\math.txt", "No", "{sentence}")
     Window.Display Message Box("{sentence}", "true")
     System.Launch application("C:\Users\My Computer\Desktop\math.txt", "yes")
 end


The file location will probably be different depending on your OS.

To use this macro you need to create a text file on your desktop called math

Right now this macro does not support checking for multiple problems so it is slightly buggy.
Post Posted: Thu Apr 29, 2010 4:22 am

All times are UTC


Jump to:  
cron


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