Re: Is it possible to access or set individual pixels of an image?

2010-11-17 Thread Geoff Canyon Rev
You should try to do all the updates as one: get the imagedata of the image, make whatever changes you need to, then set the imagedata of the image again. There are a few gotchas when setting the imagedata. Make sure the image is the right size. If you're setting a 10x20 pixel image, you need to

Re: [OT], but imagine an iPad Rev...

2010-10-26 Thread Geoff Canyon Rev
I'm puzzled -- I thought the regulations still prohibited anything that loads executable code? On Mon, Oct 25, 2010 at 10:44 AM, Colin Holgate co...@verizon.net wrote: http://itunes.apple.com/app/iluabox/id398073834 ___ use-revolution mailing

Re: [OT], but imagine an iPad Rev...

2010-10-26 Thread Geoff Canyon Rev
to recover since EA and other big boys use it inside their games. On Tue, Oct 26, 2010 at 11:14 AM, Geoff Canyon Rev gcanyon+...@gmail.com gcanyon%2b...@gmail.comgcanyon%2b...@gmail.comgcanyon%252b...@gmail.com wrote: I'm puzzled -- I thought the regulations still prohibited anything

Re: loading another stack from splash

2010-09-28 Thread Geoff Canyon Rev
You need to specify the filename of the stack, not the stack name. This is simple, but works: *on* preopenstack *set* the loc of this stack to the screenloc *end* preopenstack *on* openStack *send* gothere to me in 2 seconds *end* openStack *on* mouseUp gothere *end* mouseUp

Re: Web Deployment

2010-09-21 Thread Geoff Canyon Rev
Corporate clients might pay for web deployment. On Tue, Sep 21, 2010 at 8:08 AM, David Bovill da...@vaudevillecourt.tv wrote: On 21 September 2010 12:28, -=JB=- sund...@pacifier.com wrote: I think it is the On-Rev package that has been offered for quite some time now and many have purchased

Re: revNavigator

2010-08-20 Thread Geoff Canyon Rev
in the IDE you have no access to it. What more there is in terms of RevNavigator competition? On Tue, Aug 17, 2010 at 10:26 PM, Geoff Canyon Rev gcanyon+...@gmail.comgcanyon%2b...@gmail.com wrote: I was referring to the fact that for most people revNavigator just takes up space

Re: revNavigator

2010-08-17 Thread Geoff Canyon Rev
it. Best regards, Mark Talluto http://www.canelasoftware.com On Aug 13, 2010, at 10:32 PM, Geoff Canyon Rev wrote: revNavigator hasn't been updated for several versions, so it's entirely possible that the dev environment has changed since I wrote it. Or I might just have done a bad job

Re: SoCal Rev User Group meeting: Thursday, August 19th

2010-08-17 Thread Geoff Canyon Rev
I recently moved to St. Louis -- where are you located? gc On Fri, Aug 13, 2010 at 11:37 AM, Andrew Kluthe and...@rjdfarm.com wrote: Hmm. I wonder how many rev users are in the St. Louis-ish area that would be interested in something similar. -- View this message in context:

Re: SoCal Rev User Group meeting: Thursday, August 19th

2010-08-17 Thread Geoff Canyon Rev
Richard, I'm one day off -- I'm flying in on Friday to visit my son. :-( gc On Tue, Aug 17, 2010 at 12:29 PM, Geoff Canyon Rev gcanyon+...@gmail.com wrote: I recently moved to St. Louis -- where are you located? gc On Fri, Aug 13, 2010 at 11:37 AM, Andrew Kluthe and...@rjdfarm.com wrote

Re: revNavigator

2010-08-17 Thread Geoff Canyon Rev
stephenrevoluti...@barncard.com wrote: I thought it shipped in the plugins folder within every new install of Rev! sqb On 17 August 2010 10:27, Geoff Canyon Rev gcanyon+...@gmail.comgcanyon%2b...@gmail.com wrote: aw gee, thanks guys -- nice to know it lives on in some people's tool boxes. gc

Re: [HELP] anyone have a simple handler to add a control to a group programatically?

2010-08-13 Thread Geoff Canyon Rev
revNavigator hasn't been updated for several versions, so it's entirely possible that the dev environment has changed since I wrote it. Or I might just have done a bad job with it ;-) That said it still works -- I don't do much work with Rev anymore, but when I do I couldn't live without it.

Re: Harry Potter's magic button - a solution to another tricky group bug

2010-08-03 Thread Geoff Canyon Rev
Not sure, but I'd guess that the OP is falling afoul of the elastic nature of groups that have lockloc=false. When that is the case, groups automatically snap to the bounds of whatever they contain whenever they get the chance -- i.e. when the things they contain move or are themselves resized (I

problem posting to a secure connection from a standalone?

