learning where a linked message is

M

matt neuburg

Let's say that in message 1 I say Open Links. This brings me to message
2, which is linked to message 1. My question is, how do I learn where
message 2 is? (i.e. what folder / mailbox it's in). Thx - m.
 
P

Paul Berkowitz

Let's say that in message 1 I say Open Links. This brings me to message
2, which is linked to message 1. My question is, how do I learn where
message 2 is? (i.e. what folder / mailbox it's in). Thx - m.

1. Open (double-click) the link. That opens the message in its own window.

2. Click on the Move button. The single Folder name above the space in the
drop-down is its current folder.

I still find it odd that you can't "Open Links" from the contextual menu
when you have a message selected in the new 3-column (preview pane at right)
view, even though the column shows the Link symbol. It works in Preview Pane
Below view (just click on the link symbol). There is an "Open Links" menu
item in Tools (you'd think it would be in Message menu, mind you). Or else
open the message into its own menu to get Links button. I'm thinking of
adding a keyboard shortcut to "Open Links" from System Prefs/Keyboard and
Mouse/Keyboard Shortcuts.

You could write a script to show 'storage' (folder) of all links whose class
is incoming message or outgoing message, in a Choose from List.

--
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>

Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.

PLEASE always state which version of Microsoft Office you are using -
**2004**, X or 2001. It's often impossible to answer your questions
otherwise.
 
M

matt neuburg

Paul Berkowitz said:
1. Open (double-click) the link. That opens the message in its own window.

2. Click on the Move button. The single Folder name above the space in the
drop-down is its current folder.

Good trick - thanks.
I still find it odd that you can't "Open Links" from the contextual menu
when you have a message selected in the new 3-column (preview pane at right)
view,

It's also weird how opening links doesn't open the links of links etc -
in other words, there is no single command for opening the whole chain,
as far as I can tell.

The *real* problem, though, of which my original question is just a
special case, is that there is no way to navigate from the message in
its own window to the same message listed in its folder.
You could write a script to show 'storage' (folder) of all links whose class
is incoming message or outgoing message, in a Choose from List.

Yup, did that. But I don't know how to select the message. I've tried
various incantations involve "selection" but they didn't work. Do you
know a way, in AppleScript, given a message id and the folder id that
contains it, to select that message in that folder's browser window? m.
 
P

Paul Berkowitz

The *real* problem, though, of which my original question is just a
special case, is that there is no way to navigate from the message in
its own window to the same message listed in its folder.


Yup, did that. But I don't know how to select the message. I've tried
various incantations involve "selection" but they didn't work. Do you
know a way, in AppleScript, given a message id and the folder id that
contains it, to select that message in that folder's browser window? m.

'selection' can be of three possible classes: text (Unicode text now in
2004), folder (in the Folders list), and list (items in lists - messages,
contacts, events, etc.). If it's a single message or other item, put list
brackets around it:

tell application "Microsoft Entourage"
set theMsg to item 1 of (get current messages)
set theLinks to links of theMsg
repeat with aLink in theLinks
if {class of aLink} is in {incoming message, outgoing message} then
set theFolder to storage of aLink
set displayed feature of main window to theFolder
set selection to {aLink}
exit repeat
end if
end repeat
end tell


That will usually work. You might occasionally get issues of focus where you
need to tab by GUI scripting, but it seems to be working OK now, at least
for messages. For contacts, tasks, etc. you can't set displayed feature, but
you can set displayed area. Then set selection to the list of items you want
to select.. Folders and custom views only can be displayed feature.

BTW, there's a command missing from the dictionary, Standard Suite:

select [reference] -- reference to an open window

In Entourage that means "bring the window forward". In OS X that only works
when Entourage is the front app (similar to Word, Excel an many other apps).
In any case 'open' will work just like 'select' if the window is already
open. ('select' is useful in a try block if you want to bring forward a
window if it's open but NOT to open it if it isn't.)


--
Paul Berkowitz
MVP MacOffice
Entourage FAQ Page: <http://www.entourage.mvps.org/faq/index.html>
AppleScripts for Entourage: <http://macscripter.net/scriptbuilders/>

Please "Reply To Newsgroup" to reply to this message. Emails will be
ignored.

PLEASE always state which version of Microsoft Office you are using -
**2004**, X or 2001. It's often impossible to answer your questions
otherwise.
 
Top