You are here: PSPad forum > English discussion forum > Multi-Line Search Add-On

Multi-Line Search Add-On

Goto Page: PreviousFirst...7 8 9 10 11 12 13 14 15 16 17 Next

#151 Re: Multi-Line Search Add-On

Posted by: Stefan | Date: 2017-02-06 09:52 | IP: IP Logged

erkange:
Stefan:
Do anyone use this Tool on Win10 and can report that it works?

I can confirm, it works

Great you figured it out :thumpsup:

Thank for the feedback.
 

 

 

--
Stefan (pleased user since 1722)
Do you know you can spend Jan a beer? (click here)
Inofficial FAQs + Infos + Special Settings

Options: Reply | Quote | Up ^


#152 Re: Multi-Line Search Add-On

Posted by: erkange | Date: 2017-05-01 17:14 | IP: IP Logged

I use windows 10 64bit and pspad portable.

To register DLL i have followed below steps, It works good.

copy phreplace.dll file to this folder C:\Windows\SysWOW64>

run cmd with admim priveleges
enter that folder
C:\Windows\SysWOW64>

run below command
regsvr32 phreplace.dll

Edited 1 time(s). Last edit at 2017-05-01 17:15 by erkange.

Options: Reply | Quote | Up ^


#153 Re: Multi-Line Search Add-On

Posted by: dramolvadiya | Date: 2017-10-31 13:42 | IP: IP Logged

Yes Sound Good smiling smiley

Options: Reply | Quote | Up ^


#154 Re: Multi-Line Search Add-On

Posted by: gwinkless | Date: 2017-10-31 15:57 | IP: IP Logged

Tried this with latest v4 PSPad (build 2748) on Win7 64-bit, it just crashes with exception in StackHash_e98d.

Tried reinstalling vb runtime in case that was the problem but it made no difference.

Are there any other prerequisites for this add-on I might be missing?

Ta

Options: Reply | Quote | Up ^


#155 Re: Multi-Line Search Add-On

Posted by: Andreas | Date: 2017-10-31 22:57 | IP: IP Logged

I found this in my readme.

Register the DLL phreplace.dll in Windows 10
Open cmd as admin
Type in:
regsvr32 "C:\Portable\PortableApps\PSPadPortable\phreplace.dll"
[ENTER]
Done

Don't know what you have tried so far. Maybe it helps. Of course you have to adjust the path to your phreplace.dll.

Options: Reply | Quote | Up ^


#156 Re: Multi-Line Search Add-On

Posted by: gwinkless | Date: 2017-11-01 10:21 | IP: IP Logged

I have already registered the DLL (after I got the error about it not being registered!), so it's not that.

Thanks for the suggestion though smiling smiley

Options: Reply | Quote | Up ^


#157 Re: Multi-Line Search Add-On

Posted by: Andreas | Date: 2017-11-01 11:44 | IP: IP Logged

Do you know this page? phdesign.com.au

Are you on version 2.0.24?

Do you have a setting in your registry?


Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\VB and VBA Program Settings\phreplace]

[HKEY_CURRENT_USER\Software\VB and VBA Program Settings\phreplace\History]
"LastOptions"="True,False,False,True,False,False,True"
"SaveHistory"="True"
"ReplaceHistory"="%3A+ %2C%0D%0A %27%2C %241%27 %3D%3E+%27%241 array%28 %27 array %3D%3E+%27%27 "
"SearchHistory"="%3D%2E%2A%3F%24 %2E%2A%3F%3E%28%5B%5E%3C%5D%2A%3F%29 %2E%2A%3F%3E%2E%2A%3F%3C%2E%2A%3F %3E%2E%2A%3F%3C %3A++ %3A %3A%5B%5E+%5D %5E+%2A%5Cd%2B%3A+%2A %5E+%2A%5Cd%2B%3A %2C "

[HKEY_CURRENT_USER\Software\VB and VBA Program Settings\phreplace\Layout]
"SaveLayout"="True"
"Layout"="2835,11805,9915,6495"

[HKEY_CURRENT_USER\Software\VB and VBA Program Settings\phreplace\Settings]
"AlwaysOnTop"="True"
"InsertTabs"="True"
"Modeless"="True"
"WriteLog"="True"

[HKEY_CURRENT_USER\Software\VB and VBA Program Settings\phreplace\Version]
"Version"="2.0.24"

Found the same keys also in


[HKEY_USERS\S-1-5-21-3530238341-534970827-3142536140-1001\Software\VB and VBA Program Settings\phreplace]

When you are running phreplace you can set it to use an ini file. If this is checked you find a phreplace.ini in your pspad folder but no keys in the registry.


[Settings]
AlwaysOnTop=True
InsertTabs=True
Modeless=True
WriteLog=True
[History]
LastOptions=True,False,False,True,False,False,True
SaveHistory=True
ReplaceHistory=%3A+ %2C%0D%0A %27%2C %241%27 %3D%3E+%27%241 array%28 %27 array %3D%3E+%27%27
SearchHistory=%3D%2E%2A%3F%24 %2E%2A%3F%3E%28%5B%5E%3C%5D%2A%3F%29 %2E%2A%3F%3E%2E%2A%3F%3C%2E%2A%3F %3E%2E%2A%3F%3C %3A++ %3A %3A%5B%5E+%5D %5E+%2A%5Cd%2B%3A+%2A %5E+%2A%5Cd%2B%3A %2C
[Layout]
SaveLayout=True
Layout=2835,11805,9915,6495
[Version]
Version=2.0.24

Maybe this helps to figure it out.

Edited 1 time(s). Last edit at 2017-11-01 11:45 by Andreas.

Options: Reply | Quote | Up ^


#158 Re: Multi-Line Search Add-On

Posted by: gwinkless | Date: 2017-11-02 11:29 | IP: IP Logged

Thanks for the hints.

Yes, I already have .24 from phreplace.com.au

I added some debug and the crash happens on the line

plugin.PSPadSearch editor

which is expected, to be honest - the crash log suggests it happens inside the phreplace DLL.

I've tried reinstalling the vb6 runtime (since the phreplace dll is built in VB, as far as I can tell), but it doesn't seem to help.

I'll dig out my copy of VB6 and see if I can debug it any further than that.

Options: Reply | Quote | Up ^


#159 Re: Multi-Line Search Testers Needed

Posted by: anngriffin | Date: 2018-01-13 22:00 | IP: IP Logged

I just wanted to thank you for all your replies! I'll be following this thread, in order to get something new! Sharing is somehow caring!

Options: Reply | Quote | Up ^


#160 Re: Multi-Line Search Testers Needed

Posted by: erkange | Date: 2018-01-27 23:45 | IP: IP Logged

Hello all,

I work with hundreds of html files.
I download them to local folder. Now i want to use one folder for images.
So i want to change all image sources in the file

Source
<img alt="Product Image" src="./A57M_files/guven.jpg" width="700">

What i want
<img alt="Product Image" src="./images/guven.jpg" width="700">

to find this is use that regular expression
src="./(.*)_files/

It works ok but if there are 2 images then it founds both.
like this
<img alt="Product Image" src="./A57M_files/deneme.jpg" width="700"><img alt="Product Image" src="./A57M_files/test2.jpg" width="700">

It founds this;
src="./A58M-E_files/guvenpc1.jpg" width="700"> <img alt="Product Image" src="./A58M-E_files/

But i don't need after first ", how i make it stop after first " character.
and found only this and stop src="./A57M_files/

Options: Reply | Quote | Up ^


Goto Page: PreviousFirst...7 8 9 10 11 12 13 14 15 16 17 Next





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