On or about 12/19/02 10:05 AM, Kirk McElhearn wrote: > Re my request earlier today, Gary replied off-list with a couple of > AppleScript solutions, but, looking at them, they're much more complicated > than what I need. > > I don't know much about AppleScript, but it seems that it should be possible > to do something like this: > > Tell application "Entourage" > Activate > Create new message with account "X" > End tell > > I looked in the dictionary, but couldn't figure out how to do it, and the > Script Editor doesn't record Entourage. > > Is the above possible? > > To go a bit further, what I would like is a script that shows me a dialog > with a list of my accounts letting me double-click the one I want to use. > Would that be possible? > > Thanks, > > > Kirk
Kirk, Paul's script, the URL I sent you, could be a little "complicated" to set up, I guess (depending on one's comfort zone). I didn't find it too difficult myself, but I can go with your assessment. But the other script 'Set Account To' is so basic as to be only a few K. I use one copy for each account, and I've assigned each one my own keypress shortcut. There is only the initial setup, where you open a new draft and change the account to the one you want the script to use from then on. Just open that script in a script editor and see how it works. It's really just one line that does the switching. ... set account of theMessage to replyAcct -- here we do the actual change ... Of course, 'theMessage' and 'replyAcct' are variables holding references to actual an actual Entourage message and account. The other stuff is "error trapping" stuff, so the script doesn't run if you don't have any message open, and so on. (It would be pointless, of course.) Go ahead and open the script in Script Editor or Smile or something and you will see that it is a lot of stuff to prevent beeps and error dialogs, and then just one little line to change an account in an open outgoing message. -- Gary Incoming replies are auto-deleted. Please post directly to the list or newsgroup. Really need direct? Rot me at: [EMAIL PROTECTED] Lbhe fhowrpg zhfg ortva "abgwhax:" (ab dhbgrf) Avpr gb zrrg lbh! Qba'g fcnz zr. -- To unsubscribe: <mailto:[EMAIL PROTECTED]> archives: <http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/> old-archive: <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>