Jump to content
Sign in to follow this  

NPTR by TK_Incorperate

Recommended Posts


This script was enspired by someone here at the forums who has requested it, its very simple and easy to config.

What it does is opens notepad, finds the text you chose, and replaces it with the text you chose, and repeats it until you either pause it (part of the script) or completely terminate it (also part of it), i've found this VERY helpfull at times, specialy when you have a HUGE text with tons of stuff miss-placed/spelled or just stuff you want to be replaced with other stuff completely


; ----------------------------------------------------------------------------
; Notepad Text Replacer
; Author:        TK_Incorperate <TK_Incorperate@yahoo.com>
; Script Function:
;   Replaces the character(s) in witch you chose, with other character(s) that you chose in notepad
; ----------------------------------------------------------------------------

WinActivate("###### - Notepad", "");Replace the ###### with your file name

HotKeySet("q", "Terminate");Completely stops replacing by pressing Q
HotKeySet("w", "Pause");Pauses the replacing untill you press W again
dim $Paused = 0

While 1
    TrayTip("Currently", "Replacing", 10)
        Send("####");Replace the #### with the text you wish to find
        Send("####");Replace the #### with the text you wish to replace the first text with
            Sleep(3000);I perfer keeping this at 3 seconds, but you can change to your likings

Func Terminate()
    Exit 0

Func Pause()
    $Paused = NOT $Paused
    HotKeySet("w", "UnPause")
    TrayTip("Currently", "Paused", 10)
    While $Paused
    TrayTip("Currently", "Paused", 10)

Func UnPause()
    $Paused = NOT $Paused
    HotKeySet("w", "Pause")
Edited by TK_Incorperate

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this