Scripting-system error
Scripting-system error
- Subject: Scripting-system error
- From: "Monee C. Kidd" <email@hidden>
- Date: Tue, 22 Apr 2003 23:28:19 -0400
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
Could not run the script "Today" because of a program error.
Above the Edit button is "-1344" but because that means nothing to
me, I click Edit to see if I can figure out what my problem is. I get
another error
Could not read the file because of a scripting-system (OSA) error.
I can no longer open my file, from the menu I get the same error
message. Now what is my problem?!? I had a copy of my silly little
script, I paste it here to see if you can tell me what is something
wrong with it:
tell application "TextEdit"
activate
open alias "Macintosh HD:Users:imani08:Documents:Test.rtf"
set Things_To_Know to text of document "test.rtf"
say "Here's what you need to know: " & Things_To_Know
quit
end tell
Help! I'm ultimately going to put this into a larger script that I
have that I don't want to mess up, what's wrong?
_______________________________________________
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.