Re: ANN: Email Obfuscator

2006-03-19 Thread Jim Ault
Thanks for the great snippet.
One of my clients will be thrilled Monday when he sees it!

Jim Ault
Las Vegas


On 3/19/06 4:27 PM, "Mark Wieder" <[EMAIL PROTECTED]> wrote:

> All-
> 
> At Lynn Fredericks' prodding, I created a small stack to generate some
> JavaScript to hide email addresses on web sites.
> 
> What is this?
> 
> Placing your email address online is a sure-fire way to attract spam.
> 
> This stack generates some JavaScript code which can be pasted into a
> web page to create a clickable link for your email address, but which
> is resistant to harvesting by online search robots. Enter your email
> address and the text you want displayed on the web page, then click
> the "Convert" button. Take the resulting JavaScript code and paste it
> onto a web page instead of a "mailto:"; link to your email address.
> 
> In revOnline in user space "mwieder" or under "Utilities".


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Exit Repeat

2006-03-19 Thread Geoff Canyon
Close, but I don't think this will work. The exit to top in the  
escapeKey handler will exit that handler, not the  
handlerWithRepeatIMightWantToInterrupt. Instead, set a custom  
property in the escapeKey handler, then check that property in your  
handlerWithRepeatIMightWantToInterrupt handler and exit there if it  
is set. My previous example did something like this with a local  
variable, but a custom property would work as well.


gc

On Mar 19, 2006, at 2:51 PM, Mark Smith wrote:


'wait 0 ticks with messages' was the thing - thanks!

So a general (stack-wide) approach might be to use a custom prop in  
the stack:


in a control, card or stack:
on handlerWithRepeatIMightWantToInterrupt
  set the canInterrupt of this stack to true
  repeat forever
wait 0 ticks with messages
doRepeatStuff
  end repeat
  set the canInterrupt of this stack to false
  otherStuff
end handlerWithRepeatIMightWantToInterrupt

then in the stack script

on escapeKey
  if the canInterrupt of me then
set the canInterrupt of me to false
exit to top
  end if
end escapeKey


Mark

On 19 Mar 2006, at 22:24, Geoff Canyon wrote:



On Mar 19, 2006, at 12:04 PM, Mark Smith wrote:

Andre, the trouble is that in the case of interrupting a repeat  
loop, you can't test for whether the escape key is down like you  
can with control/option/command.


So use control/option/command, of course :)
But the escape key would be more natural...


This works:

local sGetOut

on mouseUp
  put empty
  put false into sGetOut
  repeat 2
wait 0 ticks with messages
if sGetOut then exit to top
  end repeat
  put "completed"
end mouseUp

on escapeKey
  put true into sGetOut
end escapeKey

Note that the escapeKey message is delivered to the focused  
control, so you can't put it in a button and expect it to work  
reliably. Put the above in the card script, then click anywhere in  
the card. Some time later "completed" will show in the message  
box. Then click the card again and then press the escape key. You  
won't get the "completed" text.


gc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Standalone crashing

2006-03-19 Thread J. Landman Gay

Dave Beck wrote:


PS. I'm happy to have my clients collect the error logs if it would help.


It always helps, and sometimes is the only clue as to what the problem 
is. Most of us have found 2.6.1 to be extremely stable, so if you are 
seeing problems, there is likely a reason specific to that particular 
stack. Please do bugzilla it, attach a copy of your stack (not the 
standalone), and every time you get a new log, attach it to the bug 
report. Crashing problems get top priority.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Email Obfuscator

2006-03-19 Thread Lynn Fredricks
Thanks Mark! There's the man, solving real world problems :-)

Best regards,


Lynn Fredricks
Worldwide Business Operations
Runtime Revolution, Ltd 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Mark Wieder
> Sent: Sunday, March 19, 2006 4:27 PM
> To: use-revolution@lists.runrev.com
> Subject: ANN: Email Obfuscator
> 
> All-
> 
> At Lynn Fredericks' prodding, I created a small stack to 
> generate some JavaScript to hide email addresses on web sites.
> 
> What is this?
> 
> Placing your email address online is a sure-fire way to attract spam.
> 
> This stack generates some JavaScript code which can be pasted 
> into a web page to create a clickable link for your email 
> address, but which is resistant to harvesting by online 
> search robots. Enter your email address and the text you want 
> displayed on the web page, then click the "Convert" button. 
> Take the resulting JavaScript code and paste it onto a web 
> page instead of a "mailto:"; link to your email address.
> 
> In revOnline in user space "mwieder" or under "Utilities".
> 
> --
> -Mark Wieder
>  [EMAIL PROTECTED]
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage 
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Making the move...

2006-03-19 Thread Lynn Fredricks
Hey gang,

Im not naming names but Im feeling some heat when it's about time I enjoy a
nice Sunday evening with my family - lets leave the past in the past and
kill this thread. If you want to continue on an individual basis on this
topic, then please email each other offlist.

Best regards,

Lynn Fredricks
Worldwide Business Operations
Runtime Revolution, Ltd


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Get a handler from a script

2006-03-19 Thread pmbrig
I don't know about the complications of block comments, etc, but can't all the 
complexites of dealing with of handlers, functions, getProp, and setProp be 
sidestepped by looking for "end" &&  -- or am I missing something? 
Does that simplify any of the other problems?

Peter M. Brigham
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Get a handler from a script

2006-03-19 Thread wouter


On 19 Mar 2006, at 21:51, Mark Wieder wrote:

-snip-


Here's a line I learned from Jerry Daniels:

filter tScript with "[ofsgOFSG][nueNUE][ ntNT]*"


Will also keep lines which start with "set" and "sen" like in:
set the itemdelimiter to tab
send "mouseup" to me

or lines which start with a combination of those characters
like in:
   sendSomeCommand paramX
   suntanLotion skincomplex


-Mark Wieder
 [EMAIL PROTECTED]


Greetings,
Wouter
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Standalone crashing

2006-03-19 Thread Dave Beck

I just wanted to let the list know that some of my clients have been
reporting very frequent crashes of a standalone built with Rev 2.6.1.
According to them the standalone is crashing every few MINUTES. The crashes
happen at different times, often but not always when closing windows, and
the Microsoft fatal error "Send error report" dialog is always displayed.

This has just been an issue recently, and only with a few specific clients,
although I do get complaints about less frequent crashes from just about
everybody across the board. This goes back to the discussion about new
features vs. fixing what doesn't work. If Rev wants to be taken seriously as
a professional development environment the standalones need to be stable!!

I love Rev but it is very frustrating to see these problems happen and not
be able to do anything about them because it is a problem in the Rev engine
and not my code. Please concentrate on fixing the stability issues. 

I would switch to 2.7 but in my experience that version is even worse. Let's
try to go forward next time. Personally I could care less about blending.

Thanks for otherwise great product.

Dave

PS. I'm happy to have my clients collect the error logs if it would help.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Get a handler from a script

2006-03-19 Thread Mark Smith
Are we trying to establish the existence of a handler or to get the  
text of a handler? And are we including handlers that are commented out?


Mark

On 20 Mar 2006, at 02:01, Dick Kriesel wrote:


On 3/19/06 5:12 PM, "Geoff Canyon" <[EMAIL PROTECTED]> wrote:


I feel like the harbinger of doom here (with Alex as my able partner
in doomsaying) but:

This would still be subject to failure if, anywhere in the script, /*
or */ appeared _not_ as block comment delimiters, but as part of a
string.


www.usingenglish.com/reference/idioms/fools+rush+in+where+angels 
+fear+to+tre

ad.html

Imagine we first remove comments that start with "--" and then  
start looking
for block comments.  If a "/*" follows an even number of quotes, it  
starts a
block comment.  If it follows an odd number of quotes, it's  
embedded in a
string.  After a "/*" starts a block comment, then the next "*/"  
ends the

comment.  Right?

Or do the angels see even more of the devil in the details?

-- Dick


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Get a handler from a script

2006-03-19 Thread Dick Kriesel
On 3/19/06 5:12 PM, "Geoff Canyon" <[EMAIL PROTECTED]> wrote:

> I feel like the harbinger of doom here (with Alex as my able partner
> in doomsaying) but:
> 
> This would still be subject to failure if, anywhere in the script, /*
> or */ appeared _not_ as block comment delimiters, but as part of a
> string.

www.usingenglish.com/reference/idioms/fools+rush+in+where+angels+fear+to+tre
ad.html

Imagine we first remove comments that start with "--" and then start looking
for block comments.  If a "/*" follows an even number of quotes, it starts a
block comment.  If it follows an odd number of quotes, it's embedded in a
string.  After a "/*" starts a block comment, then the next "*/" ends the
comment.  Right?

Or do the angels see even more of the devil in the details?

-- Dick


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Search Script

2006-03-19 Thread Geoff Canyon

The latest version of Navigator at:

http://www.inspiredlogic.com/navigator

can easily search all the scripts in a stack, and return a list of  
references to them for further use.


The command is on the contextual menu, and can be used on a stack, a  
card, a group, or any combination of objects. Select Find>In  
Scripts... to search the selected objects, or Find>In Enclosed  
Scripts... to search the selected objects and all the objects they  
contain.


So if you want to search a stack and everything in it including  
substacks, use Find>In Enclosed Scripts... on the mainstack.


You can also search by a test, which allows you to do things like  
search for every button that is red, or every 16-pixel tall field  
with no script, etc.


regards,

Geoff

On Mar 19, 2006, at 12:50 PM, Ernst M. Reicher wrote:


oups - aha
I tried the "built in" some time ago and it worked awfully slow
also this seems to be a little bit neglected
drag the right border:  there is an unused popup, a "walking  
circle", a progressbar and a resizeIcon.


thank you Jacqueline!!!

