myV5 Readme ============ myV5 1.2.15 =============================================================================== Added new attribute 'lastanv' at 'Environment'-node. Value are one or multible env.txt file(s), separated by semicolon. The values from this env file(s) are added at the end of a myV5 variable. This is used to set the last values of a environment variable. ------------------------------------------------------------------------------- myV5 1.2.14b - Beta nur zu Testzwecken =============================================================================== Fixed CATUserSettings handling problems (Path Unix/Win) ------------------------------------------------------------------------------- myV5 1.2.13 =============================================================================== Update license error messages ------------------------------------------------------------------------------- Fixed null-pointer exception, when click into empty addon or radio filed ------------------------------------------------------------------------------- myV5 1.2.12 =============================================================================== Corrected error at parameter forwarding with scriptpar attribute at Environment node. ------------------------------------------------------------------------------- Added internal variable [params] To start Catia by catstart -run with a file *.CAT* as parameter, the file must be specified inside the double-quotes of the -run parameter. To be able to do this, a myV5 variable [params] is added. Default is an empty # string. Sample script attribute: C:\CATIAV5\intel_a\code\bin\CATSTART.exe -run "CNEXT.exe[params]" and myV5 is called as described here: java -classpath myV5user_xx.jar myv5.user.MyV5Gui -d .\myV5.xml .\test.CATPart results in: C:\CATIAV5\intel_a\code\bin\CATSTART.exe -run "CNEXT.exe test.CATPart" -env XXXXX -direnv C:\CATIAV5\CATEnv ------------------------------------------------------------------------------- Added attributes at Environments node: - graystartwait defines the gray start button refresh time in seconds - graystartblock defines a blocking time for refresh that gives a script time to create a file (minimum value is graystartwait) ------------------------------------------------------------------------------- Corrceted graystart handling ------------------------------------------------------------------------------- Added possibility to use wildcards in host and user attributes: * placeholder for 0, 1 or any number of characters ? placeholder for exactly 1 character ------------------------------------------------------------------------------- Corrceted radiobutton handling, if mouse clicked in the emty region ------------------------------------------------------------------------------- myV5 1.2.11 =============================================================================== Added license information to About dialog ------------------------------------------------------------------------------- Multi language support with hot switch: - all GUI texts can have a '@' sign as first character - in the new section 'Language' with attribute name= - for each '@'-text a 'Translations'-node has to be created: name= - each 'Translations'-node consists of multible 'Translation'-nodes: - according to the language variable the text will be set - language variable can be set initially by -D= - in Tools menu the script attribute may have a leading '@' then a variable=value pair follows At runtime, the variable will be set to value and the GUI texts will be regenerated - enews source can be handled in same way ------------------------------------------------------------------------------- GetCSIDL2 with added DSKEY_TMPDIR ------------------------------------------------------------------------------- Take all comment lines ! MODE : Global ! TYPE : Interactif from the first environment file to read (top node), because CATIAV5 needs this in some cases. ------------------------------------------------------------------------------- For assembling the file specification to the environment file: if 'direnv' ends with file separator, omit additional separator ------------------------------------------------------------------------------- myV5 1.2.10 =============================================================================== Added dialog after backup, delete or restore of the user settings which shows the number of settings and the number of processed settings ------------------------------------------------------------------------------- Restore user settings: fileselector shows now directories and setting files - if directory is selected, all settings files are restored - if a settings file is selected, all settings of this directory are restored ------------------------------------------------------------------------------- extended debug information: reason for not displaying a node (user, host, test) ------------------------------------------------------------------------------- Bugfix: adminstart with activated graystart ------------------------------------------------------------------------------- myV5 1.2.9 =============================================================================== New attribute at Environment node: adminstart=" or " overrides the denystart="true" setting by user or group entry. So this node can be started by e.g. the admins group. ------------------------------------------------------------------------------- Graystart handling paused for 3 sec. after pressing start button to give a script time to create a file. ------------------------------------------------------------------------------- New ticker functionality: - if tickersleep > 0, it is as it is now. - if tickersleep < 0, at myV5 start, ticker is paused and with a klick it scrolls thru the paragraphs and stop at top. - if tickersleep == 0, at myV5 start, ticker is paused and with each klick it scrolls to the next paragraph. ------------------------------------------------------------------------------- Setvar can be used at addon and radio nodes. ------------------------------------------------------------------------------- myV5 1.2.8 =============================================================================== Bugfix: myV5.xml specified by relative path. Path for license and bitmap now ok ------------------------------------------------------------------------------- Bugfix: changed username and hostname with ~ set as myV5 variable for later use ------------------------------------------------------------------------------- Bugfix: set font works now for addon's and radio buttons, too. ------------------------------------------------------------------------------- Bugfix: for UNC paths os swapping semicolon is corrected: \\svr1\t1;\\svr2\t2 ------------------------------------------------------------------------------- Selection at AddOn/License has only effect at items, not in emty area ------------------------------------------------------------------------------- myV5 1.2.7 =============================================================================== for myV5 are no more position dependant: java[[ -Dvar1=val1] ... [ -Dvarn=valn]] -classpath myV5user_x.x.x.jar myv5.user.MyV5Gui[ ] [[ arg1] ... [ argn]] = path/file or url to administration xml : -d Debug mode -s no Splash screen -b Batch mode -e Execute not -c replace Csidl -v Variables list for input of internal myV5 variables -l License file ------------------------------------------------------------------------------- Setvar at GlobalRadios and addon's ------------------------------------------------------------------------------- Setvar relevance also for test attribute at myV5 startup. ------------------------------------------------------------------------------- Batch node: new attribute at Environment node: batchnode (true|false) This node is only availible in '-b' batch mode. ------------------------------------------------------------------------------- File selection box / directory selektion box: new attribute at Option node, opens a dir/file selection box and writes result to internal myV5 variable [SelectionResult]. On cancel, nothing is started. selection="" consists of: : path for selection box; default actual directory : path separater ('/' or '\') : filename with wildcards ( 'test*2006*.CATEnv' ) If there is no dot ('.') in the , a directory is to be selected. ------------------------------------------------------------------------------- Recursive include statements in XMLs: maximum depth of recursion is 25 to avoid recursion crashes. ------------------------------------------------------------------------------- Message text: new Environments attribute msgtext="xxxx" with xxxx File/URL/text (see tickertext). This will be displayed in the message line (bottom left) of myV5. readtime attribute (Environments) will be used for rereading the text. ------------------------------------------------------------------------------- New CatiaV5 user settings functions as popup menu in tree node regarding to filetypes defined in attribute 'usersetmask': - Delete User Setting : scan all directories of resulting CATUserSettingPath for defined filetypes and delete them, if possible. - Backup User Settings : copy last directory's files in CATUserSettingPath renamed with a timestamp to selected directory. - Restore User Settings: restore filetypes from selected directory to last directory in CATUserSettingPath. ------------------------------------------------------------------------------- New possibility to set a internal myV5 variables from Option node: destination="intvar" value=" -admin" varname="admin". So -admin can be handled by this specifying: