Yay I figured it out. Here's the script that worked in the off chance
that others out there might want to use it (need linux and autokey),
especially since tiddlysnip doesn't seem to be working these days.
keyboard.send_keys("<ctrl>+c")
#import time
#time.sleep(0.1)
contents = clipboard.get_selection()
contents = contents.replace('''“''','''"''')
contents = contents.replace("""’""","""'""")
contents = contents.replace('''”''','''"''')
retCode, item = dialog.input_dialog("name the file", "What would you
like to call this read-file?")
output = system.exec_command("date '+%y %m %d '")
filename1 = output+item
longfilename = "/home/david/Dropbox/MainDocuments/Read/"+filename1
fileHandle = open ((longfilename), 'w' )
fileHandle.write (contents)
fileHandle.close()
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.