Regards,
   Ernst


Date: Sun, 19 Mar 2006 11:47:52 -0600
From: "J. Landman Gay" <[EMAIL PROTECTED]>
Subject: Re: Search Script
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Ernst M. Reicher wrote:

Hi,
I tried to start discussion about this several times in the past...
but the response was poor  probably REAL delvelopers store their
scripts in their hypothalamus and don´t need a SearchScript:-)
..over the years I found some trials in other "plugins" that  
worked so

and so


There has probably been little response because script searches are
built into Revolution. Type Command-F, uncheck all but the "Script"
checkbox, and click "Find" to do the search.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Get a handler from a script

2006-03-19 Thread Geoff Canyon
I feel like the harbinger of doom here (with Alex as my able partner  
in doomsaying) but:


This would still be subject to failure if, anywhere in the script, /*  
or */ appeared _not_ as block comment delimiters, but as part of a  
string.


gc

On Mar 19, 2006, at 4:22 PM, Dick Kriesel wrote:


On 3/19/06 3:41 PM, "Alex Tweedly" <[EMAIL PROTECTED]> wrote:


You should try that script on itself :-)
The "/*" in the first 'offset' line, and the "*/" in the second  
'offset'

line are (incorrectly) recognized as a block comment, with fairly
disastrous results.


I did, and verified that it removed the comment.  I didn't notice  
that it

also eviscerated the function!  A trivial fix avoids that problem:

on mouseUp
  put removeBlockComments(the script of me)
end mouseUp

/* this is a comment
as is this */function removeBlockComments pText
put pText into tText
put offset("/" & "*",tText) into tOffset
if tOffset > 0 then
  delete char tOffset to tOffset + offset("*" & "/",tText,tOffset)  
+ 1 \

  of tText
  put removeBlockComments(tText) into tText
end if
return tText
end removeBlockComments


I suspect that proper recognition of block comments
isn't as easy as it might seem - need to handle all forms of string
delimiter, which themselves may be inside comments.


Since I don't recognize that need, would you elaborate on it, please?

Thanks for catching my oversight, Alex.

-- Dick


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Arrays as custom properties?

2006-03-19 Thread john
Thanks everyone,
I appreciate the assistance... 
That has given me a range of practical approaches to the question. 
Kind regards
John T

>-Original Message-
>From: Stephen Barncard [mailto:[EMAIL PROTECTED]
>Sent: Sunday, March 19, 2006 06:27 PM
>To: 'How to use Revolution'
>Subject: Re: Arrays as custom properties?
>
>actually, I use arrays of arrays all the time:
>
>make a text list like this:
>
>key1  DATA1  etc/
>key2  DATA2  etc/
>key3  DATA3  etc/
>
>set the CustomPropSetName[customPropertyName] of this stack to 
>
>each  property could be made into an array variable for 
>easier use.. from a single custom property. Or you might need lists 
>of lists...
>
>The key is to keep each record of data on one line. Use 
>URLENCODE/URLDECODE for text or htmltext to flatten big blocks of 
>text with paragraphs and styles.
>
>if the data consists only of numbers, there could be comma delimited 
>lists inside of the tab delimited lists... yikes!
>
>then there's quotes
>
>
>even a single comma delimited list inside a single property can be 
>defined as an array inside of an array...
>
>
>
>
>
>>Thanks Mark,
>>
>>I was hoping to have an array of arrays, but can certainly make it 
>>work using a range of custompropertysets.
>>
>>Regards
>>
>>John
>>
>
>-- 
>stephen barncard
>s a n f r a n c i s c o
>- - - - - - - - - - - -
>___
>use-revolution mailing list
>use-revolution@lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your subscription 
>preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution
>

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Making the move...

2006-03-19 Thread Mark Smith
Marielle, I really don't get how anyone thinks that genuine and  
justified criticism of Revolution is somehow not tolerated on this list.



On 19 Mar 2006, at 22:17, Marelle Lange wrote:



What I have seen on this list is that you just want to get rid of  
the persons who tell you there is a problem... and keep your  
problem. I am interested in using the excellent product that  
revolution is. I am not interested to have to accept to deal with  
problems like the present ones for the months to come for the  
priviledge to use it.




People do almost nothing other than discuss problems on this list -  
some are problems of comprehension or experience, some are problems  
with the docs, some are bugs...they get discussed quite reasonably,  
whatever they are...but then



http://mail.runrev.com/pipermail/use-revolution/2005-December/ 
071769.html

Why isn't Rev more popular?
Jerry Saperstein runrev at civildiscovery.com
Mon Dec 5 20:30:16 CST 2005
Criticism of Revolution generally apparently is generally
disapproved of here. I've seen a number of valid criticisms  
dismissed in the

same way as yours have been.



And what argument did you use to dismiss her claim... nothing but  
Innuendo and defamation, something *far too frequent* on this list.



http://thread.gmane.org/gmane.comp.ide.revolution.user/71131
From: Chipp Walters <[EMAIL PROTECTED]>
Subject: Re: Why isn't Rev more popular?
Newsgroups: gmane.comp.ide.revolution.user
Date: 2005-12-06 04:59:20 GMT (14 weeks, 5 days, 16 hours and 35  
minutes ago)
You wouldn't be the Jerry Saperstein of Font Bank fame who was  
accussed
back in the 90's of stealing clipart intellectual property and  
reselling

it...would you? If so, how'd that turn out?




The fact that you discredited her in this unacceptable ways  
probably didn't help. She ended up insulting you. I won't insult  
you. But being in the position Richmond was put or Jerry was put, I  
understand their reaction. I don't approve it. But I understand how  
they came to explode. They did it because some not so acceptable  
means were used to discredit them and there was nothing they could  
say anymore to have the truth restored. Fortunately for me, it is  
probably less easy to discredit the person who contributed this to  
the community:
http://revolution.widged.com/wiki/tiki-index.php? 
page=TutorialsTeacherManual

http://revolution.widged.com/stacks/
http://codes.widged.com/



I just reviewed the Jerry Saperstein thread, and I think the same  
thing I thought at the time : Jerry came on with one of the most  
obvious pieces of transparently provocative trollery I've seen. Her  
assertion was that Revolution was 'unusable for business apps' - a  
term never explained, despite many requests for clarification, and no  
examples of problems she had encountered were ever forthcoming. She  
then insinuated, fairly clearly, that claims made by list members as  
to the fruits of their labours in Revolution were lies. It's not  
surprising she got short shrift.




I am a defender of runrev. And it is BECAUSE I am a defender of  
runrev that I do take the time to speak out and denounce problems  
that contribute to keep persons AWAY from this excellent product. I  
don't know what game you play Chipp, Dan, Richard, but it really  
looks like you are trying to prevent the members of the non profit  
community to express their views and describe their needs on this  
list. Anytime they do, they are discredited.




I am a non profit user of Rev...I simply don't understand how Chipp,  
Dan and Richard or anyone else are supposed to be discrediting  
anyone, or preventing anyone from describing their needs.




Dan's email on Ruby was WOW. Very kindly, as usual, he went to  
check up some very popular resource out there, and came back to  
tell us that it was not worth checking up. Ruby was *far too  
complex*, *nothing useful could be done with it*, *revolution could  
be used the same way Ruby is*. But know that I am *very*  
uncomfortable with your practices within *this* community, where  
you too often take advantage of the credulity of the users.



"Then I discoverd Ruby on Rails. For me -- and certainly there are
other frameworks out there that others may favor -- no other Web app
development approach comes even close." - Dan Shafer
?

I'm really in no position to comment on Richmond or Xaviers  
differences with RunRev, so I won't.


Honestly, I'm wondering if you and I are reading the same list!

Baffled,

Mark


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


ANN: Email Obfuscator

2006-03-19 Thread Mark Wieder
All-

At Lynn Fredericks' prodding, I created a small stack to generate some
JavaScript to hide email addresses on web sites.

What is this?

Placing your email address online is a sure-fire way to attract spam.

This stack generates some JavaScript code which can be pasted into a
web page to create a clickable link for your email address, but which
is resistant to harvesting by online search robots. Enter your email
address and the text you want displayed on the web page, then click
the "Convert" button. Take the resulting JavaScript code and paste it
onto a web page instead of a "mailto:"; link to your email address.

In revOnline in user space "mwieder" or under "Utilities".

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Get a handler from a script

2006-03-19 Thread Dick Kriesel
On 3/19/06 3:41 PM, "Alex Tweedly" <[EMAIL PROTECTED]> wrote:

> You should try that script on itself :-)
> The "/*" in the first 'offset' line, and the "*/" in the second 'offset'
> line are (incorrectly) recognized as a block comment, with fairly
> disastrous results.

I did, and verified that it removed the comment.  I didn't notice that it
also eviscerated the function!  A trivial fix avoids that problem:

on mouseUp
  put removeBlockComments(the script of me)
end mouseUp

/* this is a comment
as is this */function removeBlockComments pText
put pText into tText
put offset("/" & "*",tText) into tOffset
if tOffset > 0 then
  delete char tOffset to tOffset + offset("*" & "/",tText,tOffset) + 1 \
  of tText
  put removeBlockComments(tText) into tText
end if
return tText
end removeBlockComments

> I suspect that proper recognition of block comments
> isn't as easy as it might seem - need to handle all forms of string
> delimiter, which themselves may be inside comments.

Since I don't recognize that need, would you elaborate on it, please?

Thanks for catching my oversight, Alex.

-- Dick


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Making the move...

2006-03-19 Thread Chipp Walters

Marielle,

Notwithstanding your earlier private unsolicited (and unresponded to) 
rants to me (and others) on why you hate Revolution, it is obvious you 
like to have the last...oh 1000 words.


Bravo.

-Chipp

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Making the move...

