Re: Import snapshot snafu

2003-03-06 Thread Richard Gaskin
Ken Norris wrote: > Howdy, > > I have two stacks open. This button is in the second stack and the image I > want to collect is in the first: > > on mouseUp > import snapshot from rect "28,90,118,128" of window id 475519808 > end mouseUp > > Why doesn't it work? What happens when you run it?

Import snapshot snafu

2003-03-06 Thread Ken Norris
Howdy, I have two stacks open. This button is in the second stack and the image I want to collect is in the first: on mouseUp import snapshot from rect "28,90,118,128" of window id 475519808 end mouseUp Why doesn't it work? TIA, Ken N. ___ use-rev

Change "built in" Cursor images

2003-03-06 Thread Sannyasin Sivakatirswami
i distribute stacks that are entirely self-contained with the exception the cursor. i.e. I can tell someone to get the Rev engine off a local server and then run this or that stack. They don't get the developer IDE. just the engine to serve as a player. Rather than issue new distribution versio

Re: Trap/script for arrow keys?

2003-03-06 Thread Alex Rice
On Thursday, March 6, 2003, at 07:20 PM, Sarah wrote: Ah, you got stuck in the old trap where Rev doesn't compile a script with an error, but then doesn't tell you about it :-) When you add a new line, it thinks again. When building a distribution, does Rev compile all scripts at that time? It

[Announce] Rev Navigator 2.5: Drag and Drop

2003-03-06 Thread Geoff Canyon
An update to Rev Navigator is now available at The biggest two changes for this update are: 1. Drag and Drop support. This is a major advance. You can drag and drop to set the layers of controls or cards, move controls into or out of groups, copy cont

Re: Creating and grabbing buttons

2003-03-06 Thread Sarah
Hadn't thought of that wrinkle. What about just making the first mouseDown do all the work? Have it duplicate the bottom button and then grab the new button all in one go. Cheers, Sarah On Friday, March 7, 2003, at 11:22 am, Scott Slaugh wrote: I would use that, except that by the time that I

Re: Trap/script for arrow keys?

2003-03-06 Thread Sarah
Ah, you got stuck in the old trap where Rev doesn't compile a script with an error, but then doesn't tell you about it :-) When you add a new line, it thinks again. Anyway, it seems that theXCoord is not being set to a number. Maybe you are not separating the 2 items of the loc (this could happe

Re: Trap/script for arrow keys?

2003-03-06 Thread Judy Perry
I get this message for error description: Error description: do: error in source expression b " There was an Execution Error at 5:55:56 PM Error description: set: can't set property Object: card id 1002 of stack "/TiX/Users/judyperry/Documents/RunRev Stuff/MovingSprite.rev"

Re: Trap/script for arrow keys?

2003-03-06 Thread Sarah
Judy, insert a "put" or "answer" statement in your arrowKey script so you can see if it is actually being called. Also, check the settings for textArrows and navigationArrows. They may have no effect but it is worth checking. Cheers, Sarah On Friday, March 7, 2003, at 11:25 am, Judy Perry wrot

Re: sentences as items

2003-03-06 Thread Jim Hurley
Message: 6 Date: Thu, 6 Mar 2003 16:19:01 +0100 Subject: sentences as items From: Toma Tasovac <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] How can I make Revolution count each sentence in a field as an item -- so that I can then easily manipulate whole sentences as item 1,

Re: Creating and grabbing buttons

2003-03-06 Thread Scott Slaugh
I would use that, except that by the time that I am clicking the second time, there is a new button in that position. I have the template button, and I then have the new moveable button right on top of the template button. Scott Slaugh Use a mouseDoubleDown handler. If the interval between cli

Re: Transparent images

2003-03-06 Thread Judy Perry
This probably doesn't help you, Sarah, but I am using GC in OSX to produce images with areas of transparency and it works fine for me (easier than the 'set ink to noop' or whatever it is). Judy On Fri, 7 Mar 2003, Sarah wrote: > I think it might partly be a GraphicConverter in OS X problem. Chi

Re: Transparent images

