You are here: PSPad forum > English discussion forum > Create a list.

Create a list.

#1 Create a list.

Posted by: maki | Date: 2014-12-24 11:35 | IP: IP Logged

h t tp://example.com/?from=20
h t tp://example.com/?from=40
h t tp://example.com/?from=780

number changes every 20

20, 40, 80, 100 .. 780

it is possible to create a list in the PSPad?

Options: Reply | Quote | Up ^


#2 Re: Create a list.

Posted by: pspad | Date: 2014-12-24 12:53 | IP: IP Logged

Yes. The only problem is each 20.
First create list (menu Edit / Lines manipulation / Insert text to lines - Alt+I)
Use numbering and create list
1
2
3
...
select list, open same dialog and use text
on the begin of lines: h t tp://example.com/?from=
on the end of lines: 0

Options: Reply | Quote | Up ^


#3 Re: Create a list.

Posted by: vbr | Date: 2014-12-26 01:11 | IP: IP Logged

maki:
h t tp://example.com/?from=20
h t tp://example.com/?from=40
h t tp://example.com/?from=780

number changes every 20

20, 40, 80, 100 .. 780

it is possible to create a list in the PSPad?

Hi,
this can be done in multiple steps:
create a file with 780 empty lines (e.g. ba pressing Enter several times, copying all to the clipboard and pasting repeatedly - Ctrl+A, Ctrl+C, Ctrl+V - Ctrl+V ...)

Insert line numbering as mentioned in the previous post - Alt+I (make sure to have no separator after the number)

Use the "List" button in the search dialog (Ctrl+F) with [x] regex activated - pattern
^\d*[02468]0$

- in a new file tab, only the needed multiples of 20 should be listed

Use Alt+I (Edit / Lines manipulation / Insert text to lines) once more to insert
h t tp://example.com/?from=
at the beginning of the lines

hth,
vbr

Options: Reply | Quote | Up ^


#4 Re: Create a list.

Posted by: maki | Date: 2014-12-26 11:42 | IP: IP Logged

grinning smiley

image

Options: Reply | Quote | Up ^


#5 Re: Create a list.

Posted by: pspad | Date: 2014-12-26 11:57 | IP: IP Logged

If you want to programm it, you can do it in PSPad scripting support near same as in PowerShell winking smiley

Options: Reply | Quote | Up ^


#6 Re: Create a list.

Posted by: maki | Date: 2014-12-26 14:58 | IP: IP Logged

pspad [b][/b]- No.

Edited 1 time(s). Last edit at 2014-12-26 14:59 by maki.

Options: Reply | Quote | Up ^


#7 Re: Create a list.

Posted by: pspad | Date: 2014-12-26 15:30 | IP: IP Logged

OK, So you have your solution and I don't need to waste time with it, right?

Options: Reply | Quote | Up ^






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