Jump to content

Recommended Posts

Posted

My script ran perfectly fine when tested, but when ran independently by nnCron(i.e. at a specified time), I get this message:

"Unable to open outlook window. Could not complete operation because the service provider does not support it."

P.S.: I have my screensaver off.

Here is the script:

;

;autoit v3

;language: english

;platform: win9x/nt

;

;use outlook

;

run ("C:\Program Files\Microsoft Office\Office\OUTLOOK.EXE")

WinWait("Inbox - Microsoft Outlook")

Send("^n")

WinWaitActive("Untitled - Message")

Send("JOHN SMITH")

Send("{TAB}")

Send("{TAB}")

Send("{TAB}")

Send("test subject")

Send("{TAB}")

Send("^{ENTER}")

WinWait("Inbox - Microsoft Outlook")

WInClose("Inbox - Microsoft Outlook")

---------------------------

Thanks for the help,

Close :idiot:

Posted

I'm going to assume you didn't choose to "Run as logged user". If that is the case, then you're trying to run as the System account which is what the nnCron service runs under.

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
×
×
  • Create New...