Re : Trapping Cancel on Ask Dialogue

2010-02-23 Thread Francis Nugent Dixon
Hi from Beautiful Brittany, Stewart, It's in the book The contents of the text box is placed in the it variable. If the user cancels the dialog, the it variable is set to empty and the result function returns cancel. -Francis ___ use-revolution

Re: Yet an Odder selection hangup

2010-02-23 Thread DunbarX
Jacques. We are talking about different things, it seems. Passing the message does nothing. I will drop it, but I don't get it. Craig In a message dated 2/22/10 7:01:24 PM, jac...@hyperactivesw.com writes: Bob's right, you need to pass the message. Otherwise the IDE backscript won't get it

Re: Altering HTML Text

2010-02-23 Thread Ray Horsley
Thanks Jim, but we may be speaking of two different things here. I'm really not setting the htmlText of a field at all. Instead, I'm using the RevBrowse library of commands to display a URL. The goal is to get the source code of the html (like you would with 'View Source' in a browser),

Re: Altering HTML Text

2010-02-23 Thread David Coker
The problem is, even if I don't alter it and simply put it back as I found it I don't get the same display. Could it be that the differences in the display have to do with formatting based on a CSS file for the original page? If so, maybe you could check the original source for the reference to

Re: Altering HTML Text

2010-02-23 Thread Andre Garzia
Ray, can you send me or us, the htmltext prior to your insertion and after it? Cheers andre On Tue, Feb 23, 2010 at 2:38 PM, Ray Horsley r...@linkit.com wrote: Thanks Jim, but we may be speaking of two different things here. I'm really not setting the htmlText of a field at all. Instead,

How do I 'see' if an object has a behavior?

2010-02-23 Thread Graham Samuel
This is a very simple-minded question, but I haven't used behaviors very much. While examining Scott Rossi's charming time-setting stack, I looked at the properties of one of the sliders and noticed that there was no mention of its behavior in any of the inspection categories. However, if I put

geek-meter might go right into overload

2010-02-23 Thread Robert Cole
I saw this article today about the iPhone and Photoshop. http://www.tuaw.com/2010/02/23/found-footage-photoshop-v1-0-recreated-on-iphone/ The second paragraph of the article contains a reference to HyperCard. I wonder if the author knows about Revolution. FYI, Bob

Project Euler

2010-02-23 Thread Andre Garzia
Hi There Folks, I don't know if you guys are familiar with http://www.projecteuler.net which is officially a very fun project according to my own concepts of fun. It is a repository of mathematical problems which require more than simple math to solve, it usually require some programming. You can

Re: How do I 'see' if an object has a behavior?

2010-02-23 Thread DunbarX
Maybe I will learn something too, but the behavior should be at the very bottom of the basic Properties tab in the inspector. Craig Newman ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: Project Euler

2010-02-23 Thread Mark Schonewille
Andre, on mouseUp put 0,1 into mySequence put 0 into mySum repeat put the last item of mySequence into myCurrentNumber if myCurrentNumber 4E6 then if myCurrentNumber mod 2 is 0 then add myCurrentNumber to mySum put

Re: Project Euler

2010-02-23 Thread Andre Garzia
Mark, you're the man! I was doing something so complex that I can't believe myself! That is very elegant, I like the way you replace the sequence, I was keeping them all doing lots of loops. Thanks for this solution! wonderful! :D Cheers andre On Tue, Feb 23, 2010 at 1:49 PM, Mark Schonewille

Re: Time entry

2010-02-23 Thread Bob Sneidar
Thanks Josh! Very handy! It's now a part of my utility stack! :-) Bob On Feb 22, 2010, at 9:12 PM, Josh Mellicker wrote: Here is a text entry field so that a user can enter a time in a field in a shorthand and get a full, properly formatted date out of it.

Button Icon Placement

2010-02-23 Thread Dan Friedman
Hello... Is there a way to have an icon on a button and have the label centered, but not under the button? I know if you set the textStyle to left or right, then the icon is centered. But, if you set the textStyle to centered, then the text lies below the icon. My goal is to use a custom

Re: Search / replace

2010-02-23 Thread Kay C Lan
Folks, because I was the first one to suggest the use of offset() I feel it's my duty to advise all that although it was an answer to the question, it isn't a suitable solution to the problem. I'm a little surprised that Richard The Benchmark Obsessive hasn't already jumped all over this but as

Re: Project Euler [SPOILER #3]

2010-02-23 Thread Brian Yennie
I'm pretty proud of this one for #3... SPOILER ALERT SPOILER ALERT... scroll down if you want to see. Great site find, Andre!! put 0 into total repeat with i=1 to 100 repeat with j=1 to 100 if (i=j) then next repeat add i*j to total end

Re: Project Euler

2010-02-23 Thread Bob Sneidar
I was just about to say the same thing! ;-) Mark, you should post your solution, and quick! Otherwise Andre is going to do it! (j/k) Bob On Feb 23, 2010, at 8:49 AM, Mark Schonewille wrote: Andre, on mouseUp put 0,1 into mySequence put 0 into mySum repeat put the

Re: Button Icon Placement

2010-02-23 Thread Bob Sneidar
I would just use a group of objects, and put the code into the group object script. It's more trouble, but you can make anything look like just about anything you want. Another approach is to import an image as a control. That way you can simply change the image out for different states.

Re: Project Euler

2010-02-23 Thread Brian Yennie
Oooh, oooh! In all seriousness, it would be fun if someone compiled a set of different correct solutions to these problems. What an incredible way of showing people's different coding styles in Rev. (my solution to #2 after the break) put 0 into tot put 1 into pre put 2

Re: How do I 'see' if an object has a behavior?

2010-02-23 Thread Andre.Bisseret
Le 23 févr. 10 à 17:00, Graham Samuel a écrit : This is a very simple-minded question, but I haven't used behaviors very much. While examining Scott Rossi's charming time-setting stack, I looked at the properties of one of the sliders and noticed that there was no mention of its behavior

Re: Project Euler

2010-02-23 Thread Andre Garzia
Ho Ho Ho, I am building a little stack with the solutions as buttons. There are problems 1, 2, 6 (with comments showing it was from Mark), I am working on 5 now... :D will post it to RevOnLine :D On Tue, Feb 23, 2010 at 2:05 PM, Bob Sneidar b...@twft.com wrote: I was just about to say the

Re: Project Euler

2010-02-23 Thread Andre Garzia
Brian, this is quite a good idea... I think we could do a RevLet, this way we could post execute the stuff. :D Let me cook something. :D On Tue, Feb 23, 2010 at 2:09 PM, Brian Yennie bri...@qldlearning.comwrote: Oooh, oooh! In all seriousness, it would be fun if someone compiled a set

Re: Button Icon Placement

2010-02-23 Thread Devin Asay
On Feb 23, 2010, at 10:03 AM, Dan Friedman wrote: Hello... Is there a way to have an icon on a button and have the label centered, but not under the button? I know if you set the textStyle to left or right, then the icon is centered. But, if you set the textStyle to centered, then the

Re: Button Icon Placement

2010-02-23 Thread Devin Asay
On Feb 23, 2010, at 10:23 AM, Devin Asay wrote: On Feb 23, 2010, at 10:03 AM, Dan Friedman wrote: Hello... Is there a way to have an icon on a button and have the label centered, but not under the button? I know if you set the textStyle to left or right, then the icon is centered. But, if

Re: Time entry

2010-02-23 Thread Peter Brigham MD
On Feb 22, 2010, at 1:21 PM, Peter Haworth wrote: ... and clock faces in general don't differentiate between AM and PM times Here's a modification to handle AM/PM for the mousemove handler in the clock_behavior button script. What I added or changed is marked with comments: local

Re: Button Icon Placement

2010-02-23 Thread Klaus on-rev
Hi Dan, Hello... Is there a way to have an icon on a button and have the label centered, but not under the button? I know if you set the textStyle to left or right, then the icon is centered. But, if you set the textStyle to centered, then the text lies below the icon. My goal is

Re: How do I 'see' if an object has a behavior?

2010-02-23 Thread Graham Samuel
Yes, I see that now... thanks for pointing it out. So should I report this anomaly as a bug, do you think? Graham On Tue, 23 Feb 2010 18:10:35 +0100, Andre.Bisseret andre.bisse...@inria.fr wrote: Le 23 févr. 10 à 17:00, Graham Samuel a écrit : This is a very simple-minded question, but I

Re: Button Icon Placement

2010-02-23 Thread Klaus on-rev
Hi Dan, Hi Dan, Hello... Is there a way to have an icon on a button and have the label centered, but not under the button? I know if you set the textStyle to left or right, then the icon is centered. But, if you set the textStyle to centered, then the text lies below the icon. My

Re: Time entry

2010-02-23 Thread Peter Brigham MD
In case it wasn't clear in my previous posting, my additions were to the behavior button script in Scott Rossi's timesettings.rev stack... -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-revolution mailing list

Re: Button Icon Placement

2010-02-23 Thread Richmond Mathewson
I would just have 2 buttons sitting on top of each other in a group, with the button script in the group: http://andregarzia.on-rev.com/richmond/STUFF/Fake_Button.rev.zip sincerely, Richmond. ___ use-revolution mailing list

Re: Altering HTML Text

2010-02-23 Thread Ray Horsley
David, André, Not a bad thought David, but I don't think I see a CSS in this URL. André, thanks for asking. Here's the URL: http://www.linkit.com/EItemBank/ETS Formative Assessment Item Bank/ELA NO 3rd Party Items/Grade 4 QTI/ELA G4 P1/passages/1000323.htm If I use the RevBrowser

[ANN] WeCode Euler

2010-02-23 Thread Andre Garzia
Hello Folks, After a really fun morning solving math tricks with Mark and Brian, I decided to give revlets a try. WeCode Euler is revlet for testing, recording and exploring solutions for Project Euler http://projecteuler.net I did it really quickly and already posted some solutions. Basically

Re: Project Euler

2010-02-23 Thread Andre Garzia
Done! checkout http://wecode.org/euler you need RevWeb plugin for that. Cheers andre PS: check the source code to see some uberpretty revlet loading techniques! On Tue, Feb 23, 2010 at 2:12 PM, Andre Garzia an...@andregarzia.com wrote: Brian, this is quite a good idea... I think we

Re: [ANN] WeCode Euler

2010-02-23 Thread Brian Yennie
Awesome, I already submitted one =). Double click isn't working for me, but submitting was smooth! Hello Folks, After a really fun morning solving math tricks with Mark and Brian, I decided to give revlets a try. WeCode Euler is revlet for testing, recording and exploring solutions for

Re: Altering HTML Text

2010-02-23 Thread Andre Garzia
Ray, can you send a couple screenshots to my private email? Be aware that you can't add to the top of the htmltext property or you'll be adding text before the DOCTYPE declaration which in my opinion will wreck everything. If you want to add text before the displayable content, add it after

Re: [OT] Drifting off topic

2010-02-23 Thread J. Landman Gay
I appear to have an open slot right now...your call. Vokey, John wrote: I would absolutely loved to have been invited (can you just imagine all the amazing insights Jacqueline keeps hidden in there simply because she doesn't realize how we would all benefit if she just let it all out?). That

Re: [ANN] WeCode Euler

2010-02-23 Thread Andre Garzia
double clicking is a funny business sometimes. by the way, fill the comments with the problem proposition next time, if not some personal comments on your approach! :D On Tue, Feb 23, 2010 at 4:00 PM, Brian Yennie bri...@qldlearning.comwrote: Awesome, I already submitted one =). Double click

Re: Altering HTML Text

2010-02-23 Thread Bob Sneidar
OMG! Spaces in a URL?? Bad Mojo! Probably has nothing to do with your particular problem, but it's not a very good practice. Bob On Feb 23, 2010, at 1:31 PM, Ray Horsley wrote: http://www.linkit.com/EItemBank/ETS Formative Assessment Item Bank/ELA NO 3rd Party Items/Grade 4 QTI/ELA G4

Re: [OT] Drifting off topic

2010-02-23 Thread Bob Sneidar
Can I get in on this? Does it work like a time share? Bob On Feb 23, 2010, at 11:01 AM, J. Landman Gay wrote: I appear to have an open slot right now...your call. Vokey, John wrote: I would absolutely loved to have been invited (can you just imagine all the amazing insights Jacqueline

Re: [OT] Drifting off topic

2010-02-23 Thread Andre Garzia
is it like couchsurfing? On Tue, Feb 23, 2010 at 4:25 PM, Bob Sneidar b...@twft.com wrote: Can I get in on this? Does it work like a time share? Bob On Feb 23, 2010, at 11:01 AM, J. Landman Gay wrote: I appear to have an open slot right now...your call. Vokey, John wrote: I would

Re: Altering HTML Text

2010-02-23 Thread Ray Horsley
Thanks Bob but I always urlEncode when necessary. I just left it like that in my post for easier reading. Thanks, Ray On Feb 23, 2010, at 11:23 AM, Bob Sneidar wrote: OMG! Spaces in a URL?? Bad Mojo! Probably has nothing to do with your particular problem, but it's not a very good

Re: Altering HTML Text

2010-02-23 Thread Bob Sneidar
oic. Whew. Well the link won't work that way. All I get when I right-click copy the link and paste it into a browser is http://www.linkit.com/EItemBank/ETS. But I think it's Apple Mail that tries to interpret it as a real link anyway, so no harm no foul. :-) Bob On Feb 23, 2010, at 2:35 PM,

Re: Altering HTML Text

2010-02-23 Thread Ray Horsley
Bob, See what you get with this. Here it urlEncoded: http://www.linkit.com/EItemBank/ETS%20Formative%20Assessment%20Item%20Bank/ELA%20NO%203rd%20Party%20Items/Grade%204%20QTI/ELA%20G4%20P1/passages/1000323.htm Thanks, Ray On Feb 23, 2010, at 11:42 AM, Bob Sneidar wrote: oic. Whew. Well the

Re: [ANN] WeCode Euler

2010-02-23 Thread Brian Yennie
LOL, yeah where's that edit button? I confess I blew it on my first two entries -- left the comments blank on one and forgot to change the problem number on the other. With that said, I think the most impressive so far was solving the problem so quickly of how to collect the solutions in a

Re: [ANN] WeCode Euler

2010-02-23 Thread Mark Schonewille
Brian, André, Woops... I thought we could overwrite existing entries, but as soon as we change either the number of the name, a new entry is created. André, would you mind cleaning up? Maybe implement a system with user accounts? ;-) -- Best regards, Mark Schonewille Economy-x-Talk

Re: [ANN] WeCode Euler

2010-02-23 Thread Andre Garzia
later I will add a delete button so we can clean up... creating accounts for this would be overkill.. just create this on FREE time while waiting for a file to upload. Cheers andre On Tue, Feb 23, 2010 at 5:21 PM, Mark Schonewille m.schonewi...@economy-x-talk.com wrote: Brian, André,

Re: geek-meter might go right into overload

2010-02-23 Thread J. Landman Gay
Robert Cole wrote: I saw this article today about the iPhone and Photoshop. http://www.tuaw.com/2010/02/23/found-footage-photoshop-v1-0-recreated-on-iphone/ The second paragraph of the article contains a reference to HyperCard. I wonder if the author knows about Revolution. It would

Re: geek-meter might go right into overload

2010-02-23 Thread Phil Davis
On 2/23/10 12:38 PM, J. Landman Gay wrote: Robert Cole wrote: I saw this article today about the iPhone and Photoshop. http://www.tuaw.com/2010/02/23/found-footage-photoshop-v1-0-recreated-on-iphone/ The second paragraph of the article contains a reference to HyperCard. I wonder if the

Re: [ANN] The Slug's Color Picker is now on the road for beta test

2010-02-23 Thread zryip theSlug
Hi again, I've recently fixed two bugs in the Color Picker and upload a new version. 8-) Bugs fixed: - Fixed the arrow cursor when a control has the picker's focus - Fixed a problem when controls has the same name Maybe I'm going to fix my host server as well. It seems that it operates just

Coming back to revTalk after ObjectiveC

2010-02-23 Thread Thomas McGrath III
After spending the last nine months teaching myself enough Objective C to write some applications for the iPhone and iPad I have noticed some problems coming 'back' to revTalk... I submitted the first of my iPhone apps to the app store and am waiting for approval. So, while waiting I started

Re: Project Euler

2010-02-23 Thread Robert Brenstein
On 23.02.10 at 15:54 -0300 Andre Garzia apparently wrote: Done! checkout http://wecode.org/euler you need RevWeb plugin for that. Cheers andre PS: check the source code to see some uberpretty revlet loading techniques! revlet loading techniques? All I get is plugin not loaded. Robert

Re: Altering HTML Text

2010-02-23 Thread Bob Sneidar
That works. Bob On Feb 23, 2010, at 2:53 PM, Ray Horsley wrote: Bob, See what you get with this. Here it urlEncoded: http://www.linkit.com/EItemBank/ETS%20Formative%20Assessment%20Item%20Bank/ELA%20NO%203rd%20Party%20Items/Grade%204%20QTI/ELA%20G4%20P1/passages/1000323.htm Thanks,

revBrowserExecuteScript problems

2010-02-23 Thread Jeffrey Massung
Ugh, I've been at this for *hours* now and I can't seem to see what's different that's causing my issue. Hopefully someone here can point me to the correct solution... I have a revBrowser instance that opens a webpage. Simple. The browserDocumentComplete message gets sent and i receive it

Re: How to enter a time of day

2010-02-23 Thread BNig
Hi Scott, thank you very much for this beautiful layout and functionality. I couldn't resist to fiddle with the sliders, I wanted them to push each other so the user can push both and determine a start or stop time and without releasing the mouse pushing the other to the desired start/stop time.

[semi-OT]simulating onSubmit in post

2010-02-23 Thread Devin Asay
Hi folks, I'm trying to teach myself how to GET and POST submissions to URLs that provide simple web services, like word lookups and the like. I understand the basic concept pretty well and can successfully harvest data from various web forms. But I notice that often POST method forms

Re: revBrowserExecuteScript problems

2010-02-23 Thread Jeffrey Massung
Figured out the issue. For posterity... revBrowserExecuteScript is a function, meaning I can't just call it and ignore the return value. I have to do get revBrowserExecuteScript(..), which the message box does implicitly. Facepalming complete. Jeff M.

Re: Altering HTML Text

2010-02-23 Thread Mark Schonewille
Hi, You could use http://qurl.tk to solve this problem :-) http://qurl.tk/5j -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Economy-x-Talk is always looking for new software

Re: on-rev and coda

2010-02-23 Thread stephen barncard
the problem is that for it to be recognized, there is a mode document, plugin, whatever that some basic xml - I've got the colors thing worked out but the irev suffix give problems and still isn't associated with rev. But the whole specs are the *SubEthaEdit *site, which is the editor that is

Re: revBrowserExecuteScript problems

2010-02-23 Thread Terry Judd
Hi Jeff - I haven't tried doing this but given that your script works from the message box have you tried using a send (in time) construct when you receive the browserDocumentComplete message? Terry... On 24/02/10 10:03 AM, Jeffrey Massung mass...@gmail.com wrote: Ugh, I've been at this for

Re: How to enter a time of day

2010-02-23 Thread BNig
Sorry, I forgot to take one line out of the code - if tMyName = End then put min(max(X,item 1 of tLimitsEnd),item 2 of tLimitsEnd) into tNewX --put x tNewX -- take this line out --- the marked line puts x values into the message box, block

Re: on-rev and coda

2010-02-23 Thread Jeffrey Massung
Thanks! This worked like a charm... so much nicer. ;-) Jeff M. On Feb 23, 2010, at 4:09 PM, Igor de Oliveira Couto wrote: Dear Jeffrey, On 23/02/2010, at 3:52 PM, Jeffrey Massung wrote: Has anyone here successfully connected to on-rev with coda for editing their web pages? If so, what

Re: Altering HTML Text

2010-02-23 Thread Bob Sneidar
Hi Ray. I just checked the encoding of the site and it's correct. I spoke with my web guy, and he seems to think that there is metadata in the source of all web sites that are not displayed in a browser, but which are apparently there nonetheless. When you select Show Source in a browser

Re: revBrowserExecuteScript problems

2010-02-23 Thread J. Landman Gay
Jeffrey Massung wrote: Figured out the issue. For posterity... revBrowserExecuteScript is a function, meaning I can't just call it and ignore the return value. I have to do get revBrowserExecuteScript(..), which the message box does implicitly. Facepalming complete. Which just goes to

navigating cleanly between main- and sub-stacks

2010-02-23 Thread Nicolas Cueto
Hello, I have a mainstack that becomes hidden, returns to its first card, and then opens up a substack. I want the user to not see that return to the first card, but rather just the illusion of the substack appearing immediately after the mainstack becomes invisible. As it's set up now, though,

Re: Altering HTML Text

2010-02-23 Thread Ray Horsley
Bob, Thanks once again for your time on this. Yes, I've tried both UTF-8 and UTF-16 encoding and decoding but with no success. I believe you're right with your bottom line. I'll let you know what I end up doing for a solution. Thanks, Ray On Feb 23, 2010, at 4:45 PM, Bob Sneidar

Re: Altering HTML Text

2010-02-23 Thread Ray Horsley
Very interesting service! Ray On Feb 23, 2010, at 3:47 PM, Mark Schonewille wrote: Hi, You could use http://qurl.tk to solve this problem :-) http://qurl.tk/5j -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com

Re: on-rev and coda

2010-02-23 Thread Igor de Oliveira Couto
On 24/02/2010, at 10:57 AM, stephen barncard wrote: the problem is that for it to be recognized, there is a mode document, plugin, whatever that some basic xml - I've got the colors thing worked out but the irev suffix give problems and still isn't associated with rev. But the whole specs

Re: on-rev and coda

2010-02-23 Thread stephen barncard
Cool - that would be it... I looked very carefully before and didn't see it... It might not be totally up to date on all the terms (2005), but it's probably a better starting point than mine. sqb - Stephen Barncard San Francisco http://houseofcubes.com/disco.irev On 23

Re: on-rev and coda

2010-02-23 Thread Igor de Oliveira Couto
On 24/02/2010, at 3:47 PM, stephen barncard wrote: Cool - that would be it... I looked very carefully before and didn't see it... It might not be totally up to date on all the terms (2005), but it's probably a better starting point than mine. Once you're happy with your version, make sure