Search found 8 matches
- Thu Aug 18, 2022 10:43 am
- Forum: Node.js scripting
- Topic: App Get App Icon
- Replies: 3
- Views: 3537
Re: App Get App Icon
With some help I got the Typescript version of the example "GetAppIcon" working. Its not that easy to transform the javascript version to Typescript but it works. import {writeFileSync, unlinkSync} from "fs"; import axios, {AxiosError} from "axios"; import tmp from &quo...
- Fri Aug 12, 2022 12:10 pm
- Forum: Node.js scripting
- Topic: App Get App Icon
- Replies: 3
- Views: 3537
Re: App Get App Icon
Hi Freddy, yes I know these examples. I started to convert the javascript example "Gett App icon" to Typescript from the video the video "Advanced Scripting and best practices with Node.js in Switch". I run into a lot of errors and I don't know how to solve them. It would be nice...
- Fri Aug 12, 2022 10:34 am
- Forum: Node.js scripting
- Topic: App Get App Icon
- Replies: 3
- Views: 3537
App Get App Icon
Hi Freddy/Laurent, I just watched the video "Advanced Scripting and best practices with Node.js in Switch" again. This kind of video's makes me enthusiastic to start scripting (Please make more of them). As an exercise I wanted to convert the javascript example "Get app icon" to ...
- Wed Jul 01, 2020 3:37 pm
- Forum: LEGACY scripting
- Topic: RegExp problem, remove iframe
- Replies: 9
- Views: 11226
Re: RegExp problem, remove iframe
Thanks @Padawan and @patej for your assistance.
I works now
regards,
Guido
I works now
regards,
Guido
- Tue Jun 30, 2020 5:57 pm
- Forum: LEGACY scripting
- Topic: RegExp problem, remove iframe
- Replies: 9
- Views: 11226
Re: RegExp problem, remove iframe
The code didn't work. I did replace the first en last blockquote but then nothing happened. See below. The first blockquote starts after de text: Aardappeltelers dienen klacht in tegen reclame Lidl Een slogan van supermarktketen Lidl, die claimt met een actie aardappeltelers te steunen tijdens de co...
- Tue Jun 30, 2020 11:17 am
- Forum: LEGACY scripting
- Topic: RegExp problem, remove iframe
- Replies: 9
- Views: 11226
Re: RegExp problem, remove iframe
New problem with regexp. I want to filter out <blockquote.........blockquote> See text below. The script beneath doesn't work: theBody = theBody.replace(/<blockquote.{3,8000}><\/blockquote> ?/g, ""); The text contains about 7402 characters. What is wrong about the script? <blockquote class...
- Fri May 22, 2020 4:05 pm
- Forum: LEGACY scripting
- Topic: RegExp problem, remove iframe
- Replies: 9
- Views: 11226
Re: RegExp problem, remove iframe
Hi Padawan,
thanks for your reply.
The solution worked for me.
Do you also have an solution to quick test the regular expression from Switch?
thanks for your reply.
The solution worked for me.
Do you also have an solution to quick test the regular expression from Switch?
- Wed May 20, 2020 10:38 am
- Forum: LEGACY scripting
- Topic: RegExp problem, remove iframe
- Replies: 9
- Views: 11226
RegExp problem, remove iframe
Hello, I have a problem to replace tekst in a string with a regular expression. The regular expression works on https://regex101.com (see enclosed picture). I found it on the Internet. I can't get it to work in my script, it does nothing. I tried many variations. dummyTekst = dummyTekst.replace(/(?:...