Poll

Is it possible to search and replace through all scripts in a profile?

Yes
No

Author Topic: Search and Replace through all scripts in a profile  (Read 5530 times)

daBernd

  • Guest
Search and Replace through all scripts in a profile
« on: January 23, 2017, 07:14:42 AM »
Hi there,
the actual reasons to search and replace through all scripts in a profile are:
I need to change a variable name which exists in about 15 of 30 scripts, where some scripts are about 10 to 40 commands (lines) long.
I also want to change the voice of the say-commands of all or some selected scripts.

Can I do this by editing the profile in an external editor or so?

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4759
  • RTFM
Re: Search and Replace through all scripts in a profile
« Reply #1 on: January 23, 2017, 08:01:05 AM »
Profiles are all stored in a single database, but you can export a profile, which turns it into an xml file(with a .vap extension).

Then, you can do a search and replace in any text editor that preserves the contents of the file, and import it again.

Exergist

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 405
  • Ride the lightning
Re: Search and Replace through all scripts in a profile
« Reply #2 on: March 01, 2017, 09:27:04 AM »
That's pretty handy, thanks for the info Pfeil!   :D