Re: Sidescroller (Parallax)

2006-07-27 Thread J. Landman Gay

Malte Brill wrote:

Hi all,

there was some discussion about side scroller games recently. Today was 
way too hot to do something serious, so I played with parallax scrollers 
a bit. Here is what I have come up with. Quick and dirty.


This is really lovely! Nice job.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: LibURL Error Previous request not completed

2006-07-27 Thread Chipp Walters

Mark,

Here's a suggestion. Just send you listing requent in 300 millisecs
(or whatever works). That should give libURL some time to reset.

-Chipp
___
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: RLE

2006-07-27 Thread Dar Scott


On Jul 27, 2006, at 8:04 PM, Ben Rubinstein wrote:


function dumpHex tData, iBytesPerRow --> tHex


That's funny!  I have the same function with the same name.  Great  
minds think alike.


(set the global paintCompression to rle, set the imagedata of the  
image to itself, change card


I think the change card is what I keep forgetting for newly drawn  
images.  Are there alternatives to changing the card?


I need to read up on paintCompression.

Dar Scott

___
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: Sidescroller (Parallax)

2006-07-27 Thread Chipp Walters

Brilliant Malte!

I wonder what the window size limitations are for scrolling a single image?

Thanks for sharing :-)
___
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: Sidescroller (Parallax)

2006-07-27 Thread Andre Garzia

Malte,

I LOVE PARALLAX EFFECTS!!!

When I coded in DOS in pascal, my dream was to create side  
scrollers!!! very nice stack!!! Thanks


Andre

On Jul 27, 2006, at 11:12 PM, Malte Brill wrote:


go stack URL "http://www.derbrill.com/aforest.rev";


___
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


Sidescroller (Parallax)

2006-07-27 Thread Malte Brill

Hi all,

there was some discussion about side scroller games recently. Today  
was way too hot to do something serious, so I played with parallax  
scrollers a bit. Here is what I have come up with. Quick and dirty.


From your Messagebox:

go stack URL "http://www.derbrill.com/aforest.rev";

(half a meg, so if you are on dial up it might take a while.)

or download the zipped version:

http://www.derbrill.com/aforest.rev.zip

Hope you like it, even though I must admit it is still a bit too CPU  
hungry.


All the best,

Malte
___
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: RLE

2006-07-27 Thread Ben Rubinstein

On 28/7/06 00:50, Dar Scott wrote:
For the record, I'm pretty certain that isn't Utah RLE, but a very 
very very

much simpler format.  Take a look at it and see.


How can I if it is internal?  Or do you mean Utah?  Yeah, if Utah was 
simple, I would have just run the experiment.


function dumpHex tData, iBytesPerRow --> tHex
  put empty into tHex
  put 0 into n
  repeat for each char c in tData
put format("%02x ", chartonum(c)) after tHex
add 1 to n
if n mod iBytesPerRow = 0 then put return after tHex
  end repeat
  return tHex
end dumpHex


Get a copy of the beachball cursor, force it to be RLE (set the global 
paintCompression to rle, set the imagedata of the image to itself, change 
card) then try

put dumpHex(the imageData of image 1, 64)
and
put dumpHex(the text of image 1, 5)

  Ben Rubinstein   |  Email: [EMAIL PROTECTED]
  Cognitive Applications Ltd   |  Phone: +44 (0)1273-821600
  http://www.cogapp.com|  Fax  : +44 (0)1273-728866

___
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: VB COM in Revolution?

2006-07-27 Thread Ken Ray
On 7/27/06 4:17 PM, "Mark Wieder" <[EMAIL PROTECTED]> wrote:

> rev <--> vbScript <--> COM
> 
> Note, however, that as a general-purpose solution this will raise
> problems with virus checkers. This may therefore cause some user
> consternation as well as problems with corporate systems where the
> security policy to disallow the execution of vbScripts can't be
> changed.

You can avoid virus checkers by wrapping the COM calls in a "normal" DLL (or
one developed in VB if you like):

  http://www.sonsothunder.com/devres/revolution/tips/ext002.htm


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


___
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: RLE

2006-07-27 Thread Dar Scott


On Jul 27, 2006, at 5:19 PM, Ben Rubinstein wrote:

I'm having trouble understanding why anyone wants it.  (This is  
sincere, not

snide.)


I'm just trying to learn if I want it.

But why does anyone care what the RLE format is?  It's just used  
internally.
We don't need to understand the internal format that a field's data  
is stored

in, as long as we can get at it by properties.


If it is just internal than I don't think I care.

For the record, I'm pretty certain that isn't Utah RLE, but a very  
very very

much simpler format.  Take a look at it and see.


How can I if it is internal?  Or do you mean Utah?  Yeah, if Utah was  
simple, I would have just run the experiment.



But I still wish someone
would explain to me why so many people seem to care?


I can guess.  Well, there are problems in getting the size and  
imageData right at the same time.  Also, I'm told it is based, not on  
the image, but on the display of the image.  I think the size and  
angle might affect it.  Also, Chipp has found that it is not the same  
platform to platform, that it seems be a collection of some rendering  
values.  My experiments show that PNG gamma affects the imageData  
values.  It has problems with a newly drawn image.  It doesn't  
collect size and pixels including alpha all in one place.  It doesn't  
have room for comments (I think the unused bytes in imageData become  
zeros or did at one time).  Maybe it would be less of a draw if  
imageData worked as expected.


Dar

___
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: LibURL Error Previous request not completed

2006-07-27 Thread Dan Shafer

I had this problem repeatedly during recent attempts to create an FTP-based
app. I found that after receiving that error, I could resubmit the request
and almost 100% of the time it would process successfully.



On 7/27/06, Mark Schonewille <[EMAIL PROTECTED]> wrote:


Hi,

Right after uploading a dozen of files to my ftp account
asynchronically using the libUrlFtpUploadFile command, I can't get a
directory listing using the syntax: get url "ftp://
name:[EMAIL PROTECTED]/folder/" (note the trailing slash, as I want
a listing). Most of the time I receive the error "Error Previous
request not completed".

It appears the GetURL handler in the revLibURL script doesn't let me
get the url because the variable lvBlockingUrl is not empty. Although
everything has been uploaded/downloaded already, lbBlockingUrl
indicates that one or more transfers are still in progress. So, in
the GetURL handler, I changed the line which checks whether any url's
are currently being handled and added variable to force the handler
to run normally:

   if lvBlockingUrl is empty or lvBlockBypass is true or
lvAuthBlockBypass is true or lOverrideBlockingUrls is true then

The variable lOverrideBlockingUrls is from me and is set using an
additional command. If lOverrideBlockingUrls is true, getUrl still
runs as expected. I am not sure that this is a solution, though.

Additionally, many repeat loops like these

if laLoadReq[tUrlHolder] is empty then
 repeat until laStatus[tUrlHolder] is not empty
   if lvJumpOut then exit to top
   wait for messages
 end repeat
   end if

in LibURL never finish. Probably, this means the laStatus[tUrlHolder]
is always empty or lvJumpOut is always false.

First, I would like to know, is this likely to be a bug in the libURL
library, or am I doing something wrong? Second, before I start
debugging libUrl, is there a simple way to prevent this problem from
occurring and did anyone see this problem before? If there is no
solution for this problem yet, what would be a good place in the
library to start debugging? I need to solve this problem now, so
every idea is more than welcome.

I'm using Rev 2.7.2 on Mac OS X 10.4.7.

Best,

Mark

--


Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Download ErrorLib at http://economy-x-talk.com/developers.html and
get full control of error handling in 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





--
~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"

From http://www.shafermediastore.com/tech_main.html

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Why is the imagedata value different from Win32 to MacOS platforms?

2006-07-27 Thread Ben Rubinstein

On 25/7/06 15:04, Joel Guillod wrote:
For image processing I have to extract the RGB values from an imagedata 
of an image but I got different results under MacOSX and Win32.
I found that the imagedata values is different between the two platform: 
every color component of pixels is slighty changed. I have not found in 
the documentation such a change depending on the platform. Notice that 
 is identical between both platform.


Could anyone give me a clue?


Joel,

Is it possible that your Mac and Windows platforms were at different depths?

I did a few tests, and noticed that the histogram of an image imported under 
Windows was much 'cruder' than the same image imported under Mac.  It occured 
to me that Windows was using some cheaper algorithm to expand the JPEG data, 
not using as many bits per pixel.  Then I checked, and found that my Windows 
machine (actually a VPC on my Mac running in 24-bit) was in 16-bit colour. 
When I changed the Windows one to 24 bit, they had the same imageData.


So - unless you tell me that they were both set to 24-bit colour - I think 
there's a perfectly straightforward explanation.


The image is imported from a JPEG file; Rev stores the actual JPEG data as the 
'text' of the image, ie what gets actually saved in the stack file.  When the 
image is displayed, it is rendered into a buffer, which is probably the same 
depth as the screen (or alternatively, perhaps the buffer is always 24-bit, 
but the JPEG expansion code operates in a way based on the screen depth). 
Either way, when you ask for the imageData, you're getting a 5-bits per 
channel pixmap expanded to 8-bits per channel - hence the slight differences.


  Ben Rubinstein   |  Email: [EMAIL PROTECTED]
  Cognitive Applications Ltd   |  Phone: +44 (0)1273-821600
  http://www.cogapp.com|  Fax  : +44 (0)1273-728866

___
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: RLE

2006-07-27 Thread Ben Rubinstein

On 27/7/06 23:44, Dar Scott wrote:
The impression I get from several comments on this list is that I can 
drop "RLE" data into an image (and it work).


Is this a homemade RLE format that Scott made?  Or is this a standard 
Like the Utah RLE?  If a standard, are only certain options allowed?


What are the details on this format?  Can I make one and set the text of 
an image to it?  Can this be exported?


I found Utah RLE here:

http://www.martinreddy.net/gfx/2d/RLE.txt

Long, long ago I knew a kid who ran into the house the night after 
getting his glasses and called out "Mommy, mommy!  There really are stars!"


I'm having trouble believing that this legendary RLE exists.


I'm having trouble understanding why anyone wants it.  (This is sincere, not
snide.)

If you want to examine the pixels of an image, or modify it, use the
imageData.  It's by far the easiest format to work with.

If you want to create an image based on data in a standard format, use the
import command.  If the data is in memory, I can't imagine many situations in
which it's tough to bounce it off a temporary file on disk.  If the format is
PNG or JPEG or GIF and you really don't want to store it temporarily in a
file, you may be able to set the paintCompression appropriately and then set
the 'text' - I'm not sure if this works (or if paintCompression makes a
difference to the interpretation of the incoming data).

