Jump to content

Jonnyboy

Members
  • Joined

  • Last visited

Everything posted by Jonnyboy

  1. Jonnyboy replied to dreamrider's post in a topic in Introduction
    Hey bud!
  2. Made it by request and I haven't kept it up. I will update it to work like my Firefox Addon Maker as soon as I can.
  3. Jonnyboy replied to Jonnyboy's post in a topic in Scripting and Programming
    Cool. Thanks
  4. Jonnyboy replied to Jonnyboy's post in a topic in Scripting and Programming
    I have not been able to get this to work properly. I have decided to use gsar.exe. It is blazingly fast, faster that vbscript, anyway. Thanks for the help.
  5. The silent addon can not be installed except in svcpack, there is not installation mechanism as their is with the addon and silent installer. If you are referring to the silent addon not installing properly in svcpack, could you pm me all of the logs? Thank you
  6. Jonnyboy replied to Jonnyboy's post in a topic in Scripting and Programming
    The script above will take 3 arguments: the filename, the string to change and the replace with string. It will only accept an absolute string, no wildcards. For example: cscript replace_script.vbs install.rdf 2.0.0.16 3.*would search install.rdf and replace 2.0.0.16 with 3.* What I would like to be able to do is: cscript replace_script.vbs install.rdf "<em:maxVersion>[this string is different in every file]</em:maxVersion>" "<em:maxVersion>3.*</em:maxVersion>"I have 50+ files with at least 25 different strings to change = 1250 individual iterations to open and search, with regex.replace it would only be 50+ iterations to open and search. I have found several examples using google, in the form of functions and subs, but nothing that I could make work with arguments. I have also tried numerous command line utilities, but have not found any that accept regular expressions.
  7. Jonnyboy posted a post in a topic in Scripting and Programming
    I could use a little help. I have a script that uses replace and will accept 3 variables to change text in a file. I need to change the script, to regex.replace to accept a (multiline if possible)regular expression as input. Any help would be appreciated. Thanks Dim FileName, Find, ReplaceWith, FileContents, dFileContents Find = WScript.Arguments(0) ReplaceWith = WScript.Arguments(1) FileName = WScript.Arguments(2) 'Read source text file FileContents = GetFile(FileName) 'replace all string In the source file dFileContents = replace(FileContents, Find, ReplaceWith, 1, -1, 1) 'Compare source And result if dFileContents <> FileContents Then 'write result If different WriteFile FileName, dFileContents End If 'Read text file function GetFile(FileName) If FileName<>"" Then Dim FS, FileStream Set FS = CreateObject("Scripting.FileSystemObject") on error resume Next Set FileStream = FS.OpenTextFile(FileName) GetFile = FileStream.ReadAll End If End Function 'Write string As a text file. function WriteFile(FileName, Contents) Dim OutStream, FS on error resume Next Set FS = CreateObject("Scripting.FileSystemObject") Set OutStream = FS.OpenTextFile(FileName, 2, True) OutStream.Write Contents End Function
  8. updated to v0.464 - added option to choose language - added option to install to any folder on the system drive
  9. Thanks. This is only necessary if you are logged into your machine as an administrator, right?
  10. Silly, it's not written, yet. The silent addon is using the same ini file as the inf addon. It needs to be changed. It will be correcyted tonight. Go to bed. Thanks for the help.
  11. Alright. I just finish the fix for the language issue. I'll begin working on this. I also have a couple of other changes to make and then I can post the update. I have an idea and I'd like some feedback. The number of options is becoming daunting. I can create a text file with all of the options. You edit the text file and then the script would read the text and then create the addon of choice. Feedback would be great. thx
  12. This started out as such a simple script. What the h*ll happened?l
  13. Is this something new, or always? I haven't tested since I added the copy inf into it. I'll test again. Apparently, you are the first to try it. I know the cause and will fix in the next version. It's using the same ini file as the inf addon. I'll double check, but I think tha is it. thx for the haeds up.
  14. The script updates the links automatically.
  15. Thanks for the heads up. fixed it and posted an update. hmmm.... I could write a script to unhide hidden files, but I don't think that I want to monkey with other peoples systems. I'll just add a comment to the next version. thx Does the app stop forever? Let me know. I don't use proxies but, so I don't know how to work with them. I am behind a firewall and router with no problems, though. ***EDIT*** I'll see if I can write a popup for you to change the setting to show hidden files.
  16. update posted. fixed bug with language and others
  17. The Is Installed was linking incorrectly, you shouldn't have most of the options if not installed in selected. It's already been fixed in the next update. I've been waiting to see if there were any other bugs, before posting the update. The language issue is the only bug that I wasn't aware of, oh and the double entry. I caused that by putting the reg pointers to the helper.exe back in. I'll remove them and the helper.exe. Thanks for the heads up. Oh yeah. One more thing. Could you PM me the logs. thx PSS I write most of this and the script while driving down the road. So, sometimes I make typos and sometimes I miss things. lol
  18. Version 0.461 is posted. The prefs.js file that you are looking for is the one in the top level of the profile you want to use. The new version should help out some. Because, some people have profiles in non-default locations, I had to make this change in the script. The second issue you are referring to, could you be more clear so that I can be sure what you are asking?
  19. thanks As soon as mozilla updates thier web page, the script will update to it. The haven't been updating all of their pages very well lately. The current version on one of their ftp's is 2.0.0.14. The current version is not always in the same place. With each new version, a different web address is updated, but not the others.
  20. Version 0.460 posted.
  21. First question - I'm not certain, but I think that the profile path is hard-coded to look for profiles.ii in thapplicatio data folder of the user. The profiles.ini points to the actual folder where the profile is located. I can play around with the addon putting that file there and see if the profile will still be created. Second. Yes. I will add that option in.
  22. could you pm me the logs? thx
  23. Could you PM me the logs and inf files. Thx
  24. I have completed an update but, it needs some testing. If anyone would like to test and zip up the logs and the inf and send them to me. I would appreciate. There is probably some bugs. Help me out and let me see the logs so I can find the errors. If you test the addon, let me know how it turns out. Thanks FirefoxAddonMakerv_0.460