After downloading the script, you can activate it in 3 ways.
1) Double click on this .app and select your program file
2) Right click on your program file and select “open with” and find this .app
3) Drag your program file onto this .app

The source can be found in this pastebin (you can copy and paste the source into an AppleScript Editor if need be). You can download the “Run Program.app.zip” from my dropbox here, just make sure to unzip to get the .app first.