shell on OS X workaround ( was Re: SNMP Traps)

2002-03-22 Thread Dar Scott
On Friday, March 22, 2002, at 04:42 PM, Dar Scott wrote: > The dictionary on my Revolution has OS X crossed out for "shell" > and "read from process", but curiously not for "open process". I guess the AppleScript programmers on the list laugh every time I say there is no Revolution shell() fu

datagrams & sockets

2002-03-22 Thread JohnRule
> Suppose you "open datagram socket" to the SNMP port 161 on your > router and "write" an SNMP GET datagram. The underlying system > will assign you a port on your computer when you do this. The > router will send an SNMP RESPONSE back to that port. You need to > get that datagram. But you

Pat on the back

2002-03-22 Thread JohnRule
> A variable name is a sort of pointer to the actual location in memory where > the value of the variable resides. When you create a reference of (to) that > variable you don't create another location in memory for the value of the > variable, you just create another pointer which points to that o

Re: SNMP Traps - can I monitor them?

2002-03-22 Thread Dar Scott
On Friday, March 22, 2002, at 03:15 PM, Ian Summerfield wrote: > My next problem is knowing if I can ping an IP number just to see > whether it > exists before I try and open a separate communication channel to it? "do" and Network Utility? Gotta run. -- dar ___

Re: SNMP Traps - can I monitor them?

2002-03-22 Thread Dar Scott
On Friday, March 22, 2002, at 03:23 PM, Ian Summerfield wrote: > BUT, I think it all should be > possible because there is a METACARD project that does more or > less what I > want to do, and by the sounds of things what you are trying to do to! > > http://www.metacard.com/apps4.html > > Mind y

Re: SNMP Traps - can I monitor them?

2002-03-22 Thread Dar Scott
On Friday, March 22, 2002, at 03:15 PM, Ian Summerfield wrote: > The opensockets() function shows I have other sockets open, but > 162 never > gets opened. Also no socketerror message is received, it just > doesn't do > anything! result()? sysError()? It may be that you need certain priv/

Re: Help! Title bar of stack under Rev button bar

2002-03-22 Thread Klaus Major
HI Dar, > This is cool! It hides the dock, too! If I can figure out how to > install an application as a screen saver on OS X, I could make a screen > saver. > > But this doesn't help this problem. The title bar of the stack ends up > under the button bar, not the menu bar. (OS X) look i

Re: SNMP Traps - can I monitor them?

2002-03-22 Thread Ian Summerfield
On 22/3/02 8:16 pm, "Dar Scott" <[EMAIL PROTECTED]> scribed: > Ian, you are about to run into a serious limitation of UDP on > Revolution, if you continue to explore SNMP. > > (If I'm wrong about this, I hope somebody will let us know.) > > Suppose you "open datagram socket" to the SNMP port 16

Re: SNMP Traps - can I monitor them?

2002-03-22 Thread Ian Summerfield
> > What do you mean "No socket is opened"? Does 162 show up in > openSockets? > > Could you have another SNMP app running? Try netstat or other tool > to see. > > netstat -? > for help > > netstat -a > to list all > The opensockets() function shows I have other sockets open, but 162 never

Re: assign by reference - a comment

2002-03-22 Thread David Vaughan
Hi all I have watched this thread (now pretty much dead) very quietly but the last few posts inspire me to make a general point captured well by Rob in his ironic "...capability of writing self-modifying code. Think about he potential of that feature." That Rev offers you pass-by-reference is

Re: Help! Title bar of stack under Rev button bar

2002-03-22 Thread Dar Scott
On Friday, March 22, 2002, at 01:01 PM, Klaus Major wrote: >> I just dragged a stack under the button bar in OS X. > > Congratulations ;-) Newbies do the cutest things. >> I suppose I can type something in the message to move this back down. > > set the loc of stack "xxx" to the screenloc Tha

Re: SNMP Traps - can I monitor them?

2002-03-22 Thread Dar Scott
On Friday, March 22, 2002, at 12:22 PM, Ian Summerfield wrote: > Am I going about this all the wrong way? Ian, you are about to run into a serious limitation of UDP on Revolution, if you continue to explore SNMP. (If I'm wrong about this, I hope somebody will let us know.) Suppose you "open

Re: Help! Title bar of stack under Rev button bar

2002-03-22 Thread Ken Ray
Dar, Type this in to the message box: set the loc of this stack to the screenLoc Assuming it is a toplevel stack, this should work. If it's not (like a palette), you need to type: set the loc of stack to the screenLoc Hope this helps, Ken Ray Sons of Thunder Software Email: [EMAIL PROTE

Re: Help! Title bar of stack under Rev button bar

2002-03-22 Thread Klaus Major
HI Dar, > I just dragged a stack under the button bar in OS X. Congratulations ;-) > I suppose I can type something in the message to move this back down. set the loc of stack "xxx" to the screenloc > But is there a better way? Can I turn off the button bar quickly? Type this in the messag

