Default Folder on launch

J

Jeff Vandehey

Hello, when Entourage is first launched or re-activated, it defaults to
showing the Inbox that lives on 'On My Computer'. Is there a way to specify
an IMAP folder to show first, instead of the Inbox that I do not use?

-Jeff
 
P

Paul Berkowitz

Hello, when Entourage is first launched or re-activated, it defaults to
showing the Inbox that lives on 'On My Computer'. Is there a way to specify
an IMAP folder to show first, instead of the Inbox that I do not use?

You can do it by script. Make a schedule to run At Startup, or add an action
to an existing schedule which runs at startup, to "Run AppleScript", and
browse to the following script saved in Script Editor to the Entourage
Script Menu Items folder:

tell application Microsoft
set displayed feature of main window to folder "INBOX" of IMAP account
"Its Name"
end tell

If its a subfolder, it would look like this:

tell application Microsoft
set displayed feature of main window to folder "Special" of folder
"INBOX" of IMAP account "Its Name"
end tell


--
Paul Berkowitz
MVP Entourage
Entourage FAQ Page: http://www.entourage.mvps.org/toc.html

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

PLEASE always state which version of Entourage you are using - 2001 or X.
It's often impossible to answer your questions otherwise.
 
J

Jeff Vandehey

Hi Paul, thanks for the help. I launched script editor, and entered the
scipt below:

tell application Microsoft
set displayed feature of main window to folder "INBOX" of IMAP accout "GW
IMAP"
end tell

When I try to save this, or compile, I get an error that says ³A identifier
cannot go in front of an identifier². Is the syntax incorrect, or did I miss
something? I am an extreme novice at AppleScript.

Regards,
Jeff
 
P

Paul Berkowitz

Hi Paul, thanks for the help. I launched script editor, and entered the scipt
below:

tell application Microsoft
set displayed feature of main window to folder "INBOX" of IMAP accout "GW
IMAP"
end tell

When I try to save this, or compile, I get an error that says ³A identifier
cannot go in front of an identifier². Is the syntax incorrect, or did I miss
something? I am an extreme novice at AppleScript.

You spelled 'account' incorrectly, as 'accout', so the script sees it as a
variable (identifier), not the application keyword you wanted. You can set
AppleScript Format preferences so that variables show up in a different
color and/or font than application and AppleScript keywords, making typos
easier to spot.

--
Paul Berkowitz
MVP Entourage
Entourage FAQ Page: http://www.entourage.mvps.org/toc.html

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

PLEASE always state which version of Entourage you are using - 2001 or X.
It's often impossible to answer your questions otherwise.
 
J

Jeff Vandehey

Thanks again for the help. I actually caught the typo after my post, and the
script was edited to

tell application Microsoft
set displayed feature of main window to folder "INBOX" of IMAP account "GW
IMAP"
end tell

This still won¹t work. When the error comes up, the text Œdisplayed feature¹
is highlighted, so it seems that the error is happening here. Also, I have
the color preferences set on the format preferences. Everything still shows
up as purple, which is the category Œreferences¹. If you past this script in
your editor, will it compile?

Many thanks
-Jeff
 
P

Paul Berkowitz

tell application Microsoft
set displayed feature of main window to folder "INBOX" of IMAP account "GW
IMAP"
end tell

This still won¹t work. When the error comes up, the text Œdisplayed feature¹
is highlighted, so it seems that the error is happening here. Also, I have the
color preferences set on the format preferences. Everything still shows up as
purple, which is the category Œreferences¹. If you past this script in your
editor, will it compile?

It's not compiling because you don't have the correct name of the
application and you're not placing it in quotes as text:

tell application "Microsoft Entourage"

not

tell application Microsoft

We all make typos - I make tons - but you're not going to get too far in
AppleScript without an eye for that kind of detail. You can't take shortcuts
- they won't work.

tell application "Microsoft Entourage"
set displayed feature of main window to folder "INBOX" of IMAP account
"GW IMAP"
end tell

--
Paul Berkowitz
MVP Entourage
Entourage FAQ Page: http://www.entourage.mvps.org/toc.html

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

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