You are here: PSPad forum > English discussion forum > Re: Batch Insert option?

Re: Batch Insert option?

#1 Batch Insert option?

Posted by: maki | Date: 2020-02-07 11:13 | IP: IP Logged

I have 500 different links.
To each link I want to Insert numbers 0 to 4000 at the end of the line, in steps of 50.
I can do it manually - individual links, but creating manually for 500 links is time consuming.

Batch Insert option?

URL1&page=0
URL1&page=50
URL1&page=100
URL1&page=150
...
URL1&page=4000

...

URL500&page=0
URL500&page=50
URL500&page=100
URL500&page=150
...
URL500&page=4000

Options: Reply | Quote | Up ^


#2 Re: Batch Insert option?

Posted by: maki | Date: 2020-02-07 11:31 | IP: IP Logged

Something similar to this, but I want for Create MULTI list.Because here I can enter only one address, I can't enter 500 addresses.

image

Edited 1 time(s). Last edit at 2020-02-07 11:34 by maki.

Options: Reply | Quote | Up ^


#3 Re: Batch Insert option?

Posted by: pspad | Date: 2020-02-07 11:38 | IP: IP Logged

PSpad scripting

Options: Reply | Quote | Up ^


#4 Re: Batch Insert option?

Posted by: maki | Date: 2020-02-07 11:48 | IP: IP Logged

build any url sequence from a single pattern

regex: URL1|URL2|URL3|...
Batch Replace with: \&page=[0-50:50]???

Edited 4 time(s). Last edit at 2020-02-07 11:54 by maki.

Options: Reply | Quote | Up ^


#5 Re: Batch Insert option?

Posted by: maki | Date: 2020-02-07 12:08 | IP: IP Logged

Ranges: [START-STOP:STEP], where START and STOP is numeric, STEP is numeric. Values from list: [#LIST], similar to list of words, but allows you to specify a big amount of values.

Options: Reply | Quote | Up ^


#6 Re: Batch Insert option?

Posted by: pspad | Date: 2020-02-07 12:27 | IP: IP Logged

Stop spamming. You got answer. Because it's one time thing useable for you only, write script for it.

Options: Reply | Quote | Up ^


#7 Re: Batch Insert option?

Posted by: maki | Date: 2020-02-07 13:17 | IP: IP Logged

The script is a script, but first keeps knowing where to start.
I guess I'll do it faster manually than I write the script.
it will take me a few days, because it's 40,000 lines, but it's hard, I have to start working. grinning smiley

Options: Reply | Quote | Up ^






Editor PSPad - freeware editor, © 2001 - 2020 Jan Fiala, Hosted by Webhosting TOJEONO.CZ, design by WebDesign PAY & SOFT, code Petr Dvořák, Privacy policy and GDPR