anmXNpp: a Plugin for the Open Source (free) Notepad++ (Npp) Text Editor Version: 0.0.1.0 By: Carlo Somigliana, email: somic@libero.it, site: www.semelinanno.com ************************************************************************** See Readme-v031.txt and LICENSE.txt files for more info ************************************************************************** BEST VIEW WITH NOTEPAD++ EDITOR ************************************************************************** LICENSE SUMMARY This program is provided "AS IS". The author is NOT responsible for any damage (or damages) attributed to the software. You are warned that you use the library and the included programs at your own risk. No warranties are implied or given by the author or any representative. The demo/trial version of this program may be freely distributed provided all contents, of the original archive, remain intact. You may not modify, or change, the contents of the original archive without express written consent from author. The library has two kind of licenses: one single user: means you can install it on every computer you need but you can't share it between two or more people. One for multy user: means you can aso share it between two or more people. All components, libraries, and binaries are copyrighted by the author. The license explicitly forbids the creation of DLLs whose primary function is to serve as a 'wrapper' for the DLL functions. ************************************************************************** PROGRAM DESCRIPTION: -------------------- It transforms Npp (and other editors as soon as I've time to develop the relevant plugins) in a powerfull expression evaluator, simple to use and with many functions for numbers and matrices. It uses an extended version of aStEval.exe program (see aSpEval_Page) called anmEval.exe with window interface and my 'famous' aNuMet.dll (see aNuMet_Page) all in one package. It is written in PureBasic (www.purebasic.com) and it doesn't write anything outside the installation folder (no system changes). - The program is Freeware (provided 'as is', without warranty of any kind. Use it at your own risk) but the library must be registered (as TRIAL with some annoyance and limited functionalities). The zip file is provided with a complete sample script file with all the keywords and functions implemented. Pls remember to install the aNumet.dll first (see zip file for info). For Notepad++ (notepad++) fans (like me) I've also included: - the syntax highlighter definition file "userDefineLang.xlm" to be copied (merged if existing) in the Application Data folder (es. C:\Documents and Settings\username\Application Data\Notepad++) Note that the anmEval.exe program has a "special" mode called Terminate Stay Resident (TSR). In this mode it can accept input parameters from any source (not necessarily the original launching app). PLUGIN INSTALLATION: -------------------- - Just unzip the file in the Notepad++ folder (es. c:\program files\notepad++), preserving the subfolder names DLL INSTALLATION: ----------------- - copy aNuMet.dll and DLLRegister.exe in the same folder - run DLLRegister.exe to activate the DLL. This operation will be automatically prompted at the first run of the plugin. PLUGIN USE: ----------- 1. Run Notepad++ 2. You will have the menu Plugin > Evaluator showing 10 submenus - Eval CurFile ToFile => Evaluate the current file and send output to (CurrentFilPath)\Result.anm Save to File feature is disabled in TRIAL mode A sample of output file is in the InOut subfolder - Eval CurLine ToFile => Evaluate the current line and send output to the end of (CurrentFilPath)\Result.anm Save to File feature is disabled in TRIAL mode - Eval CurLine ToClpb => Evaluate the current line and send output to the next line via the Clipboard - Eval SelText ToClpb => Evaluate the selected text and send output to the next line via the Clipboard - Eval Expression ToClipb => Evaluate the previous expression and send output to the next line via the Clipboard The previous expression is from the cursor backwards to the first valid KeyWord - Launch TSR Visible => Run the program in Terminate Stay Resident Mode. Necessary when running multiple evaluations using variables, custom functions and matrices, stored in memory. - Show Memory => Show program memory content (variables, matrices and custom functions stored in memory) (only in TSR mode, otherwise always empty) - Setup Window => Show setup window - Quit Evaluator (TSR) => Terminate program (if TSR) - About Evaluator => Show About box 3. Load the file (Notepad++ Dir)\plugins\anmEval\InOut\Full_SyntSamp.anm 4. Select a line or some text and click on the various menu items In the (notepad++ dir)\plugins\anmEval\InOut folder are the files used in the Full_SyntSamp.anm file Note: - DLL shipped is not active and must be 'ACTIVATED'. No changes will be made to your system. If used without activation, it will self-terminate itself and the program calling it, after prompting for registration. PLS BE WARNED OF THIS BEHAVIOUR AND PLS DON'T CLAIM. UN-INSTALLATION: ---------------- - the program is a set of files. To uninstal, simply cancel them from the installation folder (don't forget the INi file) DLL FEES - no earnings at present :-( ------------------------------------- - UNREGISTERED users: no Cost. TRIAL period of 10 days with flash screen (About box) prompting for registration - Registered SINGLE users: Cost 10 Euro. DLL working on the installation PC - Registered MULTI Users: cost: 50 Euro. DLL working on every PC To register it, email me at somic@libero.it specifying the desired license (SINGLE or MULTI User). You will get instructions for payment. After this, you will get a new version of the Install.exe file to repeat installation. ************************************************************************************************** Pls report any bug and/or comment to me, Carlo Somigliana, at this e-mail address: somic@libero.it Bug fix will be e-mailed free of charge. **************************************************************************************************