Jump to content

Recommended Posts

Posted

My Outlook is 32bits and my Windows is 64bits.

I also tried :

$sCurrentUser = $oNameSpace.CurrentUser.Name

I am not able to get the script working.

 

 

 

Posted

What do you get when you run this script?

#AutoIt3Wrapper_UseX64=n
#include <OutlookEx.au3>
_OL_ErrorNotify(2)
Global $oOL = _OL_Open()
Global $oNamespace = $oOL.GetNamespace("MAPI")
Global $sCurrentUser = $oNameSpace.CurrentUser.Name
MsgBox(0, "Result", $sCurrentUser)

 

My UDFs and Tutorials:

  Reveal hidden contents

 

Posted

I think you should talk to your admins whether they have configured any limitations. It works at home (and here as well) but doesn't at the office.

My UDFs and Tutorials:

  Reveal hidden contents

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...