If you want to do the reverse, create a description in a standard format, 
based on an existing image, use the export command.  Maybe you can also get 
the 'text' of the image, but I don't see the advantage given that you can 
'export' into a wider range of formats, and can do so into a container or file.


If you really want to change the format in which the image is stored
internally in the stack record you can: change the global paintCompression and
then modify the image (I think just "set the imagedata ... to the
imagedata..." will do it) and change card.  But again, I can't imagine why
you'd want to do this, which will generally reduce image quality.  (I suppose
there might be a few cases in which you know that you can reduce the stored
size of the image without reducing image quality, or where you're prepared to
accept the quality loss.)

But why does anyone care what the RLE format is?  It's just used internally.
We don't need to understand the internal format that a field's data is stored
in, as long as we can get at it by properties.

For the record, I'm pretty certain that isn't Utah RLE, but a very very very
much simpler format.  Take a look at it and see.  But I still wish someone
would explain to me why so many people seem to care?

  Ben Rubinstein   |  Email: [EMAIL PROTECTED]
  Cognitive Applications Ltd   |  Phone: +44 (0)1273-821600
  http://www.cogapp.com|  Fax  : +44 (0)1273-728866


___
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


LibURL Error Previous request not completed

2006-07-27 Thread Mark Schonewille

Hi,

Right after uploading a dozen of files to my ftp account  
asynchronically using the libUrlFtpUploadFile command, I can't get a  
directory listing using the syntax: get url "ftp:// 
name:[EMAIL PROTECTED]/folder/" (note the trailing slash, as I want  
a listing). Most of the time I receive the error "Error Previous  
request not completed".


It appears the GetURL handler in the revLibURL script doesn't let me  
get the url because the variable lvBlockingUrl is not empty. Although  
everything has been uploaded/downloaded already, lbBlockingUrl  
indicates that one or more transfers are still in progress. So, in  
the GetURL handler, I changed the line which checks whether any url's  
are currently being handled and added variable to force the handler  
to run normally:


  if lvBlockingUrl is empty or lvBlockBypass is true or  
lvAuthBlockBypass is true or lOverrideBlockingUrls is true then


The variable lOverrideBlockingUrls is from me and is set using an  
additional command. If lOverrideBlockingUrls is true, getUrl still  
runs as expected. I am not sure that this is a solution, though.


Additionally, many repeat loops like these

if laLoadReq[tUrlHolder] is empty then
repeat until laStatus[tUrlHolder] is not empty
  if lvJumpOut then exit to top
  wait for messages
end repeat
  end if

in LibURL never finish. Probably, this means the laStatus[tUrlHolder]  
is always empty or lvJumpOut is always false.


First, I would like to know, is this likely to be a bug in the libURL  
library, or am I doing something wrong? Second, before I start  
debugging libUrl, is there a simple way to prevent this problem from  
occurring and did anyone see this problem before? If there is no  
solution for this problem yet, what would be a good place in the  
library to start debugging? I need to solve this problem now, so  
every idea is more than welcome.


I'm using Rev 2.7.2 on Mac OS X 10.4.7.

Best,

Mark

--


Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Download ErrorLib at http://economy-x-talk.com/developers.html and  
get full control of error handling in 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


RLE

2006-07-27 Thread Dar Scott
The impression I get from several comments on this list is that I can  
drop "RLE" data into an image (and it work).


Is this a homemade RLE format that Scott made?  Or is this a standard  
Like the Utah RLE?  If a standard, are only certain options allowed?


What are the details on this format?  Can I make one and set the text  
of an image to it?  Can this be exported?


I found Utah RLE here:

http://www.martinreddy.net/gfx/2d/RLE.txt

Long, long ago I knew a kid who ran into the house the night after  
getting his glasses and called out "Mommy, mommy!  There really are  
stars!"


I'm having trouble believing that this legendary RLE exists.

Dar Scott


___
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: VB COM in Revolution?

2006-07-27 Thread Dar Scott


On Jul 27, 2006, at 3:42 PM, Alex Tweedly wrote:

rev <--> vbScript <--> COMmay be the easiest way - but it's not  
the only way.


I use rev <--(sockets)--> Python  <---> COM to manage my iTunes player


I have been making externals to access COM.

(My generic Rev DLL/bundle interface was acclaimed too C-like, too  
complicated, too much oriented in managing memory for alpha testers,  
so that is scrapped, but maybe something for automation COM in the  
future if I get time?)


Dar

___
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: time shorthand convertor

2006-07-27 Thread Mark Wieder
Josh-

Thursday, July 27, 2006, 11:06:29 AM, you wrote:

Cute. I couldn't resist fiddling with it a bit.

ON convertTime
  local t
  local ampm
  local t2
  
  put the text of the target into t
  put "PM" into ampm
  REPEAT for each char c in t
IF c is a number THEN
  put c after t2
ELSE IF c is "a" THEN
  put "AM" into ampm
END IF
  END REPEAT
   
  SWITCH the number of chars in t2
CASE 1
CASE 2
  put ":00" after t2
  break
CASE 3
CASE 4
  put ":" before char -2 of t2
  break
  END SWITCH
  put space & ampm after t2
  put t2 into the target
END convertTime

Now for homework, put in some date validation (try entering 789).

(we had some plumbing work done on our house in October of 2003, and
the plumber wrote a shorthand inscription noting that it was finished
in 103, which still boggles my mind every time I think about it...)

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
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: VB COM in Revolution?

