Re: Personality settings in Eudora
Re: Personality settings in Eudora
- Subject: Re: Personality settings in Eudora
- From: John Delacour <email@hidden>
- Date: Tue, 15 Apr 2003 19:22:02 +0100
- Mac-eudora-version: 6.0a15
At 11:29 am -0600 15/4/03, Doug McNutt wrote:
tell application "Eudora"
set plist to {} as list
set setting 84 of personality "Admin" to "y"
set setting 84 of personality "dmcnutt" to "n"
set plist to setting 84 of personality "Admin" -- ***
get setting 84 of personality "dmcnutt"
set plist to plist & result
end tell
plist -- result window shows "yn" (Why not {"y", "n"} ) ?????
because of ***
I have to "get the setting" and then do a "set plist to plist &
result" above. AppleScript returns an error otherwise and I wonder
why. I also wonder why the concatenation is not performed in list
context as it clearly is in the longer script. (Should I have called
it @plist?)
Just look at your script and see what you're doing, or watch it run
and you'll see. There's not problem with Eudora or Applescript; just
your code.
set ls to {}
tell application "Eudora" to set end of ls to setting 1
ls -- +> {"Monaco"}
tell application "Eudora" to set ls to ls & setting 2
{"Monaco", "9"}
_______________________________________________
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.