Jump to content

Write Notepad In Background


Recommended Posts

Is there a way to open notepad minimized and send text to it while it remains minimized so that the user can use other programs and not see the script while it is running (wither it's on the task bar or not doesn't bother me)?

Link to comment
Share on other sites

Is there a way to open notepad minimized and send text to it while it remains minimized so that the user can use other programs and not see the script while it is running (wither it's on the task bar or not doesn't bother me)?

When creating text files, I often like to use code such as this:
RunWait('"' & @ComSpec & '" /c echo This is some text > C:\textfile.txt', '', @SW_HIDE) ;Using one ">" will overwrite or create a new file, while ">>" will append to a file.

That way, it's in the background and it's also quicker than using Notepad. Not sure it's what you were looking for, but I thought I'd throw that out there as an option. *shrug*

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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