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,  =  =   ozz,   azzz, thorn  tzz, edh  dzz
the other diacriticals ignored (  u, for instance)
and or course lower case = upper case.

If you are dealing with many languages you can write a function handler 
with a language parameter. I found it more convenient to directing the 
program to language specialized sub-handlers, rather than using 
complicated inbedding IFs.

If you would like a copy of my post just ask. I didn't want to bother 
everybody in the llist by reproducing my long mail. You also can 
download my Polylexis from my iDisk public folder, and see how the 
system works with 9 different languages.

Regards

Manuel
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


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.chipp.com
-

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


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 I carefully ungrouped (not a good idea to store scripts in groups!)
each group, reordered the tabbed elements and set their traversalOn to true.
Got it working the way I wanted (thankyou RR for the Alignment palette
reorder function) then carefully grouped it back together using a very light
touch on the mouse and crossed fingers.

It appears that the MC engine can get confused by nested groups and going in
and out of them a lot. I launched the same stack in MC and had the same
problems.

-Chipp

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


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
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


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 x, get some data, change
 some other data depending on that, then come back, make some changes on
 this card, then go back, etc
 
 The stacks I'm building on the fly approach 10 MB pretty frequently.
 
 The standalone will just quit (graceful Windows abort, not a hard
 crash).

Two things to checkL

1. Try turning your display's hardware accelleration option off.

2. Make sure you have the latest drivers installed for your display.

I've been making Win standalones on my Mac for years, and in the few cases
where I've had mysterious behavior, one or both of the above have taken case
of it in nearly every case.  They may not be at the root of your issues, but
they're worth trying.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.2: Publish any database on any site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


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?

Yes, if they are public ones. If we do a private alpha or beta, these will
only be available to professional license holders,

Regards,

Heather

 
 
 Kind regards
 Michael Kristensen

-- 
Heather Williams [EMAIL PROTECTED] http://www.runrev.com/
Runtime Revolution Ltd.
Tel: +44 (0) 131 7184333 Fax: +44 (0)1639 830707
Revolution: Software at the Speed of Thought

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


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 space when displayed on screen, but it isn't
really a space.  Then I set the lineDelimiter property
to that character.  It worked perfectly.  You might be
able to do the same thing with itemDelimiter.

Hope that helps.

Chris Sheffield

--- Toma Tasovac [EMAIL PROTECTED] wrote:
 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
 
 ___
 use-revolution mailing list
 [EMAIL PROTECTED]

http://lists.runrev.com/mailman/listinfo/use-revolution


__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


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 files, both with the background color set to transparent. In GC 
the background is shaded out and in the Finder it is greyed out. As 
soon as I import, the background goes back to opaque white and I can't 
do anything about it.


This is driving me crazy, so I anyone has any ideas, please help!


Sarah, I tried to reproduce the problem and couldn't, but I didn't use the image 
editor from inside RR. If I use GraphicConverter on MacOS 9.2.2 and use the 'T' tool 
to set transparency in a GIF, and save the GIF outside Revolution, then the 'Import as 
Control' item in the RR Dev environment does produce an image with transparency set 
(for me, anyway). Did you have trouble with this technique, or just the one where the 
image editor is invoked from within Revolution?


Graham Samuel / The Living Fossil Co. / UK  France
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


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 both Mac and Windows versions?

Many thanks, again.

Toma



On Thursday, March 6, 2003, at 06:09  PM, Chris Sheffield wrote:

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 space when displayed on screen, but it isn't
really a space.  Then I set the lineDelimiter property
to that character.  It worked perfectly.  You might be
able to do the same thing with itemDelimiter.
Hope that helps.

Chris Sheffield

--- Toma Tasovac [EMAIL PROTECTED] wrote:
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
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


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 it
the long way like I did and copy the character to the
clipboard and then paste it into your text.  Are you
using external text files or static text in a field? 
You could probably make the process a lot easier by
writing a small script that would search through a
block of text, locate any sentence-ending punctuation
(., !, ?, etc.) and then insert the special
character after the punctuation.  I haven't done this
yet because I was just trying to throw something
together to show my boss, but I'm sure it would work. 
Keep in mind that it will look like a space when on
the screen, so you may also have to remove existing
spaces at the end of sentences.

As for the unicode thing, that's a little beyond my
skills at this point.  Sorry.  Maybe someone else on
the list can address that one.

Chris Sheffield
Read Naturally

--- Toma Tasovac [EMAIL PROTECTED] wrote:
 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 both Mac and Windows
 versions?
 
 Many thanks, again.
 
 Toma
 
 
 
 

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


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?
  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 theYcoord
  set the loc of btn Fish to theXcoord,theYcoord
