Hi, I encountered some problems again.
What I am trying to do is to open a window and take care of information.
Right now I am using the dos.library-comand Read() to get
information on events from the GUI - this is not an arexx-script.
After I have created the GUI and opened it via "open", according to the
manual I must make a call to "continue" in order to read windowevents
continously after I have made a modify-call and changed for example a
button.
Quote:
;--
"WE do not want to modify anything at this time but we still need to send the
continue line so the pipe will stop looking for modify lines and send us
another event.
'continue'
The line read from the pipe should be
'ok'"
<snap>
You keep reading an event then sending modify commands until the end of file
is received. You could also close the pipe after the close event is read.
;--
End quote
However as I want my program to be non-halting (and Read() doesn't return
until data is available) I use a call to Seek() in order to see if there is
pending
data before calling FGets(). This seems to work fine but the problem is the
need for a call to "continue" after I have done a "modify" and the fact that the
pipe
now starts to wait for an event.
My GUI though needs to be "fed" from a standalone program which can send
"modify"-commands to it any time. This seems to cause a clog in the pipe.
So, in short, how can I let the program listen for both gui-events and send
"modify"-calls and NOT clog the pipe?
I hope you understood what I was rambling about :)
//Thor
--
Peter Thor
The 20-Jun-02, Bruce @ ASA wrote:
>
> Bruce Steers
> http://sdf-eu.org/~bwsbws@...
Thank you Bruce for the clarifications, I had totally overseen the 'modify'
option to
'title'.
Chreers!
//Thor
--
Peter Thor
ICQ: 11277616, IRC: Joru
#AmiBlitz on Undernet
Bruce Steers
http://sdf-eu.org/~bwsbws@...
A.S.A. RoundTable Member
http://www.amigasupport.org.uk/bwsasa@...
--
--tag of the day--
Unable to locate Coffee -- Operator Halted !
---- ----
----- Original Message -----
From: "Peter Thor" <pettho-0@...>
To: <awnpipe@yahoogroups.com>
Sent: Thursday, June 20, 2002 9:00 AM
Subject: modify
> Hi guys, just joined this list after a troublesome night with trying to get
> modify to work.
>
> I've included a small file for you to try, what happens is that I am not
> sure how or why the modifycommand doesnt work. Should i reorganize it and
> place it elsewhere or what have I missed?
>
> Happy for any suggestions, greetings from Sweden
> --
> Peter Thor
Hi Peter.
Welcme to the list
troubles with your text are ....
'modify' was not stated in the window definition (1st line) .
window definition was on the 2nd line not 1st .
When modifying some gadgets like strings you must also use the 'refresh' (ref)
keyword to force the gadget to refresh itself
was not a script (it's not practical to use modify / continue in a file designed
to be simply copied to awnpipe: )
see the attachment for some modifications :)
I hope this helps :)
Bruce Steers
http://sdf-eu.org/~bwsbws@...
A.S.A. RoundTable Member
http://www.amigasupport.org.uk/bwsasa@...
--
--tag of the day--
If we aren't supposed to eat animals, why are they made with meat ?
---- ----
Hi guys, just joined this list after a troublesome night with trying to get
modify to work.
I've included a small file for you to try, what happens is that I am not
sure how or why the modifycommand doesnt work. Should i reorganize it and
place it elsewhere or what have I missed?
Happy for any suggestions, greetings from Sweden
--
Peter Thor
----- Original Message -----
From: "Robert A. Sisk" <RSisk@...>
To: "AWNPipe List" <AWNPipe@YahooGroups.com>
Sent: Saturday, June 01, 2002 12:39 AM
Subject: Layout separator bar and spacing
>
> call GUI 'Layout Vertical Bevel 7 SpaceInner SpaceOuter WeightedHeight 0'
> call GUI 'Layout Bevel 0 SpaceInner'
> call GUI 'Button GadgetText _Update'
> call GUI 'Button GadgetText A_ssign'
> call GUI 'Button GadgetText "Assign _Late"'
> call GUI 'Button GadgetText "Assign _Path"'
> call GUI 'LayoutEnd'
> call GUI 'Layout Bevel 0 SpaceInner'
> call GUI 'Button GadgetText "_Add Targets"'
> call GUI 'Button GadgetText "_Remove Targets"'
> call GUI 'Button GadgetText Unass_ign'
> call GUI 'LayoutEnd'
> call GUI 'LayoutEnd'
>
> This gives the separator bar but also extra space at the sides and at the
> bottom. Without SpaceOuter the bar doesn't appear at all. Is there a way
> to get the bar but not the extra space?
not sure what you mean
i tried to cut-n-paste the above text to see what you mean but it's only the
bottom gadgets not the rest of the gui
send the whole GUI (privately if you want) ,, i'll have a look
Bruce Steers
http://web.ukonline.co.uk/bsteers/
AmigaSupport RoundTable Member
http://www.amigasupport.org.uk/
--tag of the day--
Ifyoucanreadthisyouspendtoomuchtimefiguringouttaglines
---- ----
----- Original Message -----
From: "Robert A. Sisk" <RSisk@...>
To: "AWNPipe List" <AWNPipe@YahooGroups.com>
Sent: Saturday, June 01, 2002 4:25 AM
Subject: Iconifying
> The window keyword IconifyIcon is ignored, although II works.
wow ,, i don't think i've ever used the full words
as all my awnpipe stuff was ARexx i use as many tricks as possible to speed the
code up
> Also, I'd like to suggest that AWMPipe should ignore the snapshotted
> position in the iconify icon and let Workbench choose its location.
>
> Finally, another suggestion: please support requester class.
You'd want to email the author for this sort of stuff :)
Bruce Steers
http://web.ukonline.co.uk/bsteers/
AmigaSupport RoundTable Member
http://www.amigasupport.org.uk/
--tag of the day--
If we aren't supposed to eat animals, why are they made with meat ?
---- ----
----- Original Message -----
From: "Robert A. Sisk" <RSisk@...>
To: "AWNPipe List" <AWNPipe@YahooGroups.com>
Sent: Saturday, June 01, 2002 2:22 AM
Subject: Nonstretchy listbrowsers
> Title Demo DefaultGadgets Vertical SpaceOuter SpaceInner CenterScreen Activate
> Layout Bevel 0 WeightedHeight 0
> Space
> Label GadgetText _Targets
> Space
> LayoutEnd
> ListBrowser
> WeightBar
> Layout Bevel 0 WeightedHeight 0
> Space
> Label GadgetText "N_ew Targets"
> Space
> LayoutEnd
> ListBrowser
> open
>
> In this example when I drag the bar up, the bottom listbrowser doesn't
> expand and space appears above it. When I drag down, the bottom one
> doesn't contract. How can I make both listbrowsers stretchy?
not sure
it seems to be a bug in awnpipe
i'm having the same problem with that FTP prog of mine
maybe it's because list items arent added until after the window opens?
maybe we need to do some layout tricks ?
Unfortunately Bill Parker seemed to dissappear of the face of the planet :(
well he no longer recieves mail from this list (he is subscribed but only for
web-viewing :(
Try emailing him :)
Bruce Steers
http://web.ukonline.co.uk/bsteers/
AmigaSupport RoundTable Member
http://www.amigasupport.org.uk/
--tag of the day--
The best thing about the Internet is it stops you staring at a TV screen all
day.
---- ----
The window keyword IconifyIcon is ignored, although II works.
Also, I'd like to suggest that AWMPipe should ignore the snapshotted
position in the iconify icon and let Workbench choose its location.
Finally, another suggestion: please support requester class.
Kind regards,
--
Bob
Robert A. Sisk
RSisk@...
Title Demo DefaultGadgets Vertical SpaceOuter SpaceInner CenterScreen Activate
Layout Bevel 0 WeightedHeight 0
Space
Label GadgetText _Targets
Space
LayoutEnd
ListBrowser
WeightBar
Layout Bevel 0 WeightedHeight 0
Space
Label GadgetText "N_ew Targets"
Space
LayoutEnd
ListBrowser
open
In this example when I drag the bar up, the bottom listbrowser doesn't
expand and space appears above it. When I drag down, the bottom one
doesn't contract. How can I make both listbrowsers stretchy?
Kind regards,
--
Bob
Robert A. Sisk
RSisk@...
On 31-May-02 Bruce <bws@...> wrote:
>> How do I get a horizontal separator bar like the one the preference
>> editors put above the Save/Use/Cancel buttons?
>> space bevel 6
>> doesn't work. :-(
> the normal way would be to give the horizontal layout object for the
> buttons a bevel
> ie..
> layout b 3 (or 2 or whatever (am not looking at the docs right now:))
> button gt "_Save"
> button gt "_Use"
> button gt "_Cancel"
> le
call GUI 'Layout Vertical Bevel 7 SpaceInner SpaceOuter WeightedHeight 0'
call GUI 'Layout Bevel 0 SpaceInner'
call GUI 'Button GadgetText _Update'
call GUI 'Button GadgetText A_ssign'
call GUI 'Button GadgetText "Assign _Late"'
call GUI 'Button GadgetText "Assign _Path"'
call GUI 'LayoutEnd'
call GUI 'Layout Bevel 0 SpaceInner'
call GUI 'Button GadgetText "_Add Targets"'
call GUI 'Button GadgetText "_Remove Targets"'
call GUI 'Button GadgetText Unass_ign'
call GUI 'LayoutEnd'
call GUI 'LayoutEnd'
This gives the separator bar but also extra space at the sides and at the
bottom. Without SpaceOuter the bar doesn't appear at all. Is there a way
to get the bar but not the extra space?
Kind regards,
--
Bob
Robert A. Sisk
RSisk@...
Wow , I finally discovered how to operate FTP via ARexx :)
so atm i am writing an AWNpipe GUI FTP client :)
WHAT !!!
In ARexx ??
But it will just be a text file that anyone can hack about to suit their own
needs !
................................. hehehe , Exactly ;^)
Currently when the file manager window opens the lists are the same size as the
gadgets
It all fits properly if you resize the window with more length.
I attached a preview :) (has some debug output n stuff)
so far it has a configurable server list
can log-in to your ftp server
list the local/remote dirs
and you can navigate about the dirs on both sides by double clicking list
entries or pressing the parent button
it uses RXSocket.library so will work on WinUAE
todo:
delete files
transfer files
chmod
loads more
Watch this space :)
Bruce Steers
http://web.ukonline.co.uk/bsteers/
AmigaSupport RoundTable Member
http://www.amigasupport.org.uk/
--tag of the day--
Have you crashed your Windows today ?
---- ----
----- Original Message -----
From: "Bruce" <bws@...>
To: <awnpipe@yahoogroups.com>
Sent: Friday, May 31, 2002 12:32 PM
Subject: Re: Questions
----- Original Message -----
From: "Robert A. Sisk" <RSisk@...>
To: "AWNPipe List" <AWNPipe@YahooGroups.com>
Sent: Friday, May 31, 2002 8:14 AM
Subject: Questions
> How do I get a horizontal separator bar like the one the preference
> editors put above the Save/Use/Cancel buttons?
>
> space bevel 6
>
> doesn't work. :-(
Try 'weightbar' :)
------------------------------
oh , sorry i didn't read that right :)
the normal way would be to give the horizontal layout object for the buttons a
bevel
ie..
layout b 3 (or 2 or whatever (am not looking at the docs right now:))
button gt "_Save"
button gt "_Use"
button gt "_Cancel"
le
Hope this helps :)
----- Original Message -----
From: "Robert A. Sisk" <RSisk@...>
To: "AWNPipe List" <AWNPipe@YahooGroups.com>
Sent: Friday, May 31, 2002 8:14 AM
Subject: Questions
> How do I get a horizontal separator bar like the one the preference
> editors put above the Save/Use/Cancel buttons?
>
> space bevel 6
>
> doesn't work. :-(
Try 'weightbar' :)
> Also, how can my ARexx script tell when it is being started for the second
> time? I'd like to quit if I find that the named pipe is already open. How
> can I do that?
you could give the pipe an arexx port ....
call topipe('arexx gt "MYPORTNAME"')
or use ARexx's CreatePort() command
and then just use
if show('p','MYPORTNAME') then
:)
Bruce Steers
http://web.ukonline.co.uk/bsteers/
AmigaSupport RoundTable Member
http://www.amigasupport.org.uk/
--tag of the day--
He who laughs last, thinks slowest !
---- ----
How do I get a horizontal separator bar like the one the preference
editors put above the Save/Use/Cancel buttons?
space bevel 6
doesn't work. :-(
Also, how can my ARexx script tell when it is being started for the second
time? I'd like to quit if I find that the named pipe is already open. How
can I do that?
Kind regards,
--
Bob
Robert A. Sisk
RSisk@...
opi said,
> Hello Neil,
>>> yes true, but then the Part to load rexxsupport.library missed..
>>
>> It must have been loaded previously, otherwise you'd get a "function not
>> found" error.
> and load the Lib should the script do...
> therefore i wrote "Part to load rexxsupport.library missed."
It should check whether the library needs to be loaded, not doing so is
a mistake. But this isn't the cause of the error previously reported,
the message is different, so the library must have already been loaded
by another script.
The only way to check for sure is to run the script immediately after a
reboot, making sure no other ARexx scripts have been run.
Cheers
Neil
--
(A)bort (R)etry (S)ell it
Hello Neil,
on 12-Apr-02 write you:
>> yes true, but then the Part to load rexxsupport.library missed..
>
> It must have been loaded previously, otherwise you'd get a "function not
> found" error.
and load the Lib should the script do...
therefore i wrote "Part to load rexxsupport.library missed."
Regards, OPI
--
Frank Weber (OPI) <opionline@...>
Written with AMIGA ® 2000 (Blizzard 2060/*60* Mhz)
Cybervision64/3D | 128 Mb Fast | 1 Mb Chip | OS3.9
<sb>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
opi said,
> Hello Neil,
>> No, delete() is an ARexx function, from rexxsupport.library. But the
>> script is doing nothing with the value returned by delete, it could use
>> "call delete(..."
> yes true, but then the Part to load rexxsupport.library missed..
It must have been loaded previously, otherwise you'd get a "function not
found" error.
Cheers
Neil
--
Warp 5.. engage. No, no, Mr. Data, more clutch!
Hello Neil,
on 12-Apr-02 write you:
>> i think in lines 276 and 277 an "address command"
> No, delete() is an ARexx function, from rexxsupport.library. But the
> script is doing nothing with the value returned by delete, it could use
> "call delete(..."
yes true, but then the Part to load rexxsupport.library missed..
Regards, OPI
--
Frank Weber (OPI) <opionline@...>
Written with AMIGA ® 2000 (Blizzard 2060/*60* Mhz)
Cybervision64/3D | 128 Mb Fast | 1 Mb Chip | OS3.9
<sb>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
opi said,
> BTW: if i run tutorial4.rx i get follow error message:
> +++ Command returned 10
> +++ Error 16 in line 276: Function did not return value
> +++ Error 16 in line 68: Function did not return value
> +++ Error 16 in line 15: Function did not return value
> Command returned 10/16: Function did not return value
> i think in lines 276 and 277 an "address command"
> missed! right?
No, delete() is an ARexx function, from rexxsupport.library. But the
script is doing nothing with the value returned by delete, it could use
"call delete(..."
In fact, the "if exists()" call is unnecessary as delete() does give an
error if passed a non-existent file.
Cheers
Neil
--
WinErr 011: Window open - Do not look outside
Hi All
It's very quiet on this List, but now i have an question:
Is it possible to add support for automatic sort listbrowser
entrys if the user click on listbrowser title?
and an little arrow to identify the current sortorder?
(like Mui's NListviews)
I know Reaction support automatic sort listbrowsers
but i don't know about the arrows in listbrowser title... :-(
BTW: if i run tutorial4.rx i get follow error message:
+++ Command returned 10
+++ Error 16 in line 276: Function did not return value
+++ Error 16 in line 68: Function did not return value
+++ Error 16 in line 15: Function did not return value
Command returned 10/16: Function did not return value
i think in lines 276 and 277 an "address command"
missed! right?
Additional: tutorial4.rx and tutorial4.c it's not the same
because in .c the max age defined as 99 and in .rx as 115.
Regards, OPI
--
Frank Weber (OPI) <opionline@...>
Written with AMIGA ® 2000 (Blizzard 2060/*60* Mhz)
Cybervision64/3D | 128 Mb Fast | 1 Mb Chip | OS3.9
<sb>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
----- Original Message -----
From: "Ron Goertz" <rgoertz@...>
To: <bsteers@...>
Sent: Sunday, March 24, 2002 6:08 PM
Subject: AwnPipe Problem
Ron.
I was unable to send you any emails
so i will send to the list as i know you are subscribed :)
> Bruce-
> Hopefully you can help me with this one. The attached ARexx script .......
Hi .
i think it is to do with the "tick" statement
you are not reading the extra line tha pipe would send from the tick..
try something like this loop instead ...
do forever
PW_EventInfo = readln('PreviewWin')
if word(PW_EventInfo, 1) == 'key' then leave
call writeln('PreviewWin', 'tick=1')
PW_EventInfo = readln('PreviewWin')
end
Hope this helps
Bruce Steers
--tag of the day--
Sex is not the answer, sex is the question ... YES is the answer !
---- ----
Hello folks,
... This was posted on one of the other Yahoo! groups,
and after checking it out at http://groups.yahoo.com/
and finding it accurate, I will repost it here. This
is only of interest to those that log into the groups
yahoo web interface - and of course for getting mail
to/from the lists.
Take care,
Charlene
-------------------------------------------------
Virus Help Team Canada
http://vht-can.shadow-realm.org
-------------------------------------------------
... If you ate today, thank a farmer
---[ BEGIN NOTICE POSTED AT Yahoo! Groups ]-----------
Dear Yahoo! Groups Members,
The Yahoo! Groups service will be down Friday March 15
9:00 PM PST (GMT-8) as we move our servers to a new
facility. We expect the service to be back up the
morning of Sunday March 17.
During this time the web site will be unavailable and
email will not be delivered. (Some users may experience
email non-delivery notices, but all email should be
delivered once service has resumed.) Please note: once
the service is back up, there will be email delays due
to backlog. We expect these delays to last no longer
than 1 day. Please do not re-send email to your group
as it will only add to delays.
We apologize for any inconvenience this may cause.
The Yahoo! Groups Team
---[ END NOTICE POSTED AT Yahoo! Groups ]-----------
----- Original Message -----
From: "opi" <opionline@...>
To: <awnpipe@yahoogroups.com>
Sent: Monday, February 18, 2002 1:54 PM
Subject: Re: Web site
> Hello Bryan,
>
> on 16-Feb-02 write you:
> >> http://awnp.port5.com now works (sort of)
> >> i also set up http://awnp.netfirms.com
> >
> >> can some of you good people please check that you can get access to
> >> both sites. (if there are routing problems with any of them then i
> >> can remove it)
> >
> > Both came down quickly and nicely for me.
>
> Same here - from Germany :-)
Thanks for trying ppl :)
i think i will probably keep the port5 account as it does not have any banner
ads
All the best
Bruce Steers
http://b-w-s.netfirms.com/http://awnp.netfirms.com/
UIN: 47548311
--tag of the day--
Some mistakes are too much fun to only make once
---- ----
Hello Bryan,
on 16-Feb-02 write you:
>> http://awnp.port5.com now works (sort of)
>> i also set up http://awnp.netfirms.com
>
>> can some of you good people please check that you can get access to
>> both sites. (if there are routing problems with any of them then i
>> can remove it)
>
> Both came down quickly and nicely for me.
Same here - from Germany :-)
Regards, OPI
--
Frank Weber (OPI) <opionline@...>
Written with AMIGA ® 2000 (Blizzard 2060/*60* Mhz)
Cybervision64/3D | 128 Mb Fast | 1 Mb Chip | OS3.9
<sb>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
Hello brucesteers
On 16-Feb-02, brucesteers wrote:
> http://awnp.port5.com now works (sort of)
> i also set up http://awnp.netfirms.com
> can some of you good people please check that you can get access to
> both sites. (if there are routing problems with any of them then i
> can remove it)
Both came down quickly and nicely for me.
Later,
Bryan
--
"I will not sell miracle cures." - Bart Simpson
------
Bryan K. Williams icar1@... Team *AMIGA*
http://www.evilgeniuses.org/
------
--- In awnpipe@y..., "Bruce" <bsteers@b...> wrote:
> Hi all
>
> It seems that ukonline are changing their polocies to remove some
of their excess users.
>
> Basically what it means is that the AWNPipe website will have to be
moved to a new free server.
>
> I am currently looking at using portland.co.uk , i have just
registered http://awnp.port5.com
OK
http://awnp.port5.com now works (sort of)
i also set up http://awnp.netfirms.com
the netfirms acc has banners but is a lot better than the port5 one
the port5 acc has server problems more often (unable to get ftp
access) but it lacks the banners.
can some of you good people please check that you can get access to
both sites. (if there are routing problems with any of them then i
can remove it)
i will have to decide wich one to keep and which one to delete.
Hi all
It seems that ukonline are changing their polocies to remove some of their
excess users.
Below is a forwarded message from them...
Basically what it means is that the AWNPipe website will have to be moved to a
new free server.
I am currently looking at using portland.co.uk , i have just registered
http://awnp.port5.com
> Hello,
>
> As you know here at UK Online we are always trying to improve the
> services we offer you and to do this we monitor all the services
> members of UK Online can use.
>
> It has recently come to our attention that the web space we provide
> as part of the service is being used not only by our members, but
> also by others in the UK and overseas. Some of these sites break
> all of our terms and conditions and many of them have excessively
> high bandwidth usage. In order that we can continue to offer a
> good service to genuine UK Online members we are bringing in the
> following restrictions - they will apply from 18th February 2002:
>
> * To upload a website to UK Online webspace you must be using your
> UK Online dial up connection. If you try and upload your site
> using any other connection you will not be successful.
>
> * To keep your webspace live we will also monitor how often you
> dial up with us - if you dial up less than once every 90 days we
> assume that you no longer want to keep your webspace live. Your
> account will be terminated at that point.
>
> We understand that these moves may be unpopular with some users -
> however this is the only way we can assure that our resources are
> being used by current UK Online members.
Bruce Steers
http://web.ukonline.co.uk/bsteers/http://web.ukonline.co.uk/awnpipe/
UIN: 47548311
--tag of the day--
Very funny Scotty ... now beam down my clothes !
---- ----
G'day William H. M. Parker,
On 22-Dec-01, on the subject of "Re: AWNPipe bug with chooser?", you spoke
thus:
> I dont have the docs in front of me but i think you can set the max
> amount of chioices. I don't see why I would set an linit of 12. Maybe a
> reaction limit?
>
Bill, great to hear from you again. Where you been all this time? :^)
--
Steve Bowman - Sydney, Australia
"You are reckless!"
-- Yoda