Hi experienced scripters! ![:)]()
I'm currently fumbling around at a new script for Notepad++ (6.1.2), as I'd like to get a bit into scripting for my Win7PE_SE project (WinBuilder [082]).
Having looked at similar work done by ChrisR (Notepad/Notepad2 script) and MrChucong™ (former Notepad++ script), I missed an option to select the localization (for a start just english, french and german) via pScrollBox, and now face a problem:
The language information is stored in subfolder localization within the Notepad++ folder:
english.xml, french.xml, german.xml ... Configuring a localization will result in copying a xml file as nativeLang.xml into the main Notepad++ folder (where notepad++.exe lies).
MakeScript compressed my complete Notepad++ folder as one big 7z archive.
Now, which command (syntax) do I need in order to:
Copy/Overwrite File %SelectedLang%+".xml" from subfolder localization to File nativeLang.xml within %ProgramFolder%
Something like (pseudocode):
CopyOrOverwriteFile,%pScrollBox%+'.xml',%ProgramFolder%\nativeLang.xml
![:confused1:]()
Any suggestions about a possible approach for this?
Thanks in advance,
Mikka

I'm currently fumbling around at a new script for Notepad++ (6.1.2), as I'd like to get a bit into scripting for my Win7PE_SE project (WinBuilder [082]).
Having looked at similar work done by ChrisR (Notepad/Notepad2 script) and MrChucong™ (former Notepad++ script), I missed an option to select the localization (for a start just english, french and german) via pScrollBox, and now face a problem:
The language information is stored in subfolder localization within the Notepad++ folder:
english.xml, french.xml, german.xml ... Configuring a localization will result in copying a xml file as nativeLang.xml into the main Notepad++ folder (where notepad++.exe lies).
MakeScript compressed my complete Notepad++ folder as one big 7z archive.
Now, which command (syntax) do I need in order to:
Copy/Overwrite File %SelectedLang%+".xml" from subfolder localization to File nativeLang.xml within %ProgramFolder%
Something like (pseudocode):
CopyOrOverwriteFile,%pScrollBox%+'.xml',%ProgramFolder%\nativeLang.xml

Any suggestions about a possible approach for this?
Thanks in advance,
Mikka