end if
if whichkey = numToChar(28) then  --left arrow key?
subtract 10 from theXcoord
  set the loc of btn Fish to theXcoord,theYcoord
end if
if whichkey = numToChar(29) then  --right arrow key?
add 10 to theXcoord
  set the loc of btn Fish to theXcoord,theYcoord
end if
end keydown

Perhaps this maps differently on a windows or unix machine, but I think
that these are the correct mac keyboard numbers (from the Danny Goodman
book) but when I try answer numToChar(28) in the message box it gives me
other characters.

Any suggestions?

Thanks!

Judy


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


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 theYcoord
 set the loc of btn Fish to theXcoord,theYcoord
 end if
 if whichkey = numToChar(28) then  --left arrow key?
 subtract 10 from theXcoord
 set the loc of btn Fish to theXcoord,theYcoord
 end if
 if whichkey = numToChar(29) then  --right arrow key?
 add 10 to theXcoord
 set the loc of btn Fish to theXcoord,theYcoord
 end if
 end keydown
 
 Perhaps this maps differently on a windows or unix machine, but I think
 that these are the correct mac keyboard numbers (from the Danny Goodman
 book) but when I try answer numToChar(28) in the message box it gives me
 other characters.
 
 Any suggestions?


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


Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


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 how do I measure the width 
of a string such as A   so that I can set the text height to that?
--
Victor Eijkhout [EMAIL PROTECTED]
tel: 865 974 9308 (W), 865 673 6998 (H), 865 974 8296 (F)
http://www.cs.utk.edu/~eijkhout/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


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 found the textHeight parameter. Now how do I measure the width
 of a string such as A   so that I can set the text height to that?

See the formattedWidth property.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.2: Publish any database on any site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


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, as per usual, is greatly appreciated.

N

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


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

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


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
  set the loc of btn Fish to theXcoord,theYcoord
break
case down
add 10 to theXcoord
  set the loc of btn Fish to theXcoord,theYcoord
break
  end switch
end arrowKey


???

Judy

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


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 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, as per usual, is greatly appreciated.
 
 N
 
 ___
 use-revolution mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


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?  If there's no visible error, what is the
value of the result after you execute the import statement?

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.2: Publish any database on any site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


[Announce] Rev Navigator 2.5: Drag and Drop

2003-03-06 Thread Geoff Canyon
An update to Rev Navigator is now available at

http://www.inspiredlogic.com/navigator

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 controls, groups, or cards from one stack to another,  
and to place a group (background) on one or more cards.

NOTE: removing controls from a group and putting them back in might  
cause you to lose non-shared properties like the hilite and field  
contents. Use at your own risk.

2. Support for MetaCard. Change the file extension and open Navigator  
in MetaCard. It should take care of inserting the scripts it needs to  
function properly. This feature is still experimental, but seems to  
work pretty well.

Also added is a stack list view, a custom property menu, select stacks  
by pointing at them, rename bookmarks, and more.

For anyone who's not familiar with it, here's the note on Navigator  
when it first came out:
 
-
Navigator is a plugin I developed to make it easier to work with  
controls, properties, and scripts in Revolution. There's too much to  
list in an email, but briefly:

 -- Navigator displays lists of Revolution objects: stacks, cards,  
groups, and controls.
 -- The list can show the controls on the current card of the topStack,  
or of any card or group of any stack.
 -- You can bookmark references to any controls, and color-code the  
references. You can mix and match bookmarks any way you like.
 -- Navigator allows you to edit scripts, set properties or run code  
against any list of objects. For example, you could select controls  
from several different stacks and set the visible of all the controls  
to false with one command.
 -- Navigator makes it easy to work with controls that aren't normally  
accessible: controls in groups, hidden controls, controls on hidden  
stacks, controls that are in different places, controls that are in  
palettes or non-modal stacks.
 -- Navigator allows you to do things you wouldn't ordinarily be able  
to do: align controls that are on different cards, for example.
 -- Navigator makes you a faster developer: edit the scripts of  
controls on different cards quickly and easily; change any property  
with a single menu selection rather than using a palette; go to the  
handler you want to edit in a long script with a single command.

Finally, I should mention that Navigator is, as far as I know, the only  
Revolution plugin that supports plugins of its own ;-) Text files with  
executable Transcript can be used within the Navigator plugin.

This is a beta release. Navigator should work on all platforms, with  
Revolution 1.1.1 and 2.0. If you have any problems, let me know.

http://www.inspiredlogic.com/navigator

regards,

Geoff Canyon
[EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution