Hi all,

I have an Excel file which writes applescript code. It basically creates an email with different attachments based on the settings in the excel file.

In my automator file, I call the action "Run Applescript". I would like the contents of the text file used as the applescript.

I've tried the command
file "Macintosh HD:Users:Jonoesktop:WLemail.text"

I get the error
Can't get the file "Macintosh HD:Users:Jonoesktop:WLemail.text"

Alternatively I can manually paste the contents of the text file into the Action "Run Applescript" but would like it all to be automatic.

Any help would be great.