bbProg Posted January 19, 2017 Posted January 19, 2017 (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 January 19, 2017 by bbProg
careca Posted January 19, 2017 Posted January 19, 2017 shellexecute Reveal hidden contents Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. Regedit Control - Registry browsing history, quickly jump into any saved key. Time4Shutdown - Write the time for shutdown in minutes. Power Profiles Tool - Set a profile as active, delete, duplicate, export and import. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe
bbProg Posted January 20, 2017 Author Posted January 20, 2017 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
careca Posted January 20, 2017 Posted January 20, 2017 Learning everyday, glad you sorted it out. Reveal hidden contents Renamer - Rename files and folders, remove portions of text from the filename etc. GPO Tool - Export/Import Group policy settings. MirrorDir - Synchronize/Backup/Mirror Folders BeatsPlayer - Music player. Params Tool - Right click an exe to see it's parameters or execute them. String Trigger - Triggers pasting text or applications or internet links on specific strings. Inconspicuous - Hide files in plain sight, not fully encrypted. Regedit Control - Registry browsing history, quickly jump into any saved key. Time4Shutdown - Write the time for shutdown in minutes. Power Profiles Tool - Set a profile as active, delete, duplicate, export and import. Finished Task Shutdown - Shuts down pc when specified window/Wndl/process closes. NetworkSpeedShutdown - Shuts down pc if download speed goes under "X" Kb/s. IUIAutomation - Topic with framework and examples Au3Record.exe
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