- Posted by
- Hi, If you prefer for that reason getString(), you can use that function. But please note that the returned value is now a string and not a number. The comparisons should be with strings like result != "0" instead of !result or result == "1" instead of result == 1 for type correct comparisons. Thank...Posted in Scripts
-   Topics
-   Views
- fschulze.1960
May 10, 2023
- Hi, Thanks for your effort. Sorry for not getting back to you sooner. Had a lot to do the last few days. I have a few questions now: _con.write(_thisDoc$.currentLineNum.toString(10)); - Where is the difference to .toString()? - I had taken the getString() instead of the getValue() m on purpose, beca...Posted in Scripts
-   Topics
-   Views
- fschulze.1960
May 09, 2023
- Hi, I need the opinion of you experts: I have now made the update to UE2023. Unfortunately, I do not like the new appearance of the block comment at all (optics!!!). I have therefore written a small program that creates script and function headers with fixed (adjustable) width ==> see code On execut...Posted in Scripts
-   Topics
-   Views
- fschulze.1960
May 01, 2023
- Hi Mofi Enable latest JavaScript by adding header to script: // @Engine=WebView2 There must be downloaded and installed Microsoft Edge WebView2 on not being installed by default (depends on version of Windows) and used on execution of the UltraEdit script by adding to the UltraEdit script file at to...Posted in Scripts
-   Topics
-   Views
- fschulze.1960
Apr 30, 2023
- Hello community, I have updated to 64-bit UltraEdit 2023.0.0.41. There should now be a new JS engine integrated. But: let , padEnd ... still do not go? 😢 Can I read somewhere what exactly has been added? Greetings FrankPosted in Scripts
-   Topics
-   Views
- fschulze.1960
Apr 29, 2023
- Hi Mofi Your mistake was _ue.ueReOn; instead of _ue.ueReOn(); in the fifth line. In fact, I already had that with another function. It is difficult to see if no error is displayed. But now it works perfectly. Thanks for the expansion of my function. I am usually more working with VBA and JavaScript ...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fschulze.1960
Apr 13, 2023
- Hi Mofi, thank you, it works perfectly manually. Exactly what I was looking for. 👍 But if I try that in my function, nothing happens. Script does not show any error message, but nothing is replaced. I think the expression still has to be adjusted? But how? please, please ... 🙏 Here is my function: v...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fschulze.1960
Apr 12, 2023
- Hello, I need your help. First of all, I have hardly any idea about regular expression and JavaScript 😢 The following issue: I have several extensive documents (txt files) containing quotation marks in the following format: "Test" ... more text ... "Test" How can I now replace the first " with „ thr...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- fschulze.1960
Apr 10, 2023