Hi Richmond, I don't understand why this is a poblem and why you would try this in LibreOffice.
put the script of myControl into myScript replace ")" & break with ")" & cr & "beep" & cr & "break" in myScript set the script of myControl to myScript put the result into rslt if rslt is not empty then beep answer error rslt end if You could also put the script into a field and write more complex scripts to edit that script before you set the script of the control. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 27 aug 2013, at 10:56, Richmond wrote: > This is a really hard nut to crack: > > I have a very long script that features lines that end like this: > > & numToChar(2325)) > > and lines that end like this > > & numToChar(2325)) > > the top example is followed by a line that starts with "set", > and the lower example is followed by "break": > > & numToChar(2325)) > set > > & numToChar(2325)) > break > > now I want to "mess around with" the lower type of script line and NOT > the upper one. > > AS the script contains somewhere over 5000 lines, and about 50 of those sort > of lines > that need to be operated on I don't feel a high level of motivation to go > through > the thing line by line . . . > > . . . if I have to I will (the blasted thing is mission critical) . . . > > Tried to do the above in LibreOffice and as soon as I pasted the lower > phrase into the search box it turned the thing into > > & numToChar(2325)) break > > i.e. stripped out the linefeed. Obviously that is no good. > > I would be extremely grateful for any constructive help. > > [ for choice I would prefer to work on Linux; however I have access to Mac > 10.6 and Windows XP and 7 should the need arise ]. > > Richmond. _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode