From: James R. <rom...@gm...> - 2014-02-10 19:58:55
|
Hi Tom, I could associate the .rails type to the .bat file that runs rails via the java command. I think I could also set it up so that double-clicking on the .rails file passes the save file (.rails file) name to the .bat file and so that the .bat file would then pass the the save file name into the java command somehow. Does the java command allow such an argument, would it be passed along to Rails in a sensible way, and would Rails interpret it as a save file to load? I take it from your success that your answers to all those questions are "yes." Could you share the java command used in your batch file so that I may see how the file name argument should be passed along? Jim On Mon, Feb 10, 2014 at 1:37 PM, Tom McCorry <tom...@gm...> wrote: > I have a batch file I use with Windows that I associate with the .rails > file type. This allows me to double-click on a .rails file no matter what > directory it resides in and have the Rails program autostart. > > Sent via BlackBerry > > -----Original Message----- > From: James Romano <rom...@gm...> > Date: Mon, 10 Feb 2014 12:33:26 > To: Development list for Rails: an 18xx game< > rai...@li...> > Reply-To: "Development list for Rails: an 18xx game" > <rai...@li...> > Subject: [Rails-devel] double-clicking to run? > > > ------------------------------------------------------------------------------ > Androi apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > > > > ------------------------------------------------------------------------------ > Androi apps run on BlackBerry 10 > Introducing the new BlackBerry 10.2.1 Runtime for Android apps. > Now with support for Jelly Bean, Bluetooth, Mapview and more. > Get your Android app in front of a whole new audience. Start now. > > http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk > _______________________________________________ > Rails-devel mailing list > Rai...@li... > https://lists.sourceforge.net/lists/listinfo/rails-devel > |