• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: update search base in outlook 2011
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: update search base in outlook 2011


  • Subject: Re: update search base in outlook 2011
  • From: Paul Berkowitz <email@hidden>
  • Date: Tue, 15 Nov 2011 11:52:53 -0800
  • Thread-topic: update search base in outlook 2011

Title: 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
 _______________________________________________
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

  • Follow-Ups:
    • Re: update search base in outlook 2011
      • From: Steve Thompson <email@hidden>
    • Re: update search base in outlook 2011
      • From: Jak Piper <email@hidden>
References: 
 >update search base in outlook 2011 (From: Jak Piper <email@hidden>)

  • Prev by Date: update search base in outlook 2011
  • Next by Date: Re: Open URL in Safari with Post params
  • Previous by thread: update search base in outlook 2011
  • Next by thread: Re: update search base in outlook 2011
  • Index(es):
    • Date
    • Thread