2003-03-06 Thread Sarah
I think it might partly be a GraphicConverter in OS X problem. Chipp sent me a test image which works perfectly in Rev but looks weird when opened in GC. I upgraded to GC 4.5.1 and his image now works fine, but doesn't look as if any color is set to transparent. My images still aren't working c

Re: Creating and grabbing buttons

2003-03-06 Thread Sarah
Use a mouseDoubleDown handler. If the interval between clicks is too short, it gets trapped as a mouseDoubleDown (& Up) message but if you put your grab script in a mouseDoubleDown handler, it should work as you expect. Cheers, Sarah On Friday, March 7, 2003, at 10:30 am, Scott Slaugh wrote:

Creating and grabbing buttons

2003-03-06 Thread Scott Slaugh
I have a bunch of buttons in a group. In the mouseDown handler of the button, it calls a handler which copies the button to the card, gives it a new script, and renames the button. In the script of the new button, I have a grab command in the mouseDown handler. The behavior I am trying to get

Re: Trap/script for arrow keys?

2003-03-06 Thread Judy Perry
Sarah, I have these set in the openCard handler, so they DO possess a value prior to the keydown being sent. Ummm, yeah, it would be nice if things matched wouldn't it?! Actually, I'd just be happy to get the *&#! thing to move! Judy On Fri, 7 Mar 2003, Sarah wrote: > Judy, > > I can't see whe

RE: Trap/script for arrow keys?

2003-03-06 Thread Monte Goulding
Try on arrowKey tKey put the loc of btn "Fish" into tLoc switch tKey case "left" subtract 10 from item 1 of tLoc break case "right" add 10 to item 1 of tLoc break case "up" subtr

Re: Trap/script for arrow keys?

2003-03-06 Thread Sarah
Judy, I can't see where you set theXcoord and theYCoord initially. Try inserting these lines before the "switch" statement: put item 1 of the loc of btn "Fish" into theXCoord put item 2 of the loc of btn "Fish" into theYCoord It seems a bit illogical that you are using left & right arrows to m

RE: Silly Array Question

2003-03-06 Thread Monte Goulding
delete variable myArray["whatever"] Cheers Monte > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Feasey, > Nicholas > Sent: Friday, 7 March 2003 9:31 AM > To: '[EMAIL PROTECTED]' > Subject: Silly Array Question > > > Ok, I admit it, I'm not getting

Re: Trap/script for arrow keys?

2003-03-06 Thread Judy Perry
Still doesn't work: on arrowKey tKey switch tKey case "left" subtract "10" from theYcoord set the loc of btn "Fish" to theXcoord,theYcoord break case "right" add 10 to theYcoord set the loc of btn "Fish" to theXcoord,theYcoord break case "up" subtract 10 from theXcoord

Re: Trap/script for arrow keys?

2003-03-06 Thread Judy Perry
Pt! @;-) Thanks! Judy On Thu, 6 Mar 2003, Scott Rossi wrote: > You could use the arrowKey message: > > on arrowKey tKey > switch tKey > case "left" > # your move script > break > case "right" > # your move script > break > # etc. > end switch > end arrowKey

Silly Array Question

2003-03-06 Thread Feasey, Nicholas
Ok, I admit it, I'm not getting it. I have no problem deleting an item (line) from a list but now I'm trying to delete an item from an array. I have looked through the online documentation and, for some reason, I'm not grasping which the command used to delete an array element? Any assistance, a

Re: How do I measure character width?

2003-03-06 Thread Richard Gaskin
Victor Eijkhout wrote: > I want to put some characters in a field, equally spaced horizontally > and vertically. Meaning, my lines are "A B C D" etc, and want the > vertical distance between lines the same as the horizontal distance > between A and B. I'm using a monospaced font. > > I've foun

How do I measure character width?

2003-03-06 Thread Victor Eijkhout
I want to put some characters in a field, equally spaced horizontally and vertically. Meaning, my lines are "A B C D" etc, and want the vertical distance between lines the same as the horizontal distance between A and B. I'm using a monospaced font. I've found the textHeight parameter. Now h

Re: Trap/script for arrow keys?

