Mar 16, 2014 01:39 PM
(This post was last modified: Apr 20, 2014 08:21 PM by Vexane.)
I made this in hopes that this section will become more active.
Instructions:
I know it's kinda buggy (if you press Enter to close the message box it opens another one) but it's pretty awesome in my opinion!
Code
#include <String.au3>
while 1
HotKeySet("{enter}", "addClip")
WEnd
Func addClip()
WinActivate("Untitled - Notepad")
If @error Then
MsgBox(0, "Not Found", "Please open a valid blank Notepad document.")
EndIf
Send("^a")
Send("^c")
Global $Clip = ClipGet()
Global $numbers = _StringExplode($Clip, "+")
MsgBox(0, "Addition", $numbers[0] + $numbers[1])
Exit
EndFuncInstructions:
- Open a new Notepad Document
- Type in any number, then a plus sign, followed by another number
- Press Enter
I know it's kinda buggy (if you press Enter to close the message box it opens another one) but it's pretty awesome in my opinion!

