Thanks, config added:
http://rolandtoth.hu/yaP/#examples/wxHexEditor.ini
Why yaP do not requires instructions inside [AFTER]?
This is by design. From version 0.5 yaP is smart enough to keep you DRY
In the docs, the definition of "regkey" is:
Code: Select all
Backup, save and restore a registry key.
So "regkey" does ALL these things automatically. You need to specify the registry key once, no need to repeat it in the AFTER section.
Such automatic (or complex) keywords are "dir", "file", "regkey", "(dir)", "(file)", "(regkey)" and "symlink".
To prevent this automatic behaviour, use "->regkey" (BEFORE and AFTER): this keyword does only one thing, copy contents of a registry key (same with "->file", "->dir").
And another trick: to reverse direction, use "<-regkey", then you can keep the same value (yaP takes care of that).
The downside of yaP's automatic operations is the order: yaP executes the AFTER part of complex keywords right after closing the main application.
This is OK in most cases, but if you need to execute something before them, use "restore = 1" in the AFTER section.
This tells yaP to execute automatic AFTER items where it finds "restore" keyword in the queue.
Hope this helps