Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way in notepad++ to use the "Run > Launch in ..." functions on unsaved files? If you do this, it just tries to open "{notepad++-Dir}\new 1", which doesn't exist of course.

I sometimes just want to see the output of some small scribbles without having to manually save them in a temp dir or something.

Any help is appreciated!

share|improve this question

This will quite simply not be possible. When you create a new document in NPP, this will only exist in your RAM and nowhere on the disk until it has been made persistent by saving. Other programs will not be able to run this since they need to load it from the disk.

share|improve this answer
I once had an editor (dont't remember its name) that would save the file into the temporary folder for this purpose. That would solve this problem, but is there a way to in npp to do that? – king_nak Oct 18 '12 at 11:05

It's not like I'm an expert at scripting or anything, but if it's minor edits, why don't you just save the changes, run it, and then hit ctrl+z?

share|improve this answer
It's not about small changes on an existing file. I write something or copy from another program, and just want to run that content. So it's not saved anywhere... And saving a temporary file just to delete it immediately is a bit cumbersome – king_nak May 22 '13 at 10:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .