How can I bind a multitouch gesture to open a file with a particular application? I am running Mac OS X Lion. What I want is a way to open an HTML file with a particular application based on my action. 

For example, the default application is Safari, so it will always open in Safari if double clicked. However, I want to add another gesture, (such as tapping on middle top of the trackpad) while the file has been selected (highlighted), such that it will open in TextWrangler.

Is it possible? I am also using BetterTouchTool.
You can run an AppleScript file using BetterTouchTool, but I don't know how you get the selected file. Here's the script:

tell app "&lt;your application here&gt;" to open file &lt;file here&gt;


That will work as long as there's an application to open and a file to open. The problem is getting the selected file...