closeupman Posted December 16, 2004 Share Posted December 16, 2004 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 Link to comment Share on other sites More sharing options...
Valik Posted December 16, 2004 Share Posted December 16, 2004 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now