RE: RGB values for a color name

2009-07-05 Thread Randall Reetz
I will look at it. But my work has nothing to do with manual user color management. I am working on deeply semantic pattern logic. I think it is way past time for computers to know enough to try to know. Crazy to have all of this computational power and for it to do no more than it did 20 ye

Re: Load images at proportional size

2009-07-05 Thread Brian Yennie
Josep, Does either of these work better for you? set the fileName of img img_card to tURL OR put url ("binfile:" & tURL) into img img_card Hi Mark, Before test your new code I restart Rev and begin again checking all. If I drag from the website all is fine while (of course) the image hav

re: RGB values for a color name

2009-07-05 Thread paul foraker
I've put up a one-card stack at http://www.whitefeather.com/tools/colormehexed/ which consolidates some color management stuff I've been working on for the past several months. Jacque Gay, Alex Tweedly, and Chipp Walters were unwitting contributors. (Advisory: I haven't looked at this stack on Wi

Re: Load images at proportional size

2009-07-05 Thread Mark Schonewille
Hi Josep, My "idea" is what I posted a few minutes ago. Apart from that, if you have any repeat loops or wait commands with messages running (or waiting), this might also cause a crash if you drag from the desktop at the same time. If you could avoid running repeat loops and wait command

Re: Load images at proportional size

2009-07-05 Thread Josep
Hi Mark, Before test your new code I restart Rev and begin again checking all. If I drag from the website all is fine while (of course) the image have the correct path to get from the URL. Mant images are referenced by CSS or others and doesn't work, so I drag into the desktop. Until here all fin

Re: Load images at proportional size

2009-07-05 Thread Mark Schonewille
Josep, The crash is indeed a very big problem with D&D. It is very frustrating that this hasn't been fixed yet. The following might help. First, get the dragdata and then give Revolution time to deal with it by itself. The send command will execute the remainder of your script after Revol

Re: Load images at proportional size

2009-07-05 Thread Josep
Thanks Mark,... works fine... But now I detecting some extrange issue. When Drag from the desktop or the web page sometime the source image have height and width = 0... I don't know why, some times drag and drop perfectly and sometime no, and Rev crash! Code: on dragDrop lock screen set t

Re: walking folder vs mdfind

2009-07-05 Thread Kay C Lan
On Sun, Jul 5, 2009 at 9:55 PM, jim sims wrote: > > mdfind -onlyin /Applications .app > Nice. Thanks for sharing. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscript

Re: Rev and iphone

2009-07-05 Thread Andre Garzia
no you can't but you can use the new on-rev service to create dynamic web pages for the iphone (and every other browser out there). On Sun, Jul 5, 2009 at 8:23 PM, wrote: > I've been off the list for quite a while but I'm a regular rev user. What's > going on with rev as it relates to the iphon

Rev and iphone

2009-07-05 Thread revinfo1155
I've been off the list for quite a while but I'm a regular rev user. What's going on with rev as it relates to the iphone? I've got stacks I'd love to be able to access from my iphone. Is it possible? Jack ___ use-revolution mailing list use-revoluti

Re: [revLets] to what extend can the area of a revLet be modified??

2009-07-05 Thread Andre Garzia
Robert, I don't think any plugin can alter it's rect, no matter if it is flash, movie or runrev. I think that what happens in the rect stays in the rect. However, you can make a javascript that picks the screen resolution and write a embed tag based on that information and that tag is used to inst

Re: [weblet] How can a webLet communicate with the hosting html page?

2009-07-05 Thread Andre Garzia
Robert, in this first version of the plugin, there will be no direct way for the plugin to talk to the host page but you can script one using sessions. For example, you create a javascript that polls the server at a given interval checking for communication and you make the plugin write to that se

Re: Convert RGB to HSV

2009-07-05 Thread Richmond Mathewson
Oh dear, I've just succeeded in disturbing myself quite effectively by downloading something that converts RGB to CMYK, except it doesn't !! ColourUtility http://www.sqonk.com.au/ It converts something called RGB(A) (which has 4 values seemingly bearing little relation to 3-value RGB) to

RE: Convert RGB to HSV

2009-07-05 Thread Randall Reetz
Trying to do something isnt always the same as doing that something. Success remains elusive... But i am getting closer. Trying to cut every available corner along the way (isnt that how evolution works). The human eye isnt perfect... But we get by. Color space is confusing. Are two and thr

Re: Convert RGB to HSV

2009-07-05 Thread Richmond Mathewson
Well, you are either way ahead of me, or way "out there"; either way I won't pretend to understand. Suffice it to say, my wee stack "cuts the mustard" re converting RGB to HSV and HSL values. Randall Reetz wrote: The reason it matters to me has nothing to do with printing. I am writing AI a

Escaping slashes in Windows for menus?

2009-07-05 Thread Ken Ray
Up until 3.5 (I think), if you had a popup menu or option menu and you wanted to display a "/" in it, you had to escape it with a preceding "\", but only on Macs. This was (I assume) to differentiate it from a "/" that preceded an accelerator key. So for example, I have a status popup that lists I

RE: Convert RGB to HSV

2009-07-05 Thread Randall Reetz
The reason it matters to me has nothing to do with printing. I am writing AI and part of this needs to learn how to recognize objects (semantically) from photos and video. The starter functions i am handing to this self learning pattern engine are ways of converting bitmaps into vector objects

Dam-pro, broken download problem solved.

2009-07-05 Thread Damien Girard
Hi all, The Dam-pro website had all its downloads broken since few days, a Joomla update broken few things, but everything is ok now. Sorry for the trouble. Kind Regards, Damien ___ use-revolution mailing list use-revolution@lists.runrev.com Please

Re: Convert RGB to HSV

2009-07-05 Thread Richmond Mathewson
The Wikipedia article I referenced in an earlier posting in this thread is really quite comprehensive, including 3-d diagrams of how this is conceptualised. I generally find the algorithms on Wikipedia are very useful in this sort of case, as, am not going to get out my slide-rule and work out th

RE: Convert RGB to HSV

2009-07-05 Thread Randall Reetz
Oh, i get it. Min and max allows the range as Hue is relative to this range between min and max RGB values and their average within the full range determines S and thus V. -Original Message- From: "Randall Reetz" To: "How to use Revolution" Sent: 7/5/2009 10:44 AM Subject: RE: Convert

RE: Convert RGB to HSV

2009-07-05 Thread Randall Reetz
Just thinking... but by light mixing physics it would seem that Hue would simply be some three-matrix sum, S would be the sum of R,G, and B devided by the range for any one of them, and V just that total range minus S. Is all of this "min" and "max" just some sort of maths shortcut? Maybe thi

Re: use-revolution Digest, Vol 70, Issue 10

2009-07-05 Thread Mark Wieder
Paul- Sunday, July 5, 2009, 10:01:36 AM, you wrote: > Ik ben afwezig tijdens de week van 6 tot 10 juli, als u dringende vragen > heeft, > kan je steeds terecht bij mijn collega's van ICADS. Don't forget to write... -- -Mark Wieder mwie...@ahsoftware.net _

Re: Convert RGB to HSV

2009-07-05 Thread Richmond Mathewson
Thank you Colin for your advice, I have followed it: modified version at : http://mathewson.110mb.com/FILEZ/COLORNAMER.rev.zip as well as at OLD revOnline. Colin Holgate wrote: Your current version has a slight problem in that if you are over some of the text at the time you click, the mouseCo

Re: use-revolution Digest, Vol 70, Issue 10

2009-07-05 Thread Paul Franken
Ik ben afwezig tijdens de week van 6 tot 10 juli, als u dringende vragen heeft, kan je steeds terecht bij mijn collega's van ICADS. mvg, Paul ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: Convert RGB to HSV

2009-07-05 Thread Colin Holgate
Your current version has a slight problem in that if you are over some of the text at the time you click, the mouseColor will be based on the text color, or the antialiased colors that appear at the edge of letters. Another approach you could take would be to have a one pixel big field (wit

Re: Convert RGB to HSV

2009-07-05 Thread Richmond Mathewson
Well, well, well . . . digging around in the Documentation I discovered statRound (having fallen foul of 'round'); http://mathewson.110mb.com/FILEZ/COLORNAMER.rev.zip still feeling a bit 'funny' about those negative S values . . . ___ use-revoluti

Re: use-revolution Digest, Vol 70, Issue 9

2009-07-05 Thread Paul Franken
Ik ben afwezig tijdens de week van 6 tot 10 juli, als u dringende vragen heeft, kan je steeds terecht bij mijn collega's van ICADS. mvg, Paul ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: Convert RGB to HSV

2009-07-05 Thread Richmond Mathewson
New version posted: http://mathewson.110mb.com/FILEZ/COLORNAMER.rev.zip as the RGB values in the last version were nonsense because I had not deselected autohilite for the listField. HSL and Co. are still "screwing up" . . . back to the Maths. _

walking folder vs mdfind

2009-07-05 Thread jim sims
I just spent a couple of head banging hours trying to figure out how to walk through folders and get all the applications in the OS X directory Applications. Then, after a brain message from the Goddess in the next room (and probably Lord Ganesha) , I tried a shell: mdfind -onlyin /Appl

Re: Convert RGB to HSV

2009-07-05 Thread Richmond Mathewson
New version: http://mathewson.110mb.com/FILEZ/COLORNAMER.rev.zip now showing RGB, HSV and HSL actually the code is dead easy once you can cope with all the brackets: used this in a listField full of colorNames: on mouseDown get the clickText put the clickText into fld "SELECT" set the back

Re: Load images at proportional size

2009-07-05 Thread Mark Schonewille
Hmmm yes, Josep might want to use my function with formattedHeight and formattedWidth rather than regular height and width. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com Snapper Screen Recorder 2.1 http://snapper.economy-x-t

Re: Load images at proportional size

2009-07-05 Thread Sarah Reichelt
> I need to load at proportional size images inside the image area, but the > image area have her own size. How can fit the image inside the image area > changing her width and height? If you get the formattedHeight of the image and the formattedWidth of the image, that tells you the original numb

Re: Load images at proportional size

2009-07-05 Thread Mark Schonewille
Hi Josep, function rescale theImgWidth,theImgHeight,theCdWidth,theCdHeight if theCdWidth/theImgWidth < theCdHeight/theImgHeight then put theCdWidth / theImgWidth into myRatio else put theCdHeight / theImgHeight into myRatio end if put theImgWidth * myRatio into myNewWidth put th

Load images at proportional size

2009-07-05 Thread Josep
Hi, I need to load at proportional size images inside the image area, but the image area have her own size. How can fit the image inside the image area changing her width and height? I'm blocked... :( Any idea? I search the list but I can't found any... Salut, Josep -- View this message in c

Re: Is there a way to suppress https errors?

2009-07-05 Thread Bernard Devlin
This is from the more extensive libURL documentation (here http://www.lacscentre.com/liburl/liburldoc.html#libUrlSetSSLVerification): >> libUrlSetSSLVerification (new in 1.1.1) When set to true (the default), libUrl will use the "with verification" form of the "open secure socket" command which u