Loading...

applescript-users@lists.apple.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: update search base in outlook 2011 Aaron Sat Nov 26 08:00:36 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 PROTECTED]> wrote:

> Nice work Paul, works a treat!
> 
> ;)
> 
> Many thanks.
> 
> 
> From: Paul Berkowitz <[EMAIL PROTECTED]>
> Date: Tue, 15 Nov 2011 11:52:53 -0800
> To: AppleScript-Users <[EMAIL PROTECTED]>
> Subject: 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 PROTECTED]>
> Date: Tue, 15 Nov 2011 16:15:41 +0000
> To: AppleScript-Users <[EMAIL PROTECTED]>
> 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 
> PROTECTED] . 
> 
> 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 PROTECTED])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/applescript-users/berkowit%40silcom.com
> Archives: http://lists.apple.com/archives/applescript-users
> 
> This email sent to [EMAIL PROTECTED]
> _______________________________________________ Do not post admin requests to 
> the list. They will be ignored. AppleScript-Users mailing list ([EMAIL 
> PROTECTED]) Help/Unsubscribe/Update your Subscription: 
> http://lists.apple.com/mailman/options/applescript-users/jak.piper%40burberry.com
>  Archives: http://lists.apple.com/archives/applescript-users This email sent 
> to [EMAIL PROTECTED] 
> 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 
> PROTECTED] .
> 
> 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 PROTECTED])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/applescript-users/a.robinson.lists%40gmail.com
> Archives: http://lists.apple.com/archives/applescript-users
> 
> This email sent to [EMAIL PROTECTED]
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      ([EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/alexiscircle%40gmail.com
Archives: http://lists.apple.com/archives/applescript-users

This email sent to [EMAIL PROTECTED]