-
Posts
538 -
Joined
-
Last visited
-
Days Won
5
Content Type
Profiles
Forums
Events
Everything posted by Jonnyboy
-
Thanks for this service. As I read more, I learn more about this forum. I tried to post my addon maker, it is a self-extracting file. The upload screen doesn't all that file type. Could that be changed? Thanks
-
I think the error is here: Bfedir=Batch FileName EditorShould be: Bfedir="Batch FileName Editor" in addition the other changes in my previous post. When the inf tries to make the shortcut it will silently fail if it can't find the file c:\Program files\Batch FileName Editor\Nameditor.exe Because of the spaces the inf will not be able to create the shortcut, without wrapping the %Bfedir% in quotes.
-
Change: Name =Batch FileName Editor 4.5To: Name ="Batch FileName Editor 4.5",8,23and change: Name =UnistallTo: Name ="Unistall",8,23This should do the trick.
-
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.
-
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.
-
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
-
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.
-
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
-
updated to v0.464 - added option to choose language - added option to install to any folder on the system drive
-
Thanks. This is only necessary if you are logged into your machine as an administrator, right?
-
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.
-
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
-
This started out as such a simple script. What the h*ll happened?l
-
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.
-
The script updates the links automatically.
-
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.
-
update posted. fixed bug with language and others
-
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
-
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?
-
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.
-
Version 0.460 posted.
-
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.
-
could you pm me the logs? thx