Stupid question number 666

2010-06-27 Thread Richmond
This will really show me up . . . :) Well, here goes: What exactly is REGEX ? Is REGEX cross-platform ? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Stupid question number 666

2010-06-27 Thread Mike Bonner
The Answer: http://www.regular-expressions.info/ matchtext, matchchunk and replacetext use regex, many languages have it in some form or another. From the dictionary for matchtext: Tip: Revolution implements regular expressions compatible with the PCRE library. For detailed information about

Re: Question about Native Geometry

2010-06-27 Thread Peter Alcibiades
Its a 22 inch, a wide screen, and it seems to be 10.5 inches high. Fonts in the dictionary appear to be about 4 point. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Question-about-Native-Geometry-tp2269122p2269892.html Sent from the Revolution - User mailing

Re: Stupid question number 666

2010-06-27 Thread Richmond
On 06/27/2010 12:09 PM, Mike Bonner wrote: The Answer: http://www.regular-expressions.info/ matchtext, matchchunk and replacetext use regex, many languages have it in some form or another. From the dictionary for matchtext: Tip: Revolution implements regular expressions compatible with the

Re: Question about Native Geometry

2010-06-27 Thread Richmond
On 06/27/2010 12:21 PM, Peter Alcibiades wrote: Its a 22 inch, a wide screen, and it seems to be 10.5 inches high. Fonts in the dictionary appear to be about 4 point. What follows is serious Rocket science [Not!]:

Re: Stupid question number 666

2010-06-27 Thread BNig
Richmond, have a look at RegExBuilder in the Development- plugins folder by Frédéric Rinaldi. If I have to build a regular expression I try it in the RegExBuilder which even gives me a script to paste once the expression works. Since I don't have a cat to help me understand RegEx I use this or

Re: Question about Native Geometry

2010-06-27 Thread Richmond
This is by way of a repost as I missed some instructions. On 06/27/2010 12:21 PM, Peter Alcibiades wrote: Its a 22 inch, a wide screen, and it seems to be 10.5 inches high. Fonts in the dictionary appear to be about 4 point. What follows is serious Rocket science [Not!]:

Re: [OT] Mac PPC and USB2 ?

2010-06-27 Thread Richmond
On 06/09/2010 09:38 PM, Andre Garzia wrote: Richmond, Send me your snail mail address, I think I have an spare firewaire enclosure you could use. It was made in taiwan eons ago but it works, you just pop an HD inside it and it will work. I don't know if a shipment from Brazil to Bulgaria will

RE: Question about Native Geometry

2010-06-27 Thread Damien Girard
Hi Peter, NativeGeometry does not modify the Revolution environment, so NativeGeometry will not fix that IDE problem. But if you develop your application using NativeGeometry, your application will normally not meet this problem. Best, Damien -Message d'origine- De :

Re: Stupid question number 666

2010-06-27 Thread Mike Bonner
There is an old movie that uses regular expressions almost entirely for the special effects. The Exorcist. Any time a scene required a spinning head, green goop hurling, or a blood curdling scream, 15 minutes of studying regex's and they were ready to perform. On Sun, Jun 27, 2010 at 4:01 AM,

[On-Rev] post tData to URL https

2010-06-27 Thread Scott Morrow
I'm trying to set up my On-Rev account to use PayPal's IPN system which requires replying to a message that PayPal sends to me. Using their sandbox I can receive and parse the PayPal message but can't figure out how to send it back properly. If I paste the string my script constructs into a

Re: [OT] Mac PPC and USB2 ?

2010-06-27 Thread Andre Garzia
I've picked the package at my parents house, made a nice package and am waiting for the tracking number which should arrive tomorrow so the fun can start. It took me a while to drop by my parents house to pick it up on the attic. I've tested and it worked fine! I am just removing the IDE drive

Re: [OT] Mac PPC and USB2 ?

2010-06-27 Thread Richmond
On 06/27/2010 06:40 PM, Andre Garzia wrote: I've picked the package at my parents house, made a nice package and am waiting for the tracking number which should arrive tomorrow so the fun can start. It took me a while to drop by my parents house to pick it up on the attic. I've tested and it

Re: [On-Rev] post tData to URL https

2010-06-27 Thread Scott Morrow
Of course, Andre Garzia has already published a robust solution. How is it that after 2 days, I find his solution (already on my drive) only a few moments after posting here! I don't have it working yet but get URL followed by put it looks like my friend : ) So, thanks Andre! -Scott

Re: [OT] Mac PPC and USB2 ?

2010-06-27 Thread Mark Wieder
Richmond- Sunday, June 27, 2010, 8:54:39 AM, you wrote: A girlfriend once sent me a card from Saudi Arabia (1979) and I got it (in England) 5 months later with stamps from South Korea; but the best has to be a letter somebody posted me from Applecross (on the west coast of Scotland) to my

Re: Question about Native Geometry

