Re: repeat for each in reverse order ?

2005-06-27 Thread Robert Brenstein
It sounds like you're looking for a feature that doesn't yet exist 
(or at least I'm not aware of it). I could see having a property 
that defines the direction in which the 'repeat for each' structure 
does its looping, like this:


  set the repeatDirection to descending -- or down, reverse, ???
  repeat for each element x in y
-- actions
  end repeat

That would be a nice feature indeed. No harm in requesting it!

Phil Davis


I would prefer

  repeat for each element x in y descending

but I doubt whether this would have the performance anywhere close to 
ascending 'for each' so it is probably pointless to have it. As far 
as I know, the speed of 'repeat for each' comes from processing 
elements sequentially and thus without having to recalculate the list 
pointer position.


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


Rev Toolbar Group button - How does it work?!

2005-06-27 Thread tim

Hi All,

I am trying to get the same effect as the Rev team have done with the 
Group button on the top toobar.

When you click on an object with the pointer tool, the Group button on the 
toolbar immediately becomes available. Likewise, when you deselect the 
object, the Group button becomes disabled.

How can I do this in my own stack? I can't work out what message to trap, as 
it seems that much fewer messages are sent when the pointer tool is 
selected, as compared to the browse tool.


Many thanks,


Timothy Due 
http://www.leaf25.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: # POSSIBLY SPAM #::Rev Toolbar Group button - How does it work?!

2005-06-27 Thread xbury . cs
Hi Tim,

Look at the selectedobjectchanged message.

You can see what is in the selection via the selectedobjcets or selobjs 
function

cheers
Xavier

On 27/06/2005 10:10:03 use-revolution-bounces wrote:
Hi All,

I am trying to get the same effect as the Rev team have done with the
Group button on the top toobar.

When you click on an object with the pointer tool, the Group button on 
the
toolbar immediately becomes available. Likewise, when you deselect the
object, the Group button becomes disabled.

How can I do this in my own stack? I can't work out what message to trap, 
as
it seems that much fewer messages are sent when the pointer tool is
selected, as compared to the browse tool.


Many thanks,


Timothy Due
http://www.leaf25.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


-
Visit us at http://www.clearstream.com
  
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents of
this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you are
not the intended recipient, any disclosure, copying, distribution or
any action taken or omitted to be taken in reliance on it, is
prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically
states them to be the views of Clearstream International or of any of
its affiliates or subsidiaries.

END OF DISCLAIMER
___
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


Alias on MacOS 10.3.9

2005-06-27 Thread Signe Marie Sanne

Hello,
I'm trying to create an alias to a folder. On Windows 'file' works, although 
the shortcut is to a folder and the documentation says that you can only 
create a shortcut to a file not a folder. Does this apply ontly to Mac since 
nothing happens on Mac with the script below:


  put specialfolderPath(pref)  /IVANAmp/ into framp
  put there is a folder framp --renders 'true'
  put specialfolderPath(desktop)  /IVANAmp/ into tilmp
  create alias (tilmp) to file framp

Any suggestions?
--
Signe Marie Sanne

1. amanuensis/Senior lecturer
Romansk institutt   Tlf.+47 55 58 21 27
Øisteins gt. 1  Epost:  [EMAIL PROTECTED]
Universitetet i Bergen

http://www.hf.uib.no/mlab/Info/sms.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: Can Dreamcard access Runtimime standalone?

2005-06-27 Thread Alex Tweedly

Douglas Westbrook wrote:


Alex,
I just retested my open .rev stack accessing custom properties in my  
standalone, so I know this works. 


Then I may have misunderstood what you meant. Could you explain some 
more detail of what you do, or how you do this, and I will test it in 
Dreamcard just to be 100% sure  

(If it's practical, feel free to email me off-list enclosing the app  
stack and I'll check it).


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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.2/29 - Release Date: 27/06/2005

___
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


Transcript arithmetic

2005-06-27 Thread John Ridge
I've just hit something that seems to me very weird. I'd appreciate any
thoughts. 

The (tiny) problem is to calculate the interest due on a sum of common-law
compensation - our client X paid certain sums over a period; the court has
now agreed that they should not have been required to pay. OK, they get the
money back - plus interest at R%. This represents the interest they would
have earned if each payment had, at the time it was made, gone into a
high-interest savings account. My first thought was that this was a future
value calculation, so I used Excel - but I couldn't get sensible answers.
Fine - write a tiny stack to do it iteratively.

While I'm at it, I may as well allow for daily, weekly or monthly (28-day
lunar) compounding periods (shouldn't really make much difference). I then
display the amount of interest, and the effective annual interest rate R*.
This is just the percentage increase of the basic compensation award,
adjusted for the length of time - so we multiply by, for example (365 /
number of days) - if the period is more than a year, this deflates the
percentage increase to the effective annual rate and vice versa.

The relevant bit of script is as follows:-

set the numberFormat to 0.00
put £  (tCumInterest - tTotalAmount) into fld InterestDue
put £  tCumInterest into fld TotalAmount
put ((tCumInterest - tTotalAmount)/tTotalAmount) * 100 into tAnnRate
if Daily is in gPeriod then put tAnnRate * 365/tDays into tAnnRate
if Weekly is in gPeriod then put tAnnRate * 52/tDays into tAnnRate
if Monthly is in gPeriod then put tAnnRate * 13/tDays into tAnnRate
put tAnnRate  % into fld OverallRate

-- I apologise for tdays - it is really number of compounding periods

This works perfectly on a G4 Mac OS 9.3 in the IDE. I decided that it might
be a useful gadget for people in the office, so I made a standalone for XP.
It doesn't work - the effective interest rate is not adjusted for length of
the period. This is not a problem with the pop-up menu - the standalone
version knows elsewhere whether it is doing a daily, weekly or monthly
calculation. The percentage increase tAnnRate is correct. Somehow the
expressions 365/tDays etc are evaluating to 1. But only in the
standalone...

Sorry to have gone on at such length, but I've had trouble believing what
I'm seeing here. If anyone is interested, I'm sharing the stack in user area
jmr as Interest (or words to that effect) - when the RunRev server is
back up.

I should emphasise that it's a standalone problem - it fails when compiled
for Mac OS 9 as well as Windows. Are there known issues like this with the
syntax of Transcript when compiled into a standalone? If so, I'd appreciate
a pointer.

Thanks
John



-- 


___
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


ANN Testing for overlapping polygons

2005-06-27 Thread Jim Hurley
[Hope this isn't a repeat. According to my ISP this was not 
delivered. Perhaps the problems that Heather warned of over the 
weekend.]


Well, I said it was grubby, but here it is, a stack which test for 
overlap between polygons.


In the message box:

go stack url http://home.infostations.net/jhurley/OverlapTest.rev;

I was wondering how RR tests for within(). One way would be to draw a 
line from the point in question to the edge of the screen. If there 
are an odd number of intersections with the lines of the polygon, 
then the point is inside, otherwise it is outside.


But how does RR paste a color into an opaque polygon, how does it 
know which pixels are inside and which outside the polygon? It 
doesn't test for all points, of which there are an infinite number, 
but it must know which pixels (integer points) are located 
inside--this generally would be sufficient to test for overlap--and 
collision. Maybe this would be a request feature RR might consider. 
The hard part of overlap and collision may already be in the engine.


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


connecting to a remote mySQL database

2005-06-27 Thread Ton Kuypers

Hi,

I've seen this come by on this list, but I can't seem to remember the  
solution to the problem.


When connecting from rev to a mySQL database (4.1.9) I keep on  
getting the error Client does not support authentication protocol  
requested by server; consider upgrading MySQL client.
I've used the mySQL Administrator to check the Use old passwords  
checkbox in the security tab of the startup variables, but no  
success, the error remains...


The error occurs when connecting from a windows RR to localhost as  
well as when connecting from a OS-X RR to the IP Address.



Anyone any advice on how to connect to mySQL 4.1.x?


many thanks in advance,


Ton Kuypers
Digital Media Partners bvba
Tel. +32 (0)477 / 739 530
Fax +32 (0)14 / 71 03 04
http://www.dmp-int.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


test

2005-06-27 Thread Heather Nagey

please ignore

Heather Nagey, Customer Support Manager
Runtime Revolution Ltd
www.runrev.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: ANN Testing for overlapping polygons

2005-06-27 Thread Alex Tweedly

Jim Hurley wrote:

[Hope this isn't a repeat. According to my ISP this was not delivered. 
Perhaps the problems that Heather warned of over the weekend.]



I've only seen one copy.

Well, I said it was grubby, but here it is, a stack which test for 
overlap between polygons.



That's not at all grubby - that's really neat, very nice job.

It does demonstrate that the built-in function within is fairly 
inexact (since it's defined as whether a point is within the clickable 
part of a shape this inexact-ness is probably intentional). If you 
position the blue shape above the red one such that the approx mid-point 
is above the top point of the red one, and slowly drag it down, you find 
that point is within becomes true when there is still a clearly 
visible yellow gap between the two shapes - so it's clear that the RR 
test doesn't involve checking pixel colours..


I was wondering how RR tests for within(). One way would be to draw a 
line from the point in question to the edge of the screen. If there 
are an odd number of intersections with the lines of the polygon, then 
the point is inside, otherwise it is outside.


Either that or decide if it is above or below, and left or right 
of each directed line segment in turn; only if both pairs match is it 
within.  Both of those allow for easy inexact checks, so they could 
use either.


But how does RR paste a color into an opaque polygon, how does it know 
which pixels are inside and which outside the polygon? It doesn't test 
for all points, of which there are an infinite number, but it must 
know which pixels (integer points) are located inside--this generally 
would be sufficient to test for overlap--and collision. Maybe this 
would be a request feature RR might consider. The hard part of overlap 
and collision may already be in the engine.


Standard algorithm uses a scan pattern over the bounding rectangle, 
toggling on/off as the scan crosses (or touches) the edges. I don't know 
if that'll be within the engine or if they'll use system-provided 
primitives to handle filled polygons.


Either way, since there's already a point within shape test, it would 
be a nice feature to extend that to overlap shapes.


(Actually, I'd prefer that intersect be changed to mean what it says 
(i.e. two shapes overlap), and a new term be devised for rectangles 
overlap, but I guess that could break too many existing stacks :-)



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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.2/29 - Release Date: 27/06/2005

___
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


images

2005-06-27 Thread Jon

I'm still fiddling with the Nine Ball With Spin game. I want to modify
the ball images, but I can't for the life of me figure out how to do
that. I figured out where the images were, in a graphic, but can't
figure out any way to actually see the image, save it modify it, load
it, etc.

Any hints? The property Inspector seems useless in this situation,
which seems strange.

Jon

___
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: How to put a dash in front of a menu item

2005-06-27 Thread Wouter

Hi Claudi,

Putting a space in front of the dash (or any other character) could  
solve your problem, if you can live with a space in front of the dash  
that is.


Greetings,
Wouter

On 26 Jun 2005, at 21:55, Claudi Cornaz wrote:


Hi all

Still working/improving my demo of a textMenu. It's almost ready.
I can now  also increase/decrease textsizes. Lighten/darken
is just a snap away (it's the same as increase/decrease
with a slight twist) and the menu displayscorrectly all attributes.

There is just one thing I'd like to add to it: putting a dash in  
front of a menu(item).


Is there a way I can achieve this?

This way the user could see if a selection has mixed attributes
or if it's all the same.  The way I found in the documentation, and
after some tests (like putting a \ in front of the - which does'n't
give quite the desired effect. ) it doesn't work.

As far as I discovered we can put a checkMark or a diamond in front of
a menu but not a dash. I hope I am wrong, am I?

In case we indeed, can't put a dash in front of a menu, wouldn't this
be a usefull enhanchement? Should I, in a yet to figure out way,  
post this

as a request?

All best wishes
Claudi

___
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: Psychedelic Bug?

2005-06-27 Thread Mark Waddingham
Hi Scott,

Unusual... But documented (in the visual effect command I think...)

At present it is not possible to use either Core Image or QT visual
effects on alpha-blended windows as a bit of re-architecturing is needed
to make the visual effects aware of the alpha-channel in these two cases
(this is a known limitation which will be removed as soon as we can).

Original (albeit slightly dull) visual effects *should* work but I think
there is an update glitch at the moment causing an issue at least on
Windows.

Warmest Regards,

Mark.

On Thu, 2005-06-23 at 21:38 -0700, Scott Rossi wrote:
 Try this on OSX, using a stack with a deep mask applied:
 
  lock screen
  unlock screen with visual dissolve
 
 See anything unusual?
 
 Regards,
 
 Scott Rossi
 Creative Director
 Tactile Media, Multimedia  Design
 -
 E: [EMAIL PROTECTED]
 W: http://www.tactilemedia.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
 
--
 Mark Waddingham ~ [EMAIL PROTECTED] ~ http://www.runrev.com
   Runtime Revolution ~ User-Centric Development Tools

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

2005-06-27 Thread Pat Trendler

Jon,

If it is any help, the balls are buttons with icons. See in the property 
inspector(for any of the balls) - icons  borders, click on the little wand 
thingey by the icon and id no., choose this stack from the drop down menu 
and see all the ball icons.


Pat
[EMAIL PROTECTED]

- Original Message - 
From: Jon [EMAIL PROTECTED]

To: Revolution List use-revolution@lists.runrev.com
Sent: Monday, June 27, 2005 9:53 PM
Subject: images



I'm still fiddling with the Nine Ball With Spin game. I want to modify
the ball images, but I can't for the life of me figure out how to do
that. I figured out where the images were, in a graphic, but can't
figure out any way to actually see the image, save it modify it, load
it, etc.

Any hints? The property Inspector seems useless in this situation,
which seems strange.

Jon

___
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: repeat for each in reverse order ?

2005-06-27 Thread Dennis Brown
The repeat for each only goes in forward sequential order starting at  
the beginning, except for arrays where the order is indeterminate.


I have requested a sequential access enhancement to allow for  
constructing this type of looping in a more flexible way (like  
parallel instantiation, starting at an arbitrary point, and reverse  
order), to make it possible to wander all over your data sequentially  
with the speed of the repeat for each method.  However, it would be  
most useful with some improved string delimiter handling.  Bugzilla #  
2773


Having a reverse order repeat for each might be up to twice as slow  
as the forward version depending on how it is implemented, because it  
has to go backwards to the previous delimiter then forward to pick up  
the data, though it could pick up the data in reverse order on the  
way back.  However, even twice as slow would be much faster than any  
other method.


Dennis

On Jun 27, 2005, at 3:57 AM, Robert Brenstein wrote:

It sounds like you're looking for a feature that doesn't yet exist  
(or at least I'm not aware of it). I could see having a property  
that defines the direction in which the 'repeat for each'  
structure does its looping, like this:


  set the repeatDirection to descending -- or down,  
reverse, ???

  repeat for each element x in y
-- actions
  end repeat

That would be a nice feature indeed. No harm in requesting it!

Phil Davis



I would prefer

  repeat for each element x in y descending

but I doubt whether this would have the performance anywhere close  
to ascending 'for each' so it is probably pointless to have it. As  
far as I know, the speed of 'repeat for each' comes from processing  
elements sequentially and thus without having to recalculate the  
list pointer position.


Robert
___
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: returnInField doesn't work

2005-06-27 Thread ron barber

Hi Fritz

On Jun 27, 2005, at 1:38 PM, Friedrich F. Grohmann wrote:


My setup is Rev 2.6 on a G4 notebook under Mac OS 10.3.2.

The problem: A very simple stack with one field containing text and
another field for search purposes. The text is Chinese and so is, of
course, the word typed into the search field. The script of the latter
uses a returnInField handler to locate  text. The same script works 
fine

in the case of Roman text but with the Chinese there is no reaction at
all. Nothing happens, nothing. Not even a beep when I added  if me is
empty then beep to the script.



I search Japanese (and Chinese) within a fld successfully. Can you post 
your script so maybe we can figure out what is not happening correctly?


Thanks
Ron

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

2005-06-27 Thread Jim Hurley


Message: 19
Date: Mon, 27 Jun 2005 07:53:01 -0400
From: Jon [EMAIL PROTECTED]
Subject: images
To: Revolution List use-revolution@lists.runrev.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I'm still fiddling with the Nine Ball With Spin game. I want to modify
the ball images, but I can't for the life of me figure out how to do
that. I figured out where the images were, in a graphic, but can't
figure out any way to actually see the image, save it modify it, load
it, etc.

Any hints? The property Inspector seems useless in this situation,
which seems strange.

Jon




Jon,

I'm not the best person to answer this question but try the following:

on mouseUP
  ask  What image to save?
  if it is empty then exit mouseUp
  put it into theImageToSave
  ask file Give it what file name? (Don't forget the suffix.)
  if it is empty then exit mouseUp
  put it into fileName
  if it is not empty then
put binFile:fileName into theLongFileName
  else
exit mouseUp
  end if
  put image theImageToSave into url theLongFileName
end mouseUP

In theImageToSave be sure to include the suffix, e.g. .png

This handler should put a file on disk which you can edit in 
PhotoShop/Elements or whatever.


It might be nice if Run Rev included an Export menu option to go 
with the Import menu option.


Somehow the numbers of the ball got lost in some of the iterations of 
Nine Ball.


You will find Nine Ball using Scott's shiny balls *with* attached 
numbers on my web site:


http://home.infostations.net/jhurley/


Jim
___
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: test

2005-06-27 Thread Thomas McGrath III

ignored

On Jun 27, 2005, at 6:43 AM, Heather Nagey wrote:


please ignore

Heather Nagey, Customer Support Manager
Runtime Revolution Ltd
www.runrev.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




___
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: repeat for each in reverse order ?

2005-06-27 Thread Dar Scott


On Jun 27, 2005, at 1:57 AM, Robert Brenstein wrote:


  repeat for each element x in y descending


Now, is that with keys in descending order or elements in descending 
order?


Dar
--
**
DSC (Dar Scott Consulting  Dar's Lab)
http://www.swcp.com/dsc/
Programming and software
**

___
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: Sucess compiling Alex Tweedly DLL!

2005-06-27 Thread thierry

Hi Alejandro,

Was quite funny when i saw your emails yesterday; because i've
decided to play a bit with the externals during last week-end.. and 
after having download

whatever was exiting on the subject, plus  DevC++, plus lot
of scans on this list... i did struggle at the same time as you on the
same subject.

How are you doing with this beast :-)

Just now, i've been able to compile and link one external.
If you so desire i can send you the makefile i've made for this
( i'm using the Gnu make )

HTH, thierry


Alejandro Tejada a écrit :


Hi Developers,

i remember that Kenneth Simmons
has posted a C++ version of
the external dll in this page:

http://www.rpi.edu/~simonk/mc/mcExternalCPP.zip

Following the instructions for
compiling this C++ dll in Dev-C++
produced the following errors.
Notice these are a lot less than 
in previous trials with the sdk. :-)


-
...

make.exe: *** [../mcExternalCPP/external.o] Error 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


Failing building Standalone on MacOSX 10.3.9 and Tiger 10.4.1

2005-06-27 Thread Joel Guillod
Since Rev 2.6 I have not been able to build any standalone: after  
setting the Application Setting, then chosen the Save as Standalone  
Application menu Revolution unexpectedly quits after less than 1-2  
secs. I have tried to change settings but could not fix myself. For  
such a very very annoying situation I filled a blocking bug last week  
but didn't receive any reply from Runrev.
On my desktop the Help menu - Check for updates... replies You have  
the lastest version of Revolution along with the latest updates.
Could anyone tell me if (1) s/he has been able to build standalone  
under MacOSX 10.3.9+? If yes, how? (2) s/he is aware of such a  
problem and what to do?


On a previous release we had to wait for more than 4 months before  
Runrev fixes a problem with MacOSX bundles and externals and some  
days I really ask myself which dev plateform to go on with. I would  
accept that this problem could be due to a bit of electronic ghost in  
my hardware but before shaking my head once again to the wall, I  
prefer to check for other unfortunate MacOSX revolutioners...


In advance thanks so much for making me a happy Rev user! JG
___
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: Failing building Standalone on MacOSX 10.3.9 and Tiger 10.4.1

2005-06-27 Thread Eric Chatonet

Hello Joël,

Le 27 juin 05 à 17:45, Joel Guillod a écrit :

I filled a blocking bug last week but didn't receive any reply from  
Runrev.


Would this mean that it's considered as a personal issue...
As far I know, nobody reported any *new* problem when building  
standalones with 2.6 until now.
I take the opportunity to remind that it would be better to ask the  
list before *filling a blocking bug* which, probably, overloads a  
huge bug database without reason :-)


Unfortunately I can't help you since I use 10.4.1 and XP SP2.
Check http://www.google.com/advanced_search?q=site:lists.runrev.com
There were many threads about building standalones issues and how to  
solve them.


Best Regards from Paris,

Eric Chatonet.

So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86


___
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: [ANSWER TO OWN QUESTION]Re: Custom Modal List Dialog Methodology

2005-06-27 Thread Ken Ray
On 6/25/05 2:40 PM, Stephen Barncard [EMAIL PROTECTED]
wrote:

  --  wait for modal dialog to quit
  repeat until gDialogFlag is false
wait for messages
  end repeat

Stephen - will this work instead:

  wait until gDialogFlag is false with messages


??

(always looking for the one-liner...)


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: returnInField doesn't work

2005-06-27 Thread Friedrich F. Grohmann
Ron, 

 Thanks for telling me that you 

 search Japanese (and Chinese) within a fld successfully. Can you post 
your script so maybe we can figure out what is not happening correctly?

I'm most happy to do this. The script itself is of utter simplicity:

on returnInField
 find the text of me in field id 1003
end returnInField

I cannot imagine what could be wrong with that since it works with Roman 
text in other stacks. The font of the two fields involved is specified as 
Apple LiGothic Medium,Chinese, and it is possible to search text in 
both of them via the message box. So what could be the problem with 
returnInField?

Thanks in advance,
Fritz
___
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: returnInField doesn't work

2005-06-27 Thread Kenji Kojima

Friedrich,

Try this.
It works for Japanese. I don't know Chinese.

on returnInField
find string me in field id 1003
end returnInField

--
Kenji Kojima
http://www.kenjikojima.com/



On Jun 27, 2005, at 12:18 PM, Friedrich F. Grohmann wrote:


Ron,

 Thanks for telling me that you



search Japanese (and Chinese) within a fld successfully. Can you post
your script so maybe we can figure out what is not happening  
correctly?




I'm most happy to do this. The script itself is of utter simplicity:

on returnInField
 find the text of me in field id 1003
end returnInField

I cannot imagine what could be wrong with that since it works with  
Roman
text in other stacks. The font of the two fields involved is  
specified as

Apple LiGothic Medium,Chinese, and it is possible to search text in
both of them via the message box. So what could be the problem with
returnInField?

Thanks in advance,
Fritz
___
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


Menus Driving Me Nuts!

2005-06-27 Thread Peter Reid
Well I've spent about 4 hours trying to get consistent cross-platform 
behaviour for two small projects without success!  I've looked 
through the lists for help about menus and tried various suggestions 
but without success.


I have a simple menu structure with a File Edit Help menu bar.  All 
I want is the following:


1) in the development environment on my Mac (OS X 10.3.9, Rev 2.6 
build 108), I want to see proper Mac menus (at the top of the screen) 
with my stack window showing just the objects I expect and no sliding 
or cropping and no blank space at the top where a Win menu bar would 
be displayed


2) in the standalone Mac app, I expect the same as above

3) in the standalone Win app, I expect the normal Windows behaviour, 
i.e. the window is slightly higher with the menu bar at the top and 
the remaining objects slid down the screen to accommodate it


