1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2004
    Rep Power

    Vbs script replace selected text

    Need to create a vbs script via a windows shortcut that replaces the selected text within ie. Just need to know how to identify the selected text and place into a variable. I can do the rest. Any suggestions?
  2. #2
  3. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Rep Power
    Look at the instr() function in vbscript. Also review the other vbs string manipulation functions, you'll probably need them to do what you want.
    Doug G
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester

IMN logo majestic logo threadwatch logo seochat tools logo