Jump to content
Sign in to follow this  
AcidCorps

Write Notepad In Background

Recommended Posts

AcidCorps

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)?

Share this post


Link to post
Share on other sites
AcidCorps

Thank you

Share this post


Link to post
Share on other sites
GMK

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*

Share this post


Link to post
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
Sign in to follow this  

×