Re: Unicode - AAT vs OT fonts in Revolution

2009-07-17 Thread Sivakatirswami

Aloha, Richmond:

It's getting pretty muggy here on Kauai to... classic Kauai weather, a 
short rain 2-3 times a day with Average 80 Degree temps, but mid-day is 
climbing to 100 in the open fields, mosquitoes are loving it. Average 
density -- 12 little kamakazi's per cubic foot of atmosphere. August 
will be cooking...


I see your machinations: I'm not sure I want to "go there" with the old 
special conjuncts. I think it is possible to get every letter in the 
devanagiri alphabet from the standard 0900–097F, if are willing to stick 
to late forms. Or, (I hope not!) are there actual important conjuncts 
that are in fact not available in 0900–097F ?


I was forced to order a plug in for Indesign to find a way to enter the 
udatta and anudatta stress marks, which are, strangely, not available on 
the current standard Devangari keyboards and thus impossible to enter in 
any environment except inDesign.


These two marks are "mission critical" but Metadesignsolutions IndicPlus 
plug in saved the day and least inside Indesign. But as mentioned, not 
available in any other environment. That's a show stopper... Someone 
else on our team threw in the towel and went back to a T1 font for his 
work...well-designed, all chars available with a sensible, complete 
keyboard.


I was not able to pursue this further since our last discussion and my 
next publishing project that might be repurposed to a Rev environment, 
will focus on Tamil...


I'm not fluent in building a keyboard... I see some old keyboards in 
/Library/Keyboard Layouts/ but not everything one has access to in the 
international Input Menu appears there... and I don't see them in the 
sys library either... the ones I do see look simple enough XML...


Good, luck and keep me posted. And I thought Unicode was going to make 
life easier (smile)






Richmond Mathewson wrote:

Did you think I had forgotten?

Several nights in 40 degrees C, tossing and turning, later . . .

Bloody silly really (but then, in my case it usually is; either trying 
to be too clever for my own good,

or not seeing something right under my nose):

Take a look at this:

http://www.alanwood.net/unicode/private_use_area.html

a private use area in the Basic Multilingual Plane, i.e. at unicode 
numbers less than 65535.


So, cracked open my Devanagari font (provisionally called 'Mahesvara') 
and shifted all the

conjunct consonants from "beyond the pale" to this area:

running between 57344 (hex E000) and 63742 (hex F8FE).

Standard (i.e. basic) letter forms are lodged "where they should be" 
between:


2309 (hex 0905) and 2416 (hex 0970)

-- 

Now; a further 'sweaty night' awaits me (it, Sivakatirswami, may well 
be the Brahma-Mahurta
in Hawaii, but over here it is some horrible time of the night at a 
horrible time of the year) as
I try to "cook up" a Sanskrit typewriter type implementation method in 
Revolution.


Don't hold your breath as it may take longer than the RR 4.0 Beta :)
- 



Anybody who feels the urge to have their own, private "night of 
passion" / "dark night
of the soul" wrestling with homemade unicode fonts is more than 
welcome to help

themselves to my font at:

http://box17.110mb.com/FILEZ/MH.zip

if anybody can come up with a way of using it before I can that would 
be really super. :)

___
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: Getting a Rev App to have an icon on the Apple Menu bar

2009-07-17 Thread Sivakatirswami

stephen barncard wrote:

There used to be a great product called Aliasmenu that would do that, but
the author gave up with problems making it work from Tiger on

What recent application have you seen that can do this?
  

Drop Box
iClip
Remote Desktop
QuickSilver
OmniFocus

(there's more!)

Butler (no longer use it... went back to QuickSilver)

Some have the application icon on the menubar, even when the app is 
closed and then the default first menu item is, of course, "Open [this 
app]"  others only appear on the menu bar if they have been booted up. 
If their top window is behind others, or minimized clicking to the menu 
item brings it forward.


OmniFocus's menu is particularly powerful as it lists all contexts with 
a number for any over due items in an particular context, choosing one 
of these switches to the context an shows due items in Omnifocus... 
that's so useful...







-
Stephen Barncard
San Francisco
http://barncard.com


2009/7/17 Sivakatirswami 

  

How does one get and icon for one's application to appear on the Menu Bar
of OS X?

Sivakatirswami


___
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


Re: Getting a Rev App to have an icon on the Apple Menu bar

2009-07-17 Thread andre

I thinkyou need an external for that

Om shanti

Enviado de meu iPhone

Em 17/07/2009, às 21:59, Sivakatirswami  escreveu:



How does one get and icon for one's application to appear on the  
Menu Bar of OS X?


Sivakatirswami


___
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: Getting a Rev App to have an icon on the Apple Menu bar

2009-07-17 Thread stephen barncard
There used to be a great product called Aliasmenu that would do that, but
the author gave up with problems making it work from Tiger on

What recent application have you seen that can do this?
-
Stephen Barncard
San Francisco
http://barncard.com


2009/7/17 Sivakatirswami 

>
> How does one get and icon for one's application to appear on the Menu Bar
> of OS X?
>
> Sivakatirswami
>
>
> ___
> 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


Getting a Rev App to have an icon on the Apple Menu bar

2009-07-17 Thread Sivakatirswami


How does one get and icon for one's application to appear on the Menu 
Bar of OS X?


Sivakatirswami


___
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: Unicode - AAT vs OT fonts in Revolution

2009-07-17 Thread Richmond Mathewson

Did you think I had forgotten?

Several nights in 40 degrees C, tossing and turning, later . . .

Bloody silly really (but then, in my case it usually is; either trying 
to be too clever for my own good,

or not seeing something right under my nose):

Take a look at this:

http://www.alanwood.net/unicode/private_use_area.html

a private use area in the Basic Multilingual Plane, i.e. at unicode 
numbers less than 65535.


So, cracked open my Devanagari font (provisionally called 'Mahesvara') 
and shifted all the

conjunct consonants from "beyond the pale" to this area:

running between 57344 (hex E000) and 63742  (hex  F8FE).

Standard (i.e. basic) letter forms are lodged "where they should be" 
between:


2309 (hex 0905) and 2416 (hex 0970)

--
Now; a further 'sweaty night' awaits me (it, Sivakatirswami, may well be 
the Brahma-Mahurta
in Hawaii, but over here it is some horrible time of the night at a 
horrible time of the year) as
I try to "cook up" a Sanskrit typewriter type implementation method in 
Revolution.


