myselfidem Posted June 7, 2013 Posted June 7, 2013 (edited) Inside tips.js about: function qdh(t,d,s)On line 49:function qdh(t,d,s){ position="main.js"; whatfunc="qdh()";We can change (position) to :function qdh(t,d,s){ position="tips.js"; whatfunc="qdh()";Inside optionswizardtemplate_window.htm (values also inside api.js):Errors on lines 199 and 200:<option value="12802">1280x768</option><option value="12803">1280x800</option>Change to:<option value="12803">1280x768</option> <option value="12804">1280x800</option>Inside WPI.htaI think we can remove the line 9, because this file doesn't exist.<script type="text/javascript" src="../WPIScripts/userfunctions.js" application="yes"></script>Inside themewizard.jsOn line 681. We can change: SkinPreset to Themefunction UserThemeDefaults(){ position="themewizard.js"; whatfunc="UserThemeDefaults()"; SkinPreset='Classic';Change to:To:function UserThemeDefaults(){ position="themewizard.js"; whatfunc="UserThemeDefaults()"; Theme='Win7';Tested and works fine for me.Thanks and regards Edited June 7, 2013 by myselfidem
myselfidem Posted June 7, 2013 Posted June 7, 2013 (edited) I suggest to restore the option AppearanceBehavior Float for Tooltips:1 - Inside themewizard.js (on line 271):Change:with (getElementById("AppearanceBehavior")) { options[0].text=getText(optNormal); options[1].text=getText(optStatic); options[2].text=getText(optVisible); options[3].text=getText(optSticky); options[4].text=getText(optKeep); }To:with (getElementById("AppearanceBehavior")) { options[0].text=getText(optNormal); options[1].text=getText(optStatic); options[2].text=getText(optVisible); options[3].text=getText(optSticky); options[4].text=getText(optFloat); }Only optKeep is replaced with optFloat !2 - Inside lang_en.js:Remove the line 719: optKeep[lang] = ['Keep'];Add the line 713: optFloat[lang] = ['Float'];3 - Inside globals_lang.js:Remove optKeep=[],* optFloat=[], is already inside globals_lang.js!Tested and works fine for me.Thanks to check if it's OK.Here is the new lang_fr.js Thanks and regardsFloating window Image*Edit: post updated Edited June 11, 2013 by myselfidem
myselfidem Posted June 7, 2013 Posted June 7, 2013 (edited) Inside configwizard.jsWe can add from line 186, to activate the Alert window if we use Exit without saving the selected options:1 - function CreateNavigation()NavGrid.attachEvent("onDrop",ConfigUpdated);NavGrid.attachEvent("onAfterSorting",ConfigUpdated);2 - function CreateConfigurations()Change:ConfigurationsGrid.enableDragAndDrop(true); To:ConfigurationsGrid.enableDragAndDrop(false); 3 - function CreateSortOrder()We can add:SortOrderGrid.attachEvent("onSelectionChange",ConfigUpdated);To activate the Alert window when we use the Exit button without saving the changes.Thanks and regards Edited June 7, 2013 by myselfidem
myselfidem Posted June 7, 2013 Posted June 7, 2013 Inside themewizardtemplate_tooltips.htmWe can add HandleShowToolTipsSelection()On lines 42 and 58:onChange="HandleShowToolTipsSelection(); ThemeUpdated();"To have the Alert window.Thanks and regards
Kelsenellenelvian Posted June 8, 2013 Author Posted June 8, 2013 Changelog so far.**** Added {CMD} to the list of functions.**** Add Win2k to the conditions.**** Fixed a executebefore64bit error.**** User file written version updated slightly.**** Fixed a autologoncount error.**** Fixed a alert sound location error.**** More info added to the installer log.**** Removed more old leftover code.**** Added setfilesystem to the conditions.**** More fontinstaller improvements.**** Tons of textual errors fixed.**** Added {MSI} to the commands for standard msi files.**** Added alerts to themewizard when exiting.**** Fixed a couple of resolution errors.**** Restored "Float" for the tooltips.**** Tons of minor features improved.
ricktendo Posted June 8, 2013 Posted June 8, 2013 Changelog so far.**** Added {CMD} to the list of functions.**** Add Win2k to the conditions.**** Fixed a executebefore64bit error.**** User file written version updated slightly.**** Fixed a autologoncount error.**** Fixed a alert sound location error.**** More info added to the installer log.**** Removed more old leftover code.**** Added setfilesystem to the conditions.**** More fontinstaller improvements.**** Tons of textual errors fixed.**** Added {MSI} to the commands for standard msi files.**** Added alerts to themewizard when exiting.**** Fixed a couple of resolution errors.**** Restored "Float" for the tooltips.**** Tons of minor features improved.Thank you both
mritter Posted June 9, 2013 Posted June 9, 2013 Myselfidem: Search through the ChangeLog.txt as to why I left the userfunctions.js include in there. I don't know if anyone has ever used it, but, just in case.I would have hoped if someone wrote some new/updated code they would share it with us. Or it could be specific to their custom situation/job/computer system.I want to thank you for all of the bug fixes and ideas you have posted. It's good to see WPI is still in demand and supported by some good people. Keep up the good work!
myselfidem Posted June 9, 2013 Posted June 9, 2013 (edited) Thank you very much mritter for your kind message. It is a pleasure to read you.Now I understand why there is this line inside WPI.hta. I was looking to add variables inside a javascript file .. But it's a hard job to do. This file name can be used for.I appreciate the WPI program and I use it since version 4. Thank you very much for all the daunting task you provided Kelsenellenelvian and you, mritter, and Francesco and all past developers.WPI is a powerful and very nice program.I am not a coder but I do my best to learn and try to give some help.Thank you very much for the encouragement. Edited June 9, 2013 by myselfidem
myselfidem Posted June 9, 2013 Posted June 9, 2013 (edited) Inside themewizardtemplate_tooltips.htmmissing on line 429:<option value="23"></option>Thanks and regards*Edit: Post updated Edited June 11, 2013 by myselfidem
myselfidem Posted June 9, 2013 Posted June 9, 2013 (edited) Inside program.jsOn line 54 there is an unwanted space at last.Change:this.dflt=(dflt[idx]==null) ? ['no'] : [dflt[idx][0]] ;To:this.dflt=(dflt[idx]==null) ? ['no'] : [dflt[idx][0]];On line 199: It seems it's needed to change the value 1 to the letter l:Change:textl[i+1]=programs[i].text1;To:textl[i+1]=programs[i].textl;Thanks to check if it's OK.Regards Edited June 9, 2013 by myselfidem
myselfidem Posted June 9, 2013 Posted June 9, 2013 (edited) Inside configwizard.jsOn line 2481:Change:document.getElementById("cbocats").selectedIndex=document.getElementById("cbocats").length - 1;To:document.getElementById("cbocats").selectedIndex=document.getElementById("cbocats").length-1;Thanks to check if it's OK. Or maybe gives the same result?Thanks and regards*Edit: optFloat=[], is already inside globals_lang.js. It wasn't removed previously. Edited June 9, 2013 by myselfidem
myselfidem Posted June 10, 2013 Posted June 10, 2013 (edited) Workaround about LayoutStyle and Tooltips Transition on post #118.Thanks and regards*Edit: post updated Edited June 21, 2013 by myselfidem
myselfidem Posted June 10, 2013 Posted June 10, 2013 (edited) Inside optionswizard.js missing on line 1327:function UserOptionsDefaults()DoNotShowIfUSB=true;Thanks and regards Edited June 10, 2013 by myselfidem
myselfidem Posted June 11, 2013 Posted June 11, 2013 Tip to solve the problem about order and numbers matching; inside themewizard.js and themewizardtemplate_tooltips.htmI use this workaround:Inside themewizard.jsChange:with (getElementById("TipPositionType")) { options[0].text=getText(optLeft); options[1].text=getText(optCenter); options[2].text=getText(optRight); options[3].text=getText(optFixed); }To:with (getElementById("TipPositionType")) { options[0].text=getText(optRight); options[1].text=getText(optLeft); options[2].text=getText(optCenter); options[3].text=getText(optFixed); }Inside themewizardtemplate_tooltips.htmChange:<td> <select id="TipPositionType" class="opTextBox" size="1" onChange="ThemeUpdated();" > <option value=1></option> <option value=2></option> <option value=0></option> <option value=3></option> </select> </td>To:<td> <select id="TipPositionType" class="opTextBox" size="1" onChange="HandleShowToolTipsSelection(); ThemeUpdated();" > <option value=0></option> <option value=1></option> <option value=2></option> <option value=3></option> </select> </td>Now, numbers and descriptions matcht.Tested and works fine for me.Thanks and regards
myselfidem Posted June 12, 2013 Posted June 12, 2013 Inside the Changelog.txt for the next release, I don't see the Fix about AutoAdminLogon (post #66).Inside jscript.jsLine 353:Change:WriteRegKey("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\AutoAdminLogon",1,"REG_DWORD");To:WriteRegKey("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\AutoAdminLogon",1,"REG_SZ");Line 371Change:WriteRegKey("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\AutoAdminLogon",0,"REG_DWORD");To:WriteRegKey("HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\AutoAdminLogon",0,"REG_SZ");Thanks and regards
Recommended Posts