2010-06-27 Thread J. Landman Gay
Peter Alcibiades wrote: Its a 22 inch, a wide screen, and it seems to be 10.5 inches high. Fonts in the dictionary appear to be about 4 point. That doesn't tell us what the actual screen resolution is though. At any rate, Rev uses font inheritance for most of its stacks, and that's based on

Re: [OT] Mac PPC and USB2 ?

2010-06-27 Thread Richmond
On 06/27/2010 07:19 PM, Mark Wieder wrote: Richmond- Sunday, June 27, 2010, 8:54:39 AM, you wrote: A girlfriend once sent me a card from Saudi Arabia (1979) and I got it (in England) 5 months later with stamps from South Korea; but the best has to be a letter somebody posted me from

MD5 digests of very big files

2010-06-27 Thread Alejandro Tejada
Hi all, Read this report written by Mark Schonewille: http://quality.runrev.com/qacenter/show_bug.cgi?id=2410 Mark Waddingham post this function: function quasiMD5 pFile local tMD5s open file pFile for binary read repeat read from file pFile for 4096 chars if the result is EOF

Re: MD5 digests of very big files

2010-06-27 Thread Richmond
On 06/27/2010 08:46 PM, Alejandro Tejada wrote: Hi all, Read this report written by Mark Schonewille: http://quality.runrev.com/qacenter/show_bug.cgi?id=2410 Mark Waddingham post this function: function quasiMD5 pFile local tMD5s open file pFile for binary read repeat read from

Re: [On-Rev] post tData to URL https

2010-06-27 Thread stephen barncard
A good 90% of finding a solution is to just define the problem and put it into words. That stirs the memory process deeper and one starts thinking more out of the box. This happens to me all the time. Many times I have deleted a post to this forum after writing it - after figuring it out. On 27

Re: MD5 digests of very big files

2010-06-27 Thread Alejandro Tejada
Looks like the culprit is the condition to escape the repeat structure. The result never reach the EOF end of file. Which other condition could i use to verify that the file have been reading completely? Thanks in advance! Al In this enhancement request written by Mark Schonewille:

Re: Call to all you one-liners !

2010-06-27 Thread Ken Ray
Actually that doesn't solve the original issue - you can set the color to numbers that are greater than 256 and it will still work (try it with 1000,1000,1000 and you'll see what I mean). I don't see that as a problem. The numbers are modded down to 255 and setting the color of the button

Re: MD5 digests of very big files

2010-06-27 Thread J. Landman Gay
Alejandro Tejada wrote: Looks like the culprit is the condition to escape the repeat structure. The result never reach the EOF end of file. Which other condition could i use to verify that the file have been reading completely? Try: if it is empty -- Jacqueline Landman Gay |

Hidden point technique to mask an image

2010-06-27 Thread Alejandro Tejada
Hi all, on May 10, 2010 Sott Rossi posted in the message thread titled: Object is not an image when Crop command --- --- Recently, JosepM wrote: I understand you but I don't know the hidden point

Re: Call to all you one-liners !

2010-06-27 Thread Malte Pfaff-Brill
Ken wrote: So in my eyes, this is a bug in the is a color function. BTW: This is along with the already existing bug with the function that returns true if you just pass a zero to it. And similarly, you can set the backcolor (or any other color property) of an object to 0 and not get an error

Re: MD5 digests of very big files

2010-06-27 Thread Alejandro Tejada
Hi Jacke, Jacqueline Landman Gay wrote: Try: if it is empty Many Thanks! This works. :-D Now the function will be: function quasiMD5 pFile local tMD5s open file pFile for binary read repeat read from file pFile for 4096 chars if it is empty then exit repeat end if

Re: Hidden point technique to mask an image

2010-06-27 Thread Scott Rossi
Hi Alejandro: I'm not clear on what issue you're seeing from your email, but maybe this stack will help (in your message box): go url http://www.tactilemedia.com/download/disconpoints.rev; You will see the visible portion of the polygon occupies less space than its real rect, shown by the

Re: Call to all you one-liners !

2010-06-27 Thread Mark Wieder
Ken- Sunday, June 27, 2010, 12:16:21 PM, you wrote: Well that's where you and I differ - if I accidentally passed 2555 instead of 255 for one of the integers in a color value, I'd want to be told that that's an error. This is especially true when the docs for all the color tokens state The

Re: Hidden point technique to mask an image

2010-06-27 Thread Alejandro Tejada
Hi Scott, Now, after downloading your example, i understand that there is no need to change the fillRule from none to evenodd or nonzero. Previously, i though that this was a requisite. In fact, after changing the fillRule of a polygonal graphic, there is no way to return it to a previous

Access Script Local Value?

2010-06-27 Thread Scott Rossi
I think I may have asked this before but can't recall the answer... Is it possible for the script of one object to set/get a script local variable value of another object? If yes, how? Thanks Regards, Scott Rossi Creative Director Tactile Media, UX Design

Re: Access Script Local Value?

2010-06-27 Thread Sarah Reichelt
Is it possible for the script of one object to set/get a script local variable value of another object?  If yes, how? Not directly, as far as I know. You have to write getter setter routines in the object containing the script local: local sLocalVar command setLocalVar pNewValue put

revBrowser Requires Double-Click Interaction on OS X?

2010-06-27 Thread Scott Rossi
In my continuing revBrowser project, I'm running up against an OS X issue pointed out by Klaus Major back in Feb 2010: I found that most of the time you need to doubleclick(!) Flash elements (e.g. the movie controls in Youtube videos) when in a Revbrowser, but the intended single clicks in a

Re: revBrowser Requires Double-Click Interaction on OS X?

2010-06-27 Thread Andre Garzia
Scott, I've experienced that as well and could not solve it. If you're using your own flash video player, you can usually script the interaction using javascript which might solve your problems. Looking for a solution as well. Andre On Sun, Jun 27, 2010 at 10:21 PM, Scott Rossi

snapshot and background problems

2010-06-27 Thread Michael D Mays
I have a revBrowser and I want to take a snapshot of it and save the image on a card and do this a lot of times for many pages. I can take a snapshot of revBrowser and save the file: export snapshot from rect 0,0,100,100 to aFile.png as png . How do I save a copy of the snapshot to an

Re: snapshot and background problems

2010-06-27 Thread Scott Rossi
Recently, Michael D Mays wrote: I can take a snapshot of revBrowser and save the file: export snapshot from rect 0,0,100,100 to aFile.png as png . How do I save a copy of the snapshot to an image on the card? Try this: export snapshot from rect 0,0,100,100 to someVar as PNG set the

Re: snapshot and background problems

2010-06-27 Thread Scott Rossi
Recently, I wrote: export snapshot from rect 0,0,100,100 to someVar as PNG set the text of image myimage to someVar Correction: export snapshot from rect 0,0,100,100 of this cd to someVar as PNG set the text of image myimage to someVar Regards, Scott Rossi Creative Director

Sorting lines by variable directions and types

2010-06-27 Thread James Hurley
I have a table in which some columns are text and some are numbers I would like to assign values to the variables tDirection and tType so that I could do something like: put descending into tDirection put text into tType put field 1 into tList sort lines of tList tDirection

Re: Sorting lines by variable directions and types

2010-06-27 Thread Ken Ray
Is there some slight of hand I can perform on the variables tDirection and tType to make my one-liner functional, i.e. sort lines of tList MagicOperator(tDirection) MagicOperator(tType) by word 1 of each You should be able to use do for this: do sort lines of tList tDirection

Re: Call to all you one-liners !

2010-06-27 Thread Ken Ray
Depends on your objective. If the aim of the isAColor function is to determine whether the passed parameter can be used as a parameter in setting one of the color properties, then I think the function performs as designed. My issue isn't with *your* isAColor function - it's with the built-in

Re: MD5 digests of very big files

2010-06-27 Thread Jan Schenkel
--- On Sun, 6/27/10, Alejandro Tejada capellan2...@gmail.com wrote: Hi Jacke, Jacqueline Landman Gay wrote: Try: if it is empty Many Thanks! This works. :-D Now the function will be: function quasiMD5 pFile   local tMD5s   open file pFile for binary read   repeat     read

Re: Call to all you one-liners !

2010-06-27 Thread Mark Wieder
Ken- Sunday, June 27, 2010, 9:23:19 PM, you wrote: My issue isn't with *your* isAColor function - it's with the built-in is a color function (or is it statement?)... I meant that this: put 1000,1000,1000 is a color should return false instead of true. Well, it's essentially the same

Re: snapshot and background problems

2010-06-27 Thread tsj
On 28/06/10 1:42 PM, Scott Rossi sc...@tactilemedia.com wrote: Recently, I wrote: export snapshot from rect 0,0,100,100 to someVar as PNG set the text of image myimage to someVar Correction: export snapshot from rect 0,0,100,100 of this cd to someVar as PNG set the text

Re: Call to all you one-liners !

2010-06-27 Thread J. Landman Gay
Ken Ray wrote: Depends on your objective. If the aim of the isAColor function is to determine whether the passed parameter can be used as a parameter in setting one of the color properties, then I think the function performs as designed. My issue isn't with *your* isAColor function - it's with

MacOS Resource converter

2010-06-27 Thread Joe Lewis Wilkins
I suspect you guys and gals may find this very useful. http://evolutioninteractive.com/rezycle/rezycle.html Enjoy... Joe Lewis Wilkins ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: MacOS Resource converter

2010-06-27 Thread Richmond
On 06/28/2010 08:06 AM, Joe Lewis Wilkins wrote: I suspect you guys and gals may find this very useful. http://evolutioninteractive.com/rezycle/rezycle.html Enjoy... Joe Lewis Wilkins ___ use-revolution mailing list use-revolution@lists.runrev.com