Author |
Message |
|
|
Post subject: |
Re: BlueEye Promotional & Simple Math Solver |
|
|
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.
[quote="Gigus"][quote="OwnAge"] Thanks :) next vid will be on making a google search macro.[/quote]
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 [/code]
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.[/quote]
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.
|
|
|
|
Posted: Thu Apr 29, 2010 9:09 am |
|
|
|
|
|
Post subject: |
Re: BlueEye Promotional & Simple Math Solver |
|
|
Thank you for sharing. Nice "how to" - demo in regards to file usages and to evaluation of math expressions.
Thank you for sharing. Nice "how to" - demo in regards to file usages and to evaluation of math expressions.
|
|
|
|
Posted: Thu Apr 29, 2010 8:58 am |
|
|
|
|
|
Post subject: |
Re: BlueEye Promotional & Simple Math Solver |
|
|
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.
[quote="OwnAge"] Thanks :) next vid will be on making a google search macro.[/quote]
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 [/code]
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.
|
|
|
|
Posted: Thu Apr 29, 2010 8:30 am |
|
|
|
|
|
Post subject: |
Re: BlueEye Promotional & Simple Math Solver |
|
|
Drake wrote: OwnAge wrote: Video: http://www.youtube.com/watch?v=e2g5tocT3SQCode: 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.
[quote="Drake"][quote="OwnAge"][b][color=#FF0000]Video[/color][/b]: 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[/code]
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.[/quote]
I like how it writes the result back in to the file ^^ Nice work, thank you :)[/quote]
Thanks :) next vid will be on making a google search macro.
|
|
|
|
Posted: Thu Apr 29, 2010 8:19 am |
|
|
|
|
|
Post subject: |
Re: BlueEye Promotional & Simple Math Solver |
|
|
OwnAge wrote: Video: http://www.youtube.com/watch?v=e2g5tocT3SQCode: 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
[quote="OwnAge"][b][color=#FF0000]Video[/color][/b]: 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[/code]
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.[/quote]
I like how it writes the result back in to the file ^^ Nice work, thank you :)
|
|
|
|
Posted: Thu Apr 29, 2010 7:07 am |
|
|
|
|
|
Post subject: |
Re: BlueEye Promotional & Simple Math Solver |
|
|
Very nice.
Thank you for sharing OwnAge.
Very nice.
Thank you for sharing OwnAge.
|
|
|
|
Posted: Thu Apr 29, 2010 7:04 am |
|
|
|
|
|
Post subject: |
BlueEye Promotional & Simple Math Solver |
|
|
Video: http://www.youtube.com/watch?v=e2g5tocT3SQCode: 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.
[b][color=#FF0000]Video[/color][/b]: 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[/code]
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.
|
|
|
|
Posted: Thu Apr 29, 2010 4:22 am |
|
|
|
|