Re: Scripting-system error
Re: Scripting-system error
- Subject: Re: Scripting-system error
- From: Deivy Petrescu <email@hidden>
- Date: Wed, 23 Apr 2003 00:56:26 -0400
On Tuesday, April 22, 2003, at 11:28 PM, Monee C. Kidd wrote:
OK. I have a short, 7 line script, the same one I've been wrestling
with since Sunday. I finally figured out how to make it open a
TextEdit file and read the contents. It works perfectly from the
Script Editor when I press play. So I went to save it as an
application and it saves. I go to the finder to launch it, and I get
an error message
Monee, you did not have this script running. TextEdit needs a list of
alias to open.
so change your script as follows...
tell application "TextEdit"
activate
open { alias "Macintosh HD:Users:imani08:Documents:Test.rtf"} -- add
curly braces around the ailas
set Things_To_Know to text of document "test.rtf"
say "Here's what you need to know: " & Things_To_Know
quit
end tell
This should do it.
Regards
Deivy Petrescu
http://www.dicas.com/
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.