Re: Call vs Send

2005-06-10 Thread Mark Wieder
Dennis- Thursday, June 9, 2005, 7:39:52 PM, you wrote: DB It simulates the stock markets (every stock) for the past ten years, Now *there's* a depressing idea... on SimulateStockMarketForLastTenYears create graphic tanked set the style of it to line set the points of it to 0,0,200,200

Re: Call vs Send

2005-06-10 Thread Dennis Brown
Now why didn't I think of that. It's so simple! Leave it to Rev to be able to script a complex problem in a simple way. However, I think the points should be two lines bubble and tanked --and we haven't got to the end of the tanked line yet. Dennis On Jun 10, 2005, at 12:18 PM, Mark Wieder

Re: Call vs Send

2005-06-09 Thread Rob Cozens
Hi Dennis, Nonworking script in field PN1: on mouseUp call SaveMeTxt end mouseUp Did you try call SaveMeText ? Per Transcript Dictionary (call command), The entire handler including parameters must be enclosed in quotes. Rob Cozens CCW Serendipity Software Company And I,

Re: Call vs Send

2005-06-09 Thread Dennis Brown
Rob, Yes I did. Both seem to work if you don't have parameters. But as I posted, the call is not required to get the proper functionality. Dennis On Jun 9, 2005, at 9:07 AM, Rob Cozens wrote: Hi Dennis, Nonworking script in field PN1: on mouseUp call SaveMeTxt end mouseUp Did

Re: Call vs Send

2005-06-09 Thread Richard Gaskin
Dennis Brown wrote: Richard, Going through your tutorial is what made me try to improve my scripts with call. I thought that the call would execute a script in another place but keep the context of where it was called from. So 'me' would be the field that the call originated from and

Re: Call vs Send

2005-06-09 Thread Dennis Brown
On Jun 9, 2005, at 9:23 PM, Richard Gaskin wrote: Using the long id of the target will provide an absolute reference to the specific object, but I'm not sure why simply the target doesn't return the same value. Hmmm makes the target rather less useful, unless there's a benefit to

Re: Call vs Send

2005-06-09 Thread Dick Kriesel
On 6/9/05 6:23 PM, Richard Gaskin [EMAIL PROTECTED] wrote: Using the long id of the target will provide an absolute reference to the specific object, but I'm not sure why simply the target doesn't return the same value. Hmmm makes the target rather less useful, unless there's a benefit

Re: Call vs Send

2005-06-09 Thread Richard Gaskin
Dick Kriesel wrote: On 6/9/05 6:23 PM, Richard Gaskin [EMAIL PROTECTED] wrote: Using the long id of the target will provide an absolute reference to the specific object, but I'm not sure why simply the target doesn't return the same value. Hmmm makes the target rather less useful,

Re: Call vs Send

2005-06-09 Thread Dar Scott
On Jun 9, 2005, at 9:51 PM, Richard Gaskin wrote: What are the relative timings of handlers in the message path vs. handlers outside? About twice as long, but as with many benchmarks with Transcript it hardly matters: twice as long sounds like a big deal, but on my 1GHz G4 that's still

Re: Call vs Send

2005-06-09 Thread Dick Kriesel
On 6/9/05 6:23 PM, Richard Gaskin [EMAIL PROTECTED] wrote: But to be honest, it's very rare that I use either call or send. Both are up there with do in terms of a modest amount of additional overhead needed to handle them relative to calls natively in the message path. On 6/9/05 8:51 PM,

Re: Call vs Send

2005-06-09 Thread Richard Gaskin
Dar Scott wrote: On Jun 9, 2005, at 9:51 PM, Richard Gaskin wrote: What are the relative timings of handlers in the message path vs. handlers outside? About twice as long, but as with many benchmarks with Transcript it hardly matters: twice as long sounds like a big deal, but on my

Re: Call vs Send

2005-06-09 Thread Richard Gaskin
Dick Kriesel wrote: On 6/9/05 6:23 PM, Richard Gaskin [EMAIL PROTECTED] wrote: But to be honest, it's very rare that I use either call or send. Both are up there with do in terms of a modest amount of additional overhead needed to handle them relative to calls natively in the message path.

Call vs Send

2005-06-08 Thread Dennis Brown
I have two versions of a script. The first uses an implicit send and works. The second uses a call and does not work. I was trying to simplify and expand my scripting abilities with call, but I must be missing something, because I can't see what is wrong with it. I appreciate any

Re: Call vs Send

2005-06-08 Thread Richard Gaskin
appreciate any insights. The stack for this coming Saturday's online conference has a demo in it called Call vs Send, with a discussion of the differences between the two: http://support.runrev.com/scriptingconferences/ -- Richard Gaskin Fourth World Media Corporation

Re: Call vs Send

2005-06-08 Thread Dar Scott
On Jun 8, 2005, at 1:54 PM, Dennis Brown wrote: I have two versions of a script. The first uses an implicit send and works. The second uses a call and does not work. I was trying to simplify and expand my scripting abilities with call, but I must be missing something, because I can't see

Re: Call vs Send

2005-06-08 Thread Andre Garzia
On Jun 8, 2005, at 5:33 PM, Dar Scott wrote: (There is also an unsupported way.) dar Dar, now, I am curious... Andre -- Andre Alves Garzia 2004 Soap Dog Studios - BRAZIL http://studio.soapdog.org ___ use-revolution mailing list

Re: Call vs Send

2005-06-08 Thread Dennis Brown
Call vs Send, with a discussion of the differences between the two: http://support.runrev.com/scriptingconferences/ -- Richard Gaskin Fourth World Media Corporation __ Rev tools and more: http://www.fourthworld.com/rev

Re: Call vs Send

2005-06-08 Thread Dennis Brown
Dar, Yes, you see my problem exactly. It is the target that returns the name of my field, but the group name is left off which is bad for me because I have the same name repeated in many differently named groups. I have groups of fields and buttons that are created from templates on the

Re: Call vs Send

2005-06-08 Thread Dar Scott
On Jun 8, 2005, at 2:48 PM, Andre Garzia wrote: (There is also an unsupported way.) now, I am curious... the executionContexts ___ use-revolution mailing list use-revolution@lists.runrev.com

Re: Call vs Send

2005-06-08 Thread Dick Kriesel
Dennis -- You can find the name of the group that contains the target in the long name of the target. -- Dick On 6/8/05 2:03 PM, Dennis Brown [EMAIL PROTECTED] wrote: Dar, Yes, you see my problem exactly. It is the target that returns the name of my field, but the group name is left off

Re: Call vs Send

2005-06-08 Thread Dar Scott
On Jun 8, 2005, at 3:03 PM, Dennis Brown wrote: Yes, you see my problem exactly. It is the target that returns the name of my field, but the group name is left off which is bad for me because I have the same name repeated in many differently named groups. I have groups of fields and buttons

Re: Call vs Send

2005-06-08 Thread Dar Scott
On Jun 8, 2005, at 3:16 PM, Dick Kriesel wrote: You can find the name of the group that contains the target in the long name of the target. That only gets you the name of a group that contains something with the same name as the target. Unlike 'me', 'the target' does not uniquely

Re: Call vs Send

2005-06-08 Thread Robert Brenstein
Dar, Yes, you see my problem exactly. It is the target that returns the name of my field, but the group name is left off which is bad for me because I have the same name repeated in many differently named groups. I have groups of fields and buttons that are created from templates on the

Re: Call vs Send

2005-06-08 Thread Robert Brenstein
On Jun 8, 2005, at 3:16 PM, Dick Kriesel wrote: You can find the name of the group that contains the target in the long name of the target. That only gets you the name of a group that contains something with the same name as the target. Unlike 'me', 'the target' does not uniquely identify

Re: Call vs Send

2005-06-08 Thread Dar Scott
On Jun 8, 2005, at 5:13 PM, Robert Brenstein wrote: Similarly get the id of the target returns the proper, and unique, id of the button clicked. So while the target itself returns incomplete description to uniquely identify an object, it can still be used to get unique identification as

Re: Call vs Send

2005-06-08 Thread Dennis Brown
Thanks Robert,Dick,Dar,Richard,, --empty item at end of list in case I forgot anyone ;-) That is the answer I need. In my button or field script I can just put: on mouseUp --this was actually called by another button and not actually clicked on by me DoMyFieldScript --couldn't be