Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

replace string in file headache


  • Please log in to reply
4 replies to this topic

#1 m00s

m00s

    Seeker

  • Normal Members
  • 3 posts

Posted 29 May 2012 - 07:03 PM

Hello all,

well, I have a script that already replace a string with a file content, replace a string line and it works but the problem is with one specific file, where I'm doing the changes that don't allow me to do a "simple" replace from "xxx" to "yyy". I tested this with my own functions, with other ones, create a file with that string and use one method I use in my script but just can't do this thing to move! :

here goes my script to get an idea... (ps: it's not perfect and clean because allways in change)

Attached Files









#2 Melba23

Melba23

    I'm old - what's your excuse?

  • Moderators
  • 21,752 posts

Posted 29 May 2012 - 07:15 PM

m00s,

A lot of references to .mw3 files in that script - it would not have anything to do with Modern Warfare 3 by any chance? ;)

You have read the Forum Rules I hope? :)

M23
StringSize - Automatically size controls to fit text                                                               ExtMsgBox - A user customisable replacement for MsgBox
Toast - Small GUIs which pop out of the Systray                                                                Marquee - Scrolling tickertape GUIs
Scrollbars - Automatically sized scrollbars with a single command                                   GUIFrame - Subdivide GUIs into many adjustable frames
GUIExtender - Extend and retract multiple sections within a GUI                                      NoFocusLines - Remove the dotted focus lines from buttons, sliders, radios and checkboxes
ChooseFileFolder - Single and multiple selections from specified path tree structure      Notify - Small notifications on the edge of the display
Date_Time_Convert - Easily convert date/time formats, including the language               GUIListViewEx - Insert, delete, move, drag, sort and edit ListView items

#3 m00s

m00s

    Seeker

  • Normal Members
  • 3 posts

Posted 30 May 2012 - 12:03 AM

Lol, not related with any game or illegal stuff, and yes I read the rules.
this is a tool to work with my "keyboard".

#4 m00s

m00s

    Seeker

  • Normal Members
  • 3 posts

Posted 02 June 2012 - 10:51 PM

no help?

please, I'm going mad with this

#5 Melba23

Melba23

    I'm old - what's your excuse?

  • Moderators
  • 21,752 posts

Posted 03 June 2012 - 06:53 AM

m00s,

You have not given us enough information to help you. None of us have any idea what this .mw3 file looks like and what it is you are trying to change within it, so how do you expect us to offer any help. Furthermore, your code is uncommented - how are we supposed to determine what it is supposed to do? ;)

We are not mind-readers - if you want help then I suggest you start giving us some more details about the script, the files it uses and what you are trying to do with them. :)

M23
StringSize - Automatically size controls to fit text                                                               ExtMsgBox - A user customisable replacement for MsgBox
Toast - Small GUIs which pop out of the Systray                                                                Marquee - Scrolling tickertape GUIs
Scrollbars - Automatically sized scrollbars with a single command                                   GUIFrame - Subdivide GUIs into many adjustable frames
GUIExtender - Extend and retract multiple sections within a GUI                                      NoFocusLines - Remove the dotted focus lines from buttons, sliders, radios and checkboxes
ChooseFileFolder - Single and multiple selections from specified path tree structure      Notify - Small notifications on the edge of the display
Date_Time_Convert - Easily convert date/time formats, including the language               GUIListViewEx - Insert, delete, move, drag, sort and edit ListView items




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users