Save text file without dialogue box?

gavspav's icon

I'm trying to save a single word or phrase to a text file using Windows 7 but I'm finding it tricky.

I keep getting an error -1 creating file message with the patch below.

Its ok if I just send a write message and use the pop up box but this is no good for my application.

Max Patch
Copy patch and select New From Clipboard in Max.

Am I making a basic mistake?

gavspav's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Ah absolute file path. That seems to solve it.