Error in ${NSD_SetText}
I am using the following code to set directory path after clicking Browse button.
Function ExternalFolderBrowseClick
# Browse button clicked
# Get current folder to set as default
${NSD_GetText} $ExternalPage.Folder $ExternalPage.Folder_Text
# Browse for new folder
nsDialogs::SelectFolderDialog /NOUNLOAD "" $ExternalPage.Folder_Text
Pop $ExternalPage.Folder_Text
${NSD_SetText} $ExternalPage.Folder $ExternalPage.Folder_Text
FunctionEnd
But while compiling I am getting error in ${NSD_SetText}.
It is saying Invalid Command.
What should I do in this case