On Thu, 5 Jul 2007 16:17:28 -0700, James Hurley wrote:
> I'm trying to understand the rudiments of image processing in Run Rev.
Here's a primer on the subject:
http://www.sonsothunder.com/devres/revolution/tips/imag003.htm
And these help too:
http://www.sonsothunder.com/devres/revolution
Jim,
imageData is a pixel-by-pixel property. Pixels are read in rows
across and then down.
Each pixel is 4 characters long: alpha, red, green, and blue.
So for example, a white pixel would be 0,255,255,255
A black pixel would be 0,0,0,0
A red pixel: 0,255,0,0
A 50% transparent pixel: 127, re
On Thu, 5 Jul 2007 4:28 pm, James Hurley wrote:
I'm trying to understand the rudiments of image processing in Run Rev.
I used the RR pencil (image not graphic) to draw a horizontal line and
used the following script to see how the data was stored:
All I got for my troubles was string of ze
I'm trying to understand the rudiments of image processing in Run Rev.
I used the RR pencil (image not graphic) to draw a horizontal line
and used the following script to see how the data was stored:
on mouseUp
put the imagedata of img id 1003 into tData
repeat for each char tChar in tDat
On Thu, 5 Jul 2007 15:35:29 -0500, Stephen Barncard wrote:
>> put userList into button "Users"
>
> set the text of button "Users" to userList
>
> (assuming that userlist is a return delimited list)
"put into button " works fine too... as Roger Eller
posted, the one-l
On Thu, 05 Jul 2007 09:20:52 +0200, Malte Brill wrote:
> our problem is we need to parse 5MB of XML data. Is your lib speedy
> enough to tackle that? We would need a performance close to the
> .dll., but of course reading the correct data back. (UTF8 encoded XML)
No, sorry - it'll read it, but
Wish my finches could do that.
Two weeks ago, I had a dozen finches. Today I have one and tomorrow will
probably not have any.
Construction is going on locally and the displaced field mice think that
my finch cage is their personal fast food joint :-/
If only they kept an eye open half the nigh
On 7/5/07 2:26 PM, "Blair Morrissey" <[EMAIL PROTECTED]> wrote:
> THE PROBLEM:
> When the line and item delimiters are respectively '|' and tab,
> I cannot get either of the following to work as I want:
>
> sort lines of kdata ascending numeric by last item of each
>
> sort lines of fld "f3" as
Hi
About once a year I get to do some transcripting.
That speaks to my (in)ability.
I lack knowledge of both user group protocol and transcript. Sorry!
THE PROBLEM:
When the line and item delimiters are respectively '|' and tab,
I cannot get either of the following to work as I want:
sort lines
Hi Rob and all,
As I said in a previous post, the contents of any menu *must* be set
at mouseDown:
Setting it at mouseUp does not make sense :-)
The rest is cooking...
Le 5 juil. 07 à 23:07, Martin Baxter a écrit :
Stephen Barncard wrote:
I wish I could recall my question!... was trying
Stephen Barncard wrote:
I wish I could recall my question!... was trying
put zzz into the text of button ""
but it is much simpler...
here's breadboard example...
ON mouseUp
put empty into userList
(not needed)
open file "D:\users.txt" for read
read from file "D:\use
I wish I could recall my question!... was trying
put zzz into the text of button ""
but it is much simpler...
here's breadboard example...
ON mouseUp
put empty into userList
(not needed)
open file "D:\users.txt" for read
read from file "D:\users.txt" until EOF
p
I wish I could recall my question!... was trying
put zzz into the text of button ""
but it is much simpler...
here's breadboard example...
ON mouseUp
put empty into userList
open file "D:\users.txt" for read
read from file "D:\users.txt" until EOF
put it into userLi
Stephen Barncard wrote:
Thanks for the correction...
Jacque, didn't you have some HC products or xcmds out there at the time?
... I remember the name Hyperactive from those days.
Royal sponsored an app I wrote for assistive communications. It wasn't a
developer tool though.
--
Jacqueline La
> OK, been trying this for a while...
>
> I'd like to start an app, read a short text file (10 lines or so,
> but variable) and then use the text to populate a pulldown (option)
> menu according to the contents of the text file (say, a list of
> usernames).
>
>
>
> Is this even possible?
>
> Thanks
Hi Rob,
Le 5 juil. 07 à 21:31, Beynon, Rob a écrit :
OK, been trying this for a while...
I'd like to start an app, read a short text file (10 lines or so,
but variable) and then use the text to populate a pulldown (option)
menu according to the contents of the text file (say, a list of
u
OK, been trying this for a while...
I'd like to start an app, read a short text file (10 lines or so, but variable)
and then use the text to populate a pulldown (option) menu according to the
contents of the text file (say, a list of usernames).
Is this even possible?
Thanks
___
Hi Hugh,
I actually saw this thread on the Metacard list, but didn't have a
moment to really think about it. I'm not sure I understand completely
the "must handle all punctuation" part, but regardless it might get
the ball rolling for me to post a simple approach and you can tell me
the f
There is a wee challenge I posted to the metacard list for a function that
returns whether a whole text string is in a variable (must handle all
punctuation and ends of line etc), along the lines of...
put "This is a test-piece." into sourceText (note the punctuation and
hyphen)
whole("a t
Hi,
I won't go into details here as it is technically off topic for this list.
It's just a heads up for those people who use Digital River for payment
processing or are a customer who purchases software through the Digital
River system (SWReg, Regnow, RegSoft etc). If this affects you you may
Thanks for the correction...
Jacque, didn't you have some HC products or xcmds out there at the time?
... I remember the name Hyperactive from those days.
Stephen Barncard wrote:
( I bought almost everything that Heizer software put out... then
it became Royal... run by none other than the or
Stephen Barncard wrote:
( I bought almost
everything that Heizer software put out... then it became Royal... run
by none other than the original author of Rev., Ro Nagy)
The original author of Rev was Scott Raney. Ro worked for RR for a time,
but didn't do any coding.
--
Jacqueline Landman
Judy Perry wrote:
It may take some time. I think I remember reading somewhere that birds
even practice their songs in their sleep. I think the researchers
monitored brain waves or some such thing to show that the birds would
silently rehearse in their sleep.
Even more trivia: birds only sleep
I have a game that plays a ticking sound as lights around the board of
the screen light up in sequence, i.e., one lit light moves around the
border of the screen.
*play "click.mp3"* plays much quicker than setting up a Player and doing
a *start player "Click"
*
Anyone know why? It would see
On Jul 5, 2007, at 6:46 AM, [EMAIL PROTECTED] wrote:
Hi everyone,
I currently use Dreamcard for Mac OSX. Apparently that’s been
discontinued. I
think should upgrade to Media as I have already converted all my HC
stacks
and never intend to use a stand alone. Am I right or am I missing
anyt
It's fascinating hearing how people use Rev to solve little problems.
A couple of years ago my wife was researching art prints to hang on a
large, bare, oddly-shaped wall in a stairway in our home. She was
having trouble visualizing how the prints would look hanging on the
wall, so I whippe
Hi Ian,
You can do this in a mousedown message.
on mousedown
loadimage
repeat while the mouse is down
movemyimage
end repeat
end mousedown
-=-
Xavier Bury
[EMAIL PROTECTED] wrote on 05/07/2007 13:39:31:
> Hi
>
> I have written an application
On 05/07/07, Eric Chatonet <[EMAIL PROTECTED]> wrote:
Hi Ian,
Could this code snippet help you:
It's made to move a whole stack but you'll adapt it for an object.
Hi Eric
Yes it did! After a simple modification it works like a charm!
Thank you very much indeed.
__
Im wondering why i send a message to the rev list and it doesn't show
up...
where the bottleneck i wonder?
Clearstream Services S.A.
42 Avenue JF Kennedy, L-1855 Luxembourg
Société anonyme is organised with limited liab
I wrote a stack that takes my receipts and scheduled business meetings and
calculates my business mileage from point to point to point each day. Gives
a detailed report of each trip and a summary for each day. It skips
Saturday and Sunday and fudges a starting mileage for Monday based on my
avera
On Jul 4, 2007, at 5:24 PM, Judy Perry wrote:
It may take some time. I think I remember reading somewhere that
birds
even practice their songs in their sleep. I think the researchers
monitored brain waves or some such thing to show that the birds would
silently rehearse in their sleep.
Bo
Hi Ian,
Could this code snippet help you:
It's made to move a whole stack but you'll adapt it for an object.
local allowDrag -- variable declared outside any handler
-
on mouseDown
put the mouseH & comma & the mouseV into allowDrag
end mouseDown
J. Landman Gay <[EMAIL PROTECTED]> wrote:
> It is so satisfying to be able to write whatever I need. Anyone else
> done little personal stacks with Rev lately?
I made a little stack to extract data from a .plist file, in order to
get a human readable list of my last order of some photos I stored
Hi everyone,
I currently use Dreamcard for Mac OSX. Apparently that’s been discontinued. I
think should upgrade to Media as I have already converted all my HC stacks
and never intend to use a stand alone. Am I right or am I missing anything?
Thanks in advance for your continuing support.
Joe O
Eric, on mousedown the new image doesn't exist yet...
I managed this in the past, but can't remember exactly how I did it. :-(
Something like: make the new image, set a custom prop to true to show
that it's draggable, and have a mousemove handler in the new image
that triggers if the custom
Hi Ian,
on mouseDown
grab me
end mouseDown
Does not work for you?
Le 5 juil. 07 à 13:39, Ian McKnight a écrit :
Hi
I have written an application which allows the user to choose an image
by clicking on a button displaying an icon sized representation of the
image. The image appears (it is c
Hello Malte.
before loading the xml into revXML try this:
replace "&" with "&" in theXML
your > will become > and all other entities you may have in the
code will be also transformed this way. > is not a valid XML entity,
> is... just remember to put the ampersand back when you use the
v
Alejandro,
if this is that kind of XML that has a simple record structure and is
repeated over and over again like a phone book, then why don't you break it
into smaller edible chunks and insert it into something like SQLite or
Valentina chunk by chunk. By using a RDBMS you'll be able to query and
Hi!
here are few more examples of "recreational" programming with Rev :-).
One stack is an experiment to see whether the well known "game of chaos"
where seemingly random process creates a deterministic outcome
(sierpinski fractal) produces similar results for any configuration of
points or j
Hi
I have written an application which allows the user to choose an image
by clicking on a button displaying an icon sized representation of the
image. The image appears (it is copied from a custom prop into a
'blank' image) and can then be moved under mouse control to any
location on the screen.
Hi,
There is a problem at least on the Mac Platform whereby RunRev cannot
access files that are > 2GB, maybe this is a similar problem with
WIndows?
I got around the problem by writing a few External Functions that
call the OS (on Mac) which gets around the problem nicely (it's also
a L
Hi Ken,
our problem is we need to parse 5MB of XML data. Is your lib speedy
enough to tackle that? We would need a performance close to the .dll.,
but of course reading the correct data back. (UTF8 encoded XML)
Thanks,
Malte
___
use-revolution mail
On Thu, 05 Jul 2007 08:50:12 +0200, Malte Brill wrote:
> Hi all,
>
> big problem over here. I have an XML Node containing the text >
> (encoded >) Whenever I call revXMLChildcontents to get it back there
> is nada,zilch,nothing. Anyone got an idea what is going on?
Nope, but if for some reason
43 matches
Mail list logo