Sign in to follow this  
Followers 0
iamtheky

Any proper note taker / clip writer scripts?

3 posts in this topic

#1 ·  Posted (edited)

Here is my offering, it works, but there has to be better (or that accept and output more than text).  whatever i copy, write to this file.

include <Misc.au3>

$hfile = fileopen("notes.txt" , 1)
$lastclip = ""

while 1

If _ispressed("1B") Then
    fileclose($hfile)
    Exit
EndIf

$clip2 = ClipGet()

If $clip2 = $lastclip Then
    sleep(100)
    Else
    filewrite($hfile , $clip2 & @CRLF & @CRLF)
    sleep(100)
Endif

$lastclip = $clip2

wend
Edited by boththose

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites



You can support images by saving them to files and using html to display them along with the text.

Using html you could also make separated sections, with anchors.

Though I can't think of any other way of getting data than from the clipboard.

Share this post


Link to post
Share on other sites

See the Clipboard Management section of the User Defined Function Reference section in the Help file for more ways to handle clipboard data.


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0