2010-07-14 Thread Geoff Canyon Rev
I want to post to a secure url like so: on mouseUp post base64encode(email=some...@gmail.compassword=mypass) to url https://simple-note.appspot.com/api/login; if the result is not empty then put the result into fld 1 else put it into fld 1 end if end mouseUp In the

Re: Pointlist from move command?

2010-07-04 Thread Geoff Canyon Rev
I wouldn't recommend the polling solution, but if you want to go with that, add without waiting and you'll be able to get the moving object's position as it moves. On Wed, Jun 30, 2010 at 2:48 AM, Michael Kristensen michael-kristen...@dsa-net.dk wrote: Hi and thanks for replies I dunno: if you

Re: That nice XML exporter for stacks...

2010-06-15 Thread Geoff Canyon Rev
I think I used the properties property, which even then didn't get absolutely everything, but did get nearly all the properties. If it's been kept up to date the stack should already be in sync. gc On Sun, May 16, 2010 at 4:18 PM, Alejandro Tejada capellan2...@gmail.com wrote: Hi Andre, Will

Re: Is there a way to upload files?

2010-06-10 Thread Geoff Canyon Rev
Hey Dave, I finally got around to trying this and had no luck. I'm trying to attach a file to a jira ticket and jira isn't cooperating at all. I'm looking at the headers for a successful file upload using a tool in firefox and noticed that it was using Content-Type: image/png instead of

Re: Galaga 1990

2010-05-26 Thread Geoff Canyon Rev
You definitely don't want to do this by positioning everything every time you update. Instead, the move command is your special friend here. For the enemy, you can plot out a randomized course from the top to the bottom, and then tell it to follow that path in a set amount of time. The bullets are

Re: Galaga 1990

2010-05-26 Thread Geoff Canyon Rev
Since the enemies' paths are pre-determined in this method, you can determine whether a particular shot will hit an enemy at the time the shot is fired. And vice versa, whether an enemy that you are planning the route for will intersect any of the current shots on the screen. It requires a bit of

Re: Reading the HyperNext manual #1

2010-05-19 Thread Geoff Canyon Rev
HyperNext is hardly developed by 1 person. It is based on REALbasic, using RB's scripting language as its programming language. So the fact that it can play multiple sounds, run on multiple platforms, etc., comes courtesy of the hard work of the team at REAL Software. It would be about the same

Re: Reading the Supercard manual #1

2010-05-19 Thread Geoff Canyon Rev
long long ago I wrote a full stack - XML - stack converter. It's been about ten years so I wouldn't be surprised if it's broken, but here: http://inspiredlogic.com/mc/ripper.html ___ use-revolution mailing list use-revolution@lists.runrev.com Please

Is there a way to upload files?

2010-05-15 Thread Geoff Canyon Rev
It's easy enough to look at a web form and convert it to a set of arguments to use in rev, like so: http://www.someserver.com/someAction.jspa?type=12summary=this+is+a+testuser=geoff.canyonpassword=test But what if the form includes file upload? Is there a way to take a local file and include it

Re: Is there a way to upload files?

2010-05-15 Thread Geoff Canyon Rev
themselves as a post argument? That's where I'm unclear. thanks, gc On Sat, May 15, 2010 at 10:45 AM, Jim Ault jimaultw...@yahoo.com wrote: On May 15, 2010, at 8:08 AM, Geoff Canyon Rev wrote: It's easy enough to look at a web form and convert it to a set of arguments to use in rev, like so

Re: Is there a way to upload files?

2010-05-15 Thread Geoff Canyon Rev
On Sat, May 15, 2010 at 1:53 PM, Mark Wieder mwie...@ahsoftware.net wrote: Geoff- !I just started looking into doing an interface to Jira yesterday! ...and btw, Atlassian has *great* licensing if you're interested in professional-quality cross-platform (anywhere java runs) tools. They have

Re: Is there a way to upload files?

2010-05-15 Thread Geoff Canyon Rev
thanks, I'll give it a shot! On Sat, May 15, 2010 at 3:10 PM, Dave Cragg dave.cr...@lacscentre.co.uk wrote: On 15 May 2010, at 21:07, Dave Cragg wrote: The use is a little complicated. You set the httpHeaders to the first line of the returned data, and lines 2 to the end is the data to

Re: group a single object?

2010-05-11 Thread Geoff Canyon Rev
Seemingly only if the item is not already part of a group (no idea why). The code I posted will work at any level of nested groups. gc On Tue, May 11, 2010 at 1:03 AM, Chipp Walters ch...@altuit.com wrote: Can't you also: group  img 1 set the name of it to mySpecialGrp .??

Re: That nice XML exporter for stacks...

2010-05-10 Thread Geoff Canyon Rev
Waay back when I wrote mcRipper: http://inspiredlogic.com/mc/ripper.html It exported to XML, and re-constituted from the XML. I haven't looked at it in about ten years. It never broke anything, but always use it on a copy of your files. gc On Mon, May 10, 2010 at 1:32 PM, Andre Garzia