Don't hold your breath as it may take longer than the RR 4.0 Beta  :)
-

Anybody who feels the urge to have their own, private "night of passion" 
/ "dark night
of the soul" wrestling with homemade unicode fonts is more than welcome 
to help

themselves to my font at:

http://box17.110mb.com/FILEZ/MH.zip

if anybody can come up with a way of using it before I can that would be 
really super.   :)

___
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: Unicode capability expansion

2009-07-17 Thread Mark Schonewille

Ken,

I fully agree. The byte chunk exists already in RunRev. The all- 
unicode approach would be similar not only to Python but also  
AppleScript. It would be awesome if chars would refer to actual  
unicode glyphs.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com

Submit your software products to http://www.quickestpublisher.com and  
get found!


If you sent me an e-mail before 8th July and haven't got a reply yet,  
please send me a reminder.









On 17 jul 2009, at 21:31, Kee Nethery wrote:

I like what Python decided to do with Unicode. There is no more  
ascii text in Python 3.x, all text is unicode. Seems like the best  
solution to me. No deciding whether this or that function supports  
unicode, they all do. The only difference is that you need a new  
term to stand in for a byte in a data stream, for example


select byte 2 to 7 of thestuff
vs
select char 2 to 7 of thestuff

byte 2 to 7 would give you 6 bytes of data.
char 2 to 7 would give you 6 or more bytes because you don't know  
(or care) how the characters are represented, could be UTF-8,  
UTF-16, etc.


If you deal with characters and words and lines, you are always  
dealing with complete unicode characters.


Just my 2 cents.
Kee Nethery


___
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: Unicode capability expansion

2009-07-17 Thread Kee Nethery
I like what Python decided to do with Unicode. There is no more ascii  
text in Python 3.x, all text is unicode. Seems like the best solution  
to me. No deciding whether this or that function supports unicode,  
they all do. The only difference is that you need a new term to stand  
in for a byte in a data stream, for example


select byte 2 to 7 of thestuff
vs
select char 2 to 7 of thestuff

byte 2 to 7 would give you 6 bytes of data.
char 2 to 7 would give you 6 or more bytes because you don't know (or  
care) how the characters are represented, could be UTF-8, UTF-16, etc.


If you deal with characters and words and lines, you are always  
dealing with complete unicode characters.


Just my 2 cents.
Kee Nethery


On Jul 17, 2009, at 8:10 AM, Richmond Mathewson wrote:


Having "fiddled around" with unicode rcecently it has
become clear (unless I have missed something) that
Revolution can only cope with characters from the
Basic Multilingual Plane - i.e. chars up to 65535 (hex ).

This is a real limitation that stands in the way of a lot of
programming possibilities with Revolution.

I am unaware of how most comparable RADS handle
unicode (Supercard simply doesn't).

I would urge the expansion of unicode capabilities
as a top priority.



___
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 the current phrase for Rev in about windows?

2009-07-17 Thread Jan Schenkel
--- On Fri, 7/17/09, jim sims  wrote:

> From: jim sims 
> Subject: What is the current phrase for Rev in about windows?
> To: "How to use Revolution" 
> Date: Friday, July 17, 2009, 8:05 AM
> I'm finishing up a shareware app -
> can someone tell me:
> 
> What is the current phrase for Rev in about windows?
> 
> Would "Made with RunRev" do the job?
> 
> 
> sims
> 

>From the "License Agreement.txt" file in the Revolution install directory, 
>also shown during the installation.

:::
APPENDIX A - Required Copyright Notice

You must include the following copyright notice where other such notices 
appear. In the event that such other notices do not appear in the Created 
Software, this notice must be placed in a reasonable location.

Portions (c)2000-2009 Runtime Revolution Limited, All Rights Reserved Worldwide.

We would like you to include the Runtime Revolution logo, as per the terms set 
out in the file "logo.pdf". However, unlike the Copyright notice above, you are 
not required to include the logo.
:::

Jan Schenkel
=
Quartam Reports & PDF Library for Revolution


Re: Timed User Input

2009-07-17 Thread Rick Harrison

Hi again,

Both solutions work!  I thought the send-in-time
solution seemed a little more accurate.  Feel
free to test both more throughly, and draw your own
conclusions.

Thanks to everyone who contributed!

This list really rocks

Rick

___
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: Another (slightly silly) way to show animations on Linux

2009-07-17 Thread Richmond Mathewson

Richmond Mathewson wrote:
Gosh, I must have a session with my therapist (he's a tortoise called 
Harold who

lives in our garden) . . .

Here's another way:

Horribly wasteful in terms of file size, but guarantees no dependency on
external components.

This will allow you to show a SILENT "film sequence":

1.  Export your movie file to images (say 25 per second).

2. Import them into a hidden card in your stack [think BLOATWARE].

3. On the card where you want to present the film/animation;

  create an IMAGE that has the exact dimensions of the images

  Menu : Object/New Control/Image

4.  Pop a script like this into your button:

on mouseUp
  put 1003 into FRAMEK
  repeat for 356 times
add 1 to FRAMEK
set the imageData of img "SHOWBOX" to the imageData of img ID FRAMEK
wait 2 ticks
  end repeat
end mouseUp


However (you know how I love replying to my own messages: plays hell 
with the stats):


Setting the imageData of a blank image plays the animations at something 
like half

the speed of setting the icon ID of a button.
___
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: I'm going to Mars...

2009-07-17 Thread Jim Sims


On Jul 17, 2009, at 6:17 PM, Mark Wieder wrote:


Cool Link of the Day-

Ever wanted to go to Mars but lack the time/money/proper training?


Can Lunatics like me go?
Or, do ya gotta be more like a Martian?

sims
___
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: Timed User Input

2009-07-17 Thread Devin Asay


On Jul 17, 2009, at 9:19 AM, Rick Harrison wrote:


Hi Mark,

I was using a repeat loop.  Hmm.. send-in-time.
What is that?


Rick,

send [message] in [time] is what you want.

See my tutorial at 


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: I'm going to Mars...

2009-07-17 Thread Richmond Mathewson

Mark Wieder wrote:

Cool Link of the Day-

Ever wanted to go to Mars but lack the time/money/proper training?
Well, you can send your name instead. NASA offers you the opportunity
to include your name on a microchip on the Mars Science Laboratory
rover heading to Mars in 2011 for free. Just provide your name and
location on the registration page. You'll also be able to print out a
certificate of participation after you register.

http://mars9.jpl.nasa.gov/msl/participate/sendyourname/index.cfm

  

That's nothing; I have kids who make trips to all the planets on a regular
basis in my school.

How is this done?

I just use the "magic phrase":  'Come on, let's do a spot of Grammar."

and they are OFF.  :)
___
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: Another (slightly silly) way to show animations on Linux