2006-03-19 Thread Chipp Walters
Yep, I've heard that before, but frankly, for me, I'd rather keep it all 
in one, unless there's a really good reason to separate into multiple 
handlers (as in creating more reusability). I find it much easier to 
debug code I've written this way than hunting through the message path 
for the 15 or so functions/handlers I've written trying to make things 
'more simple.' Just a difference in coding style.


In fact, typically I'll write code procedurally in a longer handler, 
then only break it up if/when I know I need to do part of the same thing 
again. Like most of us, I'd rather not code twice.


Even though, I've got libraries with over 50 handlers/functions.

-Chipp

Mark Wieder wrote:

Geoff-

Saturday, March 18, 2006, 1:24:50 PM, you wrote:



I've never seen a hundred-line routine that wouldn't be better as
five twenty-line routines, each of which could be documented with a
line of code. Perhaps even ten ten-line routines.


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Get a handler from a script

2006-03-19 Thread Alex Tweedly

Dick Kriesel wrote:



Here's a way:

on mouseUp
 put removeBlockComments(the script of me)
end mouseUp

/* this is a comment
as is this */function removeBlockComments pText
put pText into tText
put offset("/*",tText) into tOffset
if tOffset > 0 then
 delete char tOffset to tOffset + offset("*/",tText,tOffset) + 1 of tText
 put removeBlockComments(tText) into tText
end if
return tText
end removeBlockComments
 


You should try that script on itself :-)
The "/*" in the first 'offset' line, and the "*/" in the second 'offset' 
line are (incorrectly) recognized as a block comment, with fairly 
disastrous results. I suspect that proper recognition of block comments 
isn't as easy as it might seem - need to handle all forms of string 
delimiter, which themselves may be inside comments.



--
Alex Tweedly   http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.2.5/284 - Release Date: 17/03/2006

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Arrays as custom properties?

2006-03-19 Thread Stephen Barncard

actually, I use arrays of arrays all the time:

make a text list like this:

key1DATA1etc/
key2DATA2 etc/
key3DATA3 etc/

set the CustomPropSetName[customPropertyName] of this stack to 

each  property could be made into an array variable for 
easier use.. from a single custom property. Or you might need lists 
of lists...


The key is to keep each record of data on one line. Use 
URLENCODE/URLDECODE for text or htmltext to flatten big blocks of 
text with paragraphs and styles.


if the data consists only of numbers, there could be comma delimited 
lists inside of the tab delimited lists... yikes!


then there's quotes


even a single comma delimited list inside a single property can be 
defined as an array inside of an array...







Thanks Mark,

I was hoping to have an array of arrays, but can certainly make it 
work using a range of custompropertysets.


Regards

John



--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Arrays as custom properties?

2006-03-19 Thread Mark Smith
John, it'd be great to have arrays of arrays, but that doesn't seem  
to be something we should hold our breath for.
However, using multiple key arrays, customPropertySets and a writing  
few functions to filter the keys of them can go a long way..


Best,

Mark

On 19 Mar 2006, at 22:49, John Tregea wrote:


Thanks Mark,

I was hoping to have an array of arrays, but can certainly make it  
work using a range of custompropertysets.


Regards

John

Mark Smith wrote:

You can simply store an array variable as a customPropertySet:
set the customProperties["addresses"] of this stack to addressArray

You can then set individual elements of the stored array:
set the addresses[key] of this stack to someItem

And retrieve the indidvidual elements:
get the addresses[key] of this stack

or put the whole thing back into an array variable:
put the customProperties["addresses"] of this stack into addressArray

The thing is that a customPropertySet effecively  an array,   
and depending on your needs, (accessing a customPropertySet is  
only slightly slower than accessing an array) may be a better  
choice than a global/local array variable.


Mark



On 19 Mar 2006, at 06:26, John Tregea wrote:


Thanks Scott,

I already have a number of arrays stored in global variables and  
want to store each complete array as a custom property of the  
group. I realise I could repeat through the structure of the  
array and transfer each array element to a corresponding element  
in the group's custom property, but hoped to be able to "plonk"  
the array into the custom property.


I will check my use of the word "the"...

---

Scott Rossi wrote:

Recently, John Tregea wrote:


I have been looking to see if I can set an array as a custom  
property of

a group.
... I get an error message on execution that says "bad index  
expression"




Yes, you need to define an index for the array.  Perhaps you  
mean something

like this:

  set the myAccess["password"] of group "A" to gMyAccess

To retrieve:

  get the myAccess["password"] of group "A"

Also, I believe a custom property must always be prefaced by "the".

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Exit Repeat

2006-03-19 Thread Mark Smith

'wait 0 ticks with messages' was the thing - thanks!

So a general (stack-wide) approach might be to use a custom prop in  
the stack:


in a control, card or stack:
on handlerWithRepeatIMightWantToInterrupt
  set the canInterrupt of this stack to true
  repeat forever
wait 0 ticks with messages
doRepeatStuff
  end repeat
  set the canInterrupt of this stack to false
  otherStuff
end handlerWithRepeatIMightWantToInterrupt

then in the stack script

on escapeKey
  if the canInterrupt of me then
set the canInterrupt of me to false
exit to top
  end if
end escapeKey


Mark

On 19 Mar 2006, at 22:24, Geoff Canyon wrote:



On Mar 19, 2006, at 12:04 PM, Mark Smith wrote:

Andre, the trouble is that in the case of interrupting a repeat  
loop, you can't test for whether the escape key is down like you  
can with control/option/command.


So use control/option/command, of course :)
But the escape key would be more natural...


This works:

local sGetOut

on mouseUp
  put empty
  put false into sGetOut
  repeat 2
wait 0 ticks with messages
if sGetOut then exit to top
  end repeat
  put "completed"
end mouseUp

on escapeKey
  put true into sGetOut
end escapeKey

Note that the escapeKey message is delivered to the focused  
control, so you can't put it in a button and expect it to work  
reliably. Put the above in the card script, then click anywhere in  
the card. Some time later "completed" will show in the message box.  
Then click the card again and then press the escape key. You won't  
get the "completed" text.


gc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Arrays as custom properties?

2006-03-19 Thread John Tregea

Thanks Mark,

I was hoping to have an array of arrays, but can certainly make it work 
using a range of custompropertysets.


Regards

John

Mark Smith wrote:

You can simply store an array variable as a customPropertySet:
set the customProperties["addresses"] of this stack to addressArray

You can then set individual elements of the stored array:
set the addresses[key] of this stack to someItem

And retrieve the indidvidual elements:
get the addresses[key] of this stack

or put the whole thing back into an array variable:
put the customProperties["addresses"] of this stack into addressArray

The thing is that a customPropertySet effecively  an array,  and 
depending on your needs, (accessing a customPropertySet is only 
slightly slower than accessing an array) may be a better choice than a 
global/local array variable.


Mark



On 19 Mar 2006, at 06:26, John Tregea wrote:


Thanks Scott,

I already have a number of arrays stored in global variables and want 
to store each complete array as a custom property of the group. I 
realise I could repeat through the structure of the array and 
transfer each array element to a corresponding element in the group's 
custom property, but hoped to be able to "plonk" the array into the 
custom property.


I will check my use of the word "the"...

---

Scott Rossi wrote:

Recently, John Tregea wrote:


I have been looking to see if I can set an array as a custom 
property of

a group.
... I get an error message on execution that says "bad index 
expression"




Yes, you need to define an index for the array.  Perhaps you mean 
something

like this:

  set the myAccess["password"] of group "A" to gMyAccess

To retrieve:

  get the myAccess["password"] of group "A"

Also, I believe a custom property must always be prefaced by "the".

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Get a handler from a script

2006-03-19 Thread Dick Kriesel
On 3/19/06 2:12 PM, "Geoff Canyon" <[EMAIL PROTECTED]> wrote:

> Checking the first word of each line is (I believe) certain, and is
> still reasonably fast (takes less than twice as long as the filter
> command in informal testing).
> 
> Unfortunately for anyone attempting this task, this is a perfectly
> valid script:
> 
> /* this is a comment
> as is this */on mouseUp
>answer "yes"
> end mouseUp
> 
> I don't know of a good way around that, so I have ignored it thus
> far ;-)

Here's a way:

on mouseUp
  put removeBlockComments(the script of me)
end mouseUp

/* this is a comment
as is this */function removeBlockComments pText
put pText into tText
put offset("/*",tText) into tOffset
if tOffset > 0 then
  delete char tOffset to tOffset + offset("*/",tText,tOffset) + 1 of tText
  put removeBlockComments(tText) into tText
end if
return tText
end removeBlockComments

-- Dick


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Exit Repeat

2006-03-19 Thread Mark Smith
On my setup (Mac 10.4.5, Rev 2.7), the keysDown doesn't seem to cover  
the escape key, or any other non-ascii key, unless an ascii key is  
also down...


Mark
On 19 Mar 2006, at 21:41, Richard Gaskin wrote:


Mark Smith wrote:
Andre, the trouble is that in the case of interrupting a repeat  
loop,  you can't test for whether the escape key is down like you  
can with  control/option/command.

So use control/option/command, of course :)
But the escape key would be more natural...


Check out the entry for the keysDown function in the Transcript  
Dictionary; I believe that'll get you where you want to go


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Exit Repeat

2006-03-19 Thread Geoff Canyon


On Mar 19, 2006, at 12:04 PM, Mark Smith wrote:

Andre, the trouble is that in the case of interrupting a repeat  
loop, you can't test for whether the escape key is down like you  
can with control/option/command.


So use control/option/command, of course :)
But the escape key would be more natural...


This works:

local sGetOut

on mouseUp
  put empty
  put false into sGetOut
  repeat 2
wait 0 ticks with messages
if sGetOut then exit to top
  end repeat
  put "completed"
end mouseUp

on escapeKey
  put true into sGetOut
end escapeKey

Note that the escapeKey message is delivered to the focused control,  
so you can't put it in a button and expect it to work reliably. Put  
the above in the card script, then click anywhere in the card. Some  
time later "completed" will show in the message box. Then click the  
card again and then press the escape key. You won't get the  
"completed" text.


gc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Making the move...

2006-03-19 Thread Marielle Lange
If you aren't happy with the tool, then just don't use it. It's  
that simple.


It is not very wise to say so. If all dissatisfied persons on this  
list followed your advice, in the present context, this could cost  
runrev very many clients. My personal view on this is that it is  
better to express the reasons for dissatisfaction so that the  
problems can be resolved.


What I have seen on this list is that you just want to get rid of the  
persons who tell you there is a problem... and keep your problem. I  
am interested in using the excellent product that revolution is. I am  
not interested to have to accept to deal with problems like the  
present ones for the months to come for the priviledge to use it.


For the record, Richmond was banished. He was brought back only  
because I did intercede for him. The reason he ended up using cursed  
language is because of his growing frustration at being asked to shut  
it up on his discourse on open source. Honestly, your very biased and  
overtly hostile email is an invitation for insults. A proof of this  
is that you already received emails back when you wrote a similar  
email to a user who had the very stupid idea to do the same thing as  
me, express a criticism.


http://mail.runrev.com/pipermail/use-revolution/2005-December/ 
071769.html

Why isn't Rev more popular?
Jerry Saperstein runrev at civildiscovery.com
Mon Dec 5 20:30:16 CST 2005
Criticism of Revolution generally apparently is generally
disapproved of here. I've seen a number of valid criticisms  
dismissed in the

same way as yours have been.


And what argument did you use to dismiss her claim... nothing but  
Innuendo and defamation, something *far too frequent* on this list.

http://thread.gmane.org/gmane.comp.ide.revolution.user/71131
From: Chipp Walters <[EMAIL PROTECTED]>
Subject: Re: Why isn't Rev more popular?
Newsgroups: gmane.comp.ide.revolution.user
Date: 2005-12-06 04:59:20 GMT (14 weeks, 5 days, 16 hours and 35  
minutes ago)
You wouldn't be the Jerry Saperstein of Font Bank fame who was  
accussed
back in the 90's of stealing clipart intellectual property and  
reselling

it...would you? If so, how'd that turn out?



The fact that you discredited her in this unacceptable ways probably  
didn't help. She ended up insulting you. I won't insult you. But  
being in the position Richmond was put or Jerry was put, I understand  
their reaction. I don't approve it. But I understand how they came to  
explode. They did it because some not so acceptable means were used  
to discredit them and there was nothing they could say anymore to  
have the truth restored. Fortunately for me, it is probably less easy  
to discredit the person who contributed this to the community:
http://revolution.widged.com/wiki/tiki-index.php? 
page=TutorialsTeacherManual

http://revolution.widged.com/stacks/
http://codes.widged.com/

I am a defender of runrev. And it is BECAUSE I am a defender of  
runrev that I do take the time to speak out and denounce problems  
that contribute to keep persons AWAY from this excellent product. I  
don't know what game you play Chipp, Dan, Richard, but it really  
looks like you are trying to prevent the members of the non profit  
community to express their views and describe their needs on this  
list. Anytime they do, they are discredited.


Richard said he was sorry to see freeGui not more popular.  
Apparently, he was not sorry defaming the freeGui project leader on  
the metacard list:

http://mail.runrev.com/pipermail/metacard/2006-February/009068.html
While it's hard to find a post from you regarding Rev in any forum  
which

doesn't turn it into an opportunity to express your negative opinions
about the product, in this case it seems Kevin chose to finish a  
thread

that was started here by writing to an entirely different list.  My
apologies for thinking that this latest post from you was like the
dozens before it.


For the record, Richmond didn't hack to the RR website. I am  
completely fed up to see the likes of you transform the truth on this  
list and discredit persons who have been deprived from the right to  
defend themselves. No hack was required to see the 2.7 announce, a  
simple search on google was enough. Richmond lacked of judgement, I  
agree. But he clearly didn't mean to do any harm. If he could access  
to this page, the error was the one of runrev's not his (the page,  
was NOT password protected and if you reached it via google, you had  
no way to know you were accessing information you were not supposed  
to access). The fact that he emailed a copy of the 2.7 announce on  
the list didn't justify to see him banish. Anybody else would have  
done so, there would have been no consequences (yes, I know, most  
persons wouldn't have done so, but that's a different issue).


For the record, Xavier doesn't really have the opportunity to defend  
himself on this list because Kevin recently sent him an email to tell  
Xavier that if 

Re: Get a handler from a script

2006-03-19 Thread Geoff Canyon


On Mar 19, 2006, at 8:12 AM, Richard Gaskin wrote:

Since "on" or "function" must be the first word in a line to be an  
active command or function, you could simply add return to your  
evaluation to weed out comments:


  if cr&"on handlerName" is in cr&the script of myObject then


If there is a leading space on the line this won't find it.


On Mar 19, 2006, at 12:51 PM, Mark Wieder wrote:

Here's a line I learned from Jerry Daniels:

filter tScript with "[ofsgOFSG][nueNUE][ ntNT]*"


This won't either.

Of course, any well-formatted script won't have spaces before a  
handler definition, but that doesn't stop the script from compiling.  
Checking the first word of each line is (I believe) certain, and is  
still reasonably fast (takes less than twice as long as the filter  
command in informal testing).


Unfortunately for anyone attempting this task, this is a perfectly  
valid script:


/* this is a comment
as is this */on mouseUp
  answer "yes"
end mouseUp

I don't know of a good way around that, so I have ignored it thus  
far ;-)


gc
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


[OT] looking for rev (or mc) cgi engine

2006-03-19 Thread Nicolas Cueto
Hello List,

It's been a back-and-forth with my
webhost these last two weeks trying
to get what was a perfectly working
mc-cgi setup to startup on a new
account.

The latest word from their technical
support staff is:

"It seems that the binary format is not 
compatable on the system, If you can get 
setup as ELF-32 it will probably work."

Unsure what this means, my guess is that
the FreeBSD mc/rev engine I ftp'd from
RunRev, needs to be compiled (uploaded?)
in ELF-32 format, whatever exactly that is.

Anyway, if someone understands what
I'm being asked for and can explain or
help me out, it would be a great relief.

Many thanks.

Cheers,
Nicolas Cueto
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


re: Exit Repeat

2006-03-19 Thread Richard Gaskin

Mark Smith wrote:
Andre, the trouble is that in the case of interrupting a repeat loop,  
you can't test for whether the escape key is down like you can with  
control/option/command.


So use control/option/command, of course :)
But the escape key would be more natural...


Check out the entry for the keysDown function in the Transcript 
Dictionary; I believe that'll get you where you want to go


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Making the move...

2006-03-19 Thread Mark Wieder
Geoff-

Saturday, March 18, 2006, 1:24:50 PM, you wrote:

> I've never seen a hundred-line routine that wouldn't be better as
> five twenty-line routines, each of which could be documented with a
> line of code. Perhaps even ten ten-line routines.

It's probably my forth background, but I'm mildly allergic to routines
that don't fit in their entirety onto my screen.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Get a handler from a script

2006-03-19 Thread Mark Wieder
David-

Sunday, March 19, 2006, 5:18:27 AM, you wrote:

> This this will work if the Hander is NOT commented out, but will fail
> with an error if the handler IS commented out. Also if you have a  
> comment in a Script that just happens to contain "on HandlerName"  
> then the "if" will succeed even though there is no handler defined.

Here's a line I learned from Jerry Daniels:

filter tScript with "[ofsgOFSG][nueNUE][ ntNT]*"

If necessary you can say:

replace space & space with space in tScript

Then you just check for the handler you're looking for:

if lineOffset("on" && HandlerName, tScript) is not zero then...

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Re: Search Script

2006-03-19 Thread Ernst M. Reicher

oups - aha
I tried the "built in" some time ago and it worked awfully slow
also this seems to be a little bit neglected
drag the right border:  there is an unused popup, a "walking circle", a 
progressbar and a resizeIcon.


thank you Jacqueline!!!

Regards,
   Ernst


Date: Sun, 19 Mar 2006 11:47:52 -0600
From: "J. Landman Gay" <[EMAIL PROTECTED]>
Subject: Re: Search Script
To: How to use Revolution 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Ernst M. Reicher wrote:

Hi,
I tried to start discussion about this several times in the past...
but the response was poor  probably REAL delvelopers store their
scripts in their hypothalamus and don´t need a SearchScript:-)
..over the years I found some trials in other "plugins" that worked so
and so


There has probably been little response because script searches are
built into Revolution. Type Command-F, uncheck all but the "Script"
checkbox, and click "Find" to do the search.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Exit Repeat

2006-03-19 Thread Mark Smith
Andre, the trouble is that in the case of interrupting a repeat loop,  
you can't test for whether the escape key is down like you can with  
control/option/command.


So use control/option/command, of course :)
But the escape key would be more natural...


Marl

On 19 Mar 2006, at 19:56, Andre Garzia wrote:


Mark,

there is a escapekey message...

on escapekey
  --- crash dive! crash dive!
end escapekey

:D

Cheers
andre
On Mar 19, 2006, at 4:46 PM, Mark Smith wrote:

And while we're on the subject, does anyone have a way of finding  
out if the escape key is down?


This would be a more natural key to use to abort, but I can't see  
a way to do it, it doesn't register with keyDown, and doesn't show  
up in keysDown()...It might be good to be able to use it like the  
control/option/command keys.


Mark

On 19 Mar 2006, at 19:32, Mark Smith wrote:


Maybe a send in time solution?

repeat
if the controlkey is down -- user presses the control key
   send "go cd x" to me in 10 millisecs
   exit to top
end if

end repeat


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Exit Repeat

2006-03-19 Thread Andre Garzia

Mark,

there is a escapekey message...

on escapekey
  --- crash dive! crash dive!
end escapekey

:D

Cheers
andre
On Mar 19, 2006, at 4:46 PM, Mark Smith wrote:

And while we're on the subject, does anyone have a way of finding  
out if the escape key is down?


This would be a more natural key to use to abort, but I can't see a  
way to do it, it doesn't register with keyDown, and doesn't show up  
in keysDown()...It might be good to be able to use it like the  
control/option/command keys.


Mark

On 19 Mar 2006, at 19:32, Mark Smith wrote:


Maybe a send in time solution?

repeat
if the controlkey is down -- user presses the control key
   send "go cd x" to me in 10 millisecs
   exit to top
end if

end repeat


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Capslockkey function

2006-03-19 Thread Jan Sælid

Eric Chatonet gave me this great and short solution to my problem:

---
   you can use a simple keydown handler:


   on keyDown pKey
 if pKey is an integer then pass keyDown
   end keyDown


   This will allow to type numbers only and use the delete key.
   No more :-)
---

Easy as that! By the way I think that the problem with the capslockkey 
function must be a bug in 2.7 for windows

I've reported it to bugzilla.

Thanks everyone to the response!

Jan


- Original Message - 
From: "Robert Brenstein" <[EMAIL PROTECTED]>

To: "How to use Revolution" 
Sent: Sunday, March 19, 2006 8:32 PM
Subject: Re: Capslockkey function



>Thanks Eric


That's a very good solution. But can I do this in a rawkey handler?

The field is a number only field and I have to limit it so the user is 
only allowed to type numbers. No space or return.
I also want to either give the user a warning that the capslock key is on 
or to translate the capslocked typing into numbers.


The best solution I have now is to translate each rawkey into the rawkey 
of the number. Thats 10 lines of code.

But I would rather have a warning

The capslockkey function does not seem to report anything other than the 
"up" state on my system.

I'm using rev 2.7 in XP

Jan




But capslock should not affect typing numbers AFAIK.

return or enter are easy to handle with returnkey and enterkey handlers.

space and other non-numeric character can be checked and reported or 
simply weeded out in closeField.


Robert
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution 


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Exit Repeat

2006-03-19 Thread Mark Smith
And while we're on the subject, does anyone have a way of finding out  
if the escape key is down?


This would be a more natural key to use to abort, but I can't see a  
way to do it, it doesn't register with keyDown, and doesn't show up  
in keysDown()...It might be good to be able to use it like the  
control/option/command keys.


Mark

On 19 Mar 2006, at 19:32, Mark Smith wrote:


Maybe a send in time solution?

repeat
if the controlkey is down -- user presses the control key
   send "go cd x" to me in 10 millisecs
   exit to top
end if

end repeat


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


A Triangle Box Field like Entourage

2006-03-19 Thread Michael Mandaville
Does anybody have a sample of the Triangle system used in fields in
Entourage?  Where one clicks the triangle to reveal either folders in the
left hand box.  Or email in the center column?

Or is there a better, alternate way to do this in Rev?

Thanks,
Michael


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Capslockkey function

2006-03-19 Thread Robert Brenstein

Thanks Eric

That's a very good solution. But can I do this in a rawkey handler?

The field is a number only field and I have to limit it so the user 
is only allowed to type numbers. No space or return.
I also want to either give the user a warning that the capslock key 
is on or to translate the capslocked typing into numbers.


The best solution I have now is to translate each rawkey into the 
rawkey of the number. Thats 10 lines of code.

But I would rather have a warning

The capslockkey function does not seem to report anything other than 
the "up" state on my system.

I'm using rev 2.7 in XP

Jan




But capslock should not affect typing numbers AFAIK.

return or enter are easy to handle with returnkey and enterkey handlers.

space and other non-numeric character can be checked and reported or 
simply weeded out in closeField.


Robert
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Exit Repeat

2006-03-19 Thread Mark Smith

Maybe a send in time solution?

repeat
if the controlkey is down -- user presses the control key
   send "go cd x" to me in 10 millisecs
   exit to top
end if

end repeat  

Mark
On 19 Mar 2006, at 18:55, Camm29 wrote:


YES , Please
- Original Message -
From: "Mark Smith" <[EMAIL PROTECTED]>
To: "How to use Revolution" 
Sent: Sunday, March 19, 2006 6:48 PM
Subject: Re: Exit Repeat


Do you also want to exit the current handler that contains the  
repeat?


Mark


On 19 Mar 2006, at 18:38, Camm29 wrote:


It's exactly what's needed , but i could not get this to work ?
Regards Camm

- Original Message -
From: <[EMAIL PROTECTED]>
To: 
Sent: Sunday, March 19, 2006 6:16 PM
Subject: Re: Exit Repeat



Camm,
If the repeat script is in a stack script, something like this
might do
it for you:

on repeat...
 if the hilite of button "Stop this repeat" is true
 then
  go to card x
  exit repeat
 end if
 do repeat stuff
 do more repeat stuff
end repeat

-Original Message-
From: Camm29 <[EMAIL PROTECTED]>
To: use-revolution@lists.runrev.com
Sent: Sun, 19 Mar 2006 17:48:53 -
Subject: Exit Repeat

   I need to Exit a Repeat
and go to another card if i press a button !

Regards Camm
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your

subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your

subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Exit Repeat

2006-03-19 Thread Camm29
YES , Please
- Original Message -
From: "Mark Smith" <[EMAIL PROTECTED]>
To: "How to use Revolution" 
Sent: Sunday, March 19, 2006 6:48 PM
Subject: Re: Exit Repeat


> Do you also want to exit the current handler that contains the repeat?
>
> Mark
>
>
> On 19 Mar 2006, at 18:38, Camm29 wrote:
>
> > It's exactly what's needed , but i could not get this to work ?
> > Regards Camm
> >
> > - Original Message -
> > From: <[EMAIL PROTECTED]>
> > To: 
> > Sent: Sunday, March 19, 2006 6:16 PM
> > Subject: Re: Exit Repeat
> >
> >
> >> Camm,
> >> If the repeat script is in a stack script, something like this
> >> might do
> >> it for you:
> >>
> >> on repeat...
> >>  if the hilite of button "Stop this repeat" is true
> >>  then
> >>   go to card x
> >>   exit repeat
> >>  end if
> >>  do repeat stuff
> >>  do more repeat stuff
> >> end repeat
> >>
> >> -Original Message-
> >> From: Camm29 <[EMAIL PROTECTED]>
> >> To: use-revolution@lists.runrev.com
> >> Sent: Sun, 19 Mar 2006 17:48:53 -
> >> Subject: Exit Repeat
> >>
> >>I need to Exit a Repeat
> >> and go to another card if i press a button !
> >>
> >> Regards Camm
> >> ___
> >> use-revolution mailing list
> >> use-revolution@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription
> >> preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-revolution
> >>
> >>
> >> ___
> >> use-revolution mailing list
> >> use-revolution@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-revolution
> >>
> >
> > ___
> > use-revolution mailing list
> > use-revolution@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-revolution
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Exit Repeat

2006-03-19 Thread Mark Smith

Do you also want to exit the current handler that contains the repeat?

Mark


On 19 Mar 2006, at 18:38, Camm29 wrote:


It's exactly what's needed , but i could not get this to work ?
Regards Camm

- Original Message -
From: <[EMAIL PROTECTED]>
To: 
Sent: Sunday, March 19, 2006 6:16 PM
Subject: Re: Exit Repeat



Camm,
If the repeat script is in a stack script, something like this  
might do

it for you:

on repeat...
 if the hilite of button "Stop this repeat" is true
 then
  go to card x
  exit repeat
 end if
 do repeat stuff
 do more repeat stuff
end repeat

-Original Message-
From: Camm29 <[EMAIL PROTECTED]>
To: use-revolution@lists.runrev.com
Sent: Sun, 19 Mar 2006 17:48:53 -
Subject: Exit Repeat

   I need to Exit a Repeat
and go to another card if i press a button !

Regards Camm
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your

subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Exit Repeat

2006-03-19 Thread Camm29
It's exactly what's needed , but i could not get this to work ?
Regards Camm

- Original Message -
From: <[EMAIL PROTECTED]>
To: 
Sent: Sunday, March 19, 2006 6:16 PM
Subject: Re: Exit Repeat


> Camm,
> If the repeat script is in a stack script, something like this might do
> it for you:
>
> on repeat...
>  if the hilite of button "Stop this repeat" is true
>  then
>   go to card x
>   exit repeat
>  end if
>  do repeat stuff
>  do more repeat stuff
> end repeat
>
> -Original Message-
> From: Camm29 <[EMAIL PROTECTED]>
> To: use-revolution@lists.runrev.com
> Sent: Sun, 19 Mar 2006 17:48:53 -
> Subject: Exit Repeat
>
>I need to Exit a Repeat
> and go to another card if i press a button !
>
> Regards Camm
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Exit Repeat

2006-03-19 Thread jbv
if the mouse is down then
go cd X
exit repeat
end if

> I need to Exit a Repeat
> and go to another card if i press a button !
>



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: switch

2006-03-19 Thread Chipp Walters

Hi John,

While technically, There's not a difference between a local and 'temp' 
variable, I do make such a distinction in naming them.


This is because local variables may be declared and then shared between 
handlers/functions of the same object script. This is handy when 
creating library scripts. You can think of them as private globals if 
you wish.


So, if I declare at the top of my script (outside handlers and functions):

local lServerURL,lFtpURL

I can then use these variables inside any handler/function in my script. 
It is handy for many things, and you don't have to worry about any sort 
of global conflicts.


best,

Chipp

John Tregea wrote:

Dear Jim, Chipp and James,

I thought it must be something like that but tend to call 'temporary' 
variables 'local' variables, so I didn't guess the connection.


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Exit Repeat

2006-03-19 Thread Ken Ray
On 3/19/06 11:48 AM, "Camm29" <[EMAIL PROTECTED]> wrote:

> I need to Exit a Repeat
> and go to another card if i press a button !

If you could post the part of your script you're having trouble with, we'd
be able to help you better.

You can use "exit repeat" from inside a repeat loop to bail out and start on
the next line following the "end repeat" statement. Is that what you're
looking for?

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Exit Repeat

2006-03-19 Thread simplsol

Camm,
If the repeat script is in a stack script, something like this might do 
it for you:


on repeat...
if the hilite of button "Stop this repeat" is true
then
 go to card x
 exit repeat
end if
do repeat stuff
do more repeat stuff
end repeat

-Original Message-
From: Camm29 <[EMAIL PROTECTED]>
To: use-revolution@lists.runrev.com
Sent: Sun, 19 Mar 2006 17:48:53 -
Subject: Exit Repeat

  I need to Exit a Repeat
and go to another card if i press a button !

Regards Camm
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription

preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

   
___

use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Search Script

2006-03-19 Thread J. Landman Gay

Ernst M. Reicher wrote:

Hi,
I tried to start discussion about this several times in the past...
but the response was poor  probably REAL delvelopers store their 
scripts in their hypothalamus and don´t need a SearchScript:-)
..over the years I found some trials in other "plugins" that worked so 
and so


There has probably been little response because script searches are 
built into Revolution. Type Command-F, uncheck all but the "Script" 
checkbox, and click "Find" to do the search.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Exit Repeat

2006-03-19 Thread Camm29
I need to Exit a Repeat 
and go to another card if i press a button !

Regards Camm
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Mind mapping in Rev ?

2006-03-19 Thread Wolfgang Bereuter

Hi Kresten,
i `ll try it as short as possible;)

On 18.03.2006, at 03:20, Kresten Bjerg wrote:

FOA. Why Mindmaps? Im gooing away from that (word). Why?
Tony Buzan has not invented them.  Buzan has reinvented them, but has  
the copyright. (The spanish monk Ramon LLul invented) Very bad for  
Open Source and freeware low price notebooks. why pay a fee for  
copyiing? Call them concept maps, idea maps, etc...


Has anyone been experimenting with implementing elementary mind- 
mapping functions

in Rev ?
I did it. But its a different animal. I developed trainingsmaps  
(based on mindmaps). trainingsmaps are for  learning (unknown  
content) MM are for notetaking.
I did the trainingsmaps in Inspiration and made the authoring in an  
erarly version of rev (based on image maps). (That worked, but it has  
cost me some years of my "non coder´s" life)


In our development of a  global freeware e-diary tool we would like  
to include at least
some options for users to build and update their own mind-maps,  
without having to pay

many hundreds meals of rice for themselves or their kids to do it?
Why I would not do that without a specisl collaboration of a new and  
different RR. rev laks support, a modular concept, a engine only  
version, a foreseeable business policy, etc...



But a search on this site hardly has a clue.
 If the INSPIRATION people could do it many many years ago, it  
shouldnt be that complicated ?


Now I dont work much with Inspiration anymore, but it has one big  
point for developing any Maps and MM´s. The best integration of Maps  
and Outliner in one tool. No other tool does it like Inspiration. And  
its stable. Did I mentioned stable? distribiuted worldwide. for WIN  
Mac and Palm.


Sometimes (here on the list) I tried to find a "kind" of Outliner/ 
maps programming GUI for the rev engine, Richard and others saif the  
y could do that, ... It never has been realized. (i think: For your  
project you need a rev engine only and a good support from RR.)
Aa good outliner is essentiell for a good mindmapping tool. If you  
want "Mindmapping small" take kidspiration, My Mind, Freemind or on  
of the Concept map tools out there.
Daniels & Mara did a nice step in that direction. Have a look at  
"Constellation". that could be the base of a real Map/outliner  
developer tool. Yes I know thats not exactly what you are looking  
for, biut thats what i think would be be a killer app for the 100  
Notebook. But its only the half, and here ist the pint for such a  
tool. (No matter if its a MM developer or a MM drawing tool (yours):  
developer costs...


And there are so many good (MM drawing) tools out there, for little  
money too. For Mac and Win and open source (http:// 
freemind.sourceforge.net/wiki/index.php/Main_Page). For  
crossplatform, professional and/or beginners.
Here is a list from the top of my head for the mac. Nearly all of  
them can export to html, rtf, opml, rtf and pdf with links. Some are  
mentioned bevore.


Inspiration
My Mind
Pyramid, Incubator
Curio
Omni Graffle
Nova Mind
ConceptDraw MINDMAP
Mind Manager
Freemind
(I think thats part of the debian distribution now)


But a search on this site hardly has a clue.
 If the INSPIRATION people could do it many many years ago, it  
shouldnt be that complicated ?
Stable, usable, brainstorming (rapid fire) send dokuments to Word and  
integrated Outliner? with tousands of templates and Millions of  
Symbol libs?




And with the 100 dollar MIT laptop to Africa it might fit into a  
linux context !


i had/have this idea, but with the traningsmaps. Because the people  
there should learn first(!) the basics of the PC´s, Net,  
telekommunication. Notetaking with Mindmaps (on the PC) is imho the  
second or third step. First is MM or any other typ of maps on Paper
for brainstorming I would rather use a good outliner like Mori  
(before HogBay notebook), Omni Outliner, Devonnote(think) Inspiration  
and Curio (the Outliner is inside - keynotelike - great for  
brainstorming) and Omni Graffle Pro.


my 2 cent

regards
wolfgang bereuter

--
Please avoid sending me Word or PowerPoint attachments.
See 


T-mapping© is PhotoLearning Mindmaps!
...
http://www.internettrainer.com
[EMAIL PROTECTED]
...
Edelhofg. 17/11, A-1180 Wien, Austria
Tel: ++43/1/ 479 6410
Fax: ++43/1/ 955 14 64-198


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Getting started with libraries

2006-03-19 Thread Rob Cozens


Hi Graham,

So for me the issue is how to reach this point from where I am today. 
Has anyone any advice about shifting my existing code into libraries 
without having to massively restructure my existing apps?


First, you have my sincere condolences.

Second, you've made a wonderful case for the need for library stacks

Third, it will be a pain in the arse; but the longer you wait, the 
worse things will get and the greater the task will become.


So far all I have thought of is to remove the 'common' code to a 
library but to retain the handler that was in the original app simply 
as a wrapper - a wrapper handler would look like


on myOldHandler para1, para2
  do myLibraryStuff para1,para2
end myoldHandler



A little good news: unless your scripts contain declared local 
variables, there's a good chance this step is not necessary.


Given a control with a script including

on mouseUp
  put field "Quantity" into para1
  put field "Unit Cost" into para2
  myOldHandler para1,para2
  put the result into field "Total Cost"
end mouseUp

on myOldHandler para1,para2
  global taxRate,shippingTable
  get para1*para2
  set the numberFormat to "#.00"
  add (it*taxRate) to it
  repeat for each line shippingRate in shippingTable
  if item 1 of shippingRate >= it then
  add item 2 of shippingRate to it
   -- assumes last line of shipping table covers largest 
possible amount

  return it
  end if
  end repeat
end myOldHandler

, all you have to do is copy myOldHandler to the library stack, remove 
it from the control's script, and start using the library stack when 
the stack containing the control opens.


However I have been (I suppose) rather careless with ways of passing 
values, using various techniques including setting globals, specific 
fields etc. If the library is not to have too many side effects then I 
have to generalise those routines too, and that's the bit which I 
would like to do as efficiently as possible. Maybe it's just a messy 
job and that's all there is about it, but I'd like to know what other 
people think.




I hate to confirm what you don't want to hear; but, yes, it ends up 
being a messy job for the reasons you identified: creating a 
generalized handler from two or more similar handlers in different 
stacks often means changing the scripts in both.  To the extent that 
your common handlers are generic, you might adopt your controls to use 
handlers in existing rev libraries rather than generalizing your 
handlers as well as the scripts of controls that call them. Serendipity 
Library  includes handlers for data 
validation & formatting, date & time handlers, and list handlers in 
addition to SDB database handlers.


The good news: when you are finished, the efficiency you will gain is 
worth much more than the effort involved.


Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Get a handler from a script

2006-03-19 Thread Richard Gaskin

David Burgun wrote:


The problem is that if you are doing something like this:

if the script of myObject contains "on HandlerName" then
  send HandlerName to myObject
end if


Since "on" or "function" must be the first word in a line to be an 
active command or function, you could simply add return to your 
evaluation to weed out comments:


  if cr&"on handlerName" is in cr&the script of myObject then


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Get a handler from a script

2006-03-19 Thread Geoff Canyon


On Mar 19, 2006, at 5:18 AM, David Burgun wrote:


The problem is that if you are doing something like this:

if the script of myObject contains "on HandlerName" then
  send HandlerName to myObject
end if


The code I posted earlier guarantees that

on handlername

exists in the script, not commented, at the beginning of a line. I  
believe that guarantees that it is a valid handler.


Here it is:

put 0 into tLineNumber
put false into tEnteredHandler
repeat for each line L in tText -- tText is the script
  add 1 to tLineNumber
  if word 1 of L is among the items of "on,function,getprop,setprop"  
and \

word 2 of L is tHandlerName then
put tLineNumber into tStartLineNumber
put true into tEnteredHandler
  end if
  if tEnteredHandler and \
word 1 of L is "end" and \
word 2 of L is tHandlerName then
put tLineNumber into tEndLineNumber
exit repeat
  end if
end repeat

-- if tEnteredHandler is false, we didn't find the handler
-- if tEnteredHandler is true, tStartLineNumber is where it starts,
-- tEndLineNumber is where it ends

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: imagedata in Word XML

2006-03-19 Thread Rob Cozens


Klaus, Henk, et al:

Indeed does the text of an image contain binary data, but it looks 
like it's in the PNG format.

I will do some testing.
If the text of an image is PNG binary data, and the Word file 
contains only PNG images, I would be able to set the text of an image 
to the decoded text from the WordXML node.


one could also try to simply "put" the data into an image!

-> put url("binfile:image.png") into img 1
does work, so this is a least worth a try :-)



My assumption is that, just as changing an object's top property 
automatically changes other related properties (eg: 
topLeft,bottomRight, loc, etc.), changing an image's text property will 
automatically change imageData and other "text-related" properties of 
the image.  I'm a few days away from testing this issue myself.


Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Capslockkey function

2006-03-19 Thread Jan Sælid
Thanks Eric 

That's a very good solution. But can I do this in a rawkey handler? 

The field is a number only field and I have to limit it so the user is only 
allowed to type numbers. No space or return. 
I also want to either give the user a warning that the capslock key is on or to 
translate the capslocked typing into numbers.

The best solution I have now is to translate each rawkey into the rawkey of the 
number. Thats 10 lines of code. 
But I would rather have a warning 

The capslockkey function does not seem to report anything other than the "up" 
state on my system.
I'm using rev 2.7 in XP

Jan

  - Original Message - 
  From: Eric Chatonet 
  To: Jan Sælid 
  Sent: Sunday, March 19, 2006 4:18 PM
  Subject: Re: Capslockkey function


  Hi Jan,


  If I understand well (not sure) you want the text always typed in capitals in 
some fields.
  if it is the case, you might prefer to transform by yourself the typed text 
on the fly without worrying about the capslock key:


  on keyDown pKey
   put toUpper(pKey) after target
  end keyDown


  That's just to give you the idea (you'll have to handle the selectedText to 
be more accurate :-)


  Le 19 mars 06 à 15:56, Jan Sælid a écrit :


Someone has asked this before, but I haven't found an answer.

I cannot get the capslockkey function to work. I have a number limited 
field where I want the user to be told if the capslock is down when they are 
typing.

I use a rawkeydown handler in the field.




The capslockkey always returns 'up".




Any suggestions?



  Best Regards from Paris,
  Eric Chatonet
  
--
  http://www.sosmartsoftware.com/[EMAIL PROTECTED]/



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Capslockkey function

2006-03-19 Thread Mark Smith

No help, I know, but it seems to be working fine here

Rev 2.7
Mac OS 10.4.5
G4 PB

What's your system?

Mark

On 19 Mar 2006, at 14:56, Jan Sælid wrote:


Hi there

Someone has asked this before, but I haven't found an answer.
I cannot get the capslockkey function to work. I have a number  
limited field where I want the user to be told if the capslock is  
down when they are typing.

I use a rawkeydown handler in the field.

The capslockkey always returns 'up".

Any suggestions?

Sincerely Jan
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Capslockkey function

2006-03-19 Thread Jan Sælid

Hi there

Someone has asked this before, but I haven't found an answer.
I cannot get the capslockkey function to work. I have a number limited field 
where I want the user to be told if the capslock is down when they are 
typing.

I use a rawkeydown handler in the field.

The capslockkey always returns 'up".

Any suggestions?

Sincerely Jan 


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Mind mapping in Rev ?

2006-03-19 Thread Kresten Bjerg
Hi 
-sorry to fill up even more, but I need a stable solution to ensure,
 that an answer to a posting, containing the exact same Subject label
 as the one I respond to, gets into the thread, starting to build up. What is 
the trick ? 
 I reply through another route, so I have to spell it out to the mailprogram. .

Another problem keeps occurring: The text I send (through a Novell WebAcess
 compose message  window) loses the short lines format,
 which I see, when it arrives in the archive..now .having endlessly long lines, 
and therefore 
becoming  extremely unattractive  to the list users, as you can see in my 
previous "Mind mapping in Rev ?" posting.
if you can find it   

PS: I know, that I "just have to make a return after each line, which I did 
here,  but...there should be a more comfortable solution
Kresten
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Getting started with libraries

2006-03-19 Thread Graham Samuel

Folks

Recent defences on the list of RunRev's capability with libraries has  
made me realise how much I've missed out by not organising my own  
work with libraries in mind. I would now like to make the move. but  
I'm finding it quite hard to decide how to get started. As in the old  
joke, to get there I shouldn't really have started from here... but  
there it is.


What I have is a few apps which work and have users etc, and which  
contain common elements. Up to now these common sections were created  
by wholesale copying of stacks and bits of code from a finished app  
to the next one to be developed. I find this is such an awkward  
process that I don't keep all the apps up to date in parallel. For  
example in App 1, I have devised a way for the user to register and  
enter a serial number to get a fully functional version of the  
program;  I copied this code into App 2, a process which was pretty  
clumsy in the first place because App 1 and App 2 can't have ANY  
stacks with the same name (unless I open two copies of RunRev, but  
for some reason I'm nervous of this idea). Then as I developed App 2,  
I improved on the stuff I got from App 1. But generally App 1 doesn't  
benefit because it's too much of a hassle to retrofit the improved  
code. Now if I did all this with libraries, I would be much better  
off, since the most up to date version of any library could be  
retrofitted without problems.


So for me the issue is how to reach this point from where I am today.  
Has anyone any advice about shifting my existing code into libraries  
without having to massively restructure my existing apps? So far all  
I have thought of is to remove the 'common' code to a library but to  
retain the handler that was in the original app simply as a wrapper -  
a wrapper handler would look like


on myOldHandler para1, para2
  do myLibraryStuff para1,para2
end myoldHandler

However I have been (I suppose) rather careless with ways of passing  
values, using various techniques including setting globals, specific  
fields etc. If the library is not to have too many side effects then  
I have to generalise those routines too, and that's the bit which I  
would like to do as efficiently as possible. Maybe it's just a messy  
job and that's all there is about it, but I'd like to know what other  
people think.


TIA

Graham

Graham Samuel / The Living Fossil Co. / UK and France

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Mind mapping in Rev ?

2006-03-19 Thread Marielle Lange

Kresten,

There is a softwaret called freemind (another excellent product that  
is freely available, open source, written in java):


http://freemind.sourceforge.net/wiki/

It comes up with a standalone application as well as the possibility  
to store your mindmap into a standard format (xml) which can then be  
played on the web, within a java applet or a flash applet, as you  
prefer. You can see an example of the rendering of the concept map  
with the flash applet at:

http://widged.com/freemind/education_taxonomies.html

Best is probably to use freemind to write the map and play the  
content in altbrowser. Alternatively,  you can design a player in  
runrev.


Best regards,
Marielle

 


Marielle Lange (PhD),  Psycholinguist

Alternative emails: [EMAIL PROTECTED],

Homepage
http://homepages.widged.com/mlange/
Easy access to lexical databaseshttp:// 
lexicall.widged.com/
Supporting Education Technologists  http:// 
revolution.widged.com/wiki/


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Get a handler from a script

2006-03-19 Thread Mark Smith
This might be dealt with better with a 'try...catch' structure. I  
don't know much about the error numbers that Rev produces, but


try
  cmdName
catch tError
  put tError
end try

where I know handler cmdName is commented out consistently produces  
this error string:

573,3,1,cmdName

This may or may not be useful in the context you described, but  
perhaps offers another way of testing for the existence or  
availability of a handler.



Mark


On 19 Mar 2006, at 13:18, David Burgun wrote:


Hi,

The problem is that if you are doing something like this:

if the script of myObject contains "on HandlerName" then
  send HandlerName to myObject
end if

This this will work if the Hander is NOT commented out, but will  
fail with an error if the handler IS commented out. Also if you  
have a comment in a Script that just happens to contain "on  
HandlerName" then the "if" will succeed even though there is no  
handler defined.


I had a problem that took me ages to figure out. In a script I had  
something like the following:


--on Update make sure the field is not selected

which meant that:

if the script of myObject contains "on Update" then

succeeded, but the send statement failed since there wasn't really  
a handler called "update" defined. Checking for "end Update" *may*  
have worked, as long as there was not a line that read something like:


send Update to myObject

Also checking for "end Update" slows the whole process down.

What would be nice is the ability to check if a (real) handler  
exists not just that the script contains text that looks like a  
handler defintion. Something like this would be good:


if exists(handler "Update" in script of myObject) then

Which would make it 100% foolproof.

All the Best
Dave

On 17 Mar 2006, at 12:19, Mark Smith wrote:

Commenting would only affect things if the wholeMatches is set to  
true - normally, lineOffset will get the right line even if it's  
commented out, no?


Mark

On 17 Mar 2006, at 12:06, David Burgun wrote:


Hi,

Of course none of the solutions so far work if the function is  
commented out. To make the code 100% foolproof is a lot of work.  
I was doing something similar and found that comments made life  
really difficult.


All the Best
Dave

On 17 Mar 2006, at 11:42, Robert Brenstein wrote:


Perhaps using

set the wholematches to true
put lineOffset("on" && pHandlerName, pScript) into tStart
if tStart is 0 then put lineOffset("function" && pHandlerName,  
pScript) into

tStart
put (lineOffset("end" && pHandlerName, pScript) +1 into tEnd


answer tStart & cr & tEnd

Jim Ault
Las Vegas



Unfortunately, wholematches can't be used, at least for the  
first lineoffset, because there are likely some parameters  
further in that line. The alternative to lineOffset is to use  
regex.


A truly generic function would need to know whether it searches  
for command or function, because it is possible to have one of  
each with the same name.


Robert


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Get a handler from a script

2006-03-19 Thread David Burgun

Hi,

The problem is that if you are doing something like this:

if the script of myObject contains "on HandlerName" then
  send HandlerName to myObject
end if

This this will work if the Hander is NOT commented out, but will fail  
with an error if the handler IS commented out. Also if you have a  
comment in a Script that just happens to contain "on HandlerName"  
then the "if" will succeed even though there is no handler defined.


I had a problem that took me ages to figure out. In a script I had  
something like the following:


--on Update make sure the field is not selected

which meant that:

if the script of myObject contains "on Update" then

succeeded, but the send statement failed since there wasn't really a  
handler called "update" defined. Checking for "end Update" *may* have  
worked, as long as there was not a line that read something like:


send Update to myObject

Also checking for "end Update" slows the whole process down.

What would be nice is the ability to check if a (real) handler exists  
not just that the script contains text that looks like a handler  
defintion. Something like this would be good:


if exists(handler "Update" in script of myObject) then

Which would make it 100% foolproof.

All the Best
Dave

On 17 Mar 2006, at 12:19, Mark Smith wrote:

Commenting would only affect things if the wholeMatches is set to  
true - normally, lineOffset will get the right line even if it's  
commented out, no?


Mark

On 17 Mar 2006, at 12:06, David Burgun wrote:


Hi,

Of course none of the solutions so far work if the function is  
commented out. To make the code 100% foolproof is a lot of work. I  
was doing something similar and found that comments made life  
really difficult.


All the Best
Dave

On 17 Mar 2006, at 11:42, Robert Brenstein wrote:


Perhaps using

set the wholematches to true
put lineOffset("on" && pHandlerName, pScript) into tStart
if tStart is 0 then put lineOffset("function" && pHandlerName,  
pScript) into

tStart
put (lineOffset("end" && pHandlerName, pScript) +1 into tEnd


answer tStart & cr & tEnd

Jim Ault
Las Vegas



Unfortunately, wholematches can't be used, at least for the first  
lineoffset, because there are likely some parameters further in  
that line. The alternative to lineOffset is to use regex.


A truly generic function would need to know whether it searches  
for command or function, because it is possible to have one of  
each with the same name.


Robert


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Arrays as custom properties?

2006-03-19 Thread Mark Smith

You can simply store an array variable as a customPropertySet:
set the customProperties["addresses"] of this stack to addressArray

You can then set individual elements of the stored array:
set the addresses[key] of this stack to someItem

And retrieve the indidvidual elements:
get the addresses[key] of this stack

or put the whole thing back into an array variable:
put the customProperties["addresses"] of this stack into addressArray

The thing is that a customPropertySet effecively  an array,  and  
depending on your needs, (accessing a customPropertySet is only  
slightly slower than accessing an array) may be a better choice than  
a global/local array variable.


Mark



On 19 Mar 2006, at 06:26, John Tregea wrote:


Thanks Scott,

I already have a number of arrays stored in global variables and  
want to store each complete array as a custom property of the  
group. I realise I could repeat through the structure of the array  
and transfer each array element to a corresponding element in the  
group's custom property, but hoped to be able to "plonk" the array  
into the custom property.


I will check my use of the word "the"...

---

Scott Rossi wrote:

Recently, John Tregea wrote:


I have been looking to see if I can set an array as a custom  
property of

a group.
... I get an error message on execution that says "bad index  
expression"




Yes, you need to define an index for the array.  Perhaps you mean  
something

like this:

  set the myAccess["password"] of group "A" to gMyAccess

To retrieve:

  get the myAccess["password"] of group "A"

Also, I believe a custom property must always be prefaced by "the".

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: imagedata in Word XML

2006-03-19 Thread Klaus Major

Dag Henk,


Rob,

Indeed does the text of an image contain binary data, but it looks  
like it's in the PNG format.

I will do some testing.
If the text of an image is PNG binary data, and the Word file  
contains only PNG images, I would be able to set the text of an  
image to the decoded text from the WordXML node.


one could also try to simply "put" the data into an image!

-> put url("binfile:image.png") into img 1
does work, so this is a least worth a try :-)


Thanks.
Henk

On 18-mrt-2006, at 19:00, [EMAIL PROTECTED]  
wrote:




Well, even though you decode the information from the WordML  
file, now you have a binary representation of a PNG or JPEG,  
etc., and that is not in a format proper for imageData, which is  
an array of 4-byte integers, each integer representing one  
pixel.  You will have to base-64 decode the information in the  
WordML file and then read it in as if you were reading an image  
file off a disk, etc.  This will decompress the information that  
is encoded in the file and then you can use the result as imageData.




Are you sure the result should be used as the imageData of an  
image rather than its text?


I don't know exactly what is stored in WordML; but my  
understanding is that the text of an image is the actual binary  
content of the image file, while the imageData is a Rev- 
proprietary representation of the image as currently displayed.


Regards & Groetjes

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: imagedata in Word XML

2006-03-19 Thread Henk van der Velden

Rob,

Indeed does the text of an image contain binary data, but it looks  
like it's in the PNG format.

I will do some testing.
If the text of an image is PNG binary data, and the Word file  
contains only PNG images, I would be able to set the text of an image  
to the decoded text from the WordXML node.


Thanks.
Henk

On 18-mrt-2006, at 19:00, [EMAIL PROTECTED] wrote:



Well, even though you decode the information from the WordML file,  
now you have a binary representation of a PNG or JPEG, etc., and  
that is not in a format proper for imageData, which is an array of  
4-byte integers, each integer representing one pixel.  You will  
have to base-64 decode the information in the WordML file and then  
read it in as if you were reading an image file off a disk, etc.   
This will decompress the information that is encoded in the file  
and then you can use the result as imageData.




Are you sure the result should be used as the imageData of an image  
rather than its text?


I don't know exactly what is stored in WordML; but my understanding  
is that the text of an image is the actual binary content of the  
image file, while the imageData is a Rev-proprietary representation  
of the image as currently displayed.


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Search Script

2006-03-19 Thread Ernst M. Reicher

Hi,
I tried to start discussion about this several times in the past...
but the response was poor  probably REAL delvelopers store their scripts 
in their hypothalamus and don´t need a SearchScript:-)
..over the years I found some trials in other "plugins" that worked so and 
so

I adapted the HC-script for me and it worked well in MC but no more in Rev.
Now I´m using constellation and there is a pretty good built in 
scriptsearch.
In my opinion it´s (for me!) not too comfortable - mine showed a list of 
occurrences - but it works


Regards,
   Ernst


Message: 8
Date: Sat, 18 Mar 2006 13:21:55 EST
From: [EMAIL PROTECTED]
Subject: Search Script
To: use-revolution@lists.runrev.com
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="US-ASCII"

Hi Everyone,

Has anyone made the RR version of handler that was "SearchScript" in
HyperCard? I tried to convert it, but my script opened up all the script 
windows at
the same time. That was a royal pain. Maybe you could just tell me how to 
open a

script, edit it and then go on to the next script window that has a search
string.

Joe,
Orlando, FL 



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Integrating Revolution and Flash

2006-03-19 Thread Henk van der Velden

Hi Pradeep,

you can also take a look at Trevor deVore's Enhanced QuickTime External:
http://www.bluemangolearning.com/developer/revolution/

Kind regards,
Henk


On 18-mrt-2006, at 15:17, [EMAIL PROTECTED] wrote:


Hi Pradeep,

First, i would say yes, as long as flash can be handled trough  
javascript calls we can bind to transcript handlers (i do that* all  
the time, for my own *.js stored/used as global vars from inside my  
rev-based web applications servers).
Second, i would recommand to use AJAX (prototype.js framework and  
accessories) as long as AJAX let us code all what can be managed  
from within flash without making us depend from the Macromedia  
proprietary solution.


Just as a small example illustration of the AJAX potential www2.sahores-conseil.com/puzzle.html>


All the Best to You and Albert,

Le 17 mars 06 à 10:14, MITTAL Pradeep Kumar a écrit :


Hello,

Is there any way to integrate revolution and flash ?

Some way of placing  Flash UI on top of Rev Card.
On top of revolution Object (lets say button ) one can put the flash
button. And when one clicks then revoluion button script is called.
Rev can create the XML file and then XML Data can be sent to flash  
swf

and vice versa.

What do you think ? Is there anyone who has tried integrating rev an
flash?

Best Regards
Pradeep


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


[ANN] STS XML Library 2.0 Now Available

2006-03-19 Thread Ken Ray
Hey, everyone!

The long-awaited, and long-promised STS XML Library 2.0 has finally been
released, adding node path support, search and array methods, conditional
validation and plugin support to the all-Transcript XML parsing library. It
is also fully Revolution Interoperability (RIP) compliant, and ships with a
special Compatibility Library that enables current 1.x users the ability to
easily transition to the new 2.0 syntax.

The new plugin architecture enables third parties to provide libraries that
can utilize the XML Library for specialized XML parsing, and Version 2.0
comes with a plugin for manipulating RSS feed documents.

The web site, in addition to providing more information about the library,
also includes a full comparison of how the STS XML Library compares with the
revXML.DLL that comes with Revolution. It also includes the full
documentation of the library, so you can look it over to decide for yourself
if the STS XML Library if for you.

Read more about the XML Library at:
 
 http://www.sonsothunder.com/products/xmllib/xmllib.htm

Enjoy!

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution