put "return " & quote & "Account already in AppleMail." & return after
scripttorun
put "end try" & return after scripttorun
put "end tell" & return after scriptorun
Ignoring the line wraps, there needs to be another quote in the first line above:
put "return " & quote & "Account already in AppleMail." & quote & return after scripttorun
The last line in the segment I quoted above, the variable name is missing a "t", so the AppleScript never gets the "end tell" it needs.
Cheers, Sarah
On 2 Jun 2004, at 2:48 pm, [EMAIL PROTECTED] wrote:
I'm having some strange Applescript issues with Revolution, and I need some
help figuring out why it's behaving this way. I have the below script in a
text field in Revolution. It's whole purpose is to add a new email account to
AppleMail. I originally had an Applescript from script-editor and I pasted
it into a text field in Revolution and ran it. Revolution complained that
Applescript was giving a "compiler error". I thought perhaps hidden characters
were getting inserted somehow and messing up the Applescript compiler, so I
wrote the below code to piece it together by hand, and I still get a compiler
error. Can anyone tell me what's wrong with the below script? If you take
the output and paste it into Script Editor, it'll work just fine. There's just
something about running it in Revolution that Applescript doesn't like.
snip
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