It seems that instead of the above I can get the following, depending 
on what tricks I try:


a) standalone Mac app is fine but standalone Win app has no menu bar

b) standalone Win app is fine but standalone Mac app has lost the 
bottom of its window


c) standalone Win app is fine but standalone Mac app has Win-sized 
window with a blank space at the top where the menu bar would be and 
everything else moved down


The only way I've had some limited success is if I explicitly fix the 
window height in my preOpenStack handler.  Not only is this yuk, it's 
not fully reliable either!
I have tried completely removing and remaking the menus (several 
times), but nothing works consistently.


Also, how come both Mac and Win apps end up with a 'Quit' option in 
the File menu when the Win standard is 'Exit'?  Of course I can fix 
this with code, but why should I have to, surely you should be able 
to expect standard behaviour for each platform?


In the end I got most of what I want using the following script 
inside my preOpenStack handler (not nice or obvious but it does 
work!):


  if the platform is MacOS then
if the environment is not development then
  put the height of this stack into theHeight
  set the editMenu of this stack to false
  show group menuBarName
  set the height of this stack to theHeight + the height of group 
menuBarName

end if
  else
set the editMenu of this stack to false
put the height of this stack into theHeight
show group menuBarName
set the height of this stack to theHeight + the height of group menuBarName
  end if

