<http://forum.pspad.com/read.php?f=2&i=10426&t=10426> 
----------------------------------------------------------------

Hello, i try to convert some macros from my old favourite editor (CRedit)
for the use in PSPad and i'm looking for a way to search directly (with a
script command) in the active document. 
Ok, I can use e.g.
   WshShell.SendKeys "^f"  
    sleep(200)
    WshShell.SendKeys "<!--"
    sleep(100)
    WshShell.SendKeys "%o"

but a direct search would be smarter.

In CRedit i could start such a search with
ActiveDocument.Selection.Findtext(searchtext,dsMatchFromStart) . If this
is not possible in PSPad - perhaps it would be an idea for a new feature
;-)

Thanks for this great editor,
regards,
Werner

-- 
PSPad freeware editor http://www.pspad.com

Reply via email to