Re: update search base in outlook 2011
Re: update search base in outlook 2011
- Subject: Re: update search base in outlook 2011
- From: Paul Berkowitz <email@hidden>
- Date: Wed, 16 Nov 2011 08:15:03 -0800
- Thread-topic: update search base in outlook 2011
Title: Re: update search base in outlook 2011
Just go to Tools/Accounts where your list of accounts is, and read it off from there, excluding the " (Exchange)" at the end.
Since you surely have only one Exchange account, you don't even need to know the name. Just use
Exchange account 1
instead of referring to it by name in all your scripts. And if you do want to know the name you can just get
name of Exchange account 1
and now you know it.
--
Paul Berkowitz
From: Aaron <email@hidden>
Date: Wed, 16 Nov 2011 06:26:55 -0800
To: Jak Piper <email@hidden>
Cc: Paul Berkowitz <email@hidden>, AppleScript-Users <email@hidden>
Subject: Re: update search base in outlook 2011
Hi all. I haven't looked at this yet as we don't have outlook. Id imagine the "account" name will differ. How would I get the account name of an exchange acct?
On Nov 16, 2011, at 1:55 AM, Jak Piper <email@hidden> wrote:
Nice work Paul, works a treat!
;)
Many thanks.
From: Paul Berkowitz <email@hidden>
Date: Tue, 15 Nov 2011 11:52:53 -0800
To: AppleScript-Users <email@hidden>
Subject: Re: update search base in outlook 2011
Re: update search base in outlook 2011
I'm not using Outlook, but you appear to be trying to set all the properties at once, then just specify one of them.
Working blind here, since 'ldap search base' is not scriptable in Entourage 2008 which I'm using, although I have seen an AppleScript dictionary ofr Outlook and can confirm that 'ldap search base' is a property of Exchange account. Is "dc=foo,dc=bar" a valid value for it, just as you'd enter it in the UI (really?? two different values both for "dc"?? are you sure that's not your error right there?), then have you tried:
tell application "Microsoft Outlook"
set ldap search base of exchange account "Account" to "dc=foo,dc=bar"
end tell
Is "dc=foo,dc=bar" really a valid format for an LDAP search base?
First try setting it in the UI (with your real search base, of course), and see if it works. Then remove it and verify that you have no search base functioning. Then try setting it as above, using the real name of the account, etc,. Does anything happen? If not, check that
get exchange account "Account"
works. Have you got the name right?
--
Paul Berkowitz
From: Jak Piper <email@hidden>
Date: Tue, 15 Nov 2011 16:15:41 +0000
To: AppleScript-Users <email@hidden>
Subject: update search base in outlook 2011
Hi list,
Need to updated the ldap search base for existing exchange account, I got this far,
Nothing happens…
tell application "Microsoft Outlook"
set properties of exchange account "Account" to {ldap search base:"dc=foo,dc=bar"}
end tell
No errors, no output, runs.. Does nothing..
Thanks in advance,
Jak.
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the addressee of this e-mail please do not copy or forward it or otherwise use it or any part of it in any form whatsoever. If you have received this email in error please notify the system manager on email@hidden .
References in this Data to "Burberry" are references to Burberry Group plc, a company incorporated in England and Wales with registered number 03458224 whose registered office is at Horseferry House, Horseferry Road, London, SW1P 2AW and where the context requires, includes its subsidiaries and associated undertakings.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the addressee of this e-mail please do not copy or forward it or otherwise use it or any part of it in any form whatsoever. If you have received this email in error please notify the system manager on email@hidden .
References in this Data to "Burberry" are references to Burberry Group plc, a company incorporated in England and Wales with registered number 03458224 whose registered office is at Horseferry House, Horseferry Road, London, SW1P 2AW and where the context requires, includes its subsidiaries and associated undertakings.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden