Сбт, 06 Ноя 2010, Ian Clark писал(а):
> A tip: if I put the following lines in my startup.ijs:
> 
> smoutput' >>> startup message1'
> launch_jtask_'http://127.0.0.1:65001/jfile'
> launch_jtask_'http://127.0.0.1:65001/jijx'
> smoutput' >>> startup message2'
> 
> then clicking the red J icon launches Firefox with two operative
> windows in the tabs, which is nice and handy.
> Is this the way I ought to be doing it?

I'm not sure. iirc launch_jtask_ is asynchronous so that it can finish
before or after J continuing it startup.ijs.  In particular I suspect the
second smoutput can actually execute before you can see firefox appeared on
screen.

-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to