AW: WMV recipes

2008-04-22 Thread Tiemo Hollmann TB
Hi Richard,
I am using sorenson squeeze. It has a good batch processing feature, if you
have to encode multiple files and a lot of filters.
I wanted to switch to WMVs too, but get irregular results, when trying to
control a bit more as just play and stop, so I decided to go with QT again.
Just my 2 cents
Tiemo

 
  What programs are you doing the compression in?
 
 Currently just QT Player Pro w/Flip4Mac.  If we can find a better
 solution using another tool I'd be happy to give it a try.
 
 What would you recommend?
 
 --
   Richard Gaskin
   Fourth World Media Corporation

___
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


Wrong way round - Revolution

2008-04-22 Thread Paul Looney

Richard Gaskin wrote:

Revolution is a fine name by itself...


Actually it is a terrible name. It means overthrow the government  
or go round and round. I believe this name has been costing the  
company sales and credibility for years.
One would get a much better name by simply dropping the last three  
syllables. Certainly this should be done before mass distribution  
commences.
BTW, I hope none of the non-US visitors to the convention in Las  
Vegas tell Customs that they are going to a revolution meeting!

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: Smallest PC that can run Revolution?

2008-04-22 Thread Ben Rubinstein

On 16/4/08 14:30, David Bovill wrote:

What is the smallest PC that anyone has managed to get a Revolution
application running on - any operating system? Is there a hand held?
Something without a built in screen? The Eee PC is one of the smallest I can
find so far and certainly cheap - and the only one I know of that people
have actually got Rev running on? I guess none of the Windows Mobile
operating systems are an option?


We've installed a Rev-built app on a bunch of very small custom built units 
that were running Windows Embedded, on a fanless VIA Mini-ITX motherboard 
http://www.viatech.com/, with a 256MB  solid-state disk.  (These were 
installed in vehicles, so it was important to have no moving parts and low 
power requirements.) Had no problems except that we had to fiddle with the OS 
image a few times before we got the combination of components we needed.


We also evaluated Puppy Linux on the same hardware (we ended up with 75 units, 
so the potential saving on Windows Embedded licenses was considerable); it all 
worked fine except that we needed better multimedia support than Rev made 
available on Linux at that time.  With 2.9 I suspect we could have gone that 
route.


- Ben

___
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


Inheritance ?

2008-04-22 Thread Richmond Mathewson
Devi Asay wrote:

Or it could be a bug in Rev.

No, I don't think it is; I have been fiddling around,
and it seems that backgroundColor is normally
inherited, so it must be something to do with opacity.

I just have to remember, in future, to set the
backgroundColor of every field explicitly.

Re the fonts: your recipe certainly does the trick.

What bothers me is that with the textSize set to, for
example, 32, it still defaults to 10 or 12 when
transferred. I wonder if this happens between, say, 2
Macs or 2 Wins that don't have the same font sets
installed?

sincerely, Richmond Mathewson



A Thorn in the flesh is better than a failed Systems Development Life Cycle.



  __
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.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: Wrong way round - Revolution

2008-04-22 Thread Jim Sims


On Apr 19, 2008, at 5:36 PM, Paul Looney wrote:


Revolution is a fine name by itself...


Actually it is a terrible name. It means overthrow the government  
or go round and round



I've wondered a few times what (some) people think when examining  
their web log files and see
the word Revolution. Having it show up at the wrong place might get  
you a knock
on your door by some guy with highly polished shoes and dark  
sunglasses   ;-)



72.9.snip  - Mozilla/4.0 (compatible; MSIE 6.0;  
Windows NT 5.0)

cpc4 snip   - Revolution (MacOS)

sims



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


Re: This has to be easy! Tell a program not to open a file

2008-04-22 Thread Trevor DeVore

On Apr 21, 2008, at 9:26 PM, Jim Ault wrote:
That is the catch, there is no manifest folder until after I use the  
Wizard.


There is a '1' in the Version folder, though.
Once you add the manifest using the wizard, a folder exists, the '1'  
exists,

and you can edit as your instructions say.


What version of Rev did you build the standalone with? 2.9 or an  
earlier version? Maybe the manifest is a new feature. Let me know and  
I will update the instructions.


Regards,

--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.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


Rev on a Linux based Nokia N810? (was Smallest PC that can run Revolution?)

2008-04-22 Thread David Bovill
Thanks a lot for that Ben

NB - what about the new Linux based Nokia Tablets... it seems like quite a
few Linux apps are being ported without too much trouble - seems GTK+ /
Gnome based... not sure what Rev 2.9 requires...

 * http://arstechnica.com/reviews/hardware/nokia-n810-review.ars/4
 * http://maemo.org/intro/


2008/4/22 Ben Rubinstein [EMAIL PROTECTED]:

 On 16/4/08 14:30, David Bovill wrote:

  What is the smallest PC that anyone has managed to get a Revolution
  application running on - any operating system? Is there a hand held?
  Something without a built in screen? The Eee PC is one of the smallest I
  can
  find so far and certainly cheap - and the only one I know of that people
  have actually got Rev running on? I guess none of the Windows Mobile
  operating systems are an option?
 

 We've installed a Rev-built app on a bunch of very small custom built
 units that were running Windows Embedded, on a fanless VIA Mini-ITX
 motherboard http://www.viatech.com/, with a 256MB  solid-state disk.
  (These were installed in vehicles, so it was important to have no moving
 parts and low power requirements.) Had no problems except that we had to
 fiddle with the OS image a few times before we got the combination of
 components we needed.

 We also evaluated Puppy Linux on the same hardware (we ended up with 75
 units, so the potential saving on Windows Embedded licenses was
 considerable); it all worked fine except that we needed better multimedia
 support than Rev made available on Linux at that time.  With 2.9 I suspect
 we could have gone that route.

 - Ben

 ___
 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


answer file sdsdsd with type... broken on Win?

2008-04-22 Thread Klaus Major

Hi all,

can someone check if this works on Windows before I bugreport it?
...
answer file sdsdsd with type|jpg|
...

Should only show JPEG files in the dialog, but doesn't!
ALL files can be selected :-/

Has been working until Rev 2.9 and does work on a Mac of course EXCEPT
that bundle files like Keynote or Numbers docuemnts can be selected,  
too.



Regards

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


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


Re: Wrong way round - Revolution

2008-04-22 Thread Richard Gaskin

Paul Looney wrote:

Richard Gaskin wrote: 

Revolution is a fine name by itself...


Actually it is a terrible name.


I meant in contrast to Mirye Runtime Revolution.  I trust you agree on 
at least that.



It means overthrow the government 


A little rebellion now and then is a good thing.
- Thomas Jefferson


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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: answer file sdsdsd with type... broken on Win?

2008-04-22 Thread Mark Schonewille

Klaus,

The following works fine on Win XP:

answer file  with type Stack|rev|

Best regards,

Mark Schonewille

--

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

A large collection of scripts for HyperCard, Revolution, SuperCard and  
other programming languages can be found at http://runrev.info





On 22 apr 2008, at 15:24, Klaus Major wrote:


Hi all,

can someone check if this works on Windows before I bugreport it?
...
answer file sdsdsd with type|jpg|
...

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: Wrong way round - Revolution

2008-04-22 Thread Paul Looney

Richard,
Yes, I agree with that. Mirye Runtime Revolution looks like an  
attempt to hijack the name.

I think Jefferson would agree. ;-)
Paul Looney


On Apr 22, 2008, at 6:35 AM, Richard Gaskin wrote:


Paul Looney wrote:


Richard Gaskin wrote:

Revolution is a fine name by itself...

Actually it is a terrible name.


I meant in contrast to Mirye Runtime Revolution.  I trust you  
agree on at least that.




It means overthrow the government


A little rebellion now and then is a good thing.
- Thomas Jefferson


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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: answer file sdsdsd with type... broken on Win?

2008-04-22 Thread Richard Gaskin

Klaus Major wrote:

can someone check if this works on Windows before I bugreport it?
...
answer file sdsdsd with type|jpg|
...

Should only show JPEG files in the dialog, but doesn't!
ALL files can be selected :-/


Using that string I get the same result as you, but it could be because 
the empty first part of the string is throwing it off.


The type specifier has three parts:  the description, the Windows file 
extension, and the Mac file type, each separated by a pipe (|).  I've 
found the Mac portion can be omitted, but the description seems to be 
required.


When I use:

  answer file sdsdsd with type Image files|jpg

...it works as expected.

--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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: answer file sdsdsd with type... broken on Win?

2008-04-22 Thread Klaus Major

Hi Mark,

thanks for testing!


Klaus,

The following works fine on Win XP:

answer file  with type Stack|rev|


But will fail if you omit the Stack part :-/
This used to work fine before 2.9x


But looks like revmail is also broken:
With a field xyz containing lots of umlauts fkjdfkjd üüääöö üüäö??ßßß  
ÜÄÖ

I get this in the body in Outlook Win:
fkjdfkjdfüüääöö üüäö??ÃYÃYÃYÃY ÃoÃÃ-

Works fine on the Mac of course...

Big fun! :-/


Best regards,

Mark Schonewille

--

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


Best

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


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


Re: answer file sdsdsd with type... broken on Win?

2008-04-22 Thread Klaus Major

Hi Richard,


Klaus Major wrote:

can someone check if this works on Windows before I bugreport it?
...
answer file sdsdsd with type|jpg|
...
Should only show JPEG files in the dialog, but doesn't!
ALL files can be selected :-/


Using that string I get the same result as you, but it could be  
because the empty first part of the string is throwing it off.


Thanks for testing, but has been working this way before Rev 2.9X.

The type specifier has three parts:  the description, the Windows  
file extension, and the Mac file type, each separated by a pipe  
(|).  I've found the Mac portion can be omitted, but the  
description seems to be required.


When I use:

 answer file sdsdsd with type Image files|jpg

...it works as expected.


OK, will have to change my (previously working) script accordingly,  
thanks.



--
Richard Gaskin
Managing Editor, revJournal
___
Rev tips, tutorials and more: http://www.revJournal.com


Best

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


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


Re: Query about mod operator

2008-04-22 Thread Mick Collins
Thanks Jim and Colin, especially the cautions about integer functions  
used for non-integer  operations.  Turns out I snipped out (after  
missing in my scan-over) the examples that would have proved your  
points, namely:

0.25,   0,   0
0.5,   0,   0
0.75,   0.5,   0
These are the only exact divisors of 8 for which the mods come out  
correctly, that is,  as 0.

.25 decimal = .01 binary, exactly
.5 decimal = .1 binary, exactly
.75 decimal = .11 binary, exactly

That said, 4 things:
1) Other languages have an fmod for floating point, could Rev? (or  
does it have one that is hidden?).
2) Because I don't know of an fmod, when I need to use such  
functionality, I write my own function that bypasses the non- 
integer / binary problems.
3) That usually involves converting to integer, using the built in  
function, and converting  back.  I have never been unable to produce  
a function this way that gives the correct values (except extreme  
fringe-of-precision numbers).

4) A related joke that hard-core programmers probably know already:
Why do programmers have trouble distinguishing between Christmas and  
Halloween?


Because 25 dec = 31 oct.

(for those not understanding, octal is base 8, and is a direct  
conversion from  base 2, so used some in nitty gritty low level and  
hardware programming (still used? I'm not sure, I don't). In octal,   
31 represents three 8s and one 1, 24+1= 25 in decimal. )



nerdy, nerdy, nerdy,
   -  Mick


On Apr 22, 2008, at 6:48 AM, [EMAIL PROTECTED]  
wrote:


Message: 3
Date: Mon, 21 Apr 2008 11:43:20 -0700
From: Jim Ault [EMAIL PROTECTED]

Mick,


It seems thatd   divides   8 if and only if  the mod is NOT
correct (until we get to 1, of course.  I got similar results using 7
instead of 8..  Seems like it should work, I think it's a bug.


You need to use caution when working with fractions in computer  
operations.
Binary means that math involving fractions in base 10 is not  
precise as you
would normally think about it.  This has been covered on the list  
in the

last couple months.

I think that 'mod' would exhibit the same apparent irregularities  
that all

other math functions do when dealing with fractions.

If you want to be more accurate in this case:

put 100 into mult
put ((8 * mult) mod (div * mult))/ mult into theDiff

but again, you need to be aware of the binary nature of computers  
expressing
fractions when calculating theDiff.  All computer languages have  
the same
limitation.  This is why floating point libraries are added to  
scientific

processing to achieve accuracy for using decimal values.

Hope this helps shed light on the subject.

Jim Ault
Las Vegas

On 4/21/08 11:18 AM, Mick Collins [EMAIL PROTECTED] wrote:


Interesting, I don't think it has to do with dividing by zero

I ran this script:

ON tst
REPEAT WITH i = 1 to 100
   put i * .01 into iDiv
   put 8 mod iDiv into modiDiv
   put 8 div iDiv into intQuotient
   put 8 - (intQuotient * iDiv + modiDiv) into theDiff
   put iDiv  ,  modiDiv  , theDiff into line i of
field 1
END repeat
END tst


The (partial) results are:
0.01,   0.01,   -0.01
0.02,   0.02,   -0.02

snip

0.98,   0.16,   0
0.99,   0.08,   0
1,   0,   0


It seems thatd   divides   8 if and only if  the mod is NOT
correct (until we get to 1, of course.  I got similar results using 7
instead of 8..  Seems like it should work, I think it's a bug.

-  Mick


Message: 15
Date: Mon, 21 Apr 2008 10:39:33 -0400
From: Colin Holgate [EMAIL PROTECTED]
On Apr 21, 2008, at 10:11 AM, Paul Williams wrote:


why does 8 mod 0.05  return 0.05 ?


Mod is normally an integer operation, and as you wouldn't want to  
risk

a divide by zero issue, perhaps it divides by at least 1? That would
give a remainder that was equal to the fraction.


___


Message: 4
Date: Mon, 21 Apr 2008 13:30:47 -0700
From: Mark Wieder [EMAIL PROTECTED]

...and from the docs...
Note: Using non-integer number and divisor usually produces sensible
results. However, mathematically, modulus is generally defined as a  
function
over the integers, and the results using non-integers may not  
consistently

be what you expect.


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


did the filename changed from 2.8 to 2.9?

2008-04-22 Thread Tiemo Hollmann TB
Hi there,

With Rev 2.8 I have build a simple code to get the path to a subfolder of my
app, which worked fine in 2.8. It looks like this:

put the filename of me into tPathApp -- 2.9: /Volumes/myApp/

set the itemdelimiter to slash

   if the platform = MacOS then

delete item -4 to -1 of tPathApp -- 2.9: empty

else

delete item -1 of tPathApp

end if

put tPathApp  /pics/ into tPathPic -- 2.9: /pics/



Migrating my stack to 2.9 my code doesn't work anymore on Mac. tPathApp
contains just /pics/ and not: /Volumes/myApp/pics/ what I wanted it to be,
where I am not surprised, when reading my code now. What the hell did I
wanted to delete with item -4 to -1 from the filename :)? Why did it worked
under 2.8 and why doesn't it work under 2.9 anymore? I am completely
puzzled. Btw. On Win it does work on 2.9 as on 2.8. Because I don't have a
Mac available right now, testing is really hard.

 

Can anybody shed some light on this mystery?

Thank you

 

 

___
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


comment on - Wrong way round - Revolution

2008-04-22 Thread Mick Collins
There is a movie studio in Santa Monica that has the name Revolution  
Studios (and another in France Revolution Studio of which I've never  
seen a film, just on google) and I wonder if there has been any  
problem with the names.  I chuckle every time I see it at the  
beginning of a film.

   -  Mick


On Apr 22, 2008, at 6:48 AM, [EMAIL PROTECTED]  
wrote:


Message: 31
Date: Sat, 19 Apr 2008 08:36:37 -0700
From: Paul Looney [EMAIL PROTECTED]
Subject: Wrong way round - Revolution
To: Revolution use Revolution use-revolution@lists.runrev.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Richard Gaskin wrote:

Revolution is a fine name by itself...


Actually it is a terrible name. It means overthrow the government
or go round and round. I believe this name has been costing the
company sales and credibility for years.
One would get a much better name by simply dropping the last three
syllables. Certainly this should be done before mass distribution
commences.
BTW, I hope none of the non-US visitors to the convention in Las
Vegas tell Customs that they are going to a revolution meeting!
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: did the filename changed from 2.8 to 2.9?

2008-04-22 Thread Klaus Major

Hi Tiemo,


Hi there,

With Rev 2.8 I have build a simple code to get the path to a  
subfolder of my

app, which worked fine in 2.8. It looks like this:

   put the filename of me into tPathApp -- 2.9: /Volumes/myApp/
   set the itemdelimiter to slash
  if the platform = MacOS then
   delete item -4 to -1 of tPathApp -- 2.9: empty
   else
   delete item -1 of tPathApp
   end if
   put tPathApp  /pics/ into tPathPic -- 2.9: /pics/



Migrating my stack to 2.9 my code doesn't work anymore on Mac.  
tPathApp
contains just /pics/ and not: /Volumes/myApp/pics/ what I wanted  
it to be,
where I am not surprised, when reading my code now. What the hell  
did I
wanted to delete with item -4 to -1 from the filename :)? Why did it  
worked

under 2.8 and why doesn't it work under 2.9 anymore? I am completely
puzzled. Btw. On Win it does work on 2.9 as on 2.8. Because I don't  
have a

Mac available right now, testing is really hard.


Works fine here.
We use it in our runtimes to set the path to externals manually and  
did not have any problems.



Can anybody shed some light on this mystery?

Thank you


OK, tit for tat :-)
Could you please run this line on Windows in the messagebox and see if  
this works OK?:


revmail [EMAIL PROTECTED],, üäöüäüßßÜÄÖ,üäöüäüßßÜÄÖ

I get glibberish in Outlook here :-/


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: did the filename changed from 2.8 to 2.9?

2008-04-22 Thread Ian Wood


On 22 Apr 2008, at 15:24, Klaus Major wrote:


Works fine here.
We use it in our runtimes to set the path to externals manually and  
did not have any problems.


Same here. No changes seen between 2.8 and 2.9.

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


Re: Query about mod operator

2008-04-22 Thread Richard Gaskin
There's a long-standing debate between engineers and people about 
whether computers should be made to think like humans or the other way 
around.


For microchip instruction sets I'll leave that debate to the pros in 
that field, but with high-level languages like Transcript I tend to 
favor people.


In a related discussion on the trunc function some time ago, I came up 
with this more reliable alternative:


function logicalTrunc n
  if n is not a number then return NAN
  get offset(., n)
  if it  0 then
 delete char it to -1 of n
  end if
  return n
end logicalTrunc

which Kay C. Lan made more efficient with:

function anotherLogicalTrunc n
  if n is not a number then return NAN
  set the itemDelimiter to .
  return item 1 of n
end anotherLogicalTrunc

Similarly, it seems we could do something like this for mod:

function logicalMod n
  set the itemdel to .
  get item 2 of n
  if it is empty then return 0
  else return it
end logicalMod

Where would this fail?

And should we expect a high-level language to return results like this 
from the engine directly, or is there some benefit to having illogical 
byproducts of microchip design as our result that I'm not understanding?


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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


AW: did the filename changed from 2.8 to 2.9?

2008-04-22 Thread Tiemo Hollmann TB
And what are the items -4 to -1 in the Mac path?
Tiemo

 -Ursprüngliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:use-revolution-
 [EMAIL PROTECTED] Im Auftrag von Ian Wood
 Gesendet: Dienstag, 22. April 2008 16:30
 An: How to use Revolution
 Betreff: Re: did the filename changed from 2.8 to 2.9?
 
 
 On 22 Apr 2008, at 15:24, Klaus Major wrote:
 
  Works fine here.
  We use it in our runtimes to set the path to externals manually and
  did not have any problems.
 
 Same here. No changes seen between 2.8 and 2.9.
 
 Ian
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
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: Query about mod operator

2008-04-22 Thread Colin Holgate

At 7:31 AM -0700 4/22/08, Richard Gaskin wrote:

  if n is not a number then return NAN
  get offset(., n)


Do you know that in many countries a number might be written like this?:

10.000,1234

Try setting your International number settings to Belgium, you'll see.

___
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: Query about mod operator

2008-04-22 Thread Richard Gaskin

Colin Holgate wrote:


At 7:31 AM -0700 4/22/08, Richard Gaskin wrote:

  if n is not a number then return NAN
  get offset(., n)


Do you know that in many countries a number might be written like this?:

10.000,1234

Try setting your International number settings to Belgium, you'll see.


True.  Let's say we account for the delimiter, since we're proposing an 
engine change and it's a one-liner to obtain that from the OS.


Can you think of any reason why a high-level language wouldn't return 
results like what's proposed?


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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: AW: did the filename changed from 2.8 to 2.9?

2008-04-22 Thread Klaus Major

Hi Tiemo,


And what are the items -4 to -1 in the Mac path?


Anatomy of a Mac executable bundle:
Name of App.app/Contents/MacOS/Name of App


Tiemo


Regards

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


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


Option Menu Problem

2008-04-22 Thread Dave

Hi All,

I have an option menu that is set dynamically based on a list of  
items. The list can be empty, on the menu object I have the showName  
property set true. When the list is not empty all works ok, when an  
item is selected, the new selection is shown as the menu contents,  
however when the list is empty the name of the menu object shows in  
the object contents rather that it just being empty. If I set the  
show name property to false then when the list is empty it shows as  
empty in the contents but when not empty the selected item is not  
displayed when selected.


How can I get the desired effect?

Thanks a lot
All the Best
Dave


___
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: Option Menu Problem

2008-04-22 Thread Trevor DeVore

On Apr 22, 2008, at 11:11 AM, Dave wrote:

I have an option menu that is set dynamically based on a list of  
items. The list can be empty, on the menu object I have the showName  
property set true. When the list is not empty all works ok, when an  
item is selected, the new selection is shown as the menu contents,  
however when the list is empty the name of the menu object shows in  
the object contents rather that it just being empty. If I set the  
show name property to false then when the list is empty it shows as  
empty in the contents but when not empty the selected item is not  
displayed when selected.


How can I get the desired effect?


Try setting the text to a space ( ) and disabling the menu when  
there are no items to select. Will this work for you?


Regards,

--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Developer Resources: http://revolution.bluemangolearning.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


AW: AW: did the filename changed from 2.8 to 2.9?

2008-04-22 Thread Tiemo Hollmann TB
Hi Klaus,
so this operation seems to be correct. Could the problem be in addressing
the relative path to the subfolder /pics/ of the application? Could there
something have been changed or to be set? Or am I on the wrong lane?
Tiemo

 
  And what are the items -4 to -1 in the Mac path?
 
 Anatomy of a Mac executable bundle:
 Name of App.app/Contents/MacOS/Name of App
 
  Tiemo
 
 Regards
 
 Klaus Major
 [EMAIL PROTECTED]
 http://www.major-k.de

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


lock screen question

2008-04-22 Thread Thomas McGrath III

Hello Fellow Revolutionaries,

I need to find out if multiple lock screens will actually cause an  
unlock screen in between. Or what else is causing the screen update.


Example

on SomeHandler
lock screen
send SomeOtherHandler pParam to me in 5
end SomeHandler

--Can still see screen update here

on SomeOtherHandler pParam
lock screen
-- do some stuff here
myupdatescreen
end SomeOtherHnadler

-- Can still see screen update here

on myupdatescreen
lock screen
-- do a lot of window switching
-- Final unlock screen here to see the results onscreen (supposedly)
unlock screen
end myupdatescreen


I was thinking that:
lock screen
lock screen
lock screen
unlock screen

was producing an unlock somehow in between each call.

My problem is even more complicated because I am executing the  
original script from a group that will be deleted before this is done.
Yet I can still see the grp being deleted flash to what's behind it  
before a new image is put in place.


Thanks

Tom McGrath
___
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


Open file in default folder and read automatically (short description)

2008-04-22 Thread Adrian Williams

Hello List,
Working on a script to 'check for updates' of a rev stand alone (not  
the Rev program itself or its engine).


Short explanation:
Read plain text from a file automatically from the default Folder (NOT  
using the answer file: routine).

Then perform if/then tasks on the retrieved value.

Longer explanation:
Download a plain text file with a program's latest version number  
303 and check against that which is in the standalone.

If the number is lower in the stand alone, offer an update to user.
From the stack I have a method of manually asking for the downloaded  
file vers.txt,
but I don't want the user to go seaching for the file --its in the  
default Folder.
There MUST me a way to seamlessly import contents of this (plain text)  
file, but all the documented methods don't work for me.

I've tried countless ways, but no joy. So what am I missing?
Script so far (which gets file contents manually) is below:

-- start 
on mouseUp
libURLDownloadToFile http://www.clubtype.co.uk/vers.txt,vers.txt
global gFilePath
answer file select a file
if it contains .txt then
put URL (file:  it) into AddListContents
put it into gFilePath
put AddListContents into field F2 --so I can see and check the value
-- then do number comparisons
end mouseUp

Thanks,
Adrian
__
Club Type
http://www.clubtype.co.uk
[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: lock screen question

2008-04-22 Thread Mark Schonewille

Hi Tom,

Locking the screen before switching windows can cause the screen to  
inlock or windows to be rendered completely while. Don't do this.


If you want to unlock the screen, you need to issue the unlock command  
at least as often as the lock command. The screen is automatically  
unlocked when the handler, which locked the screen, finishes.


Best regards,

Mark Schonewille

--

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

A large collection of scripts for HyperCard, Revolution, SuperCard and  
other programming languages can be found at http://runrev.info





On 22 apr 2008, at 17:53, Thomas McGrath III wrote:


Hello Fellow Revolutionaries,

I need to find out if multiple lock screens will actually cause an  
unlock screen in between. Or what else is causing the screen update.

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: lock screen question

2008-04-22 Thread Jim Ault
Are you in script debug mode?
screen cannot be locked if that is true.

Jim Ault
Las Vegas 


On 4/22/08 8:53 AM, Thomas McGrath III [EMAIL PROTECTED] wrote:

 Hello Fellow Revolutionaries,
 
 I need to find out if multiple lock screens will actually cause an
 unlock screen in between. Or what else is causing the screen update.
 
 Example
 
 on SomeHandler
 lock screen
 send SomeOtherHandler pParam to me in 5
 end SomeHandler
 
 --Can still see screen update here
 
 on SomeOtherHandler pParam
 lock screen
 -- do some stuff here
 myupdatescreen
 end SomeOtherHnadler
 
 -- Can still see screen update here
 
 on myupdatescreen
 lock screen
 -- do a lot of window switching
 -- Final unlock screen here to see the results onscreen (supposedly) 
 unlock screen
 end myupdatescreen
 
 
 I was thinking that:
 lock screen
 lock screen
 lock screen
 unlock screen
 
 was producing an unlock somehow in between each call.
 
 My problem is even more complicated because I am executing the
 original script from a group that will be deleted before this is done.
 Yet I can still see the grp being deleted flash to what's behind it
 before a new image is put in place.
 
 Thanks
 
 Tom McGrath
 ___
 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: Option Menu Problem

2008-04-22 Thread Dave


On 22 Apr 2008, at 16:18, Trevor DeVore wrote:


On Apr 22, 2008, at 11:11 AM, Dave wrote:

I have an option menu that is set dynamically based on a list of  
items. The list can be empty, on the menu object I have the  
showName property set true. When the list is not empty all works  
ok, when an item is selected, the new selection is shown as the  
menu contents, however when the list is empty the name of the menu  
object shows in the object contents rather that it just being  
empty. If I set the show name property to false then when the list  
is empty it shows as empty in the contents but when not empty the  
selected item is not displayed when selected.


How can I get the desired effect?


Try setting the text to a space ( ) and disabling the menu when  
there are no items to select. Will this work for you?




Ok, that kind of works except I set the text contents in the  
mouseDown hander of the menu and if disabled this handler doesn't get  
called. Why doesn't it work like a regular popup menu ala MacOS X?


Any other ideas on how to fix this?

All the Best
Dave


___
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: Open file in default folder and read automatically (short description)

2008-04-22 Thread Ian Wood


On 22 Apr 2008, at 16:53, Adrian Williams wrote:


Hello List,
Working on a script to 'check for updates' of a rev stand alone (not  
the Rev program itself or its engine).


Short explanation:
Read plain text from a file automatically from the default Folder  
(NOT using the answer file: routine).

Then perform if/then tasks on the retrieved value.


I've just done this myself last week. Why not use something like:

put URL http://www.example.com/exampleupdatefile.text; into tData

Then test against what's in tData? There's no need to download the  
text file to disk and then open it in Rev.


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


Re: Open file in default folder and read automatically (short description)

2008-04-22 Thread Adrian Williams

Thanks Ian -- works a treat!
Adrian

On 22 Apr 2008, at 17:06, Ian Wood wrote:


put URL http://www.example.com/exampleupdatefile.text; into tData

Then test against what's in tData? There's no need to download the  
text file to disk and then open it in Rev.


Ian


__
Club Type
http://www.clubtype.co.uk
[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: Query about mod operator

2008-04-22 Thread Colin Holgate

At 7:52 AM -0700 4/22/08, Richard Gaskin wrote:
True.  Let's say we account for the delimiter, since we're proposing 
an engine change and it's a one-liner to obtain that from the OS.



It seems wrong to try and fix a math issue with a string hack.


Can you think of any reason why a high-level language wouldn't 
return results like what's proposed?


No. Either it should be integer and only return integers, or it 
should be floating pointing, and return decimal values too. Flash 
does floating point mod, but with the limits of binary arithmetic 
(4.3 % 2.1 = 0.09964), Director uses integers (4.3 mod 
2.1 = 0), and Rev and HyperCard use floating point, but with repaired 
results (4.3 mod 2.1 = 0.1).


I'm now not sure what the problem case is?

___
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: lock screen question

2008-04-22 Thread Eric Chatonet

Bonjour Thomas,

Actually, lock and unlock screen work as a pair:
They are 'stacked'.
This means that after two 'lock screen', an 'unlock screen' is not  
enough to unlock screen: you need two of them.

Parity between lock and unlock screen is compulsory :-)
If you are lost you can use:

on UnlockScreen
  repeat until not the lockScreen
set the lockScreen to false
  end repeat
end UnlockScreen

Or the opposite, of course...

Le 22 avr. 08 à 17:53, Thomas McGrath III a écrit :


Hello Fellow Revolutionaries,

I need to find out if multiple lock screens will actually cause an  
unlock screen in between. Or what else is causing the screen update.


Example

on SomeHandler
lock screen
send SomeOtherHandler pParam to me in 5
end SomeHandler

--Can still see screen update here

on SomeOtherHandler pParam
lock screen
-- do some stuff here
myupdatescreen
end SomeOtherHnadler

-- Can still see screen update here

on myupdatescreen
lock screen
-- do a lot of window switching
-- Final unlock screen here to see the results onscreen (supposedly)
unlock screen
end myupdatescreen


I was thinking that:
lock screen
lock screen
lock screen
unlock screen

was producing an unlock somehow in between each call.

My problem is even more complicated because I am executing the  
original script from a group that will be deleted before this is done.
Yet I can still see the grp being deleted flash to what's behind it  
before a new image is put in place.


Thanks

Tom McGrath
___
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





Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.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: Query about mod operator

2008-04-22 Thread Richard Gaskin

Colin Holgate wrote:

At 7:52 AM -0700 4/22/08, Richard Gaskin wrote:
True.  Let's say we account for the delimiter, since we're proposing 
an engine change and it's a one-liner to obtain that from the OS.


It seems wrong to try and fix a math issue with a string hack.


Agreed, but it seems preferable to illogical results. :)

Maybe some day those who design microchip instruction sets will overcome 
this issue, but as long as their work produces erroneous results we have 
to find a way to cope as best we can.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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: AW: AW: did the filename changed from 2.8 to 2.9?

2008-04-22 Thread Klaus Major

Hi Tiemo,


Hi Klaus,
so this operation seems to be correct. Could the problem be in  
addressing
the relative path to the subfolder /pics/ of the application? Could  
there

something have been changed or to be set? Or am I on the wrong lane?


Sorry, no idea so far...

But you could simply use the directory when your standalone starts :-)
Since this will return (be) the folder containing your app on Mac and  
Windows!


Your script is only necessary if you want to put/retrieve something  
INSIDE the App-bundle on a Mac!

Maybe this is what you need.


Tiemo


Best

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


P.S.
Did you try revmail with lots of umlauts in the subject/body?
___
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: Option Menu Problem

2008-04-22 Thread Trevor DeVore

On Apr 22, 2008, at 12:04 PM, Dave wrote:

Ok, that kind of works except I set the text contents in the  
mouseDown hander of the menu and if disabled this handler doesn't  
get called. Why doesn't it work like a regular popup menu ala MacOS X?


Any other ideas on how to fix this?


You could just enter the space for the text but not disable the menu.  
That way no title displays but you still get clicks messages.


This will be addressed in a future release (new behavior in 2.9).  
Check out the notes in this bug report:


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

Regards,

--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.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


AW: AW: AW: did the filename changed from 2.8 to 2.9?

2008-04-22 Thread Tiemo Hollmann TB
Thank you Klaus, I will give it a try,
last support question...
what is the difference between the directory and the defaultfolder? I
just wanted to use the defaultfolder.
Thanks
Tiemo

 
 But you could simply use the directory when your standalone starts :-)
 Since this will return (be) the folder containing your app on Mac and
 Windows!

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


Re: AW: AW: AW: did the filename changed from 2.8 to 2.9?

2008-04-22 Thread Klaus Major

Hi Tiemo,


Thank you Klaus, I will give it a try,
last support question...
what is the difference between the directory and the  
defaultfolder? I


None! :-)


just wanted to use the defaultfolder.
Thanks
Tiemo


Best

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


P.S.
Could you PLEASE run this  (revmail with many umlauts) in the  
message box on Windows?


revmail [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: Query about mod operator

2008-04-22 Thread Troy Rollins


On Apr 22, 2008, at 12:25 PM, Colin Holgate wrote:


It seems wrong to try and fix a math issue with a string hack.


Consider that everything is a string in Revolution, and then not so  
much.  ;-)


--
Troy
RPSystems, Ltd.
http://www.rpsystems.net


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


Re: Option Menu Problem

2008-04-22 Thread Shari
Try setting it to a dash.  Visually that gives a pretty good 
indicator of no choice.

--
  Humorous sports t-shirts
  http://www.villagetshirts.com
 WlND0WS and MAClNT0SH shareware games
 http://www.gypsyware.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: Wrong way round - Revolution

2008-04-22 Thread Mark Wieder
Paul-

 or go round and round.

rotfl

 BTW, I hope none of the non-US visitors to the convention in Las  Vegas 
 tell Customs that they are going to a revolution meeting!

When we arrived in Malta for the last conference I was very careful to tell 
the immigration folks that I was going to a software development 
conference and leave it at that...

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


minimalist IDE

2008-04-22 Thread Thierry

Hi,

I'm looking for a minimalist Rev IDE. ( Rev 2.9 )

I'm  writing an external, using  Xcode/MacOSx.
Xcode launches Rev for every new test,
and this launching time is quite long and annoying.

Ideally, the goal is to launch Rev IDE as fast as possible.

Well, I'd like to have a very basic IDE.
Ok, I can get rid of all the plug-ins,
but what about the libraries and others stack from the IDE ?

Thanks for any hints.

Best Regards,
Thierry

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


Re: minimalist IDE

2008-04-22 Thread Shari

Thierry,

Many of us use the Metacard IDE:

http://tech.groups.yahoo.com/group/MC_IDE/

You'd need your own Yahoo groups login to get the IDE files downloads.

Shari




Hi,

I'm looking for a minimalist Rev IDE. ( Rev 2.9 )

I'm  writing an external, using  Xcode/MacOSx.
Xcode launches Rev for every new test,
and this launching time is quite long and annoying.

Ideally, the goal is to launch Rev IDE as fast as possible.

Well, I'd like to have a very basic IDE.
Ok, I can get rid of all the plug-ins,
but what about the libraries and others stack from the IDE ?

Thanks for any hints.

Best Regards,
Thierry



--
  Humorous sports t-shirts
  http://www.villagetshirts.com
 WlND0WS and MAClNT0SH shareware games
 http://www.gypsyware.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: minimalist IDE

2008-04-22 Thread J. Landman Gay

Thierry wrote:

Hi,

I'm looking for a minimalist Rev IDE. ( Rev 2.9 )


That's easy. Use the MetaCard IDE. The easiest way to get it is to 
download the MC Setup stack and open it in Rev. It will automatically 
download the latest MC IDE and install your licensed Rev engine:


http://www.hyperactivesw.com/revnet/metacard_setup.zip

Instructions for use are in the Help within the 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


Re: Query about mod operator

2008-04-22 Thread Colin Holgate

At 1:34 PM -0400 4/22/08, Troy Rollins wrote:

It seems wrong to try and fix a math issue with a string hack.


Consider that everything is a string in Revolution, and then not so much.  ;-)


Correction then, it seems wrong to try and fix a math issue with a 
hack of any sort.


___
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: lock screen question

2008-04-22 Thread Thomas McGrath III

Thanks Mark,

You answered both of my questions. They need to be paired AND the  
reason my screen was unlocking was because the handler that

locked it was finished and a new one was started.

Any ideas on how to keep the screen locked across multiple handlers???

Thanks again,

Tom McGrath


On Apr 22, 2008, at 12:03 PM, Mark Schonewille wrote:


Hi Tom,

Locking the screen before switching windows can cause the screen to  
inlock or windows to be rendered completely while. Don't do this.


If you want to unlock the screen, you need to issue the unlock  
command at least as often as the lock command. The screen is  
automatically unlocked when the handler, which locked the screen,  
finishes.


Best regards,

Mark Schonewille


___
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: lock screen question

2008-04-22 Thread J. Landman Gay

Thomas McGrath III wrote:

Thanks Mark,

You answered both of my questions. They need to be paired AND the reason 
my screen was unlocking was because the handler that

locked it was finished and a new one was started.

Any ideas on how to keep the screen locked across multiple handlers???


The screen isn't unlocked until all pending handlers have completed. If 
you call your other handlers from within the first one, it should stay 
locked.


--
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: lock screen question

2008-04-22 Thread Thomas McGrath III

Thanks Jim,

This time I was not but i have been confused at other times by that  
while walking through a script.


It turns out the unlock was happening across multiple handlers. I need  
to figure a way around that?


Thanks again,

Tom McGrath

On Apr 22, 2008, at 12:03 PM, Jim Ault wrote:


Are you in script debug mode?
screen cannot be locked if that is true.

Jim Ault
Las Vegas



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


Re: lock screen question

2008-04-22 Thread Thomas McGrath III

Bonjour Eric,

That is good to know but makes me question what or how the screen  
still unlocks at the end of a handler even though I have not put an  
unlock screen in there??? I will clean up my pairs anyway.


Thanks again,

Tom

On Apr 22, 2008, at 12:34 PM, Eric Chatonet wrote:


Bonjour Thomas,

Actually, lock and unlock screen work as a pair:
They are 'stacked'.
This means that after two 'lock screen', an 'unlock screen' is not  
enough to unlock screen: you need two of them.

Parity between lock and unlock screen is compulsory :-)
If you are lost you can use:

on UnlockScreen
 repeat until not the lockScreen
   set the lockScreen to false
 end repeat
end UnlockScreen

Or the opposite, of course...

___
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: lock screen question

2008-04-22 Thread Thomas McGrath III

Jac,

It is not however staying locked. Could it be because the original  
handler is in a group that is deleted as a part of the handler jumping?


Tom McGrath

On Apr 22, 2008, at 3:28 PM, J. Landman Gay wrote:


Thomas McGrath III wrote:

Thanks Mark,
You answered both of my questions. They need to be paired AND the  
reason my screen was unlocking was because the handler that

locked it was finished and a new one was started.
Any ideas on how to keep the screen locked across multiple  
handlers???


The screen isn't unlocked until all pending handlers have completed.  
If you call your other handlers from within the first one, it should  
stay locked.


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


___
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


Fwd: 2.9 Upgrade SCOOP: Secrets Revealed

2008-04-22 Thread Thomas McGrath III


I thought this new marketing was pretty funny.

I'm curious how many Users are Going Wild Over the New Manual?

I mean, I read them and the new sections are great and I did learn a  
lot from them especially the arrays section. But I am not sure my  
reaction was one of Going Wild, that's all.


This makes me imagine people jumping around screaming and hollering  
Wooo Yah!


Yaho!Yipeee! Woopedy Dooo Yaaa!

Tom McGrath - (grinning in a non-wild kind of way)

On Apr 22, 2008, at 1:23 PM, Runtime Revolution Ltd wrote:



Users Go Wild Over New Manual
Developers discover cool aspects of Revolution coding in the new  
User Guide, thanks to new sections on arrays, XML, encoding/decoding
data, Unicode, printing, multimedia, and Internet functions. It  
doesn't hurt the printed copy is 50% off for a short time when you  
order Revolution with coupon code BOOK29. READ MORE





___
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: minimalist IDE

2008-04-22 Thread Thierry


Thanks Shari  Jacqueline,


I'm looking for a minimalist Rev IDE. ( Rev 2.9 )


That's easy. Use the MetaCard IDE.


How could have missed this one...
So back in the 97s  !


The easiest way to get it is to download the MC Setup stack and  
open it in Rev.
It will automatically download the latest MC IDE and install your  
licensed Rev engine:


http://www.hyperactivesw.com/revnet/metacard_setup.zip

Instructions for use are in the Help within the stack.


Works like a charm
Great stack, Jacqueline, thanks for that too.

Regards,
Thierry

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


Re: lock screen question

2008-04-22 Thread Mark Schonewille

Tom,

Deleting an object that contains a running handler would cause an  
error. Looking at your original example again, it is logical that your  
screen unlocks:


on SomeHandler
lock screen
send SomeOtherHandler pParam to me in 5
end SomeHandler

You tell Rev to continue executing someHandler and run the  
someOtherHandler handler 5 ticks later. As soon as someHandler has  
finished, the screen will unlock.


Now, if you run this as

on SomeHandler
lock screen
send SomeOtherHandler pParam to me
end SomeHandler

the screen will stay locked while someOtherHandler finishes. If you  
have another line


send yetAnotherHandler to me in x

in the someOtherHandler handler, that handler will finish, then  
someHandler will finish, the screen will be unlocked, and eventually  
yetAnotherHandler will run.


Best regards,

Mark Schonewille

--

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

A large collection of scripts for HyperCard, Revolution, SuperCard and  
other programming languages can be found at http://runrev.info





On 22 apr 2008, at 21:40, Thomas McGrath III wrote:


Jac,

It is not however staying locked. Could it be because the original  
handler is in a group that is deleted as a part of the handler  
jumping?


Tom McGrath


___
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: 2.9 Upgrade SCOOP: Secrets Revealed

2008-04-22 Thread william humphrey
I think when I receive a paper copy I might go wild or at least lose a
little reserve.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: AW: AW: AW: did the filename changed from 2.8 to 2.9?

2008-04-22 Thread william humphrey
Don't use the default folder as code can set the default folder to
something else sometimes without you realizing.  I have been using

 the effective filename of this stack (works well)  as I didn't know about
the directory.
___
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


Field creation manipulation in a standalone?

2008-04-22 Thread Paul Gabel

Hello everyone:

I wonder if it's possible for me to set up my stack so that a user in  
the standalone can create a field, drag it to whatever size he or she  
desires, and then return to the browse tool. I want the user in the  
standalone to be able to drag out the size and shape of the field.


When I create a button with the script ...

on mouseUp
  set the tool to field
end mouseUp

... in the IDE, then make a standalone, then click on the button in  
the standalone, I get crosshairs. When I then click or attempt to drag  
out a field, I get a 1 millimeter square (presumably a field), but I  
can't do anything with it. Not only that, but I can no longer click on  
any button.


If this is possible, any hints as to how to go about it would be  
greatly appreciated.


Paul Gabel
Santa Cruz, California
___
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: Working with csv files that are 5000 lines or more

2008-04-22 Thread Ken Ray
 I see you on a lot of emails doing cool stuff so I appreciate you spending
 your valuable time answering the questions

My pleasure, Jim! Glad I could help...

:-)

Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.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: Query about mod operator

2008-04-22 Thread Troy Rollins


On Apr 22, 2008, at 1:45 PM, Colin Holgate wrote:

Correction then, it seems wrong to try and fix a math issue with a  
hack of any sort.


I'll go along with that.

--
Troy
RPSystems, Ltd.
http://www.rpsystems.net


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


Re: lock screen question

2008-04-22 Thread Eric Chatonet

Bonsoir Tom,

In my experience, even if the engine unlocks screen at the end of a  
handler, I always prefer to do it myself when appropriate (even at  
the end of the handler), especially on Mac OS X:

You'll see that your app's 'reactivity' will appear far better.

Le 22 avr. 08 à 21:31, Thomas McGrath III a écrit :


Bonjour Eric,

That is good to know but makes me question what or how the screen  
still unlocks at the end of a handler even though I have not put an  
unlock screen in there??? I will clean up my pairs anyway.


Thanks again,

Tom

On Apr 22, 2008, at 12:34 PM, Eric Chatonet wrote:


Bonjour Thomas,

Actually, lock and unlock screen work as a pair:
They are 'stacked'.
This means that after two 'lock screen', an 'unlock screen' is not  
enough to unlock screen: you need two of them.

Parity between lock and unlock screen is compulsory :-)
If you are lost you can use:

on UnlockScreen
 repeat until not the lockScreen
   set the lockScreen to false
 end repeat
end UnlockScreen

Or the opposite, of course...


Best regards from Paris,
Eric Chatonet.

Plugins and tutorials for Revolution: http://www.sosmartsoftware.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: did the filename changed from 2.8 to 2.9?

2008-04-22 Thread Sarah Reichelt
On Wed, Apr 23, 2008 at 12:12 AM, Tiemo Hollmann TB [EMAIL PROTECTED] wrote:
 Hi there,

  With Rev 2.8 I have build a simple code to get the path to a subfolder of my
  app, which worked fine in 2.8. It looks like this:

 put the filename of me into tPathApp -- 2.9: /Volumes/myApp/
 set the itemdelimiter to slash
if the platform = MacOS then
 delete item -4 to -1 of tPathApp -- 2.9: empty
 else
 delete item -1 of tPathApp
 end if
 put tPathApp  /pics/ into tPathPic -- 2.9: /pics/


Is this running from a substack? What happens if you use the
effective filename?

Here is my handler for finding the folder, which work in either the
IDE (finding the .rev file) or in a standalone (finding the .app).

function applicationFolder
  put the effective filename of this stack into tFull
  put empty into tFolder
  set the itemdel to /
  repeat for each item i in tFull
if i contains .app or i contains .rev then exit repeat
put i  / after tFolder
  end repeat
  return tFolder
end applicationFolder


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


Re:Query about mod operator

2008-04-22 Thread Mick Collins

code below, comments interspersed,
   -  Mick



Date: Tue, 22 Apr 2008 07:31:42 -0700

From: Richard Gaskin [EMAIL PROTECTED]
Subject: Re: Query about mod operator



There's a long-standing debate between engineers and people about
whether computers should be made to think like humans or the other way
around.

For microchip instruction sets I'll leave that debate to the pros in
that field, but with high-level languages like Transcript I tend to
favor people.



Mick:  I agree completely



 it seems we could do something like this for mod:

function logicalMod n
   set the itemdel to .
   get item 2 of n
   if it is empty then return 0
   else return it
end logicalMod

Where would this fail?



