Using P4 in IntelliJ IDEA12

Similar to the previous post, we can use the same batch file for IntelliJ IDEA. Just use 2, 3, 1, 4 instead. Here are some screenshots so it makes sense.
IDEA Configuration

Visual Studio Merge Tool Configuration

Visual Studio Legend