I use JHS almost entirely. I forgot that I was trying to upgrade to J701gtk. Sorry for causing you all some grief.
I'll try where I'm supposed to test it. Thanks for your help Linda -----Original Message----- From: programming-boun...@jsoftware.com [mailto:programming-boun...@jsoftware.com] On Behalf Of bill lam Sent: Friday, February 03, 2012 9:26 AM To: programming@jsoftware.com Subject: Re: [Jprogramming] Using wd So you run wd commands on JHS? I'm afraid I cannot help. Птн, 03 Фев 2012, Linda Alvord писал(а): > Error message > > The page at 127.0.0.65001 says: > > ajax request failed > response code 0 > application did not produce result > try browsing to url again > additional info in jijx > > Then in jijx I got: > > *** response not sent for jijs > *** html409 Conflict > > Maybe this helps. > > Linda > > -----Original Message----- > From: programming-boun...@jsoftware.com > [mailto:programming-boun...@jsoftware.com] On Behalf Of bill lam > Sent: Friday, February 03, 2012 4:45 AM > To: programming@jsoftware.com > Subject: Re: [Jprogramming] Using wd > > you need save it into script and require 'gui/gtkwd' before running. > > Hope this format will work for you, > > require 'gui/gtkwd' > wd 'pc form closeok' > wd 'xywh 0 0 100 100;cc b1 button bs_ownerdraw;cn > "/users/owner/j701-user/temp/toucan.bmp"' > wd 'pshow' > > Chris' code should also work in J7 but you forgot to change the path name > of the bmp file. > > Птн, 03 Фев 2012, Linda Alvord писал(а): > > I put this in jijs window > > > > coclass 'toucan' > > > > FORM=: 0 : 0 > > pc form closeok; > > xywh 0 0 100 100;cc b1 button bs_ownerdraw; cn > > "/users/owner/j701-user/temp/toucan.bmp"; > > ) > > > > run=: 3 : 0 > > wd FORM > > wd 'pshow' > > ) > > > > run' > > -----Original Message----- > > From: programming-boun...@jsoftware.com > > [mailto:programming-boun...@jsoftware.com] On Behalf Of bill lam > > Sent: Friday, February 03, 2012 3:29 AM > > To: programming@jsoftware.com > > Subject: Re: [Jprogramming] Using wd > > > > Did you run the control demos as suggested? Anyway this is a minimal > > script for you to test. > > > > > > ============================================== > > NB. change the file name of bmp before test > > NB. use absolute path name, NOT ~temp or similar > > > > coclass 'toucan' > > > > FORM=: 0 : 0 > > pc form closeok; > > xywh 0 0 100 100;cc b1 button bs_ownerdraw; > > cn "/home/bill/toucan.bmp"; > > ) > > > > run=: 3 : 0 > > wd FORM > > wd 'pshow' > > ) > > > > run'' > > > > When I ran it I got the message in red: > > > > |value error: wd | wd FORM > > > > When I went to the jijx window everything showed exactly as you had sent > > except for the path. > > > > I tried run'' again and got: > > > > > > run'' > > |value error: run > > | run'' > > > > Hope you can use this. > > > > Linda > > > > ============================================== > > > > Птн, 03 Фев 2012, Linda Alvord писал(а): > > > I got the toucan in J602 > > > > > > I moved the toucan to temp J701 and got: > > > > > > > > > jijs saved: c:/users/owner/j701-user/temp/a000 isigraph.ijs > > > require 'bmp gl2' > > > > > > DAT=: readbmp jpath '~temp\toucan.bmp' > > > DAT=: 256 #. |."1 [ 256 256 256 #: DAT > > > > > > It read the "toucan" but the error in red when I ran the file was: > > > > > > |domain error: scriptd | DAT=:256#.|."1[256 256 256 #:DAT |[-3] > > > c:\users\owner\j701-user\temp\a000 isigraph.ijs > > > > > > I struggled a lot with "scripted" with random numbers but this is beyond > > > me. > > > > > > Maybe it will help somebody. > > > > > > Thanks. > > > > > > Linda > > > > > > -----Original Message----- > > > From: programming-boun...@jsoftware.com > > > [mailto:programming-boun...@jsoftware.com] On Behalf Of Gilles Kirouac > > > Sent: Thursday, February 02, 2012 4:20 PM > > > To: Programming forum > > > Subject: Re: [Jprogramming] Using wd > > > > > > Linda > > > > > > See > > > > > > http://www.jsoftware.com/pipermail/beta/2006-March/000607.html > > > > > > "You need the picture as a bitmap" (Chris). A bitmap can be displayed > > > in an Isigraph control in J6. > > > > > > In J6, the Isigraph control is described in the User Manual > > > > > > ...j602/help/user/script_isigraph.htm > > > > > > I do not know if the quite new wd emulation in J7 supports > > > the isigraph control. > > > > > > ~ Gilles > > > > > > > > > ---------- Original Message ----------- > > > From: "Linda Alvord" <lindaalv...@verizon.net> > > > To: "'Programming forum'" <programming@jsoftware.com> > > > Sent: Thu, 02 Feb 2012 05:05:18 -0500 > > > Subject: [Jprogramming] Using wd > > > > > > > This worked in J406 > > > > > > > > load 'c:\j406\willie\readwillie 2.ijs' > > > > > > > > |domain error: wd > > > > > > > > | wd picture=:'xywh ',(":w,h,((-2*w)+w*na),h*nd),';cc board > > > > isipicture' > > > > ... > > > ------- End of Original Message ------- > > > > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > > > ---------------------------------------------------------------------- > > > For information about J forums see http://www.jsoftware.com/forums.htm > > > > -- > > 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 > > > > ---------------------------------------------------------------------- > > For information about J forums see http://www.jsoftware.com/forums.htm > > -- > 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 > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm -- 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 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm