Denney Posted June 1, 2006 Share Posted June 1, 2006 I mean to add a new configuration option like "condition" but the passes the content to the FileExists() function.The end user would need to specify this path but maybe WPI could "attempt" to guess the correct path (that would require a fair bit of logic code though). Link to comment Share on other sites More sharing options...
Djé Posted June 1, 2006 Share Posted June 1, 2006 I mean to add a new configuration option like "condition" but the passes the content to the FileExists() function.The end user would need to specify this path but maybe WPI could "attempt" to guess the correct path (that would require a fair bit of logic code though).Ok, I understand what you mean.For the guessing, I think this would fail at some point or another in some weird situations.Anyway as far as I am concerned, you're first proposition is enough: I don't write manually the config.js but use an Excel application to do it automatically from custom program lists maintained in Excel.So I can have this FileExists condition written very easily (my lists have separate fields for path, filename and arguments).I was just waiting for the new (and stable!) WPI 5.0 syntax before releasing the next version with new features like (for WPI) User options, direct config.js file writing (not just clipboard) & command generation. Link to comment Share on other sites More sharing options...
bujo696 Posted June 1, 2006 Share Posted June 1, 2006 Here are:As you can see, the tool tip position is not so good Link to comment Share on other sites More sharing options...
Avneet Posted June 2, 2006 Share Posted June 2, 2006 can anyone confirm that does regedit /s command work .. ?? Link to comment Share on other sites More sharing options...
Denney Posted June 2, 2006 Share Posted June 2, 2006 @Avneet: That command currently won't work because the current code cannot find the "regedit" file. That's what we've been discussing. Link to comment Share on other sites More sharing options...
Avneet Posted June 2, 2006 Share Posted June 2, 2006 oh thx mate.. i knw that was being discussed.. i just asked again .. as i thot someone might have found a fix for it..anyway will wait for the update/fixthxcheers Link to comment Share on other sites More sharing options...
Dynaletik Posted June 2, 2006 Share Posted June 2, 2006 @bujo696: Did you use your ToolTip Style that you used in an earlier WPI Version???Because in WPI 5, there are new entries in the ToolTip Style. When I copied my Style from WPI Lite 1.2 to the userconfig of WPI 5, I had the exactly same problem that you have got. My ToolTips were anywhere on the screen, but not next to the Mouse. Please check your ToolTip Style, perhaps use the default to make sure, that this isn't causing the problem. Link to comment Share on other sites More sharing options...
mritter Posted June 2, 2006 Share Posted June 2, 2006 Good point, Dynaletik. They are different. Actually there are more options you can modify. I posted a TipMessage.rar file that has a demo and customizing program in another one of the 5.0 sticky topics. Forget which one. Link to comment Share on other sites More sharing options...
oneless Posted June 2, 2006 Share Posted June 2, 2006 my fixed 4.38beta2 still working.with 1 exception , ALL my entries use fileexist() in cond[pn].? Link to comment Share on other sites More sharing options...
mykz Posted June 3, 2006 Share Posted June 3, 2006 I found typo bugs in installer.jsif ((programs[i].cmd5 != null) && (path(programs[i].cmd5) != '')) { cmdLine=substituteCommand(programs[i].cmd4);Must beif ((programs[i].cmd5 != null) && (path(programs[i].cmd5) != '')) { cmdLine=substituteCommand(programs[i].cmd5);Andif ((programs[i].cmd6 != null) && (path(programs[i].cmd6) != '')) { cmdLine=substituteCommand(programs[i].cmd5);Must beif ((programs[i].cmd6 != null) && (path(programs[i].cmd6) != '')) { cmdLine=substituteCommand(programs[i].cmd6);Thk for your hard work, Kel Link to comment Share on other sites More sharing options...
mritter Posted June 3, 2006 Share Posted June 3, 2006 Command line errors fixed. Good catch. Missed those for a long time. Link to comment Share on other sites More sharing options...
mykz Posted June 3, 2006 Share Posted June 3, 2006 (edited) Install from network share, i have no player shown on Installer, only red x mark.Then add attribute type="application/x-mplayer2" on line 137 of Installer.hta and everything OK.(Install from local computer no need this attribute still OK)mritter, pls check it.document.write('<embed id="MediaPlayer" type="application/x-mplayer2" src="'+InsPath+'" width="300" height="45" autostart="1" loop="true" showstatusbar="0" volume="68" border="0" >'); Edited June 3, 2006 by mykz Link to comment Share on other sites More sharing options...
wixfigura Posted June 4, 2006 Share Posted June 4, 2006 Higood work - looks nice!!! One thing, spacing between the lines in mainwindow is higher than in wpi4.3. result is, getting less items in one window ( now there is with same config.js a scrollbar/ nextbutton ). how to change this? which of the WPIscripts to change?Thanx Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted June 4, 2006 Author Share Posted June 4, 2006 These entries in wpi.htm (In your theme folder) designate how many entries to show per column.<script type="text/javascript"> if (top.status != "") { winheight = top.status; } cols = Math.round((winheight/3*4)/320,0); if (!maxentries) { switch (winheight) { case '600': maxentries=19; break; case '768': maxentries=26; break; case '1024': maxentries=38; break; case '1200': maxentries=44; break; default: maxentries=31; break; } }Also in the same folder look in wpi.css in this file is a lot of strings that you can use to adjust things like spacing and font size. Between these 2 files you will get the look you need. Link to comment Share on other sites More sharing options...
mritter Posted June 4, 2006 Share Posted June 4, 2006 @mykz: Put the x-mplayer2 back in. One of those things works locally but not globally. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now