![]() ![]() It is also possible to put newlines, tabs etc. MessageBox MB_OK "$\"A quote from a wise man$\" said the wise man" this one shows escaping of quotes MessageBox MB_OK `And he said to me "I'll be happy!"` this one puts both ' and "s inside a string MessageBox MB_OK 'And he said to me "Hi there!"' this one puts a " inside a string You can escape quotes using $\: MessageBox MB_OK "I'll be happy" this one puts a ' inside a string They can be either single quotes, double quotes, or the backward single quote. Quotes only have the property of containing a parameter if they surround the rest of the parameter. To represent strings that have spaces, use quotes: MessageBox MB_OK "Hi there!" 0x12345AB), or octal (numbers beginning with a 0 and no x).Ĭolors should be set in hexadecimal RGB format, like HTML but without the #. nsExec::Exec "myfile"įor parameters that are treated as numbers, use decimal (the number) or hexadecimal (with 0x prepended to it, i.e. ![]() To call a plug-in, use 'plugin::command '. If you want a parameter to start with or # put it in quotes. CommentĪnother comment line (see `Long commands` section below) You can also use C-style comments to comment one or more lines. Chapter 4: Scripting Reference 4.1 Script File FormatĪ NSIS Script File (.nsi) is just a text file with script code.Ĭommands lines are in the format 'command ' File "myfile"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |