12-28-2012, 04:40 PM #1
Storing Applescript in text files
- Member Since
- Dec 28, 2012
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.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By halfmonkey in forum Switcher HangoutReplies: 6Last Post: 05-19-2011, 08:54 AM
By Snipeye in forum OS X - Apps and GamesReplies: 0Last Post: 12-27-2009, 06:58 PM
By BogdanBM in forum Running Windows (or anything else) on your MacReplies: 2Last Post: 01-01-2009, 12:13 PM
By MrGecko in forum OS X - Development and DarwinReplies: 0Last Post: 03-24-2007, 11:37 AM
By Dexter1912 in forum OS X - Operating SystemReplies: 4Last Post: 06-22-2005, 11:20 PM