2009-07-17 Thread Richmond Mathewson
Gosh, I must have a session with my therapist (he's a tortoise called 
Harold who

lives in our garden) . . .

Here's another way:

Horribly wasteful in terms of file size, but guarantees no dependency on
external components.

This will allow you to show a SILENT "film sequence":

1.  Export your movie file to images (say 25 per second).

2. Import them into a hidden card in your stack [think BLOATWARE].

3. On the card where you want to present the film/animation;

  create an IMAGE that has the exact dimensions of the images

  Menu : Object/New Control/Image

4.  Pop a script like this into your button:

on mouseUp
  put 1003 into FRAMEK
  repeat for 356 times
add 1 to FRAMEK
set the imageData of img "SHOWBOX" to the imageData of img ID FRAMEK
wait 2 ticks
  end repeat
end mouseUp


___
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


I'm going to Mars...

2009-07-17 Thread Mark Wieder
Cool Link of the Day-

Ever wanted to go to Mars but lack the time/money/proper training?
Well, you can send your name instead. NASA offers you the opportunity
to include your name on a microchip on the Mars Science Laboratory
rover heading to Mars in 2011 for free. Just provide your name and
location on the registration page. You'll also be able to print out a
certificate of participation after you register.

http://mars9.jpl.nasa.gov/msl/participate/sendyourname/index.cfm

-- 
-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: Text Processing Puzzle

2009-07-17 Thread Gregory Lypny

Hello Kee and Pierre,

Thank you for your thoughts.  My response is below.

Gregory


On Fri, Jul 17, 2009, at 11:05 AM, Kee Nethery wrote:


Message: 9
Date: Thu, 16 Jul 2009 14:43:44 -0700
From: Kee Nethery 
Subject: Re: Text Processing Puzzle
To: How to use Revolution 
Message-ID: <907b3214-6319-43ec-959a-c30600e4e...@kagi.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed

unicode?

On Jul 16, 2009, at 2:32 PM, Gregory Lypny wrote:


What am I missing here?





	Kee, I've never had occasion to use unicode yet.  Would you elaborate  
a little please?




On Fri, Jul 17, 2009, at 11:05 AM, Pierre Sahores wrote:


Message: 14
Date: Fri, 17 Jul 2009 10:48:36 +0200
From: Pierre Sahores 
Subject: Re: Text Processing Puzzle
To: How to use Revolution 
Message-ID: <02280324-ccdf-4cc0-9079-1c429f510...@free.fr>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes

Hi Gregory,

Is the filesize var well reinited to "0" at the begining of each new
year stories parsing ?



	Pierre, not sure what you mean here.  Because they are big, each file  
is read separately.  I don't tally the size of what I've read in; I  
just look for an end-of-file result, save my index, and delete a big  
local variable called outputRecords.


---The guts of my file reading script---

   repeat
  read from file inputFile until "Canada NewsWire"
  put the result into resultOfRead  -- Check for eof

  --Clean line feeds
  replace crlf with return in it
  replace numToChar(13) with return in it

  if resultOfRead is not empty and \
 ("Canada NewsWire" is not in it or the number of lines  
in it <= 5)

  then
 put outputRecords after url ("File:" & outputFile)
 delete local outputRecords
 exit repeat
  else
 -- The next one skips "Canada NewsWire" in the copyright  
statement on the eighth line.
 if the number of lines in it <= 5 and resultOfRead is empty  
then next repeat

  end if

-- Process the contents of the headline and story here.



Best,
--
Pierre Sahores

___
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: Timed User Input

2009-07-17 Thread Mark Smith

Rick, the 'send-in-time' could work like this:

on runTimer pTimeLeft
  if pTimeLeft is a number and pTimeLeft > 1 then
subtract 1 from pTimeLeft
put pTimeLeft into fld "timeLeft"
send "runTimer pTimeLeft" to me in 1 second
  end if
end runTimer

where, if you want to allow 30 seconds, you'd start the timer with

runTimer 30

it will then run down to 0 and stop, allowing everything else to keep  
running in the meantime.
In this case, I've imagined a field called "timeLeft" that shows the  
time left, and you could check that to see when time's up.


Best,

Mark

On 17 Jul 2009, at 16:31, Rick Harrison wrote:


Hi Marc,

No, I'm not using "with messages".  That may be the solution!
I'll give that a try.

Thanks!

Rick

On Jul 17, 2009, at 11:26 AM, Marc Siskin wrote:


Rick,

Are you using the "with messages" modifier in your timing loop?   
(e.g. wait 5 seconds with messages) This keeps the timer running  
and allows you to check for input, button clicks, etc.


Marc

On Jul 17, 2009, at 11:19 AM, Rick Harrison wrote:


Hi Mark,

I was using a repeat loop.  Hmm.. send-in-time.
What is that?

I'm not using a dialog such as answer or ask.
I was going to use a field for input, but have
been leaning more towards a multiple choice
solution with "mouseWithin", or anything else
which might work.

Rick



On Jul 17, 2009, at 11:01 AM, Mark Smith wrote:

Rick, how have you done your timer - a repeat loop or a 'send-in- 
time' ?


Best,

Mark

On 17 Jul 2009, at 15:48, Rick Harrison wrote:


I'm trying to set up a guessing game where
the user has to race against a timer to give
an answer before the time runs out.

The problem is that when the user is asked
for input, the timer stops due to the interrupt.
Or the timer keeps running, and doesn't allow
any user input.

To work correctly the timer should still be
counting down as the user is trying to
answer the question.

Any thoughts, ideas, or suggestions are
greatly appreciated.

Thanks,

Rick


___
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


__
Rick Harrison

