Jump to content

t4user

Member
  • Posts

    17
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    France

Everything posted by t4user

  1. I have searching (msdn and a lot of forums), it seems there is no way to obtain this information in javascript. I have made a command line C program (17KB) which can display amount of memory (total, free, swap) but I have not a great knowledge of Windows system, and for the moment I search the way to send this information to javascript. I hope to find a solution and as soon as I find it, I post the results. t4user
  2. catch is a reserved word and a trap for error in a try..catch statement i.e try some work and if error execute catch statements. We call this kind of errors as exceptions (like file not found, disk full, etc.). Cat & cat are differents Javascript distinguishes uppercase and lowercase . There are no possibilities for javascript to make confusion between this 3 identifiers.
  3. The french manual with translated pictures (to extract in folder Manual) . Le manuel en français à extraire directement dans le dossier WPI/Manual Edit see below
  4. With a CSS style sheet fontSize or fontHeight are not embedded in each element Navigator read the CSS style sheet then apply style for each element when it display it. Javascript cannot retrieve any information not embedded in the html document. In fact first test was not necessary Only way is to read the CSS file and detect the font attribute of class with a RegExp.
  5. Hi, In javascript a style property is write from CSS property name by removing the '-' and put an uppercase letter on the second word x=document.getElementById("yourID").style.fontSize; I have just test this : The property must be set explicitly on the element by style="font-size:5px" Example : .test {font-size:9pt;} // class somewhere ... <div id=""youID" class="test"... ... x=document.getElementById("yourID").style.fontSize; don't work and return an empty string <div id=""youID" style="font-size:9pt;" .... the same statement return 9pt Regards
  6. I just tried Themes : Almulder, Dyna, EverDawn, EverDawn2, Evil_Vista, Glossy, Glossy_Horiz, Homepage, Kimbra, Leopard, mritter_euDock, Muiz, Royale, spoof_euDock, Tango, Tiny, Ultimate, Vaio, Vista_d, Win2003, Win2k, Wolf_Vista. All works, only small vertical offset problems or text size for 2 or 3.
  7. I see the problem of the untranslated delete confirm dialog, it's really not translated. I see also a hack in this translation because it's not really conform to the translation stuff in code (lack of [lang] in language files. I have fixed it and I work on other part's locallization (SortOrder box). I send all stuff to Kel when it's ready for a future release. Regards
  8. Hi, A little add: and don't forget to update variable lang = 'xx'; at beginning of the file with your country code, otherwise some messages may be undefined or not translated By example lang_hu.js --> lang = 'hu'; (Hungarian translation have this mistake in 6.4) Best Regards
  9. Hello, For the french speaking users, I have make translation of Help System Unpack archive wpi_help_fr.zip in the Manual folder Pour les utilisateurs en langue française, j'ai fait une traduction du système d'aide Décompresser l'archive zip wpi_help_fr.zip dans le dossier WPI\Manual If you want, you can make it available on WPI Home Page Best Regards
  10. EDIT Fixed in release 6.4.1 Hello, Not really a bug. In boxes.js function fillBoxes is modified like this function fillBoxes() { ... //insert category and label // -- label -- [color="red"] // Add this lines try { cattext = eval("opt"+cat[i]+"[Language]"); } catch(err) { cattext = cat[i]; } [/color] txt += '<label class="category" '; txt += 'for="' + cat[i][0] + '" '; txt += 'onclick="toggleChecked(\'' + cat[i] + '\'); checkCategory(\'' + cat[i] + '\');" '; [color="red"]txt += '/>' + cattext + '</label>'; // <-- REPLACE cat[i][0] with cattext[/color] // -- category -- if (!DisableCatCheckBoxes) { .... } Regards
  11. FIXED in 6.4.1 (attachments removed) Hello, In Options Installer Wizard the Combo Box Category Sort Order displays Partial and extra data list. By example if, you have 3 categories Applications, Multimedia, Games you Obtain : Multimedia Games Multimedia Games Regards
  12. Hello, When user quit Config WIzard or Options Wizard lot of modifications can be lost . If WPI prompt the user if updated items exists and are not saved like this: Click to Enlarge A bad click is not any more a problem. EDIT (Save space) To update unpack dowload release 6.4.1 ChangeLog See Kel post
  13. Hello, Thanks for all answers I work to make an alert box. The purpose is to avoid the lost of work when user go out config and options pages This work implies a lot of modifications on script and template files. Also a question : It's in your mind to make a SVN storage of WPI on SourceForge by example ? I think that : It would be more easy to submit bug correction and improvements with diff files based on up to date version. Testing of "unstable version" by a lot of people is also an advantage. Which is your opinion ? Regards
  14. EDIT Bug Fixed ! dowload release 6.4.1 Hello, In this post http://www.msfn.org/board/55-bugs-t84270.h...964#entry570964 Dynaletic writes for version 5.5 : and also the tooltips are in english when Options Wizard is open. In Version 6.4, the same behavior also appears. I think it's a side effect : optionswizard.js use the global variable "Language" defined in globals.js function OptionsDefaults() { position="optionswizard.js"; whatfunc="OptionsDefaults()"; // // System predefined options // // Interface tab Language='zz'; May be wpi.hta don't find lang_zz when it's display Optiions Wizard layer and fall on lang_en ? With Language as local variable in function OptionsDefault() everything is Ok. // // System predefined options // // Interface tab var Language='zz'; Regards
  15. EDIT Bug Fixed ! dowload release 6.4.1 Edit Sorry a bug : ComboBox are disabled when Clone Button is selected Bug correction Enable All Gadgets in function Clone Entry function CloneEntry() { position="configwizard.js"; whatfunc="CloneEntry()"; ... FillInConfig(true,cpos); [color="red"]ToggleAllGadgets(false); [/color] if (SortWithinCats) NextEntry(); else LastEntry(); document.getElementById("prog").focus(); } Hello, When you add a new application, most of the options are disabled except "ComboBoxes". By example, if you select an item in Condition Box the TextBox is updated but this statement : function ToggleAllGadgets(state) { position="configwizard.js"; whatfunc="ToggleAllGadgets()"; ToggleUSSFs(state); ... TogglePictureGadgets(); ToggleDefaultImages(state); [color="red"]ToggleComboBox(state) // new function here[/color] } And the function ToggleComboBox (lines 347 to 362 of attached file) In hope that this little work can help you Regards position="configwizard.js"; whatfunc="ToggleComboBox()"; !Removed
  16. EDIT Bug Fixed ! download release 6.4.1 Hello, The last lines of Options Wizard are truncated at bottom in "Interface tab", "Installer tab", "Tools tab" and some options are not displayed. An exemple with original Windows Theme : A similar problem was reported in this thread I test with different monitor resolutions and themes and problem is always present. The overflow:auto style is applied on main Config Wizard layer and not on the tabbed window and scrollbar appears only for low resolution mode. I have made this patch on original file "configwizardtemplate.htm" to get scrollbar in tabs <table border="0" width="85%" cellpadding="0" cellspacing="0" height=90%> <tr> <td valign="top"> <div id="OptionsTabs" style="width:100%;height=500"> </div> <div id="tabtabInterface" style="overflow:auto;padding:10px;height:100%"> </div> <div id="tabtabInstaller" style="overflow:auto;padding:10px;height:100%"> </div> <div id="tabtabAudioPlayer" style="overflow:auto;padding:10px;height:100%"> </div> <div id="tabtabTools" style="overflow:auto;padding:10px;height:100%"> </div> <!-- <div id="tabtabMiscellaneous" style="padding:10px;"> </div> --> </td> </tr> <tr> <td style="height:4.5em;"> <div id="optionsButtons" align="left" style="position:absolute; overflow:hidden; width:100%; height:100%;"> <input id="optionsFile" type="text" readonly class="opTextBox" size="50" align="left"> <input id="optionsNewOptions" type="button" class="button" value="" onClick="NewOptions();"> <input id="optionsRead" type="button" class="button" value="" onClick="optionsClearReadBrowse(); document.all.optionsReadBrowse.click(); HandleReadOptions();"> <input id="optionsSave" type="button" value="" onClick="SaveOptions();" class="button"> <input id="optionsSaveAs" type="button" value="" onClick="GetOptionsPath();" class="button"> <input id="optionsExit" type="button" value="" onClick="ToggleOptions();" class="button"> </div> <div id="div_optionsReadBrowse"> <input id="optionsReadBrowse" type="file" style="display:none;"> </div> </td> </tr> </table> Workstation on WIN XP SP2 IE 7
×
×
  • Create New...