Variables
| Variables | Description |
| {FILE} | File that has been created or renamed. |
| {PATH} | Directory path of the renamed/created file. |
XML Nodes
Bold options are mandatory.
| XML Node | Description |
| Path | Folder to watch such as "C:\Downloads\" |
| Extension | Trigger file extension including dot (.) Right not Psycho Folder only works based on file extensions |
| Run | Command to run. If the application is not in the path or the same folder with Psycho Folder supply full path.l |
| KeyWait | Wait miliseconds before sending keys. Only works if there are keys to send |
| SendKeys | Launches the application and Send these keyboard strokes. It's good for UI automation. Use V_KEYS in here. Keys should be comma separated, if you type an integer that means wait before the sending next key (as miliseconds) |
| RuleWait | Blocks the rule processing for give time (as miliseconds). This can be important if you don't want to launch multiple version of the same GUI application and SendKeys to the wrong one. |
Sample XML
<?xml version="1.0" encoding="utf-8"?>
<RuleManager xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Path>E:\Downloads</Path>
<Rules>
<Rule>
<Name>Unrar Files</Name>
<Run>unrar e -y "{FILE}" "{PATH}"</Run>
<Extension>.rar</Extension>
<KeyWait>0</KeyWait>
</Rule>
<Rule>
<Run>cmd.exe /c move "{FILE}" "E:\Media\"</Run>
<Extension>.divx</Extension>
<Name>Move Divx Files</Name>
<KeyWait>0</KeyWait>
</Rule>
<Rule>
<Run>"E:\AVIAddXSubs.exe" "{FILE}"</Run>
<Extension>.srt</Extension>
<Name>Add Subtitles</Name>
<SendKeys>VK_TAB,VK_TAB,VK_TAB,VK_TAB,500,VK_RETURN,VK_RETURN</SendKeys>
<KeyWait>1000</KeyWait>
<RuleWait>5000</RuleWait>
</Rule>
</Rules>
</RuleManager>