You can buy my $10 music album "Funny Time Machine" digital CD on  
the iTunes Store Now!


To visit the iTunes Store now to listen to samples of my CD  
please click on the
following link.  (Please note you must have iTunes installed on  
your computer for this link to work.)


http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum? 
playListId=213668290



___
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



---
Marc Siskin
Manager, Modern Language Resource Center
Carnegie Mellon University
msis...@andrew.cmu.edu



___
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


__
Rick Harrison

You can buy my $10 music album "Funny Time Machine" digital CD on  
the iTunes Store Now!


To visit the iTunes Store now to listen to samples of my CD please  
click on the
following link.  (Please note you must have iTunes installed on  
your computer for this link to work.)


http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum? 
playListId=213668290



___
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: Timed User Input

2009-07-17 Thread Rick Harrison

Hi Marc,

No, I'm not using "with messages".  That may be the solution!
I'll give that a try.

Thanks!

Rick

On Jul 17, 2009, at 11:26 AM, Marc Siskin wrote:


Rick,

Are you using the "with messages" modifier in your timing loop?   
(e.g. wait 5 seconds with messages) This keeps the timer running and  
allows you to check for input, button clicks, etc.


Marc

On Jul 17, 2009, at 11:19 AM, Rick Harrison wrote:


Hi Mark,

I was using a repeat loop.  Hmm.. send-in-time.
What is that?

I'm not using a dialog such as answer or ask.
I was going to use a field for input, but have
been leaning more towards a multiple choice
solution with "mouseWithin", or anything else
which might work.

Rick



On Jul 17, 2009, at 11:01 AM, Mark Smith wrote:

Rick, how have you done your timer - a repeat loop or a 'send-in- 
time' ?


Best,

Mark

On 17 Jul 2009, at 15:48, Rick Harrison wrote:


I'm trying to set up a guessing game where
the user has to race against a timer to give
an answer before the time runs out.

The problem is that when the user is asked
for input, the timer stops due to the interrupt.
Or the timer keeps running, and doesn't allow
any user input.

To work correctly the timer should still be
counting down as the user is trying to
answer the question.

Any thoughts, ideas, or suggestions are
greatly appreciated.

Thanks,

Rick


___
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


__
Rick Harrison

You can buy my $10 music album "Funny Time Machine" digital CD on  
the iTunes Store Now!


To visit the iTunes Store now to listen to samples of my CD please  
click on the
following link.  (Please note you must have iTunes installed on  
your computer for this link to work.)


http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playListId=213668290


___
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



---
Marc Siskin
Manager, Modern Language Resource Center
Carnegie Mellon University
msis...@andrew.cmu.edu



___
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


__
Rick Harrison

You can buy my $10 music album "Funny Time Machine" digital CD on the  
iTunes Store Now!


To visit the iTunes Store now to listen to samples of my CD please  
click on the
following link.  (Please note you must have iTunes installed on your  
computer for this link to work.)


http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playListId=213668290


___
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: Timed User Input

2009-07-17 Thread DunbarX
Very cool, something HC could only dream of. Check out the "send" command,
which can be configured with a delay. But this is only a teaser; the message
can be scripted to "repeat". So you can write a handler that updates your
clock, every second, say, and the rest of the world works normally. A little
experimentation and you get a very powerful tool

Craig Newman


In a message dated 7/17/09 11:19:34 AM, harri...@all-auctions.com writes:


> Hi Mark,
>
> I was using a repeat loop.  Hmm.. send-in-time.
> What is that?
>
> I'm not using a dialog such as answer or ask.
> I was going to use a field for input, but have
> been leaning more towards a multiple choice
> solution with "mouseWithin", or anything else
> which might work.
>
> Rick
>




**
A Good Credit Score is 700 or Above. See yours in just 2 easy
steps!
(http://pr.atwola.com/promoclk/100126575x1221823307x1201398715/aol?redir=http://www.freecreditreport.com/pm/default.aspx?sc=668072&hmpgID=62&;
bcd=JulystepsfooterNO62)
___
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: Timed User Input

2009-07-17 Thread Marc Siskin

Rick,

Are you using the "with messages" modifier in your timing loop?  (e.g.  
wait 5 seconds with messages) This keeps the timer running and allows  
you to check for input, button clicks, etc.


Marc

On Jul 17, 2009, at 11:19 AM, Rick Harrison wrote:


Hi Mark,

I was using a repeat loop.  Hmm.. send-in-time.
What is that?

I'm not using a dialog such as answer or ask.
I was going to use a field for input, but have
been leaning more towards a multiple choice
solution with "mouseWithin", or anything else
which might work.

Rick



On Jul 17, 2009, at 11:01 AM, Mark Smith wrote:

Rick, how have you done your timer - a repeat loop or a 'send-in- 
time' ?


Best,

Mark

On 17 Jul 2009, at 15:48, Rick Harrison wrote:


I'm trying to set up a guessing game where
the user has to race against a timer to give
an answer before the time runs out.

The problem is that when the user is asked
for input, the timer stops due to the interrupt.
Or the timer keeps running, and doesn't allow
any user input.

To work correctly the timer should still be
counting down as the user is trying to
answer the question.

Any thoughts, ideas, or suggestions are
greatly appreciated.

Thanks,

Rick


___
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


__
Rick Harrison

You can buy my $10 music album "Funny Time Machine" digital CD on  
the iTunes Store Now!


To visit the iTunes Store now to listen to samples of my CD please  
click on the
following link.  (Please note you must have iTunes installed on your  
computer for this link to work.)


http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playListId=213668290


___
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



---
Marc Siskin
Manager, Modern Language Resource Center
Carnegie Mellon University
msis...@andrew.cmu.edu



___
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


AW: AW: AW: rawkeydown and numtochar don't work as expected

2009-07-17 Thread Tiemo Hollmann TB
Good question, I have to dig into it :)
Thanks

> -Ursprüngliche Nachricht-
> Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
> boun...@lists.runrev.com] Im Auftrag von Richmond Mathewson
> Gesendet: Freitag, 17. Juli 2009 17:18
> An: How to use Revolution
> Betreff: Re: AW: AW: rawkeydown and numtochar don't work as expected
> 
> Tiemo Hollmann TB wrote:
> > Thanks for the idea Richmond, I have to try how to arrange with my
> > rawkeydown
> > Tiemo
> >
> >
> Why is it so important that you use rawKeyDown rather than keyDown ?
> >> -Ursprüngliche Nachricht-
> >> Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
> >> boun...@lists.runrev.com] Im Auftrag von Richmond Mathewson
> >> Gesendet: Freitag, 17. Juli 2009 15:36
> >> An: How to use Revolution
> >> Betreff: Re: AW: rawkeydown and numtochar don't work as expected
> >>
> >> Tiemo Hollmann TB wrote:
> >>
> >>> Hi Richmond,
> >>> thats exactly, what I've done (exept it were two fields), but testing
> >>>
> >> your
> >>
> >>> approach gives me my same (wrong) result.
> >>> I am working with Rev 3.5 on Win XP, german keyboard
> >>> ? returns: {
> >>> ; returns: <
> >>> : returns: >
> >>> ( returns: *
> >>> ß returns: [
> >>>
> >>> any idea, what is going wrong here?
> >>> Thanks
> >>> Tiemo
> >>>
> >>>
> >> Well, I just tried this:
> >>
> >> Opened up my trial stack with the Bulgarian keyboard layout:
> >>
> >> now when I press the key that should give me '?' I get something else.
> >>
> >> This is because rawKeyDown gives you the underlying key, not what is
> >> specified by your keyboard layout; and as Windows XP and Mac are made
> >> in North America, the underlying key is the standard USA key.
> >>
> >> HOWEVER . . .
> >>
> >> on keyDown QUAY
> >>   put QUAY into fld "PROB"
> >> end keyDown
> >>
> >> will do what you want it to.
> >>
> >> Love, Richmond.
> >>
> >>
> 
> ___
> 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: Timed User Input

2009-07-17 Thread Rick Harrison

Hi Mark,

I was using a repeat loop.  Hmm.. send-in-time.
What is that?

I'm not using a dialog such as answer or ask.
I was going to use a field for input, but have
been leaning more towards a multiple choice
solution with "mouseWithin", or anything else
which might work.

Rick



On Jul 17, 2009, at 11:01 AM, Mark Smith wrote:

Rick, how have you done your timer - a repeat loop or a 'send-in- 
time' ?


Best,

Mark

On 17 Jul 2009, at 15:48, Rick Harrison wrote:


I'm trying to set up a guessing game where
the user has to race against a timer to give
an answer before the time runs out.

The problem is that when the user is asked
for input, the timer stops due to the interrupt.
Or the timer keeps running, and doesn't allow
any user input.

To work correctly the timer should still be
counting down as the user is trying to
answer the question.

Any thoughts, ideas, or suggestions are
greatly appreciated.

Thanks,

Rick


___
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


__
Rick Harrison

You can buy my $10 music album "Funny Time Machine" digital CD on the  
iTunes Store Now!


To visit the iTunes Store now to listen to samples of my CD please  
click on the
following link.  (Please note you must have iTunes installed on your  
computer for this link to work.)


http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAlbum?playListId=213668290


___
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: AW: AW: rawkeydown and numtochar don't work as expected

2009-07-17 Thread Richmond Mathewson

Tiemo Hollmann TB wrote:

Thanks for the idea Richmond, I have to try how to arrange with my
rawkeydown
Tiemo

  

Why is it so important that you use rawKeyDown rather than keyDown ?

-Ursprüngliche Nachricht-
Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
boun...@lists.runrev.com] Im Auftrag von Richmond Mathewson
Gesendet: Freitag, 17. Juli 2009 15:36
An: How to use Revolution
Betreff: Re: AW: rawkeydown and numtochar don't work as expected

Tiemo Hollmann TB wrote:


Hi Richmond,
thats exactly, what I've done (exept it were two fields), but testing
  

your


approach gives me my same (wrong) result.
I am working with Rev 3.5 on Win XP, german keyboard
? returns: {
; returns: <
: returns: >
( returns: *
ß returns: [

any idea, what is going wrong here?
Thanks
Tiemo

  

Well, I just tried this:

Opened up my trial stack with the Bulgarian keyboard layout:

now when I press the key that should give me '?' I get something else.

This is because rawKeyDown gives you the underlying key, not what is
specified by your keyboard layout; and as Windows XP and Mac are made
in North America, the underlying key is the standard USA key.

HOWEVER . . .

on keyDown QUAY
  put QUAY into fld "PROB"
end keyDown

will do what you want it to.

Love, Richmond.




___
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


What is the current phrase for Rev in about windows?

2009-07-17 Thread Mark Stuart
Written by jim sims on Fri Jul 17, 2009 - 10:05 AM CDT
>>
I'm finishing up a shareware app - can someone tell me:
What is the current phrase for Rev in about windows?
Would "Made with RunRev" do the job?
sims
<<

Hi Jim, I place this in the Windows Help About stack:

Development Info: (underlined)
Built using Runtime Revolution Studio v3.5

Author Info: (underlined)
Mark F. Stuart

Copyright (c) 2009 - All rights reserved Mark F. Stuart

HTH U,
Mark Stuart
Email has been scanned for viruses by Altman Technologies' email management 
service - 
www.altman.co.uk/emailsystems___
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 the current phrase for Rev in about windows?

2009-07-17 Thread Richmond Mathewson

jim sims wrote:

I'm finishing up a shareware app - can someone tell me:

What is the current phrase for Rev in about windows?

Would "Made with RunRev" do the job?

sims


That is all part of what we are waiting for.  :)

Many years ago, in Bulgaria, under communism, my wife
worked as an interpreter in a typewriter factory.

There was a room in the factory 'affectionately' known
as the "Wait a Bit" room. One night, as the janitor was
locking up the factory he discovered some Japanese
businessman who had been 'waiting a bit' in that room
for 8 hours. Being unable to speak Bulgarian, and extremely
polite, these poor chaps (unlike a certain, coarse Scotsman
I know) had patiently waited for . . . .
___
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


AW: AW: rawkeydown and numtochar don't work as expected

2009-07-17 Thread Tiemo Hollmann TB
Thanks for the idea Richmond, I have to try how to arrange with my
rawkeydown
Tiemo

> -Ursprüngliche Nachricht-
> Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
> boun...@lists.runrev.com] Im Auftrag von Richmond Mathewson
> Gesendet: Freitag, 17. Juli 2009 15:36
> An: How to use Revolution
> Betreff: Re: AW: rawkeydown and numtochar don't work as expected
> 
> Tiemo Hollmann TB wrote:
> > Hi Richmond,
> > thats exactly, what I've done (exept it were two fields), but testing
> your
> > approach gives me my same (wrong) result.
> > I am working with Rev 3.5 on Win XP, german keyboard
> > ? returns: {
> > ; returns: <
> > : returns: >
> > ( returns: *
> > ß returns: [
> >
> > any idea, what is going wrong here?
> > Thanks
> > Tiemo
> >
> >
> Well, I just tried this:
> 
> Opened up my trial stack with the Bulgarian keyboard layout:
> 
> now when I press the key that should give me '?' I get something else.
> 
> This is because rawKeyDown gives you the underlying key, not what is
> specified by your keyboard layout; and as Windows XP and Mac are made
> in North America, the underlying key is the standard USA key.
> 
> HOWEVER . . .
> 
> on keyDown QUAY
>   put QUAY into fld "PROB"
> end keyDown
> 
> will do what you want it to.
> 
> Love, Richmond.
> ___
> 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


Unicode capability expansion

2009-07-17 Thread Richmond Mathewson

Having "fiddled around" with unicode rcecently it has
become clear (unless I have missed something) that
Revolution can only cope with characters from the
Basic Multilingual Plane - i.e. chars up to 65535 (hex ).

This is a real limitation that stands in the way of a lot of
programming possibilities with Revolution.

I am unaware of how most comparable RADS handle
unicode (Supercard simply doesn't).

I would urge the expansion of unicode capabilities
as a top priority.
___
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: Timed User Input

2009-07-17 Thread DunbarX
I actually read the original post. It seems that sending messages at 
intervals will update your clock but keep the IDE open for other tasks, like 
clicking a button.

Craig Newman


**
A Good Credit Score is 700 or Above. See yours in 
just 2 easy steps! 
(http://pr.atwola.com/promoclk/100126575x1221823307x1201398715/aol?redir=http://www.freecreditreport.com/pm/default.aspx?sc=668072&;
hmpgID=62&bcd=JulystepsfooterNO62)
___
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


What is the current phrase for Rev in about windows?

2009-07-17 Thread jim sims

I'm finishing up a shareware app - can someone tell me:

What is the current phrase for Rev in about windows?

Would "Made with RunRev" do the job?


sims



___
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: Timed User Input

2009-07-17 Thread DunbarX
I am guessing that you are using an "ask" or "answer" dialog box, and this 
suspends normal operations, being a modal gadget.

Why not display a suite of fields and buttons, nicely contained in some 
form? This affects no other part of the system.

Or, as usual, am I missing the point/

Craig Newman

In a message dated 7/17/09 10:48:26 AM, harri...@all-auctions.com writes:


> 
> Thanks,
> 




**
A Good Credit Score is 700 or Above. See yours in just 2 easy 
steps! 
(http://pr.atwola.com/promoclk/100126575x1221823307x1201398715/aol?redir=http://www.freecreditreport.com/pm/default.aspx?sc=668072&hmpgID=62&;
bcd=JulystepsfooterNO62)
___
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: Timed User Input

2009-07-17 Thread stephen barncard
Don't use a modal ask dialog for user input. Use a field and button on the
card instead.

-
Stephen Barncard
San Francisco
http://barncard.com


2009/7/17 Mark Smith 

> Rick, how have you done your timer - a repeat loop or a 'send-in-time' ?
>
> Best,
>
> Mark
>
>
> On 17 Jul 2009, at 15:48, Rick Harrison wrote:
>
>  I'm trying to set up a guessing game where
>> the user has to race against a timer to give
>> an answer before the time runs out.
>>
>> The problem is that when the user is asked
>> for input, the timer stops due to the interrupt.
>> Or the timer keeps running, and doesn't allow
>> any user input.
>>
>> To work correctly the timer should still be
>> counting down as the user is trying to
>> answer the question.
>>
>> Any thoughts, ideas, or suggestions are
>> greatly appreciated.
>>
>> Thanks,
>>
>> Rick
>>
>>
>> ___
>> 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


Re: Timed User Input

2009-07-17 Thread Mark Smith

Rick, how have you done your timer - a repeat loop or a 'send-in-time' ?

Best,

Mark

On 17 Jul 2009, at 15:48, Rick Harrison wrote:


I'm trying to set up a guessing game where
the user has to race against a timer to give
an answer before the time runs out.

The problem is that when the user is asked
for input, the timer stops due to the interrupt.
Or the timer keeps running, and doesn't allow
any user input.

To work correctly the timer should still be
counting down as the user is trying to
answer the question.

Any thoughts, ideas, or suggestions are
greatly appreciated.

Thanks,

Rick


___
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


Timed User Input

2009-07-17 Thread Rick Harrison

I'm trying to set up a guessing game where
the user has to race against a timer to give
an answer before the time runs out.

The problem is that when the user is asked
for input, the timer stops due to the interrupt.
Or the timer keeps running, and doesn't allow
any user input.

To work correctly the timer should still be
counting down as the user is trying to
answer the question.

Any thoughts, ideas, or suggestions are
greatly appreciated.

Thanks,

Rick


___
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: Another (slightly silly) way to show animations on Linux

2009-07-17 Thread Richmond Mathewson

Pierre Sahores wrote:

Hello Richmond,

Does the playback work as fluently as in using as a QT or WMV 
videoplayer ? i will test your proposal as soon as possible...


Kind Regards,
--
Pierre Sahores
As far as I can see.  Also, on Linux you would not get very far with 
either QT or WMV player.


This method requires NO  MPlayer or media codexes to be installed on an
end user's Linux box; nor, for that matter, QT or WMV or codexes on either
Mac or Win.

And I have always seen the above as the besetting problem for people
wanting to deliver multimedia to end-users.

If you can "boil down" your source images using some sort of batch 
conversion

to a relatively small size it might just pay off.

I also messed around with:

a graphic object and the following script;

on mouseUp
 put 1003 into FRAMEK
 repeat for 356 times
   add 1 to FRAMEK
   set the backgroundPattern of grc "SHOWTIME" to FRAMEK
   wait 2 ticks
 end repeat
end mouseUp

now, even when the dimensions of the grc were
the same as the images there were complications -

On Mac the whole thing was a mess with sections of the images
in a "tiled" effect, which if you cannot afford drugs to make your
brain go funny would do the trick.

This worked as well as setting the icon of a button on Ubuntu.


___
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: AW: rawkeydown and numtochar don't work as expected

2009-07-17 Thread Richmond Mathewson

Tiemo Hollmann TB wrote:

Hi Richmond,
thats exactly, what I've done (exept it were two fields), but testing your
approach gives me my same (wrong) result.
I am working with Rev 3.5 on Win XP, german keyboard
? returns: {
; returns: <
: returns: >
( returns: *
ß returns: [

any idea, what is going wrong here?
Thanks
Tiemo
 
  

Well, I just tried this:

Opened up my trial stack with the Bulgarian keyboard layout:

now when I press the key that should give me '?' I get something else.

This is because rawKeyDown gives you the underlying key, not what is
specified by your keyboard layout; and as Windows XP and Mac are made
in North America, the underlying key is the standard USA key.

HOWEVER . . .

on keyDown QUAY
 put QUAY into fld "PROB"
end keyDown

will do what you want it to.

Love, Richmond.
___
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: message path help

2009-07-17 Thread Thierry


Le 17 juil. 09 à 10:39, Shao Sean a écrit :

if i am to understand the message path correctly any groups with  
backgroundBehavior set to TRUE will be behind the card in terms of  
the message path, but the follow does not work


- create new stack
- create three buttons (A, B, C)
- group button A
-- group script: on moo; put the seconds; end moo
-- group properties: set the backgroundBehaior to TRUE
- button B & C script: on mouseUp; moo; end mouseUp
- group button C

click on button B, the code works
click on button C, the code does not work


Hi,

you may see this bug , probably related ?

http://quality.runrev.com/qacenter/show_bug.cgi?id=7670

HTH,
Thierry

___
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


AW: rawkeydown and numtochar don't work as expected

2009-07-17 Thread Tiemo Hollmann TB
Hi Richmond,
thats exactly, what I've done (exept it were two fields), but testing your
approach gives me my same (wrong) result.
I am working with Rev 3.5 on Win XP, german keyboard
? returns: {
; returns: <
: returns: >
( returns: *
ß returns: [

any idea, what is going wrong here?
Thanks
Tiemo
 

> -Ursprüngliche Nachricht-
> Von: use-revolution-boun...@lists.runrev.com [mailto:use-revolution-
> boun...@lists.runrev.com] Im Auftrag von Richmond Mathewson
> Gesendet: Freitag, 17. Juli 2009 13:06
> An: How to use Revolution
> Betreff: Re: rawkeydown and numtochar don't work as expected
> 
> Tiemo Hollmann TB wrote:
> > Hello,
> >
> > I am trying to capture a field input with rawkeydown and after doing
> some
> > other processings to regenerate the input with numtochar.
> >
> > For all a-zA-Z1-0 it works fine and also for some special char, like
> "!,.-",
> > But for other input, like "?;:_" the numtochar function returns other
> values
> > as my input. All signs are lower than 255, some are lower than 127, some
> are
> > greater than 126.
> >
> > Is this a matter of the charset - what I can't change - , or another
> thing I
> > forgot or am I on the wrong lane at all and it can't be done, what I
> want?
> >
> > Thanks for your experience
> >
> > Tiemo
> >
> I may be misreading your message, BUT:
> 
> I set up a stack with a single card containing a fld called "PROB",
> 
> the cardScript is as follows:
> 
> on rawKeyDown QUAY
>   put numToChar(QUAY) into fld "PROB"
> end rawKeyDown
> 
> so every time I press a key on my keyboard it should show up
> in fld "PROB"
> 
> all the problematic keyDowns you mentioned ( ?;:_  ) work fine.
> 
> This is on a G4 Mac (RR 2.6.1) and on Ubuntu '86 8.04.3 LTS (RR 2.2.1).
> ___
> 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: Another (slightly silly) way to show animations on Linux

2009-07-17 Thread Pierre Sahores

Hello Richmond,

Does the playback work as fluently as in using as a QT or WMV  
videoplayer ? i will test your proposal as soon as possible...


Kind Regards,
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


Le 17 juil. 09 à 11:32, Richmond Mathewson a écrit :

Horribly wasteful in terms of file size, but guarantees no  
dependency on

external components.

This will allow you to show a SILENT "film sequence":

1.  Export your movie file to images (say 25 per second).

2. Import them into a hidden card in your stack [think BLOATWARE].

3. On the card where you want to present the film/animation;

  set up a button that has the exact dimensions of the images

  set the Button title to HIDDEN.

4.  Pop a script like this into your button:

on mouseUp
put 1003 into FRAMEK
repeat for 356 times
  add 1 to FRAMEK
  set the icon of btn "Button" to FRAMEK
  wait 2 ticks
end repeat
end mouseUp

I am not uploading my example stack anywhere, because with
356 frames of 256 Grayscale PNGs it weighs in at 11.5 MB.

-

The only POSSIBLE advantages of this method are the lack of
dependence on external stuff such as MPlayer, and that it
guarantees that the images look how they should, rather
than the way a lot of image "go funny" when made into an
animated GIF.
___
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: Another (slightly silly) way to show animations on Linux

2009-07-17 Thread Richmond Mathewson

Ian Wood wrote:


On 17 Jul 2009, at 11:32, Richmond Mathewson wrote:


I am not uploading my example stack anywhere, because with
356 frames of 256 Grayscale PNGs it weighs in at 11.5 MB.


JPEG would probably drop that quite a bit further, even with the extra 
channels.


Ian
Quite possibly: however I really wouldn't bother with this method, 
considering
the overheads - just couldn't sleep very well last night; and you know 
how the mind wanders

at funny times of the night . . .
___
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: rawkeydown and numtochar don't work as expected

2009-07-17 Thread Richmond Mathewson

Tiemo Hollmann TB wrote:

Hello,

I am trying to capture a field input with rawkeydown and after doing some
other processings to regenerate the input with numtochar.

For all a-zA-Z1-0 it works fine and also for some special char, like "!,.-",
But for other input, like "?;:_" the numtochar function returns other values
as my input. All signs are lower than 255, some are lower than 127, some are
greater than 126.

Is this a matter of the charset - what I can't change - , or another thing I
forgot or am I on the wrong lane at all and it can't be done, what I want?

Thanks for your experience

Tiemo
  

I may be misreading your message, BUT:

I set up a stack with a single card containing a fld called "PROB",

the cardScript is as follows:

on rawKeyDown QUAY
 put numToChar(QUAY) into fld "PROB"
end rawKeyDown

so every time I press a key on my keyboard it should show up
in fld "PROB"

all the problematic keyDowns you mentioned ( ?;:_  ) work fine.

This is on a G4 Mac (RR 2.6.1) and on Ubuntu '86 8.04.3 LTS (RR 2.2.1).
___
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: Another (slightly silly) way to show animations on Linux

2009-07-17 Thread Ian Wood


On 17 Jul 2009, at 11:32, Richmond Mathewson wrote:


I am not uploading my example stack anywhere, because with
356 frames of 256 Grayscale PNGs it weighs in at 11.5 MB.


JPEG would probably drop that quite a bit further, even with the extra  
channels.


Ian
___
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


rawkeydown and numtochar don't work as expected

2009-07-17 Thread Tiemo Hollmann TB
Hello,

I am trying to capture a field input with rawkeydown and after doing some
other processings to regenerate the input with numtochar.

For all a-zA-Z1-0 it works fine and also for some special char, like "!,.-",
But for other input, like "?;:_" the numtochar function returns other values
as my input. All signs are lower than 255, some are lower than 127, some are
greater than 126.

Is this a matter of the charset - what I can't change - , or another thing I
forgot or am I on the wrong lane at all and it can't be done, what I want?

Thanks for your experience

Tiemo

 

 

 

___
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


Another (slightly silly) way to show animations on Linux

2009-07-17 Thread Richmond Mathewson

Horribly wasteful in terms of file size, but guarantees no dependency on
external components.

This will allow you to show a SILENT "film sequence":

1.  Export your movie file to images (say 25 per second).

2. Import them into a hidden card in your stack [think BLOATWARE].

3. On the card where you want to present the film/animation;

   set up a button that has the exact dimensions of the images

   set the Button title to HIDDEN.

4.  Pop a script like this into your button:

on mouseUp
 put 1003 into FRAMEK
 repeat for 356 times
   add 1 to FRAMEK
   set the icon of btn "Button" to FRAMEK
   wait 2 ticks
 end repeat
end mouseUp

I am not uploading my example stack anywhere, because with
356 frames of 256 Grayscale PNGs it weighs in at 11.5 MB.

-

The only POSSIBLE advantages of this method are the lack of
dependence on external stuff such as MPlayer, and that it
guarantees that the images look how they should, rather
than the way a lot of image "go funny" when made into an
animated GIF.
___
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: Text Processing Puzzle

2009-07-17 Thread Pierre Sahores

Hi Gregory,

Is the filesize var well reinited to "0" at the begining of each new  
year stories parsing ?


Best,
--
Pierre Sahores
mobile : 06 03 95 77 70
www.sahores-conseil.com


Le 16 juil. 09 à 23:32, Gregory Lypny a écrit :


Hello everyone,

	Sorry for the long message.  I'm scratching my head on this one,  
and I'd be interested to know what you think.  I'm doing some  
research processing stories released by Canada NewsWire from 1999  
through 2003.  I've got one text file of stories for each year, five  
in total.  I created a Revolution stack to read these flat files,  
identify where each story begins and ends (see the Sample Story at  
the bottom of this message), and grab the headlines and some other  
information.


	What I expected to find is that number of stories would grow year  
by year with the growing popularity of news on the Internet.  And  
that is true, except for the last year, 2003, where the number of  
stories is the lowest (see table Stats on the Stories).  What  
doesn't make sense is that 2003 is the biggest file at 144 MB.  So,  
I figure there must be something in my script that is causing me to  
skip stories in 2003 but I can't find it.  I identify the start of  
each story by the five lines like those in the sample that have


cnnw20011206dxc600795
592 Words
06 December 2001
16:57 GMT
Canada NewsWire

I've browsed through the 2003 file and the format does not appear to  
have changed.  I also replaced line endings for every block of text  
I read in to make sure that isn't messing me up.


replace crlf with return in it
replace numToChar(13) with return in it

	The average number of words per story has remained roughly the same  
for all five years, so how is it that the 2003 file can be roughly  
three times bigger than the 1999 file yet have 4,000 fewer stories!   
What am I missing here?


Regards,

Gregory


STATS ON THE STORIES

YearNumber of stories   Number of words File 
size (MB)
199917,653  7,950,395   53.8
200025,887  13,714,615  92.4
200132,764  17,996,931  121.3
200237,403  20,160,555  137
200313,668  8,341,830   144.2


SAMPLE STORY

Factiva (R) Dow Jones & Reuters
-
Yahoo! Canada en francais launches Shopping Guide
cnnw20011206dxc600795
592 Words
06 December 2001
16:57 GMT
Canada NewsWire
English
(Copyright Canada NewsWire 2001)

Search in French, Connect in French and now buy in French on Yahoo!

Canada en francais

Yahoo! Canada en francais - always open

TORONTO, Dec. 6 /CNW/ - Yahoo! Canada en francais today announced  
the launch of a new shopping guide for French speaking Canadian  
consumers. Yahoo! Canada en francais Shopping is an ideal solution  
for francophones who want the convenience of shopping from home,  
plus a variety of shopping options. Shoppers can get started right  
away by going to francais.yahoo.ca Shop now and check out great  
Canadian stores like Compaq Canada, Sony Style, and Camelot, a  
division owned by Archambault.

___
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


message path help

2009-07-17 Thread Shao Sean
if i am to understand the message path correctly any groups with  
backgroundBehavior set to TRUE will be behind the card in terms of  
the message path, but the follow does not work


- create new stack
- create three buttons (A, B, C)
- group button A
-- group script: on moo; put the seconds; end moo
-- group properties: set the backgroundBehaior to TRUE
- button B & C script: on mouseUp; moo; end mouseUp
- group button C

click on button B, the code works
click on button C, the code does not work

Now my understanding of the message path is something like this:
frontScript > control > parentScript > group > card > background >  
stack > backScript > library > mainStack > engine


should the above example work?
___
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