This workflow uses simple NSAppleScript and Script Filter to find running apps that can be restarted or quit directly from Alfred.
- In Alfred's search input you can either type 'restart' or 'relaunch' to extract the NSAppleScript from the workflow.
- Once you have typed either of them, You will see "Restart App" press enter to list all running apps.
- Click any of apps from the Alfred's search that shown in Restart App result in order to restart/relaunch an app directly from Alfred.
- Adequately you can use quit function to quit an app without relaunch by pressing "alt" and "enter" in Keyboard.
Inspired by Bedartha's Relaunch App