I've created an applescript application (in automator) to open ssh urls. The application is bound to the ssh:// url.
I've got a lot of firstname.lastname@example.org files and search these in spotlight. Selecting the file from spotlight opens the associated application, but i cannot figure out what the filename is which triggered the opening of the application.
It works if i add the "get selected finder items" action and open the .inetloc file from the finder.
I've searched the net and the applescript reference, but it's just too specific.