I really can't believe how unreliable and torturous it is trying to 
get standard cross-platform menus.  Every time I start a new short 
project, I spend more time trying to sort out the menus than I do 
completing the rest of the project!  It's now got to the point where 
I'm considering jumping ship to REALbasic for small projects has 
I'm so fed up with this fight every time - it's making small projects 
uneconomical with Rev.


Please can someone tell me how to get some reliable sanity into the 
menu process!


Peter
--
Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
E-mail: [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: Confirm Long File Name Bug in Player Object

2005-06-27 Thread Mark Wieder
Sivakatirswami-

Friday, June 24, 2005, 10:55:21 PM, you wrote:

Sanswer Are you finished with the last one? If so, shall I clear
S the header info? with No or Yes

I understand the intent, but I have to say that I find two yes-or-no
questions in a single answer dialog with a single response a bit
confusing to the user.

Sput theTape into tTruncatedFileName
S  put char 1 to 13 of (item -1 of theTape)  .mp3  into item -1
S of tTruncatedFileName
S  rename file theTape to tTruncatedFileName

... and here I would check to make sure that file tTruncatedFileName
doesn't already exist before trying to rename it...

Anyway, glad you found a workaround for now.

-- 
-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: returnInField doesn't work

2005-06-27 Thread Stephen Barncard
I don't work in anything but Roman languages, but I have noticed some 
behavior in text fields that has tripped me up before.  There can be 
a difference between the text properties of a field and the 
properties of the text contained within that field. Before hitting 
return in the field, try selecting the search text, then setting it 
manually using the TEXT menu to the desired font in the IDE (or 
script a select text and set font action) before doing the search and 
see if that makes a difference. Just a guess...something to try...



sqb


My setup is Rev 2.6 on a G4 notebook under Mac OS 10.3.2.

The problem: A very simple stack with one field containing text and
another field for search purposes. The text is Chinese and so is, of
course, the word typed into the search field. The script of the latter
uses a returnInField handler to locate  text. The same script works fine
in the case of Roman text but with the Chinese there is no reaction at
all. Nothing happens, nothing. Not even a beep when I added  if me is
empty then beep to the script.

It is possible to search the text field from the message box with the
find command but this doesn't solve the returnInField problem. Any
suggestions most welcome.

Fritz

___
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: connecting to a remote mySQL database

2005-06-27 Thread Dan Shafer
This is a documented problem involving the upgrade to MySQL 4.1.1 and  
beyond.


This page will tell you more than you ever wanted to know but should  
help you fix the problem:


http://dev.mysql.com/doc/mysql/en/password-hashing.html


On Jun 27, 2005, at 3:23 AM, Ton Kuypers wrote:


Hi,

I've seen this come by on this list, but I can't seem to remember  
the solution to the problem.


When connecting from rev to a mySQL database (4.1.9) I keep on  
getting the error Client does not support authentication protocol  
requested by server; consider upgrading MySQL client.
I've used the mySQL Administrator to check the Use old passwords  
checkbox in the security tab of the startup variables, but no  
success, the error remains...


The error occurs when connecting from a windows RR to localhost as  
well as when connecting from a OS-X RR to the IP Address.



Anyone any advice on how to connect to mySQL 4.1.x?

~~
Dan Shafer, Revolution Consultant and Author
http://www.shafermedia.com
Get my book, Revolution: Software at the Speed of Thought
From http://www.shafermedia.com/revolutionbooks.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


Printing Causes Rev Standalone to Crash

2005-06-27 Thread Peter Reid
I'm printing a large number of cards (100-150 cards, each landscape 
A4) using something like:


   open printing with dialog
repeat with x = 1 to cardsToPrint
  print card x
end repeat
   close printing

However, it gets to the last card and then crashes both Rev and also 
any standalone I've built doing the same thing.  I've tried both Rev 
2.5.1 and Rev 6 (under Mac OS X 10.3.9) and get the same result. 
I've tried a Print Preview and a Print to PDF and both crash out of 
Rev/standalone!  If I do Print Preview, I get nothing after the 
crash.  If I do Print to PDF, I get an incomplete damaged PDF file.


The 100-150 cards are actually groups of 4-5 cards with their content 
being changed and then printed. Basically they are customer records, 
each of 4-5 pages and I'm trying to print a batch of customers in one 
go, either directly to the printer or to a PDF file such that the 
user only has to set the paper size/orientation once and the output 
options (one/two sided, to print/PDF) once rather than for each 
customer in a batch (a batch can be 15-25 customers at a time).


This looks like a memory problem to me, but I don't know whether 
there's anything I can tweak to make it go away.


Alternatively, is there anyway to set up multiple print runs (i.e. 
multiple open printing - close printing cycles such that I can 
get the user to answer the final print dialog just the once and carry 
over the settings into each subsequent cycle?


Any suggestions please?

Peter
--
Peter Reid
Reid-IT Limited, Loughborough, Leics., UK
E-mail: [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: Menus Driving Me Nuts!

2005-06-27 Thread SimPLsol
Peter,
 I share your menu misery.
 When they work, as they seem to for most people in most situations, they 
really are brilliant. When they don't work(colorful/colourful language 
deleted).
 A couple things I've learned:
 Adding menus to a multi-card stack creates problems. If at all possible, 
add menus before adding cards.
 Don't put menus in the background group. It seems logical, particularly 
if you are adding a new menu to a stack with cards, why not just put the menu 
in the background group to have it appear on all of the existing cards (it 
will be automatically placed on any new ones) - but, don't do it. Copying the 
menu group card to card is also, in my experience, unreliable - better to 
create 
a new one card stack with the new menu (or delete the existing stack down to 
one card) and import the data to the new cards.
 As for the height. If you the above fixes don't help and you have to 
hard wire the height, set it in an openStack handler - seems something 
happens 
to the stack height after the preOpenStack message is sent.
 Many times I've said There must be a better way. And people have come 
up with clever workarounds but, as far as I know, none are well documented.
Paul Looney
___
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: Transcript arithmetic

2005-06-27 Thread Ken Ray
On 6/27/05 5:03 AM, John Ridge [EMAIL PROTECTED] wrote:


 I should emphasise that it's a standalone problem - it fails when compiled
 for Mac OS 9 as well as Windows. Are there known issues like this with the
 syntax of Transcript when compiled into a standalone? If so, I'd appreciate
 a pointer.

Did you try putting parentheses around relevant items in the equation? It
may be an order of operations issue...


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: Failing building Standalone on MacOSX 10.3.9 and Tiger 10.4.1

2005-06-27 Thread J. Landman Gay

On 6/27/05 10:45 AM, Joel Guillod wrote:

Could anyone tell me if (1) s/he has been able to build standalone  
under MacOSX 10.3.9+? If yes, how? (2) s/he is aware of such a  problem 
and what to do?


I am using 10.3.9 and I have built standalones without any problem. Have 
you tried selecting the inclusions manually instead of letting the app 
builder scan for inclusions? Sometimes that can bypass the problem.


Another known problem is file paths with non-ascii characters. Make sure 
you are saving to a folder that has no French characters in the file path.


--
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: Menus Driving Me Nuts!

2005-06-27 Thread MisterX
if my way and experience can help then i hope it does... 

in multicards, the root of the hierarchy is the stack, then the background,
then the card - then the group or what it's the card out of the background -
including other background groups. Inmensely flexible but in the raw ;)

However with backgrounds, in RunRev and MetaCard, as soon as you add
something to a card, the next card you create from that card will inherit
the extra stuff (when they are shared like buttons or background like
groups. But it's disconcerting since existing cards dont inherit the
background behavior of other groups equaly shared... 

begs the question if they have the same number of cards - false but they
share the same screen contrary to the older hypercard - here you would
create different cards, put the bgs into them and then you have what you had
in HC - structuraly speaking - Rev is a structure powerhouse!

So the easiest solution is to make one front end for your data and store
your data into a file or another hidden substack. Then your one card, will
never be out of synch with the data. That's the easiest way!

Not the fastest

Cards are too cool too ignore though - thanks to their local behavior - but
be careful to change ONE group, not many. Put the menugroup into a
comprehensive objects group and your troubles will always be shared across
all your cards or improve that quickly! ;)

did that make sense?

Cheers
Xavier
http://monsieurx.com/

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 [EMAIL PROTECTED]
 Sent: Monday, June 27, 2005 20:31
 To: use-revolution@lists.runrev.com
 Subject: Re: Menus Driving Me Nuts!
 
 Peter,
  I share your menu misery.
  When they work, as they seem to for most people in most 
 situations, they really are brilliant. When they don't 
 work(colorful/colourful language deleted).
  A couple things I've learned:
  Adding menus to a multi-card stack creates problems. If 
 at all possible, add menus before adding cards.
  Don't put menus in the background group. It seems 
 logical, particularly if you are adding a new menu to a stack 
 with cards, why not just put the menu in the background group 
 to have it appear on all of the existing cards (it will be 
 automatically placed on any new ones) - but, don't do it. 
 Copying the menu group card to card is also, in my 
 experience, unreliable - better to create a new one card 
 stack with the new menu (or delete the existing stack down to 
 one card) and import the data to the new cards.
  As for the height. If you the above fixes don't help and 
 you have to hard wire the height, set it in an openStack 
 handler - seems something happens to the stack height after 
 the preOpenStack message is sent.
  Many times I've said There must be a better way. And 
 people have come up with clever workarounds but, as far as I 
 know, none are well documented.
 Paul Looney
 ___
 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


A naive question about sub windoes/cards???

2005-06-27 Thread Rob Beynon
All,

I've seen stacks where popup windows, complete with a full set of
title bar tools and a menubar, can be made to appear, for example, to
record preferences.

Are these cards? Can new cards be made to be a different size to the first
card in a stack? And, how does one make all the controls (radi
buttons, fields etc) behave as a single entity (through a group?).

This is a whole new level of RR programming for me, so some advice
would be very helpful.

-- 
All best wishes,
Rob

(Created at 20:16 on 27/06/2005)



==
Prof. Rob Beynon|+44 151 794 4312 (voice)
Dept. Veterinary Preclinical|+44 151 794 4243 (fax)
Sciences, University of Liverpool,
Crown Street, Liverpool L69 7ZJ |mailto:[EMAIL PROTECTED]
--
http://www.liv.ac.uk/pfg|http://www.csiv.org
==

___
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: Failing building Standalone on MacOSX 10.3.9 and Tiger 10.4.1

2005-06-27 Thread Timothy Bleiler
I'm also suddenly unable to build standalones on Mac OS X 10.3.9 
although I've done so previously. The download site at runrev is not 
working right now and maybe this has something to do with it. When I 
try to save as a standalone, the preopenStack and OpenStack messages 
are sent to my stack and then the whole thing fails. This has never 
happened to me before.


--Tim Bleiler
University at Buffalo


On Jun 27, 2005, at 3:10 PM, J. Landman Gay wrote:


On 6/27/05 10:45 AM, Joel Guillod wrote:

Could anyone tell me if (1) s/he has been able to build standalone  
under MacOSX 10.3.9+? If yes, how? (2) s/he is aware of such a  
problem and what to do?


I am using 10.3.9 and I have built standalones without any problem. 
Have you tried selecting the inclusions manually instead of letting 
the app builder scan for inclusions? Sometimes that can bypass the 
problem.


Another known problem is file paths with non-ascii characters. Make 
sure you are saving to a folder that has no French characters in the 
file path.


___
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: connecting to a remote mySQL database

2005-06-27 Thread Ton Kuypers

Will there be a solution from within RR?
Anyone know?


On 27 Jun 2005, at 19:56, Dan Shafer wrote:

This is a documented problem involving the upgrade to MySQL 4.1.1  
and beyond.


This page will tell you more than you ever wanted to know but  
should help you fix the problem:


http://dev.mysql.com/doc/mysql/en/password-hashing.html


On Jun 27, 2005, at 3:23 AM, Ton Kuypers wrote:



Hi,

I've seen this come by on this list, but I can't seem to remember  
the solution to the problem.


When connecting from rev to a mySQL database (4.1.9) I keep on  
getting the error Client does not support authentication protocol  
requested by server; consider upgrading MySQL client.
I've used the mySQL Administrator to check the Use old passwords  
checkbox in the security tab of the startup variables, but no  
success, the error remains...


The error occurs when connecting from a windows RR to localhost as  
well as when connecting from a OS-X RR to the IP Address.



Anyone any advice on how to connect to mySQL 4.1.x?


~~
Dan Shafer, Revolution Consultant and Author
http://www.shafermedia.com
Get my book, Revolution: Software at the Speed of Thought
From http://www.shafermedia.com/revolutionbooks.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




___
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


Tiger breaks hyperCard?

2005-06-27 Thread Timothy Miller
I skimmed the thread on Tiger breaks hyperCard. I wasn't too 
concerned at the time.


I'm concluding the process of the OS 9 to OS X transition, once and 
for all. I'm on 10.3.9. I see its virtues. So, now I need another 
machine capable of running OS X. I'm thinking about Mac Mini, but 
they ship with Tiger installed.


I will probably need to run hyperCard in classic mode occasionally, 
at least for the next year or so, until my HC--Rev stacks are 
totally solid. I inquired on comp.sys.mac.apps. The main players 
there are usually reliable. They say hyperCard works fine on Tiger, 
in their experience. So, maybe only certain hyperCard features don't 
work? Which ones?


If Tiger breaks hyperCard, it seems like it must break a lot of other 
Classic applications also, true?


If Tiger-Breaks-HyperCard (and maybe a lot of other Classic 
applications, too) is a serious problem, would it be reasonable to 
replace Tiger with OS 10.3.9 on a new Mac Mini? My instincts say, 
Don't try it.


Since I'm on the topic, I don't mind that the Mac Mini is only a 
G4. The slow system bus speed concerns me, though -- 167 mhz. OTOH, I 
am only an occasional user of CPU-intensive applications. Is the slow 
system bus a serious bottleneck? I know this is a little OT. Sorry. I 
know this is a Rev group, but many of us are former HC users, some 
still in transition.


Hey! I didn't complain about Rev this time!

Cheers,


Tim Miller
___
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: Tiger breaks hyperCard?

2005-06-27 Thread Eric Chatonet

Hi Tim,

I run a G4 bi-pro with Tiger 10.4.1.
HyperCard 2.4.1 US with many additional utilities including 120  
externals in use, a 3.4 MB library, color tools, a multi-purposes  
plugin I wrote many years ago (1.5 MB) and much more... A real HC  
factory which needs an allocation of 15 MB of RAM (nothing at the  
moment but quite impressive some years ago :-)
All that works perfectly with Tiger as it worked with Jaguar and  
Panther in the Classic environment :-)

I think the reported issues are personal ones ;-)
Pay attention to RAM allocation: old system 9 feature, often  
forgotten since Unix came in...


Le 27 juin 05 à 21:40, Timothy Miller a écrit :

I skimmed the thread on Tiger breaks hyperCard. I wasn't too  
concerned at the time.


I'm concluding the process of the OS 9 to OS X transition, once and  
for all. I'm on 10.3.9. I see its virtues. So, now I need another  
machine capable of running OS X. I'm thinking about Mac Mini, but  
they ship with Tiger installed.


I will probably need to run hyperCard in classic mode occasionally,  
at least for the next year or so, until my HC--Rev stacks are  
totally solid. I inquired on comp.sys.mac.apps. The main players  
there are usually reliable. They say hyperCard works fine on Tiger,  
in their experience. So, maybe only certain hyperCard features  
don't work? Which ones?


If Tiger breaks hyperCard, it seems like it must break a lot of  
other Classic applications also, true?


If Tiger-Breaks-HyperCard (and maybe a lot of other Classic  
applications, too) is a serious problem, would it be reasonable to  
replace Tiger with OS 10.3.9 on a new Mac Mini? My instincts say,  
Don't try it.


Since I'm on the topic, I don't mind that the Mac Mini is only a  
G4. The slow system bus speed concerns me, though -- 167 mhz. OTOH,  
I am only an occasional user of CPU-intensive applications. Is the  
slow system bus a serious bottleneck? I know this is a little OT.  
Sorry. I know this is a Rev group, but many of us are former HC  
users, some still in transition.


Best Regards from Paris,

Eric Chatonet.

So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86


___
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: repeat for each in reverse order ?

2005-06-27 Thread Wouter

Hi,

Using the following to reverse the order of lines of a field  
containing 525605  chars in 14194 lines



reversing by:

on mouseUp
  put fld 1 into x
  put the long seconds into zap
  repeat for each line i in x
put icr before tList
  end repeat
  put the long seconds - zap
  put tList into fld 1
end mouseUp

takes  60 seconds on a slowbook (G4 400 mhz)


reversing by:

on mouseUp
  put fld 1 into x
  put the long seconds into zap
  split x by return
  get the keys of x
  sort it numeric descending
  repeat for each line i in it
put x[i]cr after tList
  end repeat
  put the long seconds - zap
  put tList into fld 1
end mouseUp

yields around 0.413007 seconds on a slowbook (G4 400 mhz)
(which is not too bad)

The amount of chars and lines has a big influence on the speed in the  
first handler,

while in the second handler it has not.

Greetings,
Wouter

On 27 Jun 2005, at 14:40, Dennis Brown wrote:

The repeat for each only goes in forward sequential order starting  
at the beginning, except for arrays where the order is indeterminate.


I have requested a sequential access enhancement to allow for  
constructing this type of looping in a more flexible way (like  
parallel instantiation, starting at an arbitrary point, and reverse  
order), to make it possible to wander all over your data  
sequentially with the speed of the repeat for each method.   
However, it would be most useful with some improved string  
delimiter handling.  Bugzilla # 2773


Having a reverse order repeat for each might be up to twice as slow  
as the forward version depending on how it is implemented, because  
it has to go backwards to the previous delimiter then forward to  
pick up the data, though it could pick up the data in reverse order  
on the way back.  However, even twice as slow would be much faster  
than any other method.


Dennis

___
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: connecting to a remote mySQL database

2005-06-27 Thread Dan Shafer
Hard to say. People using other development environments are  
apparently just executing the fix as if it were no big deal and  
moving on. I don't know how much Rev *can* do here let alone how much  
they have time/resources for.


dan

On Jun 27, 2005, at 12:32 PM, Ton Kuypers wrote:


Will there be a solution from within RR?
Anyone know?


On 27 Jun 2005, at 19:56, Dan Shafer wrote:


This is a documented problem involving the upgrade to MySQL 4.1.1  
and beyond.


This page will tell you more than you ever wanted to know but  
should help you fix the problem:


http://dev.mysql.com/doc/mysql/en/password-hashing.html


On Jun 27, 2005, at 3:23 AM, Ton Kuypers wrote:




Hi,

I've seen this come by on this list, but I can't seem to remember  
the solution to the problem.


When connecting from rev to a mySQL database (4.1.9) I keep on  
getting the error Client does not support authentication  
protocol requested by server; consider upgrading MySQL client.
I've used the mySQL Administrator to check the Use old  
passwords checkbox in the security tab of the startup variables,  
but no success, the error remains...


The error occurs when connecting from a windows RR to localhost  
as well as when connecting from a OS-X RR to the IP Address.



Anyone any advice on how to connect to mySQL 4.1.x?



~~
Dan Shafer, Revolution Consultant and Author
http://www.shafermedia.com
Get my book, Revolution: Software at the Speed of Thought
From http://www.shafermedia.com/revolutionbooks.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





___
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: Confirm Long File Name Bug in Player Object

2005-06-27 Thread Sivakatirswami

We appreciate constructive criticism.

I'm not a trained developer, and just do the best I can... some  
computer savvy users take your apps and run with them...  gives you  
the false sense that you did a great job with the UI... but I'm  
learning that's not true as some of my naive users come back to me  
with questions I never dreamed of...


In anticipation of doing more for the public in the not-too-distant  
future see below


On Jun 25, 2005, at 5:57 AM, Mark Wieder wrote:



Sanswer Are you finished with the last one? If so, shall I clear
S the header info? with No or Yes

I understand the intent, but I have to say that I find two yes-or-no
questions in a single answer dialog with a single response a bit
confusing to the user.


OK  I think I understand... better if the buttons describe the  
actions and don't just throw a boolean at the user... how about this:


answer Are you finished with the last one? If so, shall I clear
the header info?

with

Cancel or Clear Header

Better?

skts





Sput theTape into tTruncatedFileName
S  put char 1 to 13 of (item -1 of theTape)  .mp3  into  
item -1

S of tTruncatedFileName
S  rename file theTape to tTruncatedFileName

... and here I would check to make sure that file tTruncatedFileName
doesn't already exist before trying to rename it...

Anyway, glad you found a workaround for now.

--
-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: Tiger breaks hyperCard?

2005-06-27 Thread Dan Shafer
I can report that HC seems to work just fine in Tiger. I don't use it  
often and I haven't done any new development in it, but the old HC  
stacks I have lying around before I port them to Rev all seem to run  
along fat, dumb, and happy.


Dan

On Jun 27, 2005, at 1:16 PM, Eric Chatonet wrote:


Hi Tim,

I run a G4 bi-pro with Tiger 10.4.1.
HyperCard 2.4.1 US with many additional utilities including 120  
externals in use, a 3.4 MB library, color tools, a multi-purposes  
plugin I wrote many years ago (1.5 MB) and much more... A real HC  
factory which needs an allocation of 15 MB of RAM (nothing at the  
moment but quite impressive some years ago :-)
All that works perfectly with Tiger as it worked with Jaguar and  
Panther in the Classic environment :-)

I think the reported issues are personal ones ;-)
Pay attention to RAM allocation: old system 9 feature, often  
forgotten since Unix came in...


Le 27 juin 05 à 21:40, Timothy Miller a écrit :


I skimmed the thread on Tiger breaks hyperCard. I wasn't too  
concerned at the time.


I'm concluding the process of the OS 9 to OS X transition, once  
and for all. I'm on 10.3.9. I see its virtues. So, now I need  
another machine capable of running OS X. I'm thinking about Mac  
Mini, but they ship with Tiger installed.


I will probably need to run hyperCard in classic mode  
occasionally, at least for the next year or so, until my HC--Rev  
stacks are totally solid. I inquired on comp.sys.mac.apps. The  
main players there are usually reliable. They say hyperCard works  
fine on Tiger, in their experience. So, maybe only certain  
hyperCard features don't work? Which ones?


If Tiger breaks hyperCard, it seems like it must break a lot of  
other Classic applications also, true?


If Tiger-Breaks-HyperCard (and maybe a lot of other Classic  
applications, too) is a serious problem, would it be reasonable to  
replace Tiger with OS 10.3.9 on a new Mac Mini? My instincts say,  
Don't try it.


Since I'm on the topic, I don't mind that the Mac Mini is only a  
G4. The slow system bus speed concerns me, though -- 167 mhz.  
OTOH, I am only an occasional user of CPU-intensive applications.  
Is the slow system bus a serious bottleneck? I know this is a  
little OT. Sorry. I know this is a Rev group, but many of us are  
former HC users, some still in transition.




Best Regards from Paris,

Eric Chatonet.

So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86


___
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: Tiger breaks hyperCard?

2005-06-27 Thread SimPLsol
Tim,
 I   have been using HyperCard in Classic ever since there was Classic. 
There are two issues in Tiger that were not problems in earlier OS X: some 
plugins will not load and reports made with 9 to 5 Reports do not work. Both of 
these issues involve a problem with the new way Tiger handles paths. This also 
affects other applications so I expect to see Apple fix it - they may have 
already fixed Reports with the 10.4.1 security upgrade, it seems to be working 
but I no longer use HyperCard enough to do thorough testing.
Paul Looney
___
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: A naive question about sub windoes/cards???

2005-06-27 Thread Dan Shafer
Your question goes to the heart of Application design and modeling in  
Revolution, which is a pretty broad topic.


However, there are a couple of short answers that might either  
satisfy your current need or lead you to somewhere else that does.


It is entirely possible to include in one Rev stack/application cards/ 
windows that have different sizes and shapes from others. Doing so  
requires scripting those cards so that they resize when they open and  
close but it can be done. I personally never use this approach, but  
I've seen some apps that worked quite smoothly that use it a lot.


In all likelihood, you're experiencing stacks/apps that are done in  
the new Revolutionary way, that is, with a single mainstack which  
opens sub-stacks for things like you're describing. Given the fact  
that you can have a conceptually unlimited number of sub-stacks, all  
or many of which may have just one card, this design approach has all  
the virtues of modularity. You can open such sub-stacks so they look  
and behave like dialog boxes or windows or even sheets on OS X.


Your second question about making all the controls behave as a single  
entity is indeed answered by groups. These are quite powerful and  
worth spending time getting to understand. You can have multiple  
groups, shared across all or multiple sub-sets of cards in your  
stacks, so the possibilities are literally endless.


Enjoy Rev programming and know that there's a great community of  
people here who are eager to help newcomers sort it all out.



On Jun 27, 2005, at 12:19 PM, Rob Beynon wrote:


All,

I've seen stacks where popup windows, complete with a full set of
title bar tools and a menubar, can be made to appear, for example, to
record preferences.

Are these cards? Can new cards be made to be a different size to  
the first

card in a stack? And, how does one make all the controls (radi
buttons, fields etc) behave as a single entity (through a group?).

This is a whole new level of RR programming for me, so some advice
would be very helpful.



~~
Dan Shafer, Revolution Consultant and Author
http://www.shafermedia.com
Get my book, Revolution: Software at the Speed of Thought
From http://www.shafermedia.com/revolutionbooks.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: Tiger breaks hyperCard?

2005-06-27 Thread Timothy Miller

Thanks a bunch, Eric. That's a big relief.

While I'm at it, thanks to Richard Gaskin for his recent reply on 
another thread regarding stack names, stack labels, file names, etc.



Tim Miller


Hi Tim,

I run a G4 bi-pro with Tiger 10.4.1.
HyperCard 2.4.1 US with many additional utilities including 120 
externals in use, a 3.4 MB library, color tools, a multi-purposes 
plugin I wrote many years ago (1.5 MB) and much more... A real HC 
factory which needs an allocation of 15



--snip--
___
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: Tiger breaks hyperCard?

2005-06-27 Thread J. Landman Gay

On 6/27/05 2:40 PM, Timothy Miller wrote:

If Tiger breaks hyperCard, it seems like it must break a lot of other 
Classic applications also, true?


I don't run Tiger, but this is what I have heard:

Under Tiger, the global file paths which are stored in the Home stack 
are no longer recognized. If your stacks depend on the Home stack 
globals, they break.


You can't open the script of the Home stack from within the Home stack. 
You can open it remotely, however (i.e., from some other stack, edit 
script of stack Home in the message box.)


Some report that you cannot edit ANY stack script from within that 
stack; they must all be accessed remotely as above.


Some report that Tiger 10.4.1 fixes the file path problems. Others say 
it doesn't.


Some report that running HC off a non-startup volume fixes things. 
Others say it doesn't.


--
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: Confirm Long File Name Bug in Player Object

2005-06-27 Thread Mark Wieder
Sivakatirswami-

Monday, June 27, 2005, 1:30:58 PM, you wrote:

S answer Are you finished with the last one? If so, shall I clear
S the header info?

S with

S Cancel or Clear Header

S Better?

I like the Clear Header. That makes it obvious what will happen if I
press the button. The concept of Cancel has always bothered me in
contexts like this.

If you are presenting two questions then there are four possible
states for the user. It looks to me like you are taking care of two of
those:

  clear header
  YN
finished  --
Y | Clear ||
N |   | Cancel |
  --

If I'm the user and I'm finished with the last one, what will happen
when I press Cancel? Will my changes disappear? If I'm not done what
does Cancel mean? What if I'm done with the last one but I don't want
to clear the header info? In this last case, I don't really know what
you're intending, so I don't know if that's even an option - it may be
clear from where I am in the application.

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


Note to self: ALWAYS apply script changes

2005-06-27 Thread Ron Noice
I've run into a problem in 2.6 that caused me to lose everything since the 
previous save. Twice! Which just goes to show ya -- it takes repetition to 
teach an old dog new tricks. Very likely I'm the only twit who would actually 
follow the sequence of events I'll outline here, but just in case someone else 
does, don't! The end result is that I get myself into a position where I try to 
Save but instead, Rev immediately quits without saving anything. Don't know if 
this can be classed as a bug or just as something stupid not to do. But the 
problem can be reproduced with the following clever steps (BTW, I'm using 
Windows XP - which should have been punishment enough - and Rev 2.6):

1. Open a stack or start a new one.
2. Make some changes -- insert new objects, move objects around, etc.
3. Create a new button.
4. Open the script editor for that button and put something into it.
5. But now, you're thinking I wonder if ... and you think you'll take a look 
at something else in the stack behind the script editor. So you move the script 
editor out of the way. Note that the script has not been Applied because you're 
not finished with it yet. -- BIG MISTAKE
6. You look at the something else in your stack and then realize you don't 
need that new button after all. So you delete the button (yeah -- its script is 
still open!)
7. Better save, right? So press Ctrl+S to save and thus the trouble begins.

At this point, a message opens in your unapplied script window: The object you 
are editing appears to have been removed or deleted. Do you want to copy the 
text you are editing to the clipboard before closing this script? along with a 
Close button and a Copy and close button. (A Cancel button would have 
been s nice!) So you click one of the buttons and then, to your amazement, 
everything disappears -- i.e., Rev quits and you lose all the changes you've 
made.

Once I stopped pounding my head on the desk, I played around with this a bit 
and found that these seem to be the triggers that cause the problem:
a) Using 2.6 is a trigger -- in 2.5.1, the Save dialogue appears FIRST to let 
you save and the error only appears when you quit so there is no calamity.
b) Using Ctrl+S is a trigger -- if I use File | Save instead, the Save dialogue 
appears and lets you save.
c) Not applying script changes is a definite trigger -- if I Apply first, 
deleting the button has no severe effect even if its script is still open. I 
can even use Ctrl+S in this case and the stack will still save after the error 
message has been dismissed.

