|
|
|
An AppleScript to send an email about a page in Safari
Yikes! Now I get an Applescript error: "Mail got an error: NSReceiverEvaluationScriptError: 4"
with "index" highlighted at "set index to 1" Any ideas what that's about?
An AppleScript to send an email about a page in Safari
I get that error if I Run the script from Script Editor. However, if run from the Scripts menu in the menu bar the error is not generated.
I still have problems with the script. I corrected the contents back to the original script with the additions of the backslashes, noted by the OP. Complies just fine. Save it. Highlight some text in Safari. Run the script, Mail comes to the front. Doesn't create a new message.
An AppleScript to send an email about a page in Safari
Yes, I was trying to run it from Script Editor. Fixed. But now I have the same problem; Mail.app comes to front, but no message.
An AppleScript to send an email about a page in Safari
I can't respond to the "Mail got an error: SReceiverEvaluationScriptError: 4" issue or the message not created problem, since the script works on my machine. For what it's worth, I use Script Editor 2.2, Applescript 2.0, and OS X 10.5.1.
|
SearchFrom our Sponsor...What's New:HintsNo new hintsComments last 2 days
Links last 2 weeksNo recent new linksWhat's New in the Forums?
The Editor's Corner...Here are some of my (robg) other projects...
Hints by TopicNews from Macworld
The macosxhints PollWhat version of OS X are you running as your main OS?
Other polls | 11,528 votes | 42 comments
|
|
Copyright © 2009 Mac Publishing LLC (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Powered by Geeklog Created this page in 0.44 seconds |
|