Archive: looking for Nsis equvalent


looking for Nsis equvalent
I'm making this plugin with two main functions: use the Common Dialog "GetOpenFileName" and shell browser "SHBrowseForFolder".

It's ready to release, but I'm having problems with the filter input by the user.

Normaly (C++ style) will be:


ofn.lpstrFilter = "Text files(*.txt)\0*.txt\0\0";

How will be the equivalent of \0 with NSIS script?
I try $\r and nothing.... :(

So you need a "string" with multiple null characters. I think that's not possible with a standard NSIS string.


Ok. So I need an alternative way...
Thanks though... :)


Make your plug-in prepare that string according to stack input.


Done ;)