Nice approach for the user interface. Thanks!
I took your script and modified it for my purposes: to be used in Rules
rather than in draft windows. Now it gets the selected messages and does
it's thing in the background and my initial tests have worked. The changed
code is below -- feel free to use it. (you could make a version that
modifies the draft window and is also is used for Rules...)
-- JX
The "do it" section now looks like:
else -- an acct property exists, so do it
-- get the currently selected message or messages
set selectedMessages to current messages
-- if there are no messages selected, warn the user and then quit
if selectedMessages is {} then
display dialog "Please select a message first and then run this
script." with icon 1
return
end if
repeat with theMessage in selectedMessages
set account of theMessage to replyAcct -- here we do the actual change
end repeat
end if
> JX,
>
> I have a similar (sounding) set-up, with multiple "dummy" (send-only)
> accounts.
>
> You can download my script that switches to any account you want with just a
> keystroke. You can duplicate and have as many "switchers" as you want.
>
> I'm not one of the "pro" scripters on this list, but my script has filled
> that little niche for me, once and for all (and I only had to annoy Paul B
> once! ;-)
>
>
> Download "Set_Acct_To_E" at my site:
>
> <http://inkfree.com/cgi-bin/getfile.pl?browse&applescript>
>
> HTH, and let me know if you think it's useful.
>
> Gary
>
>
> On 2/15/01 6:46 PM, JX <[EMAIL PROTECTED]> wrote :
>
>>
>> I use Accounts to define the sending email address for me. When i receive a
>> work email, a reply to it automatically has the right Account info for SMTP
>> server as well as email address and extra headers.
>>
>> This works fine if my work email is received as a separate POP account from
>> my personal account -- hitting "reply" always does the right thing. :-)
>>
>> But, if I use one POP account for several accounts (for instance,
>> [EMAIL PROTECTED] & [EMAIL PROTECTED] with a single POP account), then
>> an intuitive interface would be to allow me to change Account information as
>> a Rule action, and I can't do such a thing. :-(
>>
>>
>> -- JX
>>
>
>
>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
To search the archives:
<http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>