Re: SNMP Traps - can I monitor them?

2002-03-22 Thread Dar Scott
On Friday, March 22, 2002, at 12:22 PM, Ian Summerfield wrote: > I know that SNMP traps are sent out on Port 162. The question is > are they > datagrams? Should I be able to do: > > accept datagram connections on port 162 with message "gotGram" > > No socket is opened, socketerror doesn't see

SNMP Traps - can I monitor them?

2002-03-22 Thread Ian Summerfield
I know that SNMP traps are sent out on Port 162. The question is are they datagrams? Should I be able to do: accept datagram connections on port 162 with message "gotGram" No socket is opened, socketerror doesn't seem to send anything. It seems I'm not allowed to open port 162. I've tried ot

Help! Title bar of stack under Rev button bar

2002-03-22 Thread Dar Scott
I just dragged a stack under the button bar in OS X. I suppose I can type something in the message to move this back down. But is there a better way? Can I turn off the button bar quickly? It there a way to grab a stack other than by its title bar? Dar __

Re: assign by reference (arrays)?

2002-03-22 Thread Rob Cozens
One last kick at this dead horse and I'll shut up, Ben, on doit msgdata put empty into aUseInfo put empty into aImproveInfo repeat for each line msgrec in msgdata put item 1 of msgrec into msgID put item 2 of msgrec into msgReplyID put item 3 of msgrec

RE: assign by reference (arrays)?

2002-03-22 Thread Rob Cozens
>I think I understand what Ben is after -- to [vaguely] borrow terminology >from other languages, what it appears he wants to do is: > >case "use" > put ADDRESS_OF(aUseInfo) into aInfoPointer >... >end switch >add 1 to TARGET_OF(aInfoPointer)[rID] > >[note: I'm COMPLETELY new

Re: Greater the but Less than

2002-03-22 Thread Ken Ray
For clarity, I would use parentheses: if (x > 1) and (x < 100) then Just my $0.02, Ken Ray Sons of Thunder Software Email: [EMAIL PROTECTED] Web site: http://www.sonsothunder.com/ - Original Message - From: "Ken Norris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March

Resizing animated gifs

2002-03-22 Thread Giulio Mastrosanti
It is not possible to resize an image control containig an animated gif or I am missing something? Cheers Giulio ___ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Re: Use "find" on an active/focused window

2002-03-22 Thread Kevin Miller
On 22/3/02 9:41 am, Ben Rubinstein <[EMAIL PROTECTED]> wrote: > Given this, I am unclear whether you want to invoke the browser's Find > facility, or do your own in Rev? > > In any case it will depend on the browser and platform. On MacOS, most > browsers, you can use AppleScript to get either

Re: assign by reference (arrays)?

2002-03-22 Thread Michael D Mays
Rob Cozens of [EMAIL PROTECTED] wrote the following on 3/21/02 9:11 AM > Looking at it another way, one might say all inline variable > assignments ARE by reference: "put x into y" replaces the value of > "y", not a copy of "y". If you could say put "cat" into x put a reference of x into y

Re: Insertion Point

2002-03-22 Thread Pierre Delain
> > On 14/3/02 11:04 pm, Pierre Delain <[EMAIL PROTECTED]> wrote: > >> I have a stack with about twenty fields. In two of them (forming a group), >> the insertion bar does not appear when I click (of course the fields are not >> locked). I don't understand what happens, I search for a while an

RE: assign by reference (arrays)?

2002-03-22 Thread Tom Emerson
> -Original Message- > From: Rob Cozens > [Ben wrote] > >My first attempt was the equivalent of > > [...] > > switch msgList > > case "use" > > put aUseInfo into aInfo > > break > > case "improve" > > put aImproveInfo into aI

Re: Persistent Array Designation

2002-03-22 Thread Ben Rubinstein
on 21/3/02 9:18 PM, Rob Cozens at [EMAIL PROTECTED] wrote: > In the script changes I proposed to Ben > >> if fromUse then put aInfo into aUseInfo else put aInfo into aImproveInfo > > This puts a variable with a list of associated keys into a nonKeyed > variable (and in other parts of the script

Re: Use "find" on an active/focused window

2002-03-22 Thread Ben Rubinstein
on 21/3/02 9:32 PM, Steve L at [EMAIL PROTECTED] wrote: > Let's say I was on the internet and had a page/window > open, and I wanted to open a Run-Rev made program and > have it use the "find" command on the open/active > window. How would you get the "find" command in > standalone Run-Rev progr

Re: assign by reference (arrays)?

2002-03-22 Thread Ben Rubinstein
on 21/3/02 7:26 PM, Rob Cozens at [EMAIL PROTECTED] wrote: > if fromUse then put aInfo into aUseInfo else put aInfo into > aImproveInfo That would also work - but in my real application, the arrays get pretty large, so I don't really want to be copying them twice every time round a 50,000 iterat