sure, here it is:

keyboard.send_keys("<ctrl>+c")
contents = clipboard.get_selection()
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
#retCode, gitem = dialog.input_dialog("longfilename is",
(longfilename))
fileHandle = open ((longfilename), 'w' )
fileHandle.write (contents)
fileHandle.close()


the first 2 lines are specific to Autokey, but the rest is straight
Python (I think, the third may be Autokey too)

-- 
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.

Reply via email to