So the moral of this story, class, is to ALWAYS APPLY SCRIPT CHANGES before 
looking at something else even if you are not finished with the script.

... Ron

___
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: A naive question about sub windoes/cards???

2005-06-27 Thread Mark Smith
These pop-up windows will generally be single card sub-stacks of the 
main stack. If you're coming from Hypercard, you need to get your head 
around the fact that in Rev, a stack file can contain one mainstack and 
as many sub-stacks as you want, each having it's own size and even 
shape.


Cheers,

Mark

On 27 Jun 2005, at 20:19, Rob Beynon wrote:


All,

I've seen stacks where popup windows, complete with a full set of
title bar tools and a menubar, can be made to appear, for example, to
record preferences.

Are these cards? Can new cards be made to be a different size to the 
first

card in a stack? And, how does one make all the controls (radi
buttons, fields etc) behave as a single entity (through a group?).

This is a whole new level of RR programming for me, so some advice
would be very helpful.

--
All best wishes,
Rob

(Created at 20:16 on 27/06/2005)



==
Prof. Rob Beynon|+44 151 794 4312 (voice)
Dept. Veterinary Preclinical|+44 151 794 4243 (fax)
Sciences, University of Liverpool,
Crown Street, Liverpool L69 7ZJ |mailto:[EMAIL PROTECTED]
--
http://www.liv.ac.uk/pfg|http://www.csiv.org
==

___
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: repeat for each in reverse order ?

2005-06-27 Thread Dennis Brown

Wouter,

I'm not sure what this example has to do with the question on the  
thread, but you first example is a speed killer.  Putting things in  
front of a string causes the whole string to be shuffled to make room  
for the inserted string.  It is a worst case situation --although I  
can always come up with a way to make it slower.  It would be faster  
to use the slower repeat for i=number of lines in x down to 1 and  
then put the lines after like your second example.


Splitting into an array is usually a good approach if the repeat for  
each construct will not work.  However, it does take time to do the  
split.  A repeat for each could process the whole string in less time  
than it takes to split it if a repeat for each fits the problem.


In your second example, sorting the keys will also take time.  You  
might be better off with just a simple repeat for i=number of lines  
in x down to 1 as the array index.  You would have to try it on your  
array to see.


Dennis


On Jun 27, 2005, at 4:24 PM, Wouter wrote:


Hi,

Using the following to reverse the order of lines of a field  
containing 525605  chars in 14194 lines



reversing by:

on mouseUp
  put fld 1 into x
  put the long seconds into zap
  repeat for each line i in x
put icr before tList
  end repeat
  put the long seconds - zap
  put tList into fld 1
end mouseUp

takes  60 seconds on a slowbook (G4 400 mhz)


reversing by:

on mouseUp
  put fld 1 into x
  put the long seconds into zap
  split x by return
  get the keys of x
  sort it numeric descending
  repeat for each line i in it
put x[i]cr after tList
  end repeat
  put the long seconds - zap
  put tList into fld 1
end mouseUp

yields around 0.413007 seconds on a slowbook (G4 400 mhz)
(which is not too bad)

The amount of chars and lines has a big influence on the speed in  
the first handler,

while in the second handler it has not.

Greetings,
Wouter

On 27 Jun 2005, at 14:40, Dennis Brown wrote:


The repeat for each only goes in forward sequential order starting  
at the beginning, except for arrays where the order is indeterminate.


I have requested a sequential access enhancement to allow for  
constructing this type of looping in a more flexible way (like  
parallel instantiation, starting at an arbitrary point, and  
reverse order), to make it possible to wander all over your data  
sequentially with the speed of the repeat for each method.   
However, it would be most useful with some improved string  
delimiter handling.  Bugzilla # 2773


Having a reverse order repeat for each might be up to twice as  
slow as the forward version depending on how it is implemented,  
because it has to go backwards to the previous delimiter then  
forward to pick up the data, though it could pick up the data in  
reverse order on the way back.  However, even twice as slow would  
be much faster than any other method.


Dennis


___
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: Tiger breaks hyperCard?

2005-06-27 Thread Eric Chatonet

Hi Ti, Jacque and Chris,

I haven't done any new development with HC since years but I reopen  
it often to get some old recipes in my huge lib.

I made some experiments running 10.4.1.
I have to add (according to Jacque and Chris comments) that HC is  
located on a non-startup disk dedicated to Classic only.
I experimented that script editing works fine, start using and third  
party tools as windowScript too.
The only problem I found (but I did not search very deep :-) is that  
if new folder filepaths are well stored in the home stack (as they  
have to be according to user navigation) they obviously can't be used  
by the engine to open without dialog the stacks which are NOT in the  
same folder than HC itself.
This affects mainly the navigation buttons located on the home stack  
but can't be a real problem for any project :-)


Le 27 juin 05 à 23:18, J. Landman Gay a écrit :


I don't run Tiger, but this is what I have heard:

Under Tiger, the global file paths which are stored in the Home  
stack are no longer recognized. If your stacks depend on the Home  
stack globals, they break.


You can't open the script of the Home stack from within the Home  
stack. You can open it remotely, however (i.e., from some other  
stack, edit script of stack Home in the message box.)


Some report that you cannot edit ANY stack script from within that  
stack; they must all be accessed remotely as above.


Some report that Tiger 10.4.1 fixes the file path problems. Others  
say it doesn't.


Some report that running HC off a non-startup volume fixes things.  
Others say it doesn't.



Best Regards from Paris,

Eric Chatonet.

So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86


___
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: compileIt for revolution?

2005-06-27 Thread Alex Tweedly

Jon wrote:

I already posted the code and announced it on this list: look for my 
image processor in my user space, open a large image (at least 
1000x1000), select Bright, and then Linear.



Jon - I got an error trying to download your stack from RevOnline.

Did you try to upload it (or change its name / description) over the 
weekend while the servers were dodgy ?
Could you maybe either reload it, or if necessary contact Rev support so 
they know they need to figure out why it won't download (Currently it 
gives an error

File not Found
The URL you have entered points to an unknown file.

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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.2/29 - Release Date: 27/06/2005

___
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: Tiger breaks hyperCard?

2005-06-27 Thread Jim Hurley
I had heard, from a distance source, that a new Mac with Tiger 
installed will not necessarily include classic. Anybody know whether 
this is true?


Jim
___
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: Tiger breaks hyperCard?

2005-06-27 Thread Richard Gaskin

Jim Hurley wrote:
I had heard, from a distance source, that a new Mac with Tiger installed 
will not necessarily include classic. Anybody know whether this is true?


Tiger does not include Classic, and I don't think Jaguar did either. 
So if you don't have an old install you'll have to re-install from an OS 
9 CD.  If this is a first Mac and you don't have an OS 9 CD, you're hosed.


Half a decade into OS X, Apple is moving agressively to kill OS 9.  The 
new MacTel machines will seal Classic's fate, as IIRC the Classic layer 
will be ported.


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.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: returnInField doesn't work

2005-06-27 Thread ron barber

Hi Friedrich,


I'm sure Kenji's suggestion will do what you want to do. It might be 
helpful for you to read the find command in the docs to understand the 
various types of find and why one works for unicode and others don't.


Along with Kenji's method, I also use  offset:

  put the number of chars of the text of me into endchar
  put offset(findword,fld id 1003) into startchar
  if startchar is not 0 then
select char startchar to startchar+endchar-1 of fld id 1003
  end if

hth
Ron


On Jun 28, 2005, at 1:55 AM, Kenji Kojima wrote:


Friedrich,

Try this.
It works for Japanese. I don't know Chinese.

on returnInField
find string me in field id 1003
end returnInField

--
Kenji Kojima
http://www.kenjikojima.com/



On Jun 27, 2005, at 12:18 PM, Friedrich F. Grohmann wrote:


Ron,

 Thanks for telling me that you



search Japanese (and Chinese) within a fld successfully. Can you post
your script so maybe we can figure out what is not happening 
correctly?




I'm most happy to do this. The script itself is of utter simplicity:

on returnInField
 find the text of me in field id 1003
end returnInField

I cannot imagine what could be wrong with that since it works with 
Roman
text in other stacks. The font of the two fields involved is 
specified as

Apple LiGothic Medium,Chinese, and it is possible to search text in
both of them via the message box. So what could be the problem with
returnInField?

Thanks in advance,
Fritz
___
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: images

2005-06-27 Thread Jon

Jim:

Thanks so much for the handler, but 1) it would not compile as written, 
and 2) after I managed to get it to compile (probably by butchering it), 
it did nothing useful.  I tried words like image and icon and only 
managed to get a number written into a file.


If you had the time, I would appreciate it if you could make the code 
work.  After an hour or so of fiddling, I know I can't.  Sigh.


All I'm trying to do is to move Scott's shiny numbered balls [sic] into 
the current set of code I'm running for the Nine Ball stack.  Should be 
simple, right?


Jon


Jim Hurley wrote:



Date: Mon, 27 Jun 2005 07:53:01 -0400
From: Jon [EMAIL PROTECTED]
Subject: images
To: Revolution List use-revolution@lists.runrev.com

I'm still fiddling with the Nine Ball With Spin game. I want to modify
the ball images, but I can't for the life of me figure out how to do
that. I figured out where the images were, in a graphic, but can't
figure out any way to actually see the image, save it modify it, load
it, etc.

Any hints? The property Inspector seems useless in this situation,
which seems strange.

Jon




Jon,

I'm not the best person to answer this question but try the following:

on mouseUP
  ask  What image to save?
  if it is empty then exit mouseUp
  put it into theImageToSave
  ask file Give it what file name? (Don't forget the suffix.)
  if it is empty then exit mouseUp
  put it into fileName
  if it is not empty then
put binFile:fileName into theLongFileName
  else
exit mouseUp
  end if
  put image theImageToSave into url theLongFileName
end mouseUP

In theImageToSave be sure to include the suffix, e.g. .png

This handler should put a file on disk which you can edit in 
PhotoShop/Elements or whatever.


It might be nice if Run Rev included an Export menu option to go 
with the Import menu option.


Somehow the numbers of the ball got lost in some of the iterations of 
Nine Ball.


You will find Nine Ball using Scott's shiny balls *with* attached 
numbers on my web site:


http://home.infostations.net/jhurley/


Jim


___
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: connecting to a remote mySQL database

2005-06-27 Thread Sarah Reichelt
When connecting from rev to a mySQL database (4.1.9) I keep on  
getting the error Client does not support authentication protocol  
requested by server; consider upgrading MySQL client.
I've used the mySQL Administrator to check the Use old passwords  
checkbox in the security tab of the startup variables, but no  
success, the error remains...


The error occurs when connecting from a windows RR to localhost as  
well as when connecting from a OS-X RR to the IP Address.



Anyone any advice on how to connect to mySQL 4.1.x?



Try this solution:

http://lists.runrev.com/pipermail/use-revolution/2005-May/056883.html

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


Re: Confirm Long File Name Bug in Player Object

2005-06-27 Thread Thomas McGrath III

Sivakatirswami,

I would leave the No and Yes buttons and just change the text:

answer Are you finished with the last one? This will clear the header 
info. with No or Yes


or maybe clarify what the last one is:

answer If you are finished, do you want to clear the header 
information? with No or Yes



HTH

TOm

On Jun 27, 2005, at 4:30 PM, Sivakatirswami wrote:


We appreciate constructive criticism.

I'm not a trained developer, and just do the best I can... some 
computer savvy users take your apps and run with them...  gives you 
the false sense that you did a great job with the UI... but I'm 
learning that's not true as some of my naive users come back to me 
with questions I never dreamed of...


In anticipation of doing more for the public in the not-too-distant 
future see below


On Jun 25, 2005, at 5:57 AM, Mark Wieder wrote:



Sanswer Are you finished with the last one? If so, shall I clear
S the header info? with No or Yes

I understand the intent, but I have to say that I find two yes-or-no
questions in a single answer dialog with a single response a bit
confusing to the user.


OK  I think I understand... better if the buttons describe the actions 
and don't just throw a boolean at the user... how about this:


answer Are you finished with the last one? If so, shall I clear
the header info?

with

Cancel or Clear Header

Better?

skts





Sput theTape into tTruncatedFileName
S  put char 1 to 13 of (item -1 of theTape)  .mp3  into item 
-1

S of tTruncatedFileName
S  rename file theTape to tTruncatedFileName

... and here I would check to make sure that file tTruncatedFileName
doesn't already exist before trying to rename it...

Anyway, glad you found a workaround for now.

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




Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541

___
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: Printing Causes Rev Standalone to Crash

2005-06-27 Thread Sarah Reichelt
I'm printing a large number of cards (100-150 cards, each landscape  
A4) using something like:


   open printing with dialog
