Fritz_Saxi Posted July 5, 2005 Share Posted July 5, 2005 Good night lad, hope it's all you want it to be Link to comment Share on other sites More sharing options...
MOONLIGHT SONATA Posted July 5, 2005 Author Share Posted July 5, 2005 @ Thanks, Fritz,Seen the Flash in between. Great work, needs a lot of refinement input for it to be greater!. Coming next day, with all suggestions that my grey cells can produce.Good night. Link to comment Share on other sites More sharing options...
gunsmokingman Posted July 5, 2005 Share Posted July 5, 2005 (edited) Why not use a VBS script like this. This is a example so please no comments on the code, it only a template but it runs. Cut And Paste Below And Save This As BarGraph.vbs Dim WS : Set Ws = Wscript FUNCTION SL375 WS.Sleep 375 End Function '''' Graphic Varibles For The Script Start Pm1 = " »Processing" Pm2 = "<Table BGCOLOR=Green Width=""325"" Height=""3"">" set WS = Wscript SPAN1 ="<span style='font-size: 12.0pt;font-family:""Comic Sans MS"";COLOR: Red;font-weight: Bold-Italic'>" SPAN2 ="<span style='font-size: 12.0pt;font-family:""Poor Richard"";COLOR: Green;font-weight: Bold-Italic'>" SPAN3 ="<span style='font-size: 10.0pt;font-family:""Palatino Linotype"";COLOR: #203764;font-weight: Italic'>" SPAN4 ="<span style='font-size: 12.0pt;font-family:""Poor Richard"";COLOR: #686c70;font-weight: Bold-Italic'>" BR = "| " BAR = "| | " BAR2 = BAR & BAR BAR3 = BAR2 & BAR BAR4 = BAR3 & BAR BAR5 = BAR4 & BAR BAR6 = BAR5 & BAR BAR7 = BAR6 & BAR BAR8 = BAR7 & BAR BAR9 = BAR8 & BAR B10 = BAR9 & BAR Function AB01 BR = "| " end Function Function AB02 BAR = "| | " end Function Function AB03 BAR2 = BAR & BAR end Function Function AB03 BAR3 = BAR2 & BAR end Function Function AB04 BAR4 = BAR3 & BAR end Function TBG1 = "<table BGCOLOR=#107620 Height=""4"">" TBG2 = "<table BGCOLOR=#377991 Height=""4"">" TBG3 = "<table BGCOLOR=#2d6f87 Height=""4"" Width=""305"">" Ln2a = "<table BGCOLOR=#e8e4e0 Height=""2"" Width=""305"">" TDC1 = "<TD BGCOLOR=#f7f9fb Width=""295"">" TDC2 = "<TD BGCOLOR=#f0ece7 Width=""305"" Height=""6""><tr BGCOLOR=#f0ece7 Width=""305"">" Endt = "</table>" Line1 =TBG3 & TDC1 & SPAN4 Ln1a = Ln2a & TDC2 & SPAN3 Line2 =TBG1 & SPAN2 &TDC1 & SPAN1 GLine = "<center>" & Line2 VAR01 = SPAN4 & "Gsm Bar Graph Template" ABR1 = Array(GLine & Bar,GLine & Bar & "|",GLine & Bar & "| ",GLine & Bar & "| |") ABR2 = Array(GLine & Bar2,GLine & Bar2 & "|",GLine & Bar2 & "| ",GLine & Bar2 & "| |") ABR3 = Array(GLine & Bar3,GLine & Bar3 & "|",GLine & Bar3 & "| ",GLine & Bar3 & "| |") ABR4 = Array(GLine & Bar4,GLine & Bar4 & "|",GLine & Bar4 & "| ",GLine & Bar4 & "| |") '''' Graphic Varibles For The Script End '''' This Is The Box You See Set BX02 = WScript.CreateObject("InternetExplorer.Application") BX02.Navigate "ABOUT:WWW.BargraphTemplate" BX02.ToolBar = 0 BX02.StatusBar = 0 BX02.Width=455 BX02.Height = 155 BX02.Left = 375 BX02.Top = 125 BX02.Visible = 1 BX02.Document.Body.InnerHTML ="<center>" & Ln1a & "Preparing To Start The Graph" & Endt & "<center>" Ws.sleep 1500 Inta = 1-1 '''' Start The Counter For The loop At Zero Do Inta = Inta + 1 BX02.Document.Body.InnerHTML ="<center>" & Ln1a & MkUa & Endt & "<center>" SL375 BX02.Document.Body.InnerHTML = GLine & Bar & "|</TD> > 4% " & Pm2 & Var01 SL375 BX02.Document.Body.InnerHTML = ABR1(0) & "|</TD> > 8% " & Pm2 & Var01 SL375 BX02.Document.Body.InnerHTML = ABR1(1) & "|</TD> > 16% " & Pm2 & Var01 SL375 BX02.Document.Body.InnerHTML = ABR1(2) & "|</TD> > 24% " & Pm2 & Var01 SL375 BX02.Document.Body.InnerHTML = ABR1(3) & "|</TD> > 32% " & Pm2 & Var01 SL375 BX02.Document.Body.InnerHTML = ABR2(0) & "|</TD> > 40%" & Pm2 & Var01 SL375 BX02.Document.Body.InnerHTML = ABR2(1) & "|</TD> > 48%" & Pm2 & Var01 SL375 BX02.Document.Body.InnerHTML = ABR2(2) & "|</TD> > 54%" & Pm2 & Var01 SL375 BX02.Document.Body.InnerHTML = ABR2(3) & "|</TD> > 64%" & Pm2 & Var01 SL375 BX02.Document.Body.InnerHTML = ABR3(0) & "|</TD> > 72%" & Pm2 & Var01 SL375 BX02.Document.Body.InnerHTML = ABR3(1) & "|</TD> > 80%" & Pm2 & Var01 SL375 BX02.Document.Body.InnerHTML = ABR3(2) & "|</TD> > 86%" & Pm2 & Var01 SL375 BX02.Document.Body.InnerHTML = ABR3(3) & "|</TD> > 94%" & Pm2 & Var01 SL375 BX02.Document.Body.InnerHTML = ABR3(3) & "|</TD> > 100%" & Pm2 & Var01 SL375 If Inta = 1 Then BX02.Document.Body.InnerHTML = ABR3(3) & "|Start Next Loop = " & Inta & "</TD> > 100%" & Pm2 & Var01 Ws.sleep 1125 End If If Inta = 2 Then BX02.Document.Body.InnerHTML = ABR3(3) & "|This Is The 2nd Loop = " & Inta & "</TD> > 100%" & Pm2 & Var01 Ws.sleep 1125 End If If Inta = 3 Then BX02.Document.Body.InnerHTML = ABR3(3) & "|The Loop Is Finished = " & Inta & "</TD> > 100%" & Pm2 & Var01 Ws.sleep 1125 End If MkUa = "Message Varible Here" SL375 Loop Until Inta = 3 BX02.Document.Body.InnerHTML ="<center>" & Ln1a & MkUa & Endt & "<center>" &_ "<center>" & Ln1a & "Completed Bar Graph Template" & Endt & "<center>" WS.Sleep 3225 BX02.Quit Edited July 5, 2005 by gunsmokingman Link to comment Share on other sites More sharing options...
MOONLIGHT SONATA Posted July 6, 2005 Author Share Posted July 6, 2005 2 Fritz,Here I go.1. Suppose i've been helped by a forum member in creating driver package. Credits should go like this :Driver Compression : XXXXXXXXXXX or, Driver Compression XXXXXXXXXXXControls like these should be in html.txtremember, credits should go not by just member name, but alongwith in which category his help came from.2. You used XPize's Hacked Royale Wallpaper. Very nice. But i'll prefer a mere black background. As a color, black has some sort of serendipity, some sort of inevitability attached to it. Black always forecast that end is waiting in the wings.I'm saying this because you put the selection of background automatic by packaging it inside the EXE. Better to leave the choice into the TXT file.Anyway, Very Nice. Hope to see some Add-Ons quickly.========MOON Link to comment Share on other sites More sharing options...
Fritz_Saxi Posted July 6, 2005 Share Posted July 6, 2005 I had a few brief tests with using the text file to affect which background is loaded, i'll try again anyway.If the credits would be simple like "driver compression:.............." and such then i can probably make some nice transitionsCan you think of what the other headings would be? Then I'll have a go tonight.ThanksMatt Link to comment Share on other sites More sharing options...
Fritz_Saxi Posted July 6, 2005 Share Posted July 6, 2005 (edited) News:Working on your suggestions I've updated the strings file so you can select the background colour as a 6 digit hex code as well as changing the titles to be more suitable.I'll release summit tomorrow night.Things to do:-allow custom image support (think i've got this one covered)-allow custom font size and style (WIP)-make up time Edited July 6, 2005 by Fritz_Saxi Link to comment Share on other sites More sharing options...
Fritz_Saxi Posted July 7, 2005 Share Posted July 7, 2005 20:49 07/07/2005New version-custom background colour-custom text colour-custom font size-custom jpgInside the zip you will find the strings.txt file which looks like this&colorbg=000000&textColor=FFFFFF&fontSize=40&string_credtitle=Credits&string_title1=Driver Compression:&string_text1=Master Driver Compressors&string_title2=Service PackSlipstreaming:&string_text2=Nlite&string_title3=ApplicationDeployment&string_text3=Windows Post Installer&string_title4=Misc. Thanks to:&string_text4=MSFN krew, Freestyle Assassin&string_title5=Another title:&string_text5=Horray!&string_title6=Yet Another title:&string_text6=Insert text&string_title7=Some more stuff:&string_text7=Insert textThe variables you can change are between "&" eg. if you want to change the colour of the background find the 6 digit hex code (after #) and paste it after the = sign.&colorbg=00FF00like so.For fontsize just play about with numbers, after a while text will become cut off, so experimentAt the moment only a 256x256 picture will be centered sadly, just replace the jpeg with your own.http://dc1.4shared.com/file/67569/88e6fc34/credits2.htmlSuggestions pleaseStill to go:-better image support-custom font face support-and other ideas Link to comment Share on other sites More sharing options...
evilvoice Posted July 7, 2005 Share Posted July 7, 2005 (edited) just one suggestion...i opened the strings.txt file and noticed it is one continuous line...can this be changed to maybe one item per line? Also, maybe support for background music just a small 50sec mp3 file maybe, since Im assuming this is still to run during shutdown.exe. Also, I liked your previous background...maybe having either a color or a image as the background would be nice? Edited July 7, 2005 by evilvoice Link to comment Share on other sites More sharing options...
Fritz_Saxi Posted July 7, 2005 Share Posted July 7, 2005 @evilvoiceUnfortunately the strings.txt has to be one line, otherwise flash completely messes up the colours.I can do the background music thing quite easily, so that will be seen to.I will also see what I can do about the picture. I hope to be able to give an option in the strings file whether to use the picture.Thanks for the ideas, I'll get back to work Link to comment Share on other sites More sharing options...
MOONLIGHT SONATA Posted July 7, 2005 Author Share Posted July 7, 2005 @ Fritz,Incredible Improvement from the last version. Here're a few questions:1. What's the purpose of putting image.jpg inside the ZIP? I mean, if youpack it's choice inside the EXE, then there's no chance implementator getting to put his own .jpg. Pls, ensure selection from the strings.txt as this'll allow the user to use relative path for the image file. That's true, of course, if you change the technique to use the image.2. Very nice font, text and context, you used. but i wish that you improve the TXT file in order to include different font size support for string_title and string_text seperately.3. Why theImage.jpg is applied in the end? What idea came to your mind? pls, elaborate.finally, i appreciate how you've progrssed so far. Remember, as a Starter of this Topic, i already recieved a lot of flak for such a "silly" idea. What is "silly" for them is "holy" for me. I request you to pursue this project to achieve an end product that'll be loved and embraced by those people particularly, who found it sillyand a stuff for kidz.===MOON Link to comment Share on other sites More sharing options...
Fritz_Saxi Posted July 7, 2005 Share Posted July 7, 2005 Hey again MOONLIGHT SONATA,hehe, about image.jpg...Basically my idea was that you could put your own logo there or something similar. I put it as an example as well. Its existence in the zip is just so you can replace it, and the idea about defining the path in strings.txt is good too. I will definately implement thatAlso I will make the string_title and string_text have different font strings.I will do my best to turn out some kind of final product, just keep up the comments Link to comment Share on other sites More sharing options...
bonedaddy Posted July 7, 2005 Share Posted July 7, 2005 @ FritzWow dude, slow down, the jpg at the end is great, leave it. As for music let them getUAP2 (search please) works great, plays multi songs........... and now for the but, butthe image at the end looses quality, some jagged lines ect............other than that isvery cool................nice work..........BD B) Link to comment Share on other sites More sharing options...
Fritz_Saxi Posted July 7, 2005 Share Posted July 7, 2005 @ bonedaddyThanks for the comments I've coded music support in now anyway, and a little dynamic fade on the end. I could even make a random track play.The image is merely an example, but if you like the theme I can try making another, he does look like a clown though.If anybody doesn't like music, they can just put useMusic to 0 Link to comment Share on other sites More sharing options...
bonedaddy Posted July 8, 2005 Share Posted July 8, 2005 @ Fritzwell I changed the image to one of my own and there was a loss of quality inthe test I ran but when in use during an install not bad.............it was 300x300and I changed to 256x256 that shouldn't be a problem right?BD B) Link to comment Share on other sites More sharing options...
MAVERICKS CHOICE Posted July 8, 2005 Share Posted July 8, 2005 Didn't think this would be that cool, But Fritz youve done a marvellous job here. 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