+strumer Posted February 12, 2005 Share Posted February 12, 2005 I was wanting to force firefox (or IE for that matter) to load a waypoint directly into my gpsr when clicking on the download waypoint link. I can set a default action in firefox to open with gpsbabel but it won't let me add command line options. For those who don't know gpsbabel uses command line options to load waypoint files onto a gpsr. I searched through all the fires in the Firefox directory to see if i could edit some config file... but no luck. Anyone done this before ? or have any ideas on how to add command line options to default file actions on download ? Thanks C Quote Link to comment
+NightPilot Posted February 13, 2005 Share Posted February 13, 2005 I don't know of a way. Have you tried the Launchy extension for Firefox? I don't think it will run command-line programs, but it launches many different type programs from a click in Firefox. Quote Link to comment
robertlipe Posted February 13, 2005 Share Posted February 13, 2005 I'd be suprised if they really did "dumb down" firefox that far from Mozilla, which lets you specify arguments without problem. That really will cripple a number of programs. Perhaps there's an external file that controls it. (Various UNIX mutants used external mailcap files to control the mime mappings.) I don't have FF for windows handy right now, but if you do find out the right chant, share it here or on the gpsbabel-misc list and I'll try it get it on the pages of tips. Quote Link to comment
Dale_Lynn Posted February 13, 2005 Share Posted February 13, 2005 (edited) You may try your question in the FF support forum.... There is some pretty sharp people in there .... http://forums.mozillazine.org/viewforum.php?f=38 Dale Edited February 13, 2005 by Dale_Lynn Quote Link to comment
+DashHammer Posted February 14, 2005 Share Posted February 14, 2005 The easiest way I have found is to create a batch file as discussed (click) here. After that, in Windows Explorer, associate the GPX file extension to the batch file (open with in WE). FireFox should now be able to run the batch program when saving the GPX. This works on XP, other versions of Windows maybe different. Alan Quote Link to comment
+strumer Posted February 15, 2005 Author Share Posted February 15, 2005 Thanks for all the replies. I have been using a bat file but i think i just figured it out. I think I can use windows fileTypes to set a default action. I'm not near my computer right now to try it out.. but it should work. Click My Computer. Tools->Folder Options... Choose the File Types tab. Click 'New' Type in 'LOC' Click Advanced. Click New... Type In 'open' and 'gpsbabel -s -i geo -f %1 -o garmin -F com4' the %1 denotes the file name. Chris Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.