From mcblista at terra.com.br Tue Aug 4 18:14:01 2009 From: mcblista at terra.com.br (Marcelo) Date: Tue, 04 Aug 2009 22:14:01 -0300 Subject: [Jslib] Seamonkey 2.0 beta 1? Message-ID: Is there a build compatible with Seamonkey 2.0 beta 1? I wanted to try the Suiterunner build, but one of the stumbling blocks was jslib. Without jslib, I can't use another extension I really like... Marcelo From paul at dowling.id.au Fri Aug 28 01:02:02 2009 From: paul at dowling.id.au (pd) Date: Fri, 28 Aug 2009 18:02:02 +1000 Subject: [Jslib] jsLib Message-ID: <6.2.1.2.2.20090828180159.02adcae8@mail.tpg.com.au> Hi everyone Firstly, thank you all kindly for the jsLib library. It's made a little dream of mine come true. For a long time I've been following Planet Mozilla daily, seeing FUEL come and go, all the time having a mind's eye image of that red jsLib icon but not really knowing what it was. Finally I've got my head around it and it's exactly what I am after and have been for so long. I come from a Perl/HTML/JS/CSS web design background and I've wanted to convert that into working with Mozilla code for a long time but obviously Perl is the glue in those skills and there's nothing in the Mozilla code that runs Perl. Anyway, thanks again for your library, it's excellent. Could you please tell me what the valid arguments are for the FileUtils.run() API method? In general I think the doco for jsLib is quite good but could be better. Maybe I can help as I learn? It would be good to have more examples than the only ones I can find on this brilliant page: https://www.mozdevgroup.com/docs/pete/jslib.html BTW that is the most sensible perspective I've seen regarding working with Mozilla's code base. It sums up the problem with having to write 'infrastructure' code perfectly. I've grabbed the example from there and I can use it to run a program with a line like this: fu.run("c:\\Progra~1\\GRETECH\\GomPla~1\\GOM.exe"); however even though that application takes a file path as an argument when run from the Windows XP cmd prompt, I can't get this (for example) to work: fu.run("c:\\Progra~1\\GRETECH\\GomPla~1\\GOM.exe", "c:\incoming\Leverage.S02E07.The.Two.Live.Crew.Job.HDTV.XviD-FQM.avi"); Thanks again for your great work on jsLib everyone, any help would be greatly appreciated. pd From mcblista at terra.com.br Fri Aug 28 16:27:46 2009 From: mcblista at terra.com.br (Marcelo) Date: Fri, 28 Aug 2009 20:27:46 -0300 Subject: [Jslib] Seamonkey 2.0 beta 1? In-Reply-To: References: Message-ID: Interviewed by CNN on 4/8/2009 22:14, Marcelo told the world: > Is there a build compatible with Seamonkey 2.0 beta 1? I wanted to try > the Suiterunner build, but one of the stumbling blocks was jslib. > Without jslib, I can't use another extension I really like... Update: I tried disabling the Extension Version Check on Seamonkey 2 beta 1, and installed JSLib and TagZilla. Despite both being listed as "incompatible," they seem to be working normally. So, if there is a maintainer for JSLib, it seems that an official Seamonkey 2-compatible build is not out of question. Marcelo From pete at mozdevgroup.com Mon Aug 31 09:34:20 2009 From: pete at mozdevgroup.com (Pete Collins) Date: Mon, 31 Aug 2009 10:34:20 -0600 Subject: [Jslib] Seamonkey 2.0 beta 1? In-Reply-To: References: Message-ID: <4A9BFB8C.1040002@mozdevgroup.com> Yea, for seamonkey I just need to update the install.rdf. --pete Marcelo wrote: > Interviewed by CNN on 4/8/2009 22:14, Marcelo told the world: > >> Is there a build compatible with Seamonkey 2.0 beta 1? I wanted to try >> the Suiterunner build, but one of the stumbling blocks was jslib. >> Without jslib, I can't use another extension I really like... >> > > Update: I tried disabling the Extension Version Check on Seamonkey 2 > beta 1, and installed JSLib and TagZilla. Despite both being listed as > "incompatible," they seem to be working normally. So, if there is a > maintainer for JSLib, it seems that an official Seamonkey 2-compatible > build is not out of question. > > Marcelo > _______________________________________________ > Jslib mailing list > Jslib at mozdev.org > https://www.mozdev.org/mailman/listinfo/jslib > > > -- Pete Collins - Founder, Mozdev Group Inc. www.mozdevgroup.com Mozilla Software Development Solutions tel: 1-719-302-5811 fax: 1-719-302-5813 From pete at mozdevgroup.com Mon Aug 31 09:38:39 2009 From: pete at mozdevgroup.com (Pete Collins) Date: Mon, 31 Aug 2009 10:38:39 -0600 Subject: [Jslib] jsLib In-Reply-To: <6.2.1.2.2.20090828180159.02adcae8@mail.tpg.com.au> References: <6.2.1.2.2.20090828180159.02adcae8@mail.tpg.com.au> Message-ID: <4A9BFC8F.8070805@mozdevgroup.com> > however even though that application takes a file path as an argument when run from the Windows XP cmd prompt, I can't get this (for example) to work: > > fu.run("c:\\Progra~1\\GRETECH\\GomPla~1\\GOM.exe", > "c:\incoming\Leverage.S02E07.The.Two.Live.Crew.Job.HDTV.XviD-FQM.avi"); > > Thanks again for your great work on jsLib everyone, any help would be greatly appreciated. > > Does fu.run("c:\\Progra~1\\GRETECH\\GomPla~1\\GOM.exe"); work correctly? --pete -- Pete Collins - Founder, Mozdev Group Inc. www.mozdevgroup.com Mozilla Software Development Solutions tel: 1-719-302-5811 fax: 1-719-302-5813 From an0n1m0us at gmail.com Mon Aug 31 16:11:02 2009 From: an0n1m0us at gmail.com (pd) Date: Tue, 1 Sep 2009 09:11:02 +1000 Subject: [Jslib] jsLib In-Reply-To: <4A9BFC8F.8070805@mozdevgroup.com> References: <6.2.1.2.2.20090828180159.02adcae8@mail.tpg.com.au> <4A9BFC8F.8070805@mozdevgroup.com> Message-ID: On Tue, Sep 1, 2009 at 2:38 AM, Pete Collins wrote: > >> however even though that application takes a file path as an argument when run from the Windows XP cmd prompt, I can't get this (for example) to work: >> >> ?fu.run("c:\\Progra~1\\GRETECH\\GomPla~1\\GOM.exe", ? ? ? ?"c:\incoming\Leverage.S02E07.The.Two.Live.Crew.Job.HDTV.XviD-FQM.avi"); >> >> Thanks again for your great work on jsLib everyone, any help would be greatly appreciated. >> >> > > Does > > fu.run("c:\\Progra~1\\GRETECH\\GomPla~1\\GOM.exe"); > > work correctly? Hi Pete, thanks for your reply Yes it does. I actually screwed up my example a little. Here's more: Works: fu.run("c:\\Progra~1\\GRETECH\\GomPla~1\\GOM.exe"); fu.run("c:\\Progra~1\\mplayerc\\mplayerc.exe"); Fails: fu.run("c:\\Progra~1\\GRETECH\\GomPla~1\\GOM.exe", "c:\incoming\Leverage.S02E07.The.Two.Live.Crew.Job.HDTV.XviD-FQM.avi"); fu.run("c:\\Progra~1\\GRETECH\\GomPla~1\\GOM.exe", "c:\incoming\Leverage.S02E07.The.Two.Live.Crew.Job.HDTV.XviD-FQM.avi"); fu.run("c:\\Progra~1\\GRETECH\\GomPla~1\\GOM.exe", "c:\incoming\RushS2E7.avi"); fu.run("c:\\Progra~1\\GRETECH\\GomPla~1\\GOM.exe", "c:\\incoming\\RushS2E7.avi"); fu.run("c:\\Progra~1\\mplayerc\\mplayerc.exe", "c:\\incoming\\Leverage.S02E07.The.Two.Live.Crew.Job.HDTV.XviD-FQM.avi"); fu.run("c:\\Progra~1\\mplayerc\\mplayerc.exe", "c:\incoming\Leverage.S02E07.The.Two.Live.Crew.Job.HDTV.XviD-FQM.avi"); fu.run("c:\\Progra~1\\mplayerc\\mplayerc.exe", "c:\incoming\RushS2E7.avi"); fu.run("c:\\Progra~1\\mplayerc\\mplayerc.exe", "c:\\incoming\\RushS2E7.avi"); So 8.3 filenames and escaping backlashes do not seem to help. Both programs launch without any secondary parameter. It's possible mplayerc.exe needs another /open or /play parameter but it definitely takes command line params and I just tested it without /open or /play from the command prompt and it works fine. I've looked at the FileUtils.js run method and there's code that provides errors but I'm not seeing any errors in he Error Console. Thanks pd > --pete > > -- > Pete Collins - Founder, Mozdev Group Inc. > www.mozdevgroup.com > Mozilla Software Development Solutions > tel: 1-719-302-5811 > fax: 1-719-302-5813 > > _______________________________________________ > Jslib mailing list > Jslib at mozdev.org > https://www.mozdev.org/mailman/listinfo/jslib