#read

Posts mentioning hashtag #read

Below are all the posts — topics as well as replies — that mention the hashtag #read.

Mention #read in your post to continue the discussion!

@4oek+1sHzXLwa

Or try this on a Mac

  1. In a blank word document, type

=lorem(100)

  1. save that as a .txt file, then delete the Word document
  1. create the following applescript with the script editor

# remove the and replace with your Id and file name
set srcFile to "Macintosh HD:Users::Documents:subFolder:

#read the file
set myLines to paragraphs of (read file srcFile)

tell application "Microsoft Word"
activate
end tell
tell application "Microsoft Word"
make new document
end tell

tell application "System Events"
repeat with aLine in myLines
set theList to every word of aLine
repeat with theWord in theList
keystroke theWord
keystroke " "
delay (random number from 1 to 2)
end repeat

# carriage return
key code 36
end repeat
end tell
# end of applescript file

  1. Run this from the Script Editor or save it as an app
  2. Word must be the top application running in the foreground when this script is running

IMPORTANT: Stop the script before doing ANYTHING else
Note - don't lock your screen - it will keep typing and possibly lock out your password if you haven't stopped the script first.

  1. I'm sure there's a way to do this on Windows with VB Script, but I don't have a windows machine to write/test on.