ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE. Software > Find And Run Robot

Open alias/group in notepad++

(1/2) > >>

Is it possible to open alias/group in notepad++, do some editing and have FARR apply changes to alias/group?
Don't mind paying someone to create an addon to do that.

Can you elaborate a little bit on what you have in mind, and the motivation for not wanting to use the built-in FARR alias editing facility in options?

Notepad++, which I'm sure you are familiar with, is a great text editor. I can achieve a lot and quickly using it.
I'm thinking maybe an addon that would copy a group content to a temporary file, wait for it to be changed and apply changes in FARR.

FWIW I'm (slowly) working on an AutoHotkey helper program to replace FARR's built in methods for editing aliases. Not ready for release yet, but working good so far in my test use. Some features:
- jump directly to alias editor window from FARR
- search/filter box with live filter (very useful when you have a lot of aliases)
- some syntax syggestions in the alias edit window
- shortcuts to create regex aliases
- FARR is still usable while the alias editor window is open

Here are some notes on where and in what format FARR stores its aliases, based on me testing things and from looking around in FARR files. Mouser can correct me if I'm wrong on anything here.

FARR stores aliases in .alias XML files. The default user file is

--- ---<MyDocuments> \DonationCoder\FindAndRunRobot\AliasGroups\MyCustom\myaliases.alias
other FARR settings including the list of disabled (uncheckboxed) aliases are in

--- ---C:\Users\ <user> \Documents\DonationCoder\FindAndRunRobot\FindAndRunRobot.ini
You can edit the .alias file in Notepad++ or any code editor, but it is a bit clunky to manually edit .xml. However if you for example want to change a folder path in a lot of aliases then it'll be easy to do a find/replace all in this file.

Some more notes on interacting with the above files:
- Edits to myaliases.alias have effect when FARR starts.
- Important: FARR adds to .alias the line "<Disabled>true</Disabled>" for each disabled alias. But that only mirrors the authoritative setting in FindAndRunRobot.ini > [Settings] > DisabledAliasStrings
- Edits to FindAndRunRobot.ini only stick when made while FARR is not running, otherwise FARR restores the old values from working memory.

To prevent FARR from restoring old values use this method to change aliases from an external script:
1 exit FARR  (commandline -exit)
2 edit .alias / .ini and save
3 run FARR   (commandline -hide)

Edit: it is easy to mess up with direct edits to the .alias / .ini files so make sure you create backups of them first.


You can already send FARR a windows message (or is it commandline call) to make it RELOAD its aliases after you have changed them outside of FARR.. Let me look it up and tell you how to do that.. That prevents the need to exit and restart FARR.
So the process would simply be to edit the alias outside FARR, and then send FARR them command to make it reload its aliases from file.  No problem.

As far as the original request -- it would helpful to hear more about what is important to you to understand what is important and not-important.  For example, it would be trivial to add a button to the options tab where you are looking at an alias to tell it to open an alias in an external text editor.. but I can't tell if being able to quickly edit an alias file without having to go to options alias page is the part that's important to you..

ps. Very cool, Nod5! Looking forward to seeing an alpha.


[0] Message Index

[#] Next page

Go to full version