I've searched far and wide on the web, on this forum and the forums of Autohotkey and can't seem to find an answer to this.
I use Autohotkey on all of my computers and love having my favorite programs or actions a few key presses away. I'd love to extend this to being able to launch Firefox Portable from my flashdrive.
Problem is, by looking at all the executables involved, and they way they kick off in the manifest, I can't see any easy way to accomplish this.
Has anyone else found a solution? Or have a suggestion?
After tons and tons of experimentation and Googling, I decided to cut to the chase and purchase a really neat program called "Appsnapper" http://www.appsnapper.com/
It's cheap, money-back guarantee; it installs on your U3 and allows you to associate Windows file extensions with programs on your thumb drive.
To satisfy my need to Autohotkey Firefox for U3 to ALT-F, I simply created an HTML document (could be blank, I chose to fill it with useful links - kind of a custom home page), dropped it on my drive and then used a U3 environment variable to hotkey it directly.
Viola. It works. And Appsnapper is great for so much more. Examples - I have Portable Winamp associated with Mp3's and other audio types. VLC is associated with AVI's, MPEG's etc. Portable Nero is associated with .NRG, .ISO, etc. You get the idea.
At any rate, I hope this is useful to someone. Appsnapper basically hijacks any application calls to document types it's configured to look for. Then it redirects them to the apps you want on your U3.
PS: hotkeying to a website did not launch Firefox for U3 for obvious reasons. ie. www.google.com/index.html Because a URL is not a file extension - which is what Appsnapper is looking for. Thus the need to place a physical html document on my U3 and link to that.