This script is basically for me to keep track of what I’m working on over the course of my day and saves it in one text document. It works fine, I would just like to make a numerical list. For example:
Thing #1 I did (Time and Date)
Thing #2 I did (Time and Date)
Thing #3 I did (Time and Date)
to:
- Thing #1 I did (Time and Date)
- Thing #2 I did (Time and Date)
- Thing #3 I did (Time and Date)
Current Applescript is as follows:
set theAnswer to "I'm Workin on..."
tell application "Finder"
activate
display dialog "What are you doing?" default answer theAnswer
end tell
set myWork to text returned of result
set bodyFile to "Work Log.txt"
set logName to ("Volumes:Drive 2:mydrive User Files:me:" & bodyFile)
try
set fileRef to open for access file logName with write permission
write myWork & " --> " & (current date) & return to fileRef starting at eof
close access fileRef
on error
try
close file logName
end try
Any thoughts?