• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Eudora scripting help ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eudora scripting help ...


  • Subject: Re: Eudora scripting help ...
  • From: Charles Heizer <email@hidden>
  • Date: Tue, 20 Jul 2004 19:21:13 -0700

Hi Bill,
Thank you very much, this worked great, and thanks for taking time on your holiday to check you email ;-).

- Charles


On Jul 20, 2004, at 4:31 PM, Bill Briggs wrote:

Untested, but try this.

set oldServers to {"some.old.name", "other.old.name"} -- add old server names to this list as needed
tell application "Eudora"
set pCount to count of personalities
repeat with i from 1 to pCount
tell personality i
set pp to setting 3
set o to offset of "@" in pp
set PS to text -1 through (o + 1) of pp
set uid to text 1 through (o - 1) of pp
if PS is in oldServers then
set newAccount to uid & "@" & "putNewServerAddressHere"
set setting 3 to newAccount
end if
end tell
end repeat
end tell

I don't ever use it to change POP accounts, but I do have a script to toggle SMTP servers, which is a different setting.

Let me know if this works for you.

- web


At 3:36 PM -0700 20/07/2004, Charles Heizer wrote:
Hello,
I have never done any scripting with Eudora and I really can't find any good examples on it either.

I need to loop through all of the personalities or maybe just the dominant account and read the mail server address, and if it equals some server name from a list then change it to another mail server name.

Basically we are moving from one set of pop servers to another and I need a quick way to find the old server name in put in a new one.

Thanks,

- Charles
_______________________________________________
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.
_______________________________________________
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.
_______________________________________________
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.


  • Follow-Ups:
    • Re: Eudora scripting help ...
      • From: Bill Briggs <email@hidden>
References: 
 >Eudora scripting help ... (From: Charles Heizer <email@hidden>)
 >Re: Eudora scripting help ... (From: Bill Briggs <email@hidden>)

  • Prev by Date: Will Mail.app's message's every been scriptable?
  • Next by Date: Re: Eudora scripting help ...
  • Previous by thread: Re: Eudora scripting help ...
  • Next by thread: Re: Eudora scripting help ...
  • Index(es):
    • Date
    • Thread