Not sure why this is working for you and the other version isn't, but think that it needs a little cleanup, so changed it to:
{
"version": "2.0.0",
"tasks": [
{
"label": "Add AutoIt Includes",
"type": "shell",
"command": "${config:autoit.aiPath}/SciTE/AutoIt3Wrapper/run_autoit3wrapper.ps1",
"args": [
"-AutoitPath", "${config:autoit.aiPath}",
"-Options", "/addincludes",
"-ScriptFile", "${file}"
],
"presentation": {
"reveal": "always",
"panel": "shared",
"echo": false,
"showReuseMessage": false,
"clear": true
},
"problemMatcher": [],
"detail": "Add missing includes to the AutoIt script",
},
{
"label": "Run Au3Stripper",
"type": "shell",
"command": "${config:autoit.aiPath}/SciTE/AutoIt3Wrapper/run_autoit3wrapper.ps1",
"args": [
"-AutoitPath", "${config:autoit.aiPath}",
"-Options", "/au3stripper",
"-ScriptFile", "${file}"
],
"presentation": {
"reveal": "always",
"panel": "shared",
"echo": false,
"showReuseMessage": false,
"clear": true
},
"problemMatcher": [],
"detail": "Strip/Merge your script"
}
]
}
This version is also working for me and looks a little more straightforward.