mod as a function needs (at least) two arguments (unless I  
misunderstand what you are doing with this ... only giving integer  
results, only mod'g by 1?)


In the past I have done something like this:


FUNCTION rMod n, nMod, dMod
   -- rational mod,  returns  n mod (nMod/dMod)
   -- assumes nMod and dMod are integers
   put n*dMod into nMults -- the number of multiples that n is, of 1/ 
dMod

   return (round(nMults mod nMod)/dMod)
   --OR
   --   return (  round(nMults mod nMod)  /  dMod  )
   -- -- if the mod is desired as a  
fraction

END rMod



and to test it:


ON tst2
   put displayMod(8, 35, 100) into line 1 of  field 1
   put displayMod(8, 25, 100) into line 2 of  field 1
   put displayMod(8, 4, 3) into line 3 of  field 1
   put displayMod(8, 5, 3) into line 4 of  field 1
   put displayMod(8.1, 1, 3) into line 5 of  field 1
   put displayMod(45, 7, 1) into line 6 of  field 1
END tst2


FUNCTION displayMod n,nMod,dMod
   return n  , nMod  , dMod  , rMod 
(n,nMod,dMod)

END displayMod


the results:
8,   35,   100,   0.3
8,   25,   100,   0
8,   4,   3,   0
8,   5,   3,   1.33
8.1,   1,   3,   0
45,   7,   1,   3

These are the expected / intended results.  There are other  
variations depending on your needs, see the end of the rMod function  
for an example.  Pretty clunky to use, though, unless you are  
actually working with fractions or arbitrarily limiting your decimal  
precision.




And should we expect a high-level language to return results like this
from the engine directly, or is there some benefit to having illogical
byproducts of microchip design as our result that I'm not  
understanding?



Mick:  it would be nice, but not absolutely necessary, IMHO


Message: 18
Date: Tue, 22 Apr 2008 07:52:26 -0700
From: Richard Gaskin [EMAIL PROTECTED]

Colin Holgate wrote:


At 7:31 AM -0700 4/22/08, Richard Gaskin wrote:

  if n is not a number then return NAN
  get offset(., n)


Do you know that in many countries a number might be written like  
this?:


10.000,1234

Try setting your International number settings to Belgium, you'll  
see.


True.  Let's say we account for the delimiter, since we're  
proposing an

engine change and it's a one-liner to obtain that from the OS.

Can you think of any reason why a high-level language wouldn't return
results like what's proposed?

--
  Richard Gaskin
  Managing Editor, revJournal
  ___
  Rev tips, tutorials and more: http://www.revJournal.com



--

Message: 30
Date: Tue, 22 Apr 2008 12:25:48 -0400
From: Colin Holgate [EMAIL PROTECTED]

At 7:52 AM -0700 4/22/08, Richard Gaskin wrote:

True.  Let's say we account for the delimiter, since we're proposing
an engine change and it's a one-liner to obtain that from the OS.



It seems wrong to try and fix a math issue with a string hack.



Can you think of any reason why a high-level language wouldn't
return results like what's proposed?


No. Either it should be integer and only return integers, or it
should be floating pointing, and return decimal values too. Flash
does floating point mod, but with the limits of binary arithmetic
(4.3 % 2.1 = 0.09964), Director uses integers (4.3 mod
2.1 = 0), and Rev and HyperCard use floating point, but with repaired
results (4.3 mod 2.1 = 0.1).


Mick:  agreed, using my function, I get
4.3,   21,   10,   0.1
(I assume, by repaired results you mean something like what I do  
with round)





___
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: This has to be easy! Tell a program not to open a file

2008-04-22 Thread Jim Ault
2.7.1  build 236
running on Win XPro  2002  SP 2

running in VMWare 1.1.1

Jim Ault
Las Vegas


On 4/22/08 4:47 AM, Trevor DeVore [EMAIL PROTECTED] wrote:

 On Apr 21, 2008, at 9:26 PM, Jim Ault wrote:
 That is the catch, there is no manifest folder until after I use the
 Wizard.
 
 There is a '1' in the Version folder, though.
 Once you add the manifest using the wizard, a folder exists, the '1'
 exists,
 and you can edit as your instructions say.
 
 What version of Rev did you build the standalone with? 2.9 or an
 earlier version? Maybe the manifest is a new feature. Let me know and
 I will update the instructions.
 
 Regards,


___
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


mouseUp 1 and 3 problems

2008-04-22 Thread rand valentine
 Hi. I've got a field with text in it. There is an elaborate script for the
field which is sensitive to which mousebutton was clicked, doing one thing
if 1 was clicked, another if 3. I keep getting a problem -- after I right
click something, and the script executes, left-clicking produces no response
in the field -- right-clicking will produce a response, and then
left-clicking works again. So the problem is that I can't seem to
right-click, then left-click. Lots of other fields I have seem to work fine
doing this, so it must be something in the script?! What should I be looking
for, i.e., what could be causing this? Thanks

rand valentine


___
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: mouseUp 1 and 3 problems

2008-04-22 Thread Björnke von Gierke


On 23 Apr 2008, at 01:50, rand valentine wrote:


So the problem is that I can't seem to
right-click, then left-click. Lots of other fields I have seem to  
work fine
doing this, so it must be something in the script?! What should I be  
looking

for, i.e., what could be causing this? Thanks


I don't really know about a fix, but I got strange problems with mouse  
too, maybe you can add something to the bug I filed:


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


--

official ChatRev page:
http://chatrev.bjoernke.com

Chat with other RunRev developers:
go stack URL http://homepage.mac.com/bvg/chatrev1.3.rev;

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


Re: Reversing a list

2008-04-22 Thread Sarah Reichelt
On Fri, Apr 4, 2008 at 10:14 AM, Sarah Reichelt
[EMAIL PROTECTED] wrote:
 And the winner is...

  Jacque (with one modification).

  local tCount

  function reverseList pList
 put the number of lines in pList into tCount
 sort lines of pList by mySort()
 return pList
  end reverseList

  function mySort
 subtract 1 from tCount
 return tCount
  end mySort

OK, this realised this working for me and I finally figured out what
was going on - the sort needs to be numeric!
So change the sort line to this:

 sort lines of pList numeric by mySort()

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


User-Agent changing

2008-04-22 Thread Sarah Reichelt
I was working on communications with a RevOnRockets-based web server,
and I was checking the headers of the web request to see whether the
request was coming from a Revolution program, or a browser. I had
checked earlier and the headers included the line:
  User-Agent: Revolution (MacOS)

In the middle of a debugging session, this suddenly changed to:
  User-Agent: Metacard (MacOS)

How can this be?

A restart of Rev fixed it, but it is a bit unnerving to think that
this can change suddenly. I am doing nothing with http headers except
reading them.

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: User-Agent changing

2008-04-22 Thread Richard Gaskin

Sarah Reichelt wrote:

I was working on communications with a RevOnRockets-based web server,
and I was checking the headers of the web request to see whether the
request was coming from a Revolution program, or a browser. I had
checked earlier and the headers included the line:
  User-Agent: Revolution (MacOS)

In the middle of a debugging session, this suddenly changed to:
  User-Agent: Metacard (MacOS)

How can this be?


Genetic memory.

;)

--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.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