I'm working on a Mac, so my jqt.command doesn't look like that. Rather, it's:

#!/bin/sh
cd "`dirname "$0"`/"
if [ ! -e /Library/Frameworks/QtCore.framework ]
then
 export QT_PLUGIN_PATH="$(pwd)"/../Qt/plugins
fi
./jqt

(The whole world does _not_ use Windows!)

And I presume the call, in the last line, would be:

./jqt -js z=:i. 3

But I still don't understand how to load (hence execute) a script by using 
whichever variant of startup.ijs (for console, jus, or jqt) is relevant.


On Feb 17, 2013, at 06:07:43 -0700, Don Guinn <[email protected]> wrote:

> You need to modify jqt.cmd and add the startup arguments as described for J6 
> to
> the last line. I tried this and it worked as described.
> 
> setlocal
> set QT_PLUGIN_PATH=%CD%\qt\plugins
> set PATH=%CD%\qt;%PATH%
> start bin\jqt.exe -js z=:i.3
> 
> On Sat, Feb 16, 2013 at 9:57 PM, Murray Eisenberg 
> <[email protected]>wrote:
> 
>> I find no default startup*.ijs files in ~config, which on my installation
>> is at /Users/murray/j64-801-user/config.
>> 
>> Or do you mean simply that if I want such files, those are the names I
>> should use.
>> 
>> For the record, does some other .ijs automatically look for and load these
>> scripts? (That's the sort of thing I was trying to trace through other
>> scripts distributed with the system.)
>> 
>> One reason I ask that is so I know what has already been defined, e.g.,
>> whether my setting for ~config in profilex.ijs has already been established.
>> 
>> 
>> On Feb 16, 2013, at 07:54:24 +0800, chris burke <[email protected]>
>> wrote:
>> 
>>> Nothing has changed in J801 in this regard. In fact, I think the only
>>> change since J6 has been the new jhs startup script.
>>> 
>>> Of course, you are free to create your own profile.ijs and use any
>> startup
>>> script.
>>> 
>>> The default startup scripts are:
>>> 
>>> ~config/startup.ijs           (this for the desktop)
>>> ~config/startup_console.ijs
>>> ~config/startup_jhs.ijs
>>> 
>>> Chris
>>> 
>>> On Sun, Feb 17, 2013 at 7:35 AM, Murray Eisenberg <[email protected]
>>> wrote:
>>> 
>>>> With J801, where and how do I load scripts to be executed upon startup
>> for
>>>> each of the following?
>>>> 
>>>> (a) J console;
>>>> (b) JQT
>>>> (c ) JHS
>>>> 
>>>> And one to be executed no matter which of those are used?
>>>> 
>>>> Of course this should be executed after I define "user" in profiles.ijs.

---
Murray Eisenberg                                    [email protected]
Mathematics & Statistics Dept.       
Lederle Graduate Research Tower            phone 413 549-1020 (H)
University of Massachusetts                               413 545-2838 (W)
710 North Pleasant Street                         fax   413 545-1801
Amherst, MA 01003-9305





----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to