Jump to content

Recommended Posts

Posted (edited)

Hi all,

 

I am trying to write a simple exe that will close outlook, backup all pst files and open outlook.

it all works fine when i run the script via the script editor or double-click on the exe file, but when it's being executed via the Task Scheduler, the RunWait and Run commands start Outlook in hidden mode, the flags @sw_minimize nor @sw_maximize did any better...

 

any ideas?

 

thanks in advanced.

Edited by bbProg
Posted

shellexecute

  Reveal hidden contents

IUIAutomation - Topic with framework and examples

Au3Record.exe

Posted

I found out the problem.

Setting the task to run whether the user is logged on or not makes it invisible. Selecting "Run only when user is logged on" made it visible :)

Posted

Learning everyday, glad you sorted it out.

  Reveal hidden contents

IUIAutomation - Topic with framework and examples

Au3Record.exe

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...