repeat with x = 1 to cardsToPrint
  print card x
end repeat
   close printing

However, it gets to the last card and then crashes both Rev and  
also any standalone I've built doing the same thing.  I've tried  
both Rev 2.5.1 and Rev 6 (under Mac OS X 10.3.9) and get the same  
result. I've tried a Print Preview and a Print to PDF and both  
crash out of Rev/standalone!  If I do Print Preview, I get nothing  
after the crash.  If I do Print to PDF, I get an incomplete damaged  
PDF file.




A few weeks ago, someone reported crashes when printing large numbers  
of cards/pages. Can you split your print job into smaller batches?  
Also, make sure that you aren't trying to print a card that doesn't  
exist.


Cheers,
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


copy of bounced message

2005-06-27 Thread Jon

Alex:

Thanks for your interest.  Rather than bothering the Rev folks, just try 
www.jonbondy.com/jlbimage.rev


:)

Jon


Alex Tweedly wrote:


Jon wrote:

I already posted the code and announced it on this list: look for my 
image processor in my user space, open a large image (at least 
1000x1000), select Bright, and then Linear.




Jon - I got an error trying to download your stack from RevOnline.

Did you try to upload it (or change its name / description) over the 
weekend while the servers were dodgy ?
Could you maybe either reload it, or if necessary contact Rev support 
so they know they need to figure out why it won't download (Currently 
it gives an error

File not Found
The URL you have entered points to an unknown file.



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

2005-06-27 Thread Pat Trendler

Jon,

Sorry, forgot to tell you how to get a copy of the image, which is what you 
actually asked. Use export.


on mouseUp
 export image scottRed7.png to file ball7.png as PNG
end mouseUp

This will save the image into the same folder as the stack. You can give a 
filepath if you want, and save in whatever format you want.


Pat
[EMAIL PROTECTED]


- Original Message - 
From: Pat Trendler [EMAIL PROTECTED]

To: How to use Revolution use-revolution@lists.runrev.com
Sent: Monday, June 27, 2005 10:19 PM
Subject: Re: images



Jon,

If it is any help, the balls are buttons with icons. See in the property 
inspector(for any of the balls) - icons  borders, click on the little 
wand thingey by the icon and id no., choose this stack from the drop 
down menu and see all the ball icons.


Pat
[EMAIL PROTECTED]

- Original Message - 
From: Jon [EMAIL PROTECTED]

To: Revolution List use-revolution@lists.runrev.com
Sent: Monday, June 27, 2005 9:53 PM
Subject: images



I'm still fiddling with the Nine Ball With Spin game. I want to modify
the ball images, but I can't for the life of me figure out how to do
that. I figured out where the images were, in a graphic, but can't
figure out any way to actually see the image, save it modify it, load
it, etc.

Any hints? The property Inspector seems useless in this situation,
which seems strange.

Jon

___
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: Printing Causes Rev Standalone to Crash

2005-06-27 Thread Peter Reid
I'm printing a large number of cards (100-150 cards, each landscape 
A4) using something like:


   open printing with dialog
repeat with x = 1 to cardsToPrint
  print card x
end repeat
   close printing

However, it gets to the last card and then crashes both Rev and 
also any standalone I've built doing the same thing.  I've tried 
both Rev 2.5.1 and Rev 6 (under Mac OS X 10.3.9) and get the same 
result. I've tried a Print Preview and a Print to PDF and both 
crash out of Rev/standalone!  If I do Print Preview, I get nothing 
after the crash.  If I do Print to PDF, I get an incomplete damaged 
PDF file.




A few weeks ago, someone reported crashes when printing large 
numbers of cards/pages. Can you split your print job into smaller 
batches? Also, make sure that you aren't trying to print a card that 
doesn't exist.


Cheers,
Sarah


Unfortunately I have the requirement to be able to ether print to 
paper or to PDF and if I split into smaller batches, I'll end up with 
a separate PDF file for each batch.  Also, it only prints the cards 
it's got.


Do you know if this is already a bugzilla report (crashing when 
printing large number of pages) or should I file it?


Cheers
Peter
___
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: repeat for each in reverse order ?

2005-06-27 Thread Buster

Dennis,

I thought the original question on this thread was:



Hi list,

Is there a way to use
repeat for each element thisIndexTerm in listOfTerms
in reverse order, like in
repeat with i=number of items of myVar down to 1 ?

Thanks,
JB



which has changed to a feature request only later on in the thread.
This feature request would be nice, but doesn't solve the problem  
right now.
My answer and there you are right, I should have placed it as a reply  
to JB's original question and not to yours, was only to help out and  
show some peculiarities of the different solutions proposed, which were:


The first method I mentioned (which you called a speed killer) is  
*not* fast at all when the number of lines exceed a certain level  
(depending on cpu). And the larger the number of chars in those lines  
the slower the performance.


The second method on the contrary doesn't increase processing time in  
the same way the first method does and is by far the better solution  
for larger amounts of lines and chars.


Greetings,
Wouter

On 28 Jun 2005, at 00:51, Wouter wrote:




Begin forwarded message:


From: Dennis Brown [EMAIL PROTECTED]
Date: Mon 27 Jun 2005 23:58:13 GMT+02:00
To: How to use Revolution use-revolution@lists.runrev.com
Subject: Re: repeat for each in reverse order ?
Reply-To: How to use Revolution use-revolution@lists.runrev.com


Wouter,

I'm not sure what this example has to do with the question on the  
thread, but you first example is a speed killer.  Putting things  
in front of a string causes the whole string to be shuffled to  
make room for the inserted string.  It is a worst case situation -- 
although I can always come up with a way to make it slower.  It  
would be faster to use the slower repeat for i=number of lines in  
x down to 1 and then put the lines after like your second example.


Splitting into an array is usually a good approach if the repeat  
for each construct will not work.  However, it does take time to  
do the split.  A repeat for each could process the whole string in  
less time than it takes to split it if a repeat for each fits the  
problem.


In your second example, sorting the keys will also take time.  You  
might be better off with just a simple repeat for i=number of  
lines in x down to 1 as the array index.  You would have to try it  
on your array to see.


Dennis


On Jun 27, 2005, at 4:24 PM, Wouter wrote:



Hi,

Using the following to reverse the order of lines of a field  
containing 525605  chars in 14194 lines



reversing by:

on mouseUp
  put fld 1 into x
  put the long seconds into zap
  repeat for each line i in x
put icr before tList
  end repeat
  put the long seconds - zap
  put tList into fld 1
end mouseUp

takes  60 seconds on a slowbook (G4 400 mhz)


reversing by:

on mouseUp
  put fld 1 into x
  put the long seconds into zap
  split x by return
  get the keys of x
  sort it numeric descending
  repeat for each line i in it
put x[i]cr after tList
  end repeat
  put the long seconds - zap
  put tList into fld 1
end mouseUp

yields around 0.413007 seconds on a slowbook (G4 400 mhz)
(which is not too bad)

The amount of chars and lines has a big influence on the speed in  
the first handler,

while in the second handler it has not.

Greetings,
Wouter

On 27 Jun 2005, at 14:40, Dennis Brown wrote:



The repeat for each only goes in forward sequential order  
starting at the beginning, except for arrays where the order is  
indeterminate.


I have requested a sequential access enhancement to allow for  
constructing this type of looping in a more flexible way (like  
parallel instantiation, starting at an arbitrary point, and  
reverse order), to make it possible to wander all over your data  
sequentially with the speed of the repeat for each method.   
However, it would be most useful with some improved string  
delimiter handling.  Bugzilla # 2773


Having a reverse order repeat for each might be up to twice as  
slow as the forward version depending on how it is implemented,  
because it has to go backwards to the previous delimiter then  
forward to pick up the data, though it could pick up the data in  
reverse order on the way back.  However, even twice as slow  
would be much faster than any other method.


Dennis


___
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: repeat for each in reverse order ?

2005-06-27 Thread Dennis Brown

Wouter,

I was under the impression that JB wanted to read a list sequentially  
in reverse with the repeat for each to make it go faster, not reverse  
the list.  The split into an array is going to be faster at reading  
the list in any order given that the repeat for each in reverse does  
not exist.  However, If we were given a more complete definition of  
the problem, then perhaps the list could have generated a truly  
optimized solution.  For instance, I have had to create some  
solutions for doing stuff in reverse to a list, that I managed to use  
repeat for each loops that ran much faster than splitting.  A genius  
might be able to find all kinds of clever ways to use the existing  
Transcript capabilities, but it would sure be nice if the language  
allowed us mere mortals to tackle a problem in a straight forward way  
without suffering orders of magnitude speed penalties.


As a matter of course, figuring out how to use arrays is one of the  
most straight forward ways to manage data.  Arrays are not the  
fastest nor the most space efficient, but they are usually a  
reasonable compromise for most problems.


I see that our scripting conferences has nothing for arrays in the  
queue.  This might be a good topic based on the number of times it is  
used as a solution for newbie questions.


Dennis

On Jun 27, 2005, at 8:54 PM, Buster wrote:


Dennis,

I thought the original question on this thread was:




Hi list,

Is there a way to use
repeat for each element thisIndexTerm in listOfTerms
in reverse order, like in
repeat with i=number of items of myVar down to 1 ?

Thanks,
JB




which has changed to a feature request only later on in the thread.
This feature request would be nice, but doesn't solve the problem  
right now.
My answer and there you are right, I should have placed it as a  
reply to JB's original question and not to yours, was only to help  
out and show some peculiarities of the different solutions  
proposed, which were:


