you can try OTHER=: 0 : 0 pc other; cc btnExit button; cc edtOther edit; )
untested On Mon, Jun 8, 2020, 8:35 AM bill lam <[email protected]> wrote: > sorry I didn't pay enough attention to your script. The wd command in your > script is for j602 that was 20 years ago. Jqt uses a different way for > form layout. bin commands instead of xywh are being bused, see > > https://code.jsoftware.com/wiki/Guides/Window_Driver/Layout > > Some of the child styles are different too, so you may try removing those > ws_... styles if error occurred. Please see wd driver in jwiki for further > reference. > > > On Mon, Jun 8, 2020, 2:22 AM Brian Bambrough <[email protected]> > wrote: > >> Bill, thanks for your response. Based on what you said I'm making >> progress but I'm not all the way there. >> >> I loaded the optional items. I ran install 'qtide'. I exited >> ijconsole. I entered jqt at the command prompt and I was presented with >> the jqt Term. >> >> When I tried to run my script I got an error message: >> >> load '/home/brian/bbdata/jscripts/skel/other1.ijs' >> |xywh : command not found >> : wd >> | (LF,~wd ::(''"_)'qer') (13!:8)3 >> >> Do you know what I need to do to fix this? >> >> Here's the script again: >> >> OTHER=: 0 : 0 >> pc other; >> xywh 79 54 34 11;cc btnExit button; >> xywh 9 25 104 16;cc edtOther edit ws_border ws_thickframe es_autohscroll; >> pas 6 6;pcenter; >> rem form end; >> ) >> >> other_run=: 3 : 0 >> wd OTHER >> wd 'pshow;' >> ) >> >> other_close=: 3 : 0 >> wd'pclose' >> ) >> >> other_btnExit_button=: 3 : 0 >> ) >> >> other_run'' >> >> >> On 6/6/20 7:08 PM, bill lam wrote: >> > jconsole doesn't support wd, you need to install jqt and run it for wd >> > commands >> > >> > On Sat, Jun 6, 2020, 11:48 PM Brian Bambrough <[email protected]> >> > wrote: >> > >> >> I just loaded J8.07 onto a Linux Mint 19.3 laptop. I did not load the >> >> items marked optional. >> >> >> >> I can invoke the console and use it as a calculator. When I try to >> load >> >> other1.ijs (listed below) I get an error message: >> >> >> >> ijconsole 'other1.ijs' >> >> |value error: wd >> >> | wd OTHER >> >> >> >> I would appreciate it if someone could tell me what I am doing wrong. >> >> >> >> >> >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm >> > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