2003-03-06 Thread Scott Rossi
Recently, "Judy Perry" wrote: > on keydown whichkey > global theXcoord, theYcoord > if whichkey = numToChar(30) then -- up arrow key? > subtract 10 from theYcoord > set the loc of btn "Fish" to theXcoord,theYcoord > end if > if whichkey = numToChar(31) then --down arrow key? > add 10 to theYc

Trap/script for arrow keys?

2003-03-06 Thread Judy Perry
Here's my stupid question of the day: How to trap for the arrow keys and rescript their behavior to move a graphic (in this case, I used a button) about the screen? Here's what didn't work: on keydown whichkey global theXcoord, theYcoord if whichkey = numToChar(30) then -- up arrow key? subt

Re: sentences as items

2003-03-06 Thread Chris Sheffield
Well, first let me say that I am very new to Revolution. It just so happens that I was working on a similar problem yesterday, and this is how I solved it. So I thought I'd share it. :-) It is entirely possible that there is a better solution. As far as inserting these characters, you can do i

Re: sentences as items

2003-03-06 Thread Toma Tasovac
Thanks a lot, Chris. I think that's exactly what I need. But, pardon my ignorance: how do you insert these special characters? Also, if you're using Unicode and you set the useUnicode to true, is there a corresponding Unicode character that does the same trick and that I could then use in bot

Re: Transparent images

2003-03-06 Thread livfoss
On Thu, 6 Mar 2003 12:02:51 +1000, Sarah <[EMAIL PROTECTED]> wrote: >AAARGG! I've done this before and now I can't get it to work. I am >importing an image and I can't get the background to be transparent. I >am using GraphicConvertor as my image editor and I have tried both PNG >& GIF file

Re: sentences as items

2003-03-06 Thread Chris Sheffield
I don't know if this will work with itemDelimiter, but I used this trick in version 2.0 with the new lineDelimiter property. It worked well. What I did was put a special character at the end of each sentence (NumToChar(160) on Windows and NumToChar(202) on Mac). This character looks just like a

Re: latest pre-beta 2?

2003-03-06 Thread Heather Williams
> Date: Wed, 5 Mar 2003 20:44:39 +0100 > Subject: Latest pre-beta 2? > From: Michael Kristensen <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Reply-To: [EMAIL PROTECTED] > > Hi there > > Is Revolution 2.0 pre-beta 2 the latest release? Yes. > > Will we hear about new pre-beta releases here? Y

Re: windows, memory and how the heck do i debug crashes

2003-03-06 Thread Richard Gaskin
> I have a fairly complex application that is well-behaved on OS X > (10.2.4) and well-behaved on OS 9.2.2. > > On Windows, 98 and XP, the application crashes with irregularity. I > think have isolated it to times of intensive paging, pardon the pun. > Specifically, if I do a lot of "go to card

sentences as items

2003-03-06 Thread Toma Tasovac
How can I make Revolution count each sentence in a field as an item -- so that I can then easily manipulate whole sentences as item 1, item 2 etc. In other words is there a magical way to make several characters ("." "?" "!") count as the same itemDelimiter? All best, Toma

RE: tab key doesn't work...

2003-03-06 Thread Chipp Walters
Well, after some careful dissecting, I ended up doing the following to get this all to work. created a temp btn on mouseUp repeat with x = 1 to the number of controls on this cd set the traversalOn of control x to false --170 controls! end repeat end mouseUp Then

tab key doesn't work...

2003-03-06 Thread Chipp Walters
Any idea why the tabkey would stop moving from field to field? I can't get it to work inside a field either (going to next tabstop). I've got a couple nested groups I'm working with. Any help is much appreciated. - Chipp Walters Altuit, inc. http://www.altuit.com http://www.ch

Re: Sort, Find, RawKeyDown ... / diacritical problems.

2003-03-06 Thread Emmanuel Companys
Le jeudi, 6 mars 2003, à 06:35 Europe/Paris, erik hansen a écrit : how about Scandinavian? See my post (yesterday 10:58 western european). I tried to make a complete account of the problem. For scandinavian, as far as I know, I suppose you should do theese conversions: ä = æ > azz, ö = œ = ø >