Re: Strange results in deletion of lines

2010-05-10 Thread Geoff Canyon Rev
Just in case anyone doesn't realize how different the options are, I wrote this code. on mouseUp repeat 3 put any char of abcdefghijklmnopqrstuvwxyz random(10) this is a test string for a fixed-record-length processing test cr after X end repeat delete char -1 of X

Re: group a single object?

2010-05-10 Thread Geoff Canyon Rev
I think this works reasonably well: put the layer of btn target into L set the relayerGroupedControls to true create group container put the long id of it into C set the layer of btn target to the layer of C set the layer of C to L The business with long id is to make sure

Punching holes in a graphic

2010-04-16 Thread Geoff Canyon Rev
Here's the effect I'm trying to achieve: I have an image on the card. I want to partially obscure the image, making it desaturated/darker/something like that, and then have areas of the image that show through unaltered (preferably roundrect areas). I can obscure the image by putting an opaque

Re: [OT] What's an iPad?

2010-04-11 Thread Geoff Canyon Rev
I use Files for PDFs on the iPhone. If you plan to use it much I recommend the full version: it's only a few bucks, and quick navigation through PDFs (among other things) is really useful. On Sun, Apr 11, 2010 at 10:59 AM, Neal Campbell nealk...@gmail.com wrote: I had mine delivered from China

Re: [OT] What's an iPad?

2010-04-11 Thread Geoff Canyon Rev
I think it's going to take a few years, but it's going to replace other ways of using computers: http://gcanyon.wordpress.com/2010/02/04/the-ipad-revolution-its-1984-all-over-again/ On Sun, Apr 11, 2010 at 10:49 AM, Richmond Mathewson richmondmathew...@gmail.com wrote:  My top 3 ideas are: 1.

Re: scrolling groups and magic mouse?

2010-02-27 Thread Geoff Canyon Rev
then      set the scroll of me to the scroll of me +2   else if theKey = swipeup number then      set the scroll of me to the scroll of me -2   end if   put the scroll of me end rawkeydown bjoernke ps: 65308,65309 On 26 Feb 2010, at 15:38, Geoff Canyon Rev wrote: fields seem to respond

scrolling groups and magic mouse?

2010-02-26 Thread Geoff Canyon Rev
fields seem to respond to swipe-scrolling with the magic mouse just fine, but groups with scrollbars don't. Is there a way to fix that? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: Project Euler [SPOILER #3]

2010-02-25 Thread Geoff Canyon Rev
It's hurting my head trying to figure out why yours works. ;-) That said, it's very slow. The simple brute force method is roughly 100 times faster (since it doesn't iterate 10,000 times but only 100): put 0 into total put 0 into summer repeat with i = 1 to 100

Re: Project Euler [SPOILER #3]

2010-02-25 Thread Geoff Canyon Rev
Ah, now I understand how yours works -- that _is_ quite clever! gc On Thu, Feb 25, 2010 at 8:21 AM, Geoff Canyon Rev gcanyon+...@gmail.com wrote: It's hurting my head trying to figure out why yours works. ;-) That said, it's very slow. The simple brute force method is roughly 100 times

Re: Project Euler

2010-02-24 Thread Geoff Canyon Rev
I did about eighty project euler problems in rev about three years ago. In the process I wrote my own bignum library and many other utility routines. I don't know that any of it was release-worthy, or if I have the stacks anymore. Then I switched to coding in J (which has built-in unlimited

Re: Project Euler [SPOILER #3]

2010-02-24 Thread Geoff Canyon Rev
Are we talking about the same #3? The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number 600851475143 ? On Tue, Feb 23, 2010 at 11:04 AM, Brian Yennie bri...@qldlearning.com wrote: I'm pretty proud of this one for #3... SPOILER ALERT SPOILER ALERT...

Browser objects are odd?

2009-12-11 Thread Geoff Canyon Rev
Having not used rev much over the last several years, I never learned about the browser object, and now find myself puzzled. Is it fair to say that the browser object is handled completely differently than other objects? For example, you can't simply drag a browser object into your stack from

Re: Browser objects are odd?

2009-12-11 Thread Geoff Canyon Rev
Thanks for the info! On Fri, Dec 11, 2009 at 11:40 AM, roger.e.el...@sealedair.com wrote: Richard Gaskin wrote: As Trevor pointed out, it's an external (in fact, it started out as a third-party offering from Altuit, acquired by RR a few years ago). And ever since the acquisition, I have

Re: Importing data into RevDB

2009-12-08 Thread Geoff Canyon Rev
A note of caution when using this. The chunking rules for Rev are that a line can contain items, but items cannot contain lines. Lines can contain items, items contain words.  wrong =  line 6 of item 4, no matter the delimiter You can get past this by adding parentheses: item 1 of word 2