2006-07-27 Thread Alex Tweedly

Mark Wieder wrote:




That is the case as far as I know. If anybody can correct me, I would be
happy to learn more.
   



Exactly. That, at present, is the only way to communicate with COM
objects in a Windows environment, using vbScript as a shim:

rev <--> vbScript <--> COM

Note, however, that as a general-purpose solution this will raise
problems with virus checkers. This may therefore cause some user
consternation as well as problems with corporate systems where the
security policy to disallow the execution of vbScripts can't be
changed.
 



rev <--> vbScript <--> COMmay be the easiest way - but it's not the only 
way.

I use rev <--(sockets)--> Python  <---> COM to manage my iTunes player 



--
Alex Tweedly   http://www.tweedly.net

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/399 - Release Date: 25/07/2006
___
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: VB COM in Revolution?

2006-07-27 Thread Mark Wieder
Seamus-

Thursday, July 27, 2006, 2:14:26 AM, you wrote:

> AFAIK RunRev does not technically support COM, but can use an external
> process to manage COM objects on it's behalf  - which is nearly as good.
> Look up 'DLL hell' in Google to see the fun you are avoiding...

> That is the case as far as I know. If anybody can correct me, I would be
> happy to learn more.

Exactly. That, at present, is the only way to communicate with COM
objects in a Windows environment, using vbScript as a shim:

rev <--> vbScript <--> COM

Note, however, that as a general-purpose solution this will raise
problems with virus checkers. This may therefore cause some user
consternation as well as problems with corporate systems where the
security policy to disallow the execution of vbScripts can't be
changed.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
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: time shorthand convertor

2006-07-27 Thread Jim Ault
Yeah, its fun to have many ways to do the same job :-)


On 7/27/06 1:36 PM, "Josh Mellicker" <[EMAIL PROTECTED]> wrote:

> Wow, thanks Jim, a nice improvement!
> 
> On Jul 27, 2006, at 12:23 PM, Jim Ault wrote:
> 
>> A different approach to get to the same point
>> ... added error checking for invalid time strings
>> 
>> ON convertTime
>>   put the text of the target into str
>> 
>>   repeat for each char CH in str
>> if CH is a number then put CH after timeStr
>>   end repeat
>>   put " 00" after timeStr
>>   get char -4 to -3 of word 1 of timeStr & " " &  \
>>char -2 to -1  of word 1 timeStr && word -1 of timeStr
>>   put word 1 to 2 of it into timeStr
>>   replace space with ":" in timeStr
>> 
>>   if str contains "a" then put " AM" after timeStr
>>   else put " PM" after timeStr
>>   --now let's error check --
>>   get timeStr
>>   convert it to seconds
>>   if it = timeStr then  --no conversion was done
>> answer "oops.. "& str & " does not look like a time"
>> exit to top
>>   else
>>  looks good -
>> --so we will publish the result
>> set the twelvehourtime to true
>> convert it to short time
>> put it into target
>>   end if
>> END convertTime
>> 
>> 
>> 
>> On 7/27/06 11:06 AM, "Josh Mellicker" <[EMAIL PROTECTED]> wrote:
>> 
>>> Here is an interesting handler so that a user can enter a time in a
>>> field in a "shorthand" and get a full, properly formatted date out of
>>> it.
>>> 
>>> Here are some examples:
>>> 
>>> enter this = get this
>>> 
>>> 1 = 1:00 PM
>>> 12 = 12:00 PM
>>> 123 = 1:23 PM
>>> 1234 = 12:34 PM
>>> 
>>> add an "a" at the end for am, like:
>>> 
>>> 1a = 1:00 AM
>>> 
>>> We have been using this for a few days and everyone really likes it,
>>> it seems intuitive and faster than any other method of entering a
>>> time.
>>> 
>>> 
>>> 
>>> field script:
>>> 
>>>  ON enterInField
>>>  convertTime
>>>  END enterInField
>>> 
>>>  ON returnInField
>>>  convertTime
>>>  END returnInField
>>> 
>>>  ON closeField
>>>  convertTime
>>>  END closeField
>>> 
>>> 
>>> put this somewhere in the message path:
>>> 
>>>  ON convertTime
>>>  put the text of the target into t
>>>  IF (char -1 to -2 of t = "am") OR (char -1 of t = "a") THEN
>>>  put "AM" into ampm
>>>  ELSE
>>>  put "PM" into ampm
>>>  END IF
>>>  REPEAT for each char c in t
>>>  IF c is a number THEN put c after t2
>>>  END REPEAT
>>> 
>>>  SWITCH
>>>  CASE the number of chars of t2 < 3
>>>  put ":00" after t2
>>>  break
>>>  CASE the number of chars of t2 = 3
>>>  put char 1 of t2 & ":" & char 2 to 3 of t2 into t2
>>>  break
>>>  CASE the number of chars of t2 = 4
>>>  put char 1 to 2 of t2 & ":" & char 3 to 4 of t2 into t2
>>>  break
>>>  END SWITCH
>>>  put space & ampm after t2
>>>  put t2 into the target
>>>  END convertTime
>>> ___
>>> 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


___
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: Play command gone quiet

2006-07-27 Thread J. Landman Gay

Answering my own question:
Ever since then, Rev can't play sounds any more with the "play" command. 
This has persisted through several machine reboots. It can play them 
inside a player but not with the play command. This is a global problem 
too, since MetaCard and other older versions of Rev can no longer use 
the play command now either.