The first method I mentioned (which you called a speed killer) is  
*not* fast at all when the number of lines exceed a certain level  
(depending on cpu). And the larger the number of chars in those  
lines the slower the performance.


The second method on the contrary doesn't increase processing time  
in the same way the first method does and is by far the better  
solution for larger amounts of lines and chars.


Greetings,
Wouter

On 28 Jun 2005, at 00:51, Wouter wrote:





Begin forwarded message:



From: Dennis Brown [EMAIL PROTECTED]
Date: Mon 27 Jun 2005 23:58:13 GMT+02:00
To: How to use Revolution use-revolution@lists.runrev.com
Subject: Re: repeat for each in reverse order ?
Reply-To: How to use Revolution use-revolution@lists.runrev.com


Wouter,

I'm not sure what this example has to do with the question on the  
thread, but you first example is a speed killer.  Putting things  
in front of a string causes the whole string to be shuffled to  
make room for the inserted string.  It is a worst case situation  
--although I can always come up with a way to make it slower.  It  
would be faster to use the slower repeat for i=number of lines in  
x down to 1 and then put the lines after like your second example.


Splitting into an array is usually a good approach if the repeat  
for each construct will not work.  However, it does take time to  
do the split.  A repeat for each could process the whole string  
in less time than it takes to split it if a repeat for each fits  
the problem.


In your second example, sorting the keys will also take time.   
You might be better off with just a simple repeat for i=number of  
lines in x down to 1 as the array index.  You would have to try  
it on your array to see.


Dennis


On Jun 27, 2005, at 4:24 PM, Wouter wrote:




Hi,

Using the following to reverse the order of lines of a field  
containing 525605  chars in 14194 lines



reversing by:

on mouseUp
  put fld 1 into x
  put the long seconds into zap
  repeat for each line i in x
put icr before tList
  end repeat
  put the long seconds - zap
  put tList into fld 1
end mouseUp

takes  60 seconds on a slowbook (G4 400 mhz)


reversing by:

on mouseUp
  put fld 1 into x
  put the long seconds into zap
  split x by return
  get the keys of x
  sort it numeric descending
  repeat for each line i in it
put x[i]cr after tList
  end repeat
  put the long seconds - zap
  put tList into fld 1
end mouseUp

yields around 0.413007 seconds on a slowbook (G4 400 mhz)
(which is not too bad)

The amount of chars and lines has a big influence on the speed  
in the first handler,

while in the second handler it has not.

Greetings,
Wouter

On 27 Jun 2005, at 14:40, Dennis Brown wrote:




The repeat for each only goes in forward sequential order  
starting at the beginning, except for arrays where the order is  
indeterminate.


I have requested a sequential access enhancement to allow for  
constructing this type of looping in a more flexible way 

Suggestion for correcting the IDE's script editor

2005-06-27 Thread Bob Warren
I am not the first to suggest that debugging the script editor is
fundamental. Personally, it drives me nuts every time I use it. I can never
get the indents quite where I want them, and the editor quite easily gets
confused. In my opinion, this is because it tries to be too clever by
analysing the actual content of what we are typing. For example, if a type
an IF - THEN statement, it will indent the next line because it expects me
to type the next part. But I prefer to make the next line blank and then
type End If before I forget it. This simple act is enough for the editor
to get confused.

Here is my suggestion:

1) An indent, actioned when I press the TAB key a single time, really
consists of 4 blank characters. If I press TAB continuously, I get 4, 8, 12,
16... blanks on the left hand side. If I press BACKSPACE, a single indent (4
blank characters) is removed. However, if I press the LEFT ARROW key, the
cursor will be positioned backwards one character at a time, including
through the spaces that constitute the indents. In contrast, while the RIGHT
ARROW key moves the cursor one character to the right, the DELETE key
also removes a single character in front of the cursor, including the spaces
constituting an indent.

2) From the cursor position in the middle or at the end of a line I have
already typed, if I press ENTER to go to the next line, the indentation is
exactly the same as the line above it (but I can change this by using the
TAB or BACKSPACE keys on the indent(s) afterwards if I want).

3) If I position the cursor on the left of a line I have already typed and
then press ENTER, a new apparently blank line is created above it. However,
if I click the mouse on this new line way out on the right, or I press the
UP ARROW key to navigate to it, the cursor is placed in the DEFAULT cursor
position, which corresponds to the indentation of the original line where
ENTER was typed.

In a nutshell, the indentation of lines created above or below an existing
line have the same initial indentation(s) as the existing line. The editor
does not attempt to analyse what I am typing. However, that said, perhaps
the way of creating a new handler could be left as it is, i.e., after typing
on whatever, the next line is indented and end whatever is added
automatically.

That's it. I hope it will not put MAC users off if I tell you that I have
simply tried to describe the way the VB6 editor works, so for an example of
how well this simple system functions, I suggest taking a look at VB6. I
think it was Picasso who once said, Good artists copy, but great artists
steal!




___
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: Confirm Long File Name Bug in Player Object

2005-06-27 Thread Sivakatirswami
basic but still intriquing discussion, tks for bearing with it. It  
seems overly subtle perhaps, but not really... I had a user use  
select her entire transcript and CUT and it disappeared... she  
wrote me an email asking what to do !


I wrote back... Just paste it back again... of course by then it  
was too late. Anyway, I'm using send the app to save itself now  
every 5 minutes and will shortly cause the whole thing to dump  
the .xml file one each save *and* save the transcript into a global  
they can revert too  as a triple safety against losing work. So if my  
app or my rev player stand alone or their system goes up in smoke,  
they will have their work up to the last five minutes on the hard  
drive. Point: these kinds of users are very easily confused and will  
just stop in their tracks if things don't seem obvious.


I like your 2 questions 4 states diagram.

Made me  think my problem is in the use of finished which is  
ambiquous because what it really means is


a) user has completde transcription of the last .mp3 file, has  
proofread the text and successfully uploaded the xml file to our  
server here and is ready to start a new one... clean slate...


b) Having done that, and downloaded some new lectures to transcribe,  
they are supposed to then select a new audio file to transcribe. This  
dialog is a fail safe to make sure they actually completed a) above  
before starting a new one... if they do start a new one, the data in  
the substack header is cleared...


Also clearing the header is a really an internal maintenance thing,   
like wiping off the black board the next class... the students in the  
next class really don't need to know about that event any more than  
we need to tell them  I am about to put empty into all the globals  
in this stack... [i.e. in answer to your question... no, the user  
would never want to retain the header info when starting a new  
transcript.]


All we really need to do is check ask the user if they succeed with  
a) above and then proceed.


How about this (using Thomas's idea to just re-write the question...) :

Answer Was your last transcript complete and successfully uploaded?

with Yes or No

Sivakatirswami








On Jun 27, 2005, at 11:17 AM, Mark Wieder wrote:


Sivakatirswami-

Monday, June 27, 2005, 1:30:58 PM, you wrote:

S answer Are you finished with the last one? If so, shall I clear
S the header info?

S with

S Cancel or Clear Header

S Better?

I like the Clear Header. That makes it obvious what will happen if I
press the button. The concept of Cancel has always bothered me in
contexts like this.

If you are presenting two questions then there are four possible
states for the user. It looks to me like you are taking care of two of
those:

  clear header
  YN
finished  --
Y | Clear ||
N |   | Cancel |
  --

If I'm the user and I'm finished with the last one, what will happen
when I press Cancel? Will my changes disappear? If I'm not done what
does Cancel mean? What if I'm done with the last one but I don't want
to clear the header info? In this last case, I don't really know what
you're intending, so I don't know if that's even an option - it may be
clear from where I am in the application.

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



___
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: ANN Daily Crytoquote--my misspelling

2005-06-27 Thread Mark Wieder
Marielle-

Thursday, June 23, 2005, 3:08:45 AM, you wrote:

ML If you use the url below, you will directly get to see the list of words 
which
ML have a frequency of 10 or more.

ML 
http://lexicall.org/repository/results.php?mtd_file=data%2F2_words%2Fenglish%2Fdb_mrc.mtdflds%5B1%5D=WORDminvals%5B5%5D=10submit=Submit

ML Make you enter it as a continuous line in your browser, the 500 words limit 
has
ML been removed and will remain so for a week, so you will see the full list on
ML your screen. Be patient - 10262 words.

Yes, but a lot of duplicates. If you filter out the dupes you end up
with 5066 words.

on RemoveDuplicates pWordList
  local tFileName
  local tWordList
  local aWords
  
  repeat for each line tLine in pWordList
put x into aWords[tLine]
  end repeat
 
  put the keys of aWords into tWordList
  sort tWordList
  return tWordList
end RemoveDuplicates

-- 
-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: repeat for each in reverse order ?

2005-06-27 Thread J. Landman Gay

On 6/27/05 8:22 PM, Dennis Brown wrote:

I see that our scripting conferences has nothing for arrays in the  
queue.  This might be a good topic based on the number of times it is  
used as a solution for newbie questions.


Noted. ;)

--
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: Printing Causes Rev Standalone to Crash

2005-06-27 Thread J. Landman Gay

On 6/27/05 7:29 PM, Peter Reid wrote:


Unfortunately I have the requirement to be able to ether print to paper 
or to PDF and if I split into smaller batches, I'll end up with a 
separate PDF file for each batch.  Also, it only prints the cards it's got.


Do you know if this is already a bugzilla report (crashing when printing 
large number of pages) or should I file it?


Yes, it's in there. It wouldn't hurt to add a comment and/or an example 
stack if you want:


http://support.runrev.com/bugdatabase/show_bug.cgi?id=2871

--
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: Failing building Standalone on MacOSX 10.3.9 and Tiger 10.4.1

2005-06-27 Thread J. Landman Gay

On 6/27/05 2:26 PM, Timothy Bleiler wrote:

I'm also suddenly unable to build standalones on Mac OS X 10.3.9 
although I've done so previously. The download site at runrev is not 
working right now and maybe this has something to do with it. When I try 
to save as a standalone, the preopenStack and OpenStack messages are 
sent to my stack and then the whole thing fails. This has never happened 
to me before.


I'm on 10.3.9 and I just made a test standalone with Rev 2.6.5 without 
any problem. Does it work for you with a different stack?


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


Test

2005-06-27 Thread Scott Rossi
Is this coming through?

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.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: Test

2005-06-27 Thread J. Landman Gay

On 6/27/05 11:41 PM, Scott Rossi wrote:


Is this coming through?


.sdrawkcab si ti tub ,seY

--
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: Test

2005-06-27 Thread Scott Rossi
Recently, J. Landman Gay  wrote:

 Is this coming through?
 
 .sdrawkcab si ti tub ,seY

.
)
t
o
n
(

y
n
n
u
f

o
s
 
e
r
'
u
o
Y

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia  Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.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: Test

2005-06-27 Thread J. Landman Gay

On 6/27/05 11:50 PM, Scott Rossi wrote:


Recently, J. Landman Gay  wrote:



Is this coming through?


.sdrawkcab si ti tub ,seY



.
)
t
o
n
(

y
n
n
u
f

o
s
 
e

r
'
u
o
Y



...draobyek ym nrut dluohs I ebyaM .tiaW .hO flip over...

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