What is your idea of a Summer Holiday ?
This is mine: http://mathewson.110mb.com/midmad.html ___ 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: Importing gMail?
I would look no further than the revMedia demo site and download the code that (I think) Bill Marriot did for conducting an on line poll. At least it's a good starting point. len morgan James Hurley wrote: It looks like you're trying to do a survey. Perhaps there's a better way than simple email responses. If you have on-rev you could make a form that collects response and allows only one vote per IP. It could keep the tally in a simple text file. Not idiot proof but fine for a small group. You should be able to do the same thing using the plugin. And yes, you could make a thing that gathers emails, but it would have to allow 1 vote per email, and write some kind of form to work inside the email. A lot more trouble, IMHO than making a simple web page. - Stephen Barncard San Francisco http://barncard.com End of use-revolution Digest, Vol 71, Issue 25 ** Stephen, You are probably right about using doing this on the web. I'm not concerned about duplicate voting. This really a query about how people in the neighborhood are dealing with the fire insurance problem. I live in the Sierra Nevada foothills and as you know, California's rural areas burn down every summer and insurance is getting to be a problem. The responses will be open ended narratives, so the reply windows need to scroll. I'm afraid my Web skill may not be up to the task. I need to work on this, particularly how to get the responses returned to me. Thanks for your advice. Jim Hurley ___ 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: Importing gMail?
On 14/8/09 01:15, James Hurley wrote: I'm thinking of sending a query (kind of an open ended survey) via gMail to members of my neighborhood association. I'm expecting a couple hundred replies. Is there some way to import the responses into Rev programatically for subsequent processing? I've come to believe that there is nothing that members of this list cannot do. Is this a bridge too far? Indicating once again how many ways there are to skin cats - when I've done this sort of thing, I've used my standard mail client (whatever it happened to be at the time) to collect the email responses (ie using it's own rules/filtering system to collect the relevant emails into a particular folder); then used Rev to analyse the emails to derive whatever the statistics or results I was after. Of course, you can configure your mail client to retrieve your gmail mail. Depending on the mail client, I used to use AppleScript to get mail out of first Outlook; and then Entourage; now I use Thunderbird, which makes it even easier because each mail folder is a single text file with a simple and well documented format. (Apple Mail, which I think you use, I believe keeps each email in a separate text file, in a folder structure representing your folders.) An alternative, not involving Rev at all, would be to use on of the many free web services available. I've used doodle.com for some things, which is excellent for collating responses from a relatively small group choosing between alternatives, where everyone's response is seen. But for larger groups, or where you want anonymous replies, a quick Google suggests tons of sites offering to host polls. I suspect many of them are for embedding into your blog etc, but there must be some which like Doodle host the whole thing. - Ben ___ 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: What is your idea of a Summer Holiday ?
Richmond- Saturday, August 15, 2009, 2:00:06 AM, you wrote: http://mathewson.110mb.com/midmad.html But remember it's no longer Sanskrit, but revT... oh... wait... -- -Mark Wieder mwie...@ahsoftware.net ___ 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
Groups
I'm a little confused by RR's handling of backgrounds. It seems that grouping items makes them go to the background and appear on all cards in a stack. But then you can't edit the scripts of the items in that group - just the script of that group. Is there any way to have items in the background and still get to their scripts? Steve ___ 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: Groups
Steve, if you call up the object inspector for the group, there's a check button for backgroundBehaviour, so you can choose the appropriate behaviour for your case. Also, in the Rev toolbar, there's a button SelectGrouped. If this is hilted then you can select the individual controls in a group, otherwise, clicking on any member of the group will select the group. There are some other niceties to do with groups and parent scripts, but that's the basics. Best, Mark On 15 Aug 2009, at 18:45, Steve Jones wrote: I'm a little confused by RR's handling of backgrounds. It seems that grouping items makes them go to the background and appear on all cards in a stack. But then you can't edit the scripts of the items in that group - just the script of that group. Is there any way to have items in the background and still get to their scripts? Steve ___ 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: Groups
Hi Steve, On Aug 15, 2009, at 11:45 AM, Steve Jones wrote: I'm a little confused by RR's handling of backgrounds. It seems that grouping items makes them go to the background and appear on all cards in a stack. But then you can't edit the scripts of the items in that group - just the script of that group. Is there any way to have items in the background and still get to their scripts? Do I remember correctly that you're a long-time HyperCard guy? Groups are just about the hardest things to grasp coming from HC, but once you get them, you'll never look back. The main confusion with groups seems to be that they're sort of dual purpose. 1 - They're used just for associating things into a single object, so you can give them all similar properties, move them around together, etc.; and 2 - They are used to create groups of controls that can exist on more than one card, much like a background in HyperCard. Only in Rev, you can have an unlimited number of background groups. To make a background group, just create the group, then open the property inspector for the group and click the Behave like a background checkbox. Now when you make new cards the group will appear on them. The group also gets place *after* the card in the the message hierarchy, whereas a non-background group is *before* the card. As far as selecting items in a group goes, just Select Grouped icon on the toolbar. If it's selected, you can select objects in a group; if not you select the whole group. I have a longer discussion about groups at http://revolution.byu.edu/groups/groups.php . HTH, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ 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: Groups
Steve- I'll support what Devin says here. This is one of those cases where it's actually better *not* to have HyperCard experience since you'd have less unlearning to do. Forget everything you know about HyperCard backgrounds - runrev does things completely differently. HC had a limited paradigm to work with and you'll find that rr has a much richer palette in terms of tools and objects. I find that it's easier not to think of the background word at all and just deal with where groups are going to be in the message hierarchy. -- -Mark Wieder mwie...@ahsoftware.net ___ 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: Challenge: How can we set the rect of a polygon to its visual rect? (and a tentative solution)
In the meantime I managed to have a look at the two stacks Scott and Capellan offered in this context. Capellan had written: Hi Wilhelm, Take a look at the script of this stack, to check if some code is useful: http://www.geocities.com/capellan2000/mask_bitmap02.zip This version included the option to crop the image while masking. Your stack that demonstrates possibilities to use masks is surely impressive, but I failed to find a script in the stack that includes a cropping algorithm. Could it be that the option to crop is contained in a different version of your stack? === Scott Rossi had offered a sample stack for cropping in his first post of this thread: http://www.tactilemedia.com/download/crop2alphaRect.rev; The stack generates a random regular polygon and then creates a matching image cropped to the extents of the original graphic. Thanks again for your contributions to this thread, Scott. Your carefully scripted cropping procedure indeed manages to crop an image - snapshot-generated from a graphic - to its visual rect precisely to the last pixel. I changed the polysides property in your script for higher values and learned that (with the exception of a rhomb - a 4-sided regular polygon) indeed all regular polygons possess visual rects that differ from their proper rects. In the case of a 13-sided regular polygon - given the size of your graphics in your sample stack - this difference still is one pixel, certainly negligible, but the difference is there. My own approach to crop images to their visual rects has so far been a simple and manual one: I place a rect over the image, adjust it manually to the edges of the visual contents of the image, and then crop the image to the rect of the overlying rect.-- === What has been overlooked to some extent in your responses was that my original question concerned the cropping of a *graphic* and as a *graphic* to its visual rect. As selection tools (to access a portion of an image for further processing) I have used freely painted polygons - as distinct from regular polygons - for quite a long time in my image processing stacks. My G.W.Bush caricature, which I had presented to this list two years ago and which elicited very diverse responses, was produced with my Photo Patchworks stack using among other selection graphics also normal hand-drawn polygons. With normal hand-drawn polygons there are *no* differences between rects and visual rects. The sense or the reason why regular polygons should possess such differences escape me. Maybe it is just a case of sloppy programming, sloppy meaning in this case that the relevant script parts of the engine could be easily improved to abolish such differences in regular polygons. I have experimented a bit and offer here some thoughts and script examples how to convert regular polygons to polygons without rect differences: Polygons have points that determine the shape of the graphic. If you ask for the points of a regular polygon you just get the rect values. The shape of a regular polygon is defined by the polysides property and its angle. You can convert a polygon to a regular polygon and vice versa by using set the style of grc x to regular (or polygon). If you convert a polygon to a regular polygon you inevitably get a four-sided rhomb, no matter how many sides your original polygon has possessed - unless you determine the number of polysides beforehand. The other way round, converting a regular polygon to a polygon leaves you with an *empty* graphic, because the points of its rect are not acknowledged as valid points for the polygon. But you can define the points of a regular polygon - for example by setting its points to the points of a normal polygon. Nothing will happen here when you set these points, until you then convert the regular to a normal polygon. After such a conversion you can switch between the two styles of the polygon (set the style of grc x to ..) and will see the different shapes of the styles. Of course it is not reasonable to set the points of a regular to that of a normal polygon, because this normal polygon already exists and can be used for any purposes. The question is, how do you compute the points of a polygon (that will extend to the full size of the rect of a regular polygon without differences between rect and visual rect) if you do not have a normal polygon as a template? Example 1: Create a regular three-sided polygon and set its angle to 30. You will get an upright triangle with a substantial transparent part at the bottom of its rect. Get the dimensions of the rect, compute the points, and then convert it to a normal polygon using a script like this: on mouseUp put the topleft of grc Test into TL put the bottomleft of grc Test into BL put the bottomright of grc Test into BR put the width of grc Test into twidth put trunc(twidth/2) into twidthhalf #=set the points for the
Re: Groups
Sure. You can always type into the message box edit script of btn 1. You can also click on Object, choose Card Inspector, click the right arrow and choose the button or control you want to inspect. From there click the right arrow again and choose Edit Script. There should be (and maybe there is and I don't know about it) an easier way to edit the script of a control in a group. In the Metacard interface it's somewhat easier but still a little bit of running around. Ray Horsley LinkIt! Software On Aug 15, 2009, at 10:45 AM, Steve Jones wrote: I'm a little confused by RR's handling of backgrounds. It seems that grouping items makes them go to the background and appear on all cards in a stack. But then you can't edit the scripts of the items in that group - just the script of that group. Is there any way to have items in the background and still get to their scripts? Steve ___ 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: Challenge: How can we set the rect of a polygon to its visual rect? (and a tentative solution)
Hi Wilhelm, Wilhelm Sanke, FB01 wrote: Could it be that the option to crop is contained in a different version of your stack? This the part of the script that crop the image to the size of the user created cropping rectangle: if cropImage = true then repeat until foundGraphic = 1 -- or qfl = the number of lines of tSelection put line qfl of tSelection into tGraphic if qfl = the number of lines of tSelection then put 1 into foundGraphic if word 1 of tGraphic is graphic and the forecolor of tGraphic = cropColor then put 1 into foundGraphic set the name of tGraphic to tCropGraphicRectangle set the layer of graphic tCropGraphicRectangle to the layer of tMaskedImage + 1 put the rect of graphic tCropGraphicRectangle into zxy do crop tMaskedImage to zxy else add 1 to qfl end if end repeat end if Wilhelm Sanke, FB01 wrote: The question is, how do you compute the points of a polygon (that will extend to the full size of the rect of a regular polygon without differences between rect and visual rect) if you do not have a normal polygon as a template? Some time ago, i posted a stack named export_regular_polygons than shows a formula to convert regular polygons (3 to 20 sides) in polygons: http://www.geocities.com/capellan2000/export_regular_polygons.zip on mouseUp if the hilite of btn Leave Trails is false then repeat with i = the number of grcs of this stack down to 3 if the name of graphic i contains Test then next repeat else delete grc i end repeat end if -- if fld sides is a number then set the polysides of me to fld sides set the polysides of me to the short name of btn id 2114 put the polysides of me into asdfg put 360/asdfg into regularPolygonAngle if fld grcangle is a number and fld grcangle 361 then set the angle of me to round(fld grcangle) put the angle of me into qwerty put item 1 of the loc of me into mX put item 2 of the loc of me into mY put the rect of me into lkjhg put abs(item 1 of lkjhg - item 3 of lkjhg) into plm1 put abs(item 2 of lkjhg - item 4 of lkjhg) into plm2 if plm1 plm2 then if plm1 plm2 then put (plm1 / 2) into polarRadius else put (plm2 / 2 ) into polarRadius else put (plm1 / 2) into polarRadius end if if fld exact is a number then put polarRadius - fld exact into polarRadius -- this is very interesting, because this operation make the figure more exact! repeat with i = 1 to asdfg -- the sides of the reg poly put (regularPolygonAngle * i) + qwerty into ang put (ang * pi )/ 180 into radians -- find rectangular coordinates of ( polarRadius,radians) if the hilite of btn Use statRound is true then put statround(mX + (polarRadius * cos (radians))) , after rfv put statround(mY + (polarRadius * sin (radians))) return after rfv else -- the hilite of btn Use round put round(mX + (polarRadius * cos (radians))) , after rfv put round(mY + (polarRadius * sin (radians))) return after rfv end if end repeat put item 1 of the first line of rfv,item 2 of the first line of rfv after rfv -- put line 1 of rfv after rfv -- using this line produces an strange bug on -- polygons of 8 sides. It puts letters instead of numbers in the last line set the style of the templategraphic to polygon create grc set the points of it to rfv -- set the rect of it to the rect of me -- lkjhg if the hilite of btn Put Points into Msg is true then put rfv choose browse tool end mouseUp Wilhelm Sanke, FB01 wrote: I conclude: I think it should be a relatively easy task for the programmers of Revolution (or Transcript, RevTalk etc.) to abolish the inconsistency of regular polygons of having different sizes for visual rects and their proper rects as a graphic. i agree. if you fill an enhancement request in the Runrev Quality Control Center, i will vote for it. Have a nice weekend. al -- View this message in context: http://www.nabble.com/Re%3A-Challenge%3A-How-can-we-set-the-rect-of-a-polygon-to-its-visual-rect--%28and-a-tentative-solution%29-tp24988110p24989177.html Sent from the Revolution - User mailing list archive at Nabble.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
[OT] Copyright Question
I have a great video that I would like to use in promotional materials. I can't remember where it came from, it has no copyright info on it, and I have diligently searched the web for it's origin to no avail. How can I legally use this video? TIA and cheers, Roger ___ 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: [OT] Copyright Question
The short answer is, if you didn't produce it and can't secure the rights or prove it is in the public domain, you can't without risking a lawsuit at a later date. Sent from my iPhone On Aug 15, 2009, at 10:32 PM, Roger Guay i...@mac.com wrote: I have a great video that I would like to use in promotional materials. I can't remember where it came from, it has no copyright info on it, and I have diligently searched the web for it's origin to no avail. How can I legally use this video? TIA and cheers, Roger ___ 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: [OT] Copyright Question
Hey Roger, Though I don't pretend to know this for a fact, in my copyright research many years ago, I discovered that if something is published without a proper copyright notice then the published item is automatically in the public domain; And one cannot subsequently publish that same item WITH a copyright notice expecting to remove it from the public domain; so if, as you say, the item has no copyright notice affixed to it, you should feel free to use it in any manner you see fit; though, personally, I would utilize some sort of disclaimer that would inform others as to its status. And you had better look everywhere that such a notice may be concealed. You should NOT attempt to copyright it yourself, but attribute it to the original creator if at all possible. Additionally, you are not required to Register items you copyright, but proving the validity of your copyright at a later date, if you do not, is virtually impossible. So you may as a last ditch effort, try to find out if a copyright for the item was ever Registered. If not, then you are really safe in using it. Consequently, if you create anything that you expect you will eventually wish to copyright for yourself, you should affix a proper copyright notice to it even when you publish it very narrowly by sending a copy to a single individual. And, eventually, you should register the copyright. All of our emails, for example, since none of us apply CR notices to them, are in the public domain. JMHO, Joe Wilkins On Aug 15, 2009, at 8:43 PM, Steve Jones wrote: The short answer is, if you didn't produce it and can't secure the rights or prove it is in the public domain, you can't without risking a lawsuit at a later date. Sent from my iPhone On Aug 15, 2009, at 10:32 PM, Roger Guay i...@mac.com wrote: I have a great video that I would like to use in promotional materials. I can't remember where it came from, it has no copyright info on it, and I have diligently searched the web for it's origin to no avail. How can I legally use this video? TIA and cheers, Roger ___ 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