Does anyone know how to get this capability back? Any idea what got 
hosed? Needless to say, Audacity probably isn't in my future any more.



Never mind, I found the answer here:



Audacity sets the global system sample rate higher than most apps 
(including Rev) can use. You have to launch Audio MIDI setup and set the 
rate back down to 44 kHz to fix it.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: time shorthand convertor

2006-07-27 Thread Josh Mellicker

Wow, thanks Jim, a nice improvement!

On Jul 27, 2006, at 12:23 PM, Jim Ault wrote:


A different approach to get to the same point
... added error checking for invalid time strings

ON convertTime
  put the text of the target into str

  repeat for each char CH in str
if CH is a number then put CH after timeStr
  end repeat
  put " 00" after timeStr
  get char -4 to -3 of word 1 of timeStr & " " &  \
   char -2 to -1  of word 1 timeStr && word -1 of timeStr
  put word 1 to 2 of it into timeStr
  replace space with ":" in timeStr

  if str contains "a" then put " AM" after timeStr
  else put " PM" after timeStr
  --now let's error check --
  get timeStr
  convert it to seconds
  if it = timeStr then  --no conversion was done
answer "oops.. "& str & " does not look like a time"
exit to top
  else
 looks good -
--so we will publish the result
set the twelvehourtime to true
convert it to short time
put it into target
  end if
END convertTime



On 7/27/06 11:06 AM, "Josh Mellicker" <[EMAIL PROTECTED]> wrote:


Here is an interesting handler so that a user can enter a time in a
field in a "shorthand" and get a full, properly formatted date out of
it.

Here are some examples:

enter this = get this

1 = 1:00 PM
12 = 12:00 PM
123 = 1:23 PM
1234 = 12:34 PM

add an "a" at the end for am, like:

1a = 1:00 AM

We have been using this for a few days and everyone really likes it,
it seems intuitive and faster than any other method of entering a  
time.




field script:

 ON enterInField
 convertTime
 END enterInField

 ON returnInField
 convertTime
 END returnInField

 ON closeField
 convertTime
 END closeField


put this somewhere in the message path:

 ON convertTime
 put the text of the target into t
 IF (char -1 to -2 of t = "am") OR (char -1 of t = "a") THEN
 put "AM" into ampm
 ELSE
 put "PM" into ampm
 END IF
 REPEAT for each char c in t
 IF c is a number THEN put c after t2
 END REPEAT

 SWITCH
 CASE the number of chars of t2 < 3
 put ":00" after t2
 break
 CASE the number of chars of t2 = 3
 put char 1 of t2 & ":" & char 2 to 3 of t2 into t2
 break
 CASE the number of chars of t2 = 4
 put char 1 to 2 of t2 & ":" & char 3 to 4 of t2 into t2
 break
 END SWITCH
 put space & ampm after t2
 put t2 into the target
 END convertTime
___
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


Play command gone quiet

2006-07-27 Thread J. Landman Gay
This may be a tad off topic, but it concerns Rev. I am converting a 
stack to Revolution that has hundreds of "play" commands in it. Since 
there are so many, I decided to just use them as-is rather than change 
everything to use players. This has been working fine for some weeks.


Yesterday I used Audacity for OS X to convert some sounds. It turned off 
my system sounds globally and nothing I could do in the System Prefs 
would turn it back on. The "beep" command did nothing, Thunderbird no 
longer beeped when mail arrived, etc. Rebooting the Mac restored it.


Ever since then, Rev can't play sounds any more with the "play" command. 
This has persisted through several machine reboots. It can play them 
inside a player but not with the play command. This is a global problem 
too, since MetaCard and other older versions of Rev can no longer use 
the play command now either.


Does anyone know how to get this capability back? Any idea what got 
hosed? Needless to say, Audacity probably isn't in my future any more.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: time shorthand convertor

2006-07-27 Thread Jim Ault
A different approach to get to the same point
... added error checking for invalid time strings

ON convertTime
  put the text of the target into str
  
  repeat for each char CH in str
if CH is a number then put CH after timeStr
  end repeat
  put " 00" after timeStr
  get char -4 to -3 of word 1 of timeStr & " " &  \
   char -2 to -1  of word 1 timeStr && word -1 of timeStr
  put word 1 to 2 of it into timeStr
  replace space with ":" in timeStr
  
  if str contains "a" then put " AM" after timeStr
  else put " PM" after timeStr
  --now let's error check --
  get timeStr
  convert it to seconds
  if it = timeStr then  --no conversion was done
answer "oops.. "& str & " does not look like a time"
exit to top
  else
 looks good -
--so we will publish the result
set the twelvehourtime to true
convert it to short time
put it into target
  end if
END convertTime



On 7/27/06 11:06 AM, "Josh Mellicker" <[EMAIL PROTECTED]> wrote:

> Here is an interesting handler so that a user can enter a time in a
> field in a "shorthand" and get a full, properly formatted date out of
> it.
> 
> Here are some examples:
> 
> enter this = get this
> 
> 1 = 1:00 PM
> 12 = 12:00 PM
> 123 = 1:23 PM
> 1234 = 12:34 PM
> 
> add an "a" at the end for am, like:
> 
> 1a = 1:00 AM
> 
> We have been using this for a few days and everyone really likes it,
> it seems intuitive and faster than any other method of entering a time.
> 
> 
> 
> field script:
> 
>  ON enterInField
>  convertTime
>  END enterInField
> 
>  ON returnInField
>  convertTime
>  END returnInField
> 
>  ON closeField
>  convertTime
>  END closeField
> 
> 
> put this somewhere in the message path:
> 
>  ON convertTime
>  put the text of the target into t
>  IF (char -1 to -2 of t = "am") OR (char -1 of t = "a") THEN
>  put "AM" into ampm
>  ELSE
>  put "PM" into ampm
>  END IF
>  REPEAT for each char c in t
>  IF c is a number THEN put c after t2
>  END REPEAT
> 
>  SWITCH
>  CASE the number of chars of t2 < 3
>  put ":00" after t2
>  break
>  CASE the number of chars of t2 = 3
>  put char 1 of t2 & ":" & char 2 to 3 of t2 into t2
>  break
>  CASE the number of chars of t2 = 4
>  put char 1 to 2 of t2 & ":" & char 3 to 4 of t2 into t2
>  break
>  END SWITCH
>  put space & ampm after t2
>  put t2 into the target
>  END convertTime
> ___
> 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


time shorthand convertor

2006-07-27 Thread Josh Mellicker
Here is an interesting handler so that a user can enter a time in a  
field in a "shorthand" and get a full, properly formatted date out of  
it.


Here are some examples:

enter this = get this

1 = 1:00 PM
12 = 12:00 PM
123 = 1:23 PM
1234 = 12:34 PM

add an "a" at the end for am, like:

1a = 1:00 AM

We have been using this for a few days and everyone really likes it,  
it seems intuitive and faster than any other method of entering a time.




field script:

ON enterInField
convertTime
END enterInField

ON returnInField
convertTime
END returnInField

ON closeField
convertTime
END closeField


put this somewhere in the message path:

ON convertTime
put the text of the target into t
IF (char -1 to -2 of t = "am") OR (char -1 of t = "a") THEN
put "AM" into ampm
ELSE
put "PM" into ampm
END IF
REPEAT for each char c in t
IF c is a number THEN put c after t2
END REPEAT

SWITCH
CASE the number of chars of t2 < 3
put ":00" after t2
break
CASE the number of chars of t2 = 3
put char 1 of t2 & ":" & char 2 to 3 of t2 into t2
break
CASE the number of chars of t2 = 4
put char 1 to 2 of t2 & ":" & char 3 to 4 of t2 into t2
break
END SWITCH
put space & ampm after t2
put t2 into the target
END convertTime
___
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: More Imagedata Issues

2006-07-27 Thread Jim Ault


On 7/27/06 9:21 AM, "Dar Scott" <[EMAIL PROTECTED]> wrote:
> On Jul 27, 2006, at 9:23 AM, Rob Cozens wrote:
>> Rev knows the paintCompression of image 3.  When it changes image
>> 3's text property based on the imageData why is it converted to png
>> format instead of, in this case, gif format?
> 
> I can guess.
> Normally, a gif is limited to 256 colors.  An imageData can represent
> lots more.  So when an imageData is set, the engine creates a PNG for
> it.
> 
> Some folks have noticed that the same PNG has a different imageData
> on different platforms.  I have noticed that removing the gamma from
> a PNG will change the imageData of an image object it is put into.
> 
> So, if the fetched imageData is after some fiddling, does setting the
> imageData do some unfiddling to make the pixels?  Or is something set
> in the image so the image pixels equal the imageData pixels?
> 
> Just wondering.

I know this discussion has gone on a while and I don't have any current
interest in the result, but couldn't someone just write the different data
formats to a file, then look at the hexDump (using BBEdit or other) and
compare them?  Even 'set the clipboarddata to the imageData' etc

put the imageData of image orange into imgData
put url binary: jpg into picRaw
is imgData in picRaw
put offset(imData, picRaw) into firstHit

You know, stuff like that?

I don't have time to do any digging this week, but that might shed light on
what happens..when..if.. maybe..

Jim Ault
Las Vegas


___
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: restrict number of characters in a field?

2006-07-27 Thread Ben Rubinstein

On 27/7/06 17:11, Dar Scott wrote:


On Jul 27, 2006, at 2:14 AM, Klaus Major wrote:

Interestingly the behaviour has changed a bit between 2.6.1 and 
2.7.2, but not fixing this bug.


What changed?


Sorry, that was a bit gnomic!

Confession: I've not really immigrated to 2.7 yet, but spend most of my time 
in 2.6.1, with occasional dipping of toes into the modern world.  So I started 
looking at this in 2.6.1, and then checked my results in 2.7.


In 2.6.1, the pattern seen in the message watcher when typing into a field is 
as follows:


I type 'c':
   rawKeyDown
   keyDown
   rawKeyUp
   rawKeyUp
   keyUp

   and c is entered in the field

I type option-c:
   rawKeyDown
   optionKeyDown
   rawKeyUp
   rawKeyUp
   keyUp

   and c-cedilla is entered in the field

I type option-u:
   rawKeyUp
   rawKeyUp
   keyUp

   and nothing is entered in the field

I type u (immediately after option-u):
   rawKeyUp
   rawKeyUp
   keyUp

   and u-umlaut is entered in the field

