#186727 - 2008-04-05 12:11 AM
Re: Open all files in dir, find phrase, insert text, write file
[Re: Glenn Barnas]
|
Curious
Getting the hang of it
Registered: 2004-02-16
Posts: 61
|
Yes, Norway here
Tthanks for your input. I see the benefit you can have from multi-processes, but guess it will complicate any script a lot using this method.
Also, I am sure you handle much bigger systems than I do. In addition I don't use kixtart for so very much more than a rather advanced logon-script, and some jobs in conjunction with this. What I mean to say, is that my scripting is very simple in comparison to yours.
But I really appreciate your input, always trying to improve my scripting, allthough i unfortunately haven't got the time I would like for doing this.
I know thosw vars were a bit messy, things went a bit fast, but I am cleaning up bit by bit
Another question: I am using kix-editor. It has a function to make exe-file of the script, embedding kix32.exe. I have implemented a var, which checks a special var when running the script, like 'RunnKix.exe $var=yes. When this input for the var is matched in the script, I use it in a if-sentence, giving this var another input (writing some stuff to the registry). When running the kix-file this works nicely, but when using the generated exe, this doesn't work. Is there a way to fix this, or is it just like this it will be, because kix can't take the var from the command-prompt inside the exe?
Jon
_________________________
I was placed on earth to do a job. Right now I have so much to do, I will never die..
|
Top
|
|
|
|
#186732 - 2008-04-05 04:21 PM
Re: Open all files in dir, find phrase, insert text, write file
[Re: Glenn Barnas]
|
Curious
Getting the hang of it
Registered: 2004-02-16
Posts: 61
|
Glenn
I understood that you didn't mean for me to use multi-threading, but never-the-less I'm curious of how you build your script doing that. So if you have a script or some examples, it would be interesting thaing a peak.
Anyway.. thanks to all for the input on this thread.
Jon
_________________________
I was placed on earth to do a job. Right now I have so much to do, I will never die..
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
1 registered
(Allen)
and 466 anonymous users online.
|
|
|