The pattern in 2.7 is the same (ie no rawKeyDown or optionKeyDown for the 
sequence option-u, u) - except without the duplicate rawKeyUp seen in each 
sequence.  So it looks like that was a bug that was quietly spotted and fixed 
(I can't see anything about in Bugzilla) - but without addressing this problem.


There.  Full disclosure!

  Ben Rubinstein   |  Email: [EMAIL PROTECTED]
  Cognitive Applications Ltd   |  Phone: +44 (0)1273-821600
  http://www.cogapp.com|  Fax  : +44 (0)1273-728866

___
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: restrict number of characters in a field?

2006-07-27 Thread Dar Scott


On Jul 27, 2006, at 1:19 AM, Ben Rubinstein wrote:

Interestingly the behaviour has changed a bit between 2.6.1 and  
2.7.2, but not fixing this bug.


What changed?

Good BZ report, BTW.

Dar

___
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: Setting the allowInterrupts

2006-07-27 Thread Devin Asay

On Jul 26, 2006, at 6:34 PM, Sarah Reichelt wrote:


On 7/27/06, Devin Asay <[EMAIL PROTECTED]> wrote:

There was a discussion about this a few weeks ago. In the latest
release of rev, 2.7.2, the allowInterrupts global property is set to
false by default, instead of true as the docs state. I thought I read
in the discussion that there is a preference setting to change this.
It that true, or did I just dream it? Because I can't find a place to
set it other than doing it each time I launch Rev in the message box
or hacking the IDE scripts.



Hi Devin,

I wrote a plugin recently that allows you to set any properties or run
script snippets on startup. It's what I use to get around this
problem.

You can download it here 




Brilliant! Thanks, Sarah.

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: More Imagedata Issues

2006-07-27 Thread Dar Scott


On Jul 27, 2006, at 9:23 AM, Rob Cozens wrote:

Rev knows the paintCompression of image 3.  When it changes image  
3's text property based on the imageData why is it converted to png  
format instead of, in this case, gif format?


I can guess.

Normally, a gif is limited to 256 colors.  An imageData can represent  
lots more.  So when an imageData is set, the engine creates a PNG for  
it.


Some folks have noticed that the same PNG has a different imageData  
on different platforms.  I have noticed that removing the gamma from  
a PNG will change the imageData of an image object it is put into.


So, if the fetched imageData is after some fiddling, does setting the  
imageData do some unfiddling to make the pixels?  Or is something set  
in the image so the image pixels equal the imageData pixels?


Just wondering.

Dar

___
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: restrict number of characters in a field?

2006-07-27 Thread Klaus Major

Hi Dar,


On Jul 27, 2006, at 2:14 AM, Klaus Major wrote:
Interestingly the behaviour has changed a bit between 2.6.1 and  
2.7.2, but not fixing this bug.

What changed?


I have no idea!
Ask Ben R., you qouoted him :-)


Dar


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
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: restrict number of characters in a field?

2006-07-27 Thread Dar Scott


On Jul 27, 2006, at 2:14 AM, Klaus Major wrote:

Interestingly the behaviour has changed a bit between 2.6.1 and  
2.7.2, but not fixing this bug.


What changed?

Dar
___
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: More Imagedata Issues

2006-07-27 Thread Rob Cozens

All,

I've spent a little more time this morning trying to further reduce 
the scope of my ignorance...


1.  I created a stack and imported the wininfo.gif and wininfo2.gif 
images from the Rev Image Library, and duplicated the first

From the Message Box, "the paintCompression of image 3" puts "gif"

2. set the imageData of image 3 to the imageData of image 2
From the Message Box, "the paintCompression of image 3" puts "png"

Why?

Rev knows the paintCompression of image 3.  When it changes image 3's 
text property based on the imageData why is it converted to png 
format instead of, in this case, gif format?

--

Rob Cozens
CCW, Serendipity Software Company

"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."

from "The Triple Foole" by John Donne (1572-1631)
___
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


[UPD] Time Widget 1.1.2

2006-07-27 Thread Sean Shao

Fixed 24 hour input via keyboard (using the numbers, the arrow keys worked).
Added an example button to toggle between 12 / 24 hour modes.

_
Don’t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


___
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


EcxFTP 1.0b08 released

2006-07-27 Thread Mark Schonewille

Dear Revolution users,

We have just released another beta version of ecxFTP. Compared with  
the previous officially announced beta version, there are striking  
improvements, such as a series of buttons on top of the client window  
and overall improved responsiveness. During the past six months, many  
of you sent their comments to Economy-x-Talk and we are very grateful  
for your help. We have paid attention to all your comments and fixed  
all reported bugs that we could reproduce. A change log is included  
with the software.


We are releasing a new beta version, which is available for download  
now. The current beta version of ecxFTP has been created and tested  
on Mac OS X 10.2 up to and including 10.4.7. You can download ecxFTP  
at the following address:




where you can find versions for both Mac PPC and Mac Intel.

We would very much appreciate a detailed description of your  
experiences with ecxFTP. Please, don't forget to include information  
about your Mac model, operating system version, AppleScript version,  
amount of built-in memory, applications running simultaneously, and  
any other information that you deem relevant to us. Valuable bug  
reports are rewarded with a free license. With pleasure, we grab the  
opportunity to offer other Revolution users 50% discount.


We will be licensing ecxFTP in the near future. Quite a few  
Revolution developers are struggling making their own FTP client,  
usually for a specific server or application, such as backup  
services, content management systems, on-line stores, or workflow  
systems. Economy-x-Talk will gladly provide you with a license  
allowing you to build the FTP client stack into your own Revolution  
project. Alternatively, we integrate the stack in your project,  
saving you the time to figure out how things work. Contact us for  
more information about the licensing scheme.


Best regards,

Mark Schonewille

P.S. Comments, feature requests and bug reports can be sent to  
[EMAIL PROTECTED] We would be very pleased to receive your  
feedback.


--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Download ErrorLib at http://economy-x-talk.com/developers.html and  
get full control of error handling in 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


Problem using Launch when application is already open

2006-07-27 Thread Martin Blackman

Could someone please tell me how to open a file in an application
thats already open ?

eg using 'launch tfilename with (tOfficepath&"/Excel.exe")' does
nothing but sets the result to 'process already open' if Excel is
already open.

There is a twist - I can't just use 'launch document tfilename' as I'm
using office 2003 xml format which is by default opened with internet
explorer.

regards
Martin
___
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: VB COM in Revolution?

2006-07-27 Thread corvideon

Hi Sarah

You may find the following article useful:

http://en.wikipedia.org/wiki/Component_Object_Model

COM is a way of creating an 'in-process' object of some other application.
For instance in VB you can create a word application object in your code and
then manipulate word documents using the methods of that word object as if
it were part of your program. The difference with RunRev is that you have to
rely on a VB/Vbscript program to create the COM objects. You pass parameters
(through shelling out) to the VB/Vbscript program  and it can then pass
these onto the COM object. This runs in a seperate process to your RunREv
app (I think)

AFAIK RunRev does not technically support COM, but can use an external
process to manage COM objects on it's behalf  - which is nearly as good.
Look up 'DLL hell' in Google to see the fun you are avoiding...

That is the case as far as I know. If anybody can correct me, I would be
happy to learn more.

Regards

Seamus Brady

http://www.corvideon.ie

-- 
View this message in context: 
http://www.nabble.com/VB-COM-in-Revolution--tf2007852.html#a5517798
Sent from the Revolution - User forum at Nabble.com.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: VB COM in Revolution?

2006-07-27 Thread Thomas McGrath III

Dear Sarah,

Revolution can indeed communicate via VBscript/VB to a COM object in  
much the same way as Revolution can communicate with an application  
via Applescript and an applications dictionary.


Regards,

Tom


On Jul 27, 2006, at 2:04 AM, Sarah Reichelt wrote:


Hi everyone,

I received this query this morning:

I am a vb programmer with many project running COM in the windows  
side.

Do you happen to know if COM is available in Runtime Revolution?


I know almost nothing about VB but from discussions I've read on this
list, COM is not just a reference to a serial port but can be
something similar to AppleScript for inter-application communications.
Is this correct or am I way off the mark?

Anyway, can someone with more Windows expertise than me please help me
answer this question.

Thanks,
Sarah
___
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


Thomas J McGrath III
[EMAIL PROTECTED]

Lazy River Software - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html







___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: restrict number of characters in a field?

2006-07-27 Thread Klaus Major

Hi Ben and Dar,


On 27/7/06 03:03, Dar Scott wrote:
Except for typed character U with an umlaut or E with an acute  
accent on OS X and probably other characters with accent marks.   
At least on my keyboard (US).

This is bug 1147, which for some reason is marked fixed.
This leak of keyboard typing to the field is a serious (or at  
least embarrassing) problem for 'ask password' and casual  
implementations of password dialog boxes.

It is probably a problem with many applications that use KeyDown.


Yikes!  Thanks Dar, I didn't know this.  It's a nasty one, since I  
can't see any workaround.


Interestingly the behaviour has changed a bit between 2.6.1 and  
2.7.2, but not fixing this bug.  I've added a report to BZ 1147  
confirming that this is still a bug in 2.7.2 on Mac OS X 10.7.4 -  
but I can't re-open the bug, only Klaus or someone at RunRev can.


Klaus - could you re-open this bug please?


I just re-opened this bug.


  Ben Rubinstein   |  Email: [EMAIL PROTECTED]
  Cognitive Applications Ltd   |  Phone: +44 (0)1273-821600
  http://www.cogapp.com|  Fax  : +44 (0)1273-728866


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
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: restrict number of characters in a field?

2006-07-27 Thread Ben Rubinstein

On 27/7/06 03:03, Dar Scott wrote:


Except for typed character U with an umlaut or E with an acute accent on 
OS X and probably other characters with accent marks.  At least on my 
keyboard (US).


This is bug 1147, which for some reason is marked fixed.

This leak of keyboard typing to the field is a serious (or at least 
embarrassing) problem for 'ask password' and casual implementations of 
password dialog boxes.


It is probably a problem with many applications that use KeyDown.


Yikes!  Thanks Dar, I didn't know this.  It's a nasty one, since I can't see 
any workaround.


Interestingly the behaviour has changed a bit between 2.6.1 and 2.7.2, but not 
fixing this bug.  I've added a report to BZ 1147 confirming that this is still 
a bug in 2.7.2 on Mac OS X 10.7.4 - but I can't re-open the bug, only Klaus or 
someone at RunRev can.


Klaus - could you re-open this bug please?

  Ben Rubinstein   |  Email: [EMAIL PROTECTED]
  Cognitive Applications Ltd   |  Phone: +44 (0)1273-821600
  http://www.cogapp.com|  Fax  : +44 (0)1273-728866

___
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