Re: Looping in quicktime movies

2006-07-02 Thread Trevor DeVore

On Jul 1, 2006, at 8:38 PM, [EMAIL PROTECTED] wrote:

Can someone suggest a good way of making a quicktime movie play  
continuously
back and forth rather than starting from the beginning with each  
loop? This
would be useful in creating a realistic continuous water wave  
motion that does
not loop and jerk back to the beginning of the movie when the movie  
ends.


Steve,

This is called palindrome looping and is possible using QuickTime  
though Revolution doesn't have built-in support for it.  It you don't  
mind using an external then you can use the EnhancedQT external to  
set the loop type of a movie in a player object to palindrome.  The  
command you would need is qtMakeMovieLoop.  You can find the  
documentation for this at:


http://www.bluemangolearning.com/developer/revolution/eqt_documentation/

Click on Movie Properties in the frame on the left and then click  
on qtMakeMovieLoop in the list of handlers.  The external is  
available here:


http://www.bluemangolearning.com/developer/revolution/enhancedqt.php

--
Trevor DeVore
Blue Mango Learning Systems - www.bluemangolearning.com
[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: Valentina external on OS X

2006-07-02 Thread Ruslan Zasukhin
On 7/2/06 1:23 AM, Trevor DeVore [EMAIL PROTECTED] wrote:

Hi Trevor,

 On Jul 1, 2006, at 3:20 PM, Ruslan Zasukhin wrote:
 * bridge between RevDB and Valentina API
 if I not mistake, in both sides...
 
 You are right Ruslan.  It goes both ways though there is only a
 Valentina external function to go from RevDB to valentina.  For
 valentina to revdb you pass the valentina connection reference to
 revOpenDatabase (though I don't remember the exact syntax).  Is that
 in the wiki?

It is exactly in our V4REV/Examples/TestProject

Docs I am not sure yet updated


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


___
use-revolution mailing list
use-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: Smart card reader

2006-07-02 Thread Yves COPPE

Hi Yves,

I have tried several times with various card readers to do this and
have not managed to do it on wither Mac or PC. Windows uses a protocol
called PCSC and supposedly, you can download Mac drivers for it. I
have done that, but as you say, never get more than the you are
connected message.

If you can work out how to do this, I would be really interested to
know how, but I don't hold out a lot of hope for success :-(

My solution was to get an electronics guru to make me a box that talks
to the smart card reader internally and allows me to read  write
through a serial port.

Cheers,
Sarah


It's an USB device
The driver is effectively a PCSC
I've downloaded the mac driver
I can connect and make some dialogwith the card reader  through the  
terminal, but nothing happens in rev with

 - open driver
 - read from driver

I hope somebody on the list has gone a little further ... !
When I read your answer, I'am a little desperated ...

I had some hope end of june, because there was a patch for the mac  
driver to download on the website

But it gives no difference
They say that it would work with FireFox, but it's not true
Thereforfe I'm trying to make a data reader and viewer from within Rev.

Anybody else has experience with such a driver ???


Greetings.

Yves COPPE
[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: Long FileName Solution!

2006-07-02 Thread Sivakatirswami

Aloha, Ken:

You are a gem, and this is gold... it solves many challenges for me  
across a dozen contexts.  The filename hash occurs on the drop, but  
once  unencrypted the rename command  does not touch it. Marvelous...  
Thanks!


on dragEnter
  set the acceptDrop to true
end dragEnter

on dragDrop

  put  dragData[files] into pPath
  put stsLongFilePath(pPath) into pPath
  set the itemdel  to /
  put item -1 of pPath into tFileName
  rename pPath to (/Users/katir/Desktop/taka-audio transcripts/ 
loaded to dBase but not on TAKA/  tFileName)

#Yes! full file name in the new  directory

end dragDrop



On Jul 01, 2006, at 10:03 AM, Ken Ray wrote:


Ok the problem of long file  names on the Mac not working in
Revolution continues to bite me at every turn... Here's the latest.


I'm not sure if this is what you're looking for, but the following  
function
takes a hashed shortened file name and returns the full long name  
to it

using AppleScript:

function stsLongFilePath pPath
  switch (the platform)
  case MacOS  -- assumes OS X
put set tPath to  quote  pPath  quote  cr  \
set tPath to (POSIX file tPath) as string  cr  \
POSIX path of tPath into tScript
do tScript as AppleScript
return (char 2 to -2 of the result)  -- strips quotes
break
  case Win32
return the longFilePath of pPath
break
  end switch
end stsLongFilePath

So if you did a drag-and-drop operation and the path is hashed, you  
could

run it through stsLongFilePath to get the full path name.

Perhaps some variation of this will work for you...

Ken Ray
Sons of Thunder Software
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


___
use-revolution mailing list
use-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: Maximum image size

2006-07-02 Thread Rob Cozens

Sarah,



I have been checking for images with any
dimension greater than 4000 so that's probably a safe margin. However
it sounds ...

...snip...

... t worked with anything larger than 5 Mpx (2576x1932);but I
encountered no problems with MacOSX Rev v2.1.2 and WinXP Rev2.7.


Try showing a really big image in an image object - you just get black
 grey streaks but no error message when setting the filename of the
image, which is a real problem.


My portfolio stack has a zoom in slider which displays a 5 Mpx jpeg 
at full size--or at least that portion that fits within the stack's 
rect and is not covered by an opaque mask.


Rob Cozens
CCW, Serendipity Software Company

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

from The Triple Foole by John Donne (1572-1631)

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


Re: [OT] Market Share

2006-07-02 Thread Rob Cozens

Jin,et al:


For my money, Jobs is a true visionary...


As a disgruntled HyperCard evangelist, I see him in a different light:

Steve Job's sole contribution to the technical side of computing was 
his insight as to how the mouse device under development at Xerox's 
PARC research center could drive a GUI.


Having brought this technology to the marketplace, Jobs chose to 
compete on the basis of technology when buyers had shifted focus to 
price (or were, at least,  beginning to?  Perhaps this was an early 
indicator of the coming wave of Wal Mart mentality?)


Too bad he totally didn't get it when it came to HyperCard or 
QuickTime Interactive. Having established Apple as a leading 
innovator in computer technology, promotion of HyperCard as Microsoft 
promoted VB and/or (as Gil Amellio [sp?] was committed to) bringing 
QTI to market would have built upon and enhanced that position.


Instead, Jobs' second coming brought us colored computers.


Rob Cozens
CCW, Serendipity Software Company

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

from The Triple Foole by John Donne (1572-1631)

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


Can altBrowser search for text in a website?

2006-07-02 Thread Jared Smith

I'm happy to see that altBrowser can find text using...

XBrowser_Set selected, SearchWord, BrowserID

However, when I use it, it only finds the very first instance of the
word I search for within the website. I'd like to implement
Previous/Next buttons just like other browsers. If anyone has any tips
on how to do this, please let me know.
___
use-revolution mailing list
use-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: [OT] Market Snare

2006-07-02 Thread Stephen Barncard
Jobs' contributions a lot more than Bill Gates'. As I see it, he 
didn't invent anything...just resold or stole stuff that others did.


I get tired of hearing what a genius he is, compared to the 
'greatness' of Edison, etc...


Actually, that's what Edison didstole from and exploited others 
and claimed the credit.


Anyway, I'm glad Jobs came back. He killed Copeland and started the 
road to a stable MacOS  that took years - many companies would not 
have looked so far ahead. And he hired some good people to make the 
new OS. Apple wouldn't exist now if he hadn't come back.


It is perplexing that Jobs was so vehement about shutting HC down - 
Hypercard was one of the most Mac-like products out there - an 
extension of the Mac desktop. Perhaps he thought Applescript was all 
we needed.


sqb


Jin,et al:


For my money, Jobs is a true visionary...


As a disgruntled HyperCard evangelist, I see him in a different light:

Steve Job's sole contribution to the technical side of computing was 
his insight as to how the mouse device under development at Xerox's 
PARC research center could drive a GUI.


--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-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 do you get the evaluated value of a system variable rather than the literal text value in the case of a system variable like $HOME?

2006-07-02 Thread Josh Mellicker

Brian, that worked perfectly. Thanks!


On Jun 30, 2006, at 7:12 PM, Brian Yennie wrote:


Josh,

Try:

put value ($HOME)

On 1 Jul 2006, at 01:46, Josh Mellicker wrote:


Sorry if this has been answered many times, I couldn't find it.

My noob brain is twisted...



Let's say a stored destination file path is:

$HOME,/Applications/

But if you say:

item 1 of tFilePath  item 2 of tFilePath, instead of what you  
want:


/Users/Eggbert/Applications

you get literally:

$HOME/Applications

___
use-revolution mailing list
use-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: Buttons within Quicktime Movies

2006-07-02 Thread Josh Mellicker


On Jul 1, 2006, at 8:35 AM, Trevor DeVore wrote:

Invisible buttons: You can already get clicks in the QT window  
space.  A player object receives all mouse messages.  So if you  
just want to create invisible hotspots then you can capture mouse  
clicks in a player and check them against some predefined invisible  
hotspots rectangles that you define.


This is the easiest approach.

You can also create Flash buttons over a Quicktime movie, (if you  
need them to move and resize, for example) and trap their FSCommands  
with Trevor's amazing external.

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


how to implement a activation code?

2006-07-02 Thread Robert Mann
Is there a sample of how to implement a activation code and or a limited
number of trial days with a standalone build?


Robert Mann





___
use-revolution mailing list
use-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: Maximum image size

2006-07-02 Thread Sarah Reichelt

 I have been checking for images with any
 dimension greater than 4000 so that's probably a safe margin. However
 it sounds ...
...snip...
... t worked with anything larger than 5 Mpx (2576x1932);but I
encountered no problems with MacOSX Rev v2.1.2 and WinXP Rev2.7.

Try showing a really big image in an image object - you just get black
 grey streaks but no error message when setting the filename of the
image, which is a real problem.

My portfolio stack has a zoom in slider which displays a 5 Mpx jpeg
at full size--or at least that portion that fits within the stack's
rect and is not covered by an opaque mask.


It's related to the number of pixels rather than the size of the
image. I have a 3 MB JPG that's 6572 x 8293 pixels. That will not
display correctly and resizing the image object makes no difference.
However a 9 MB file that is only 3303 x 3015 pixels will display
perfectly. I want to do some tests to confirm the exact point at which
the problems occur: it does not fail just because one of the
dimensions is over 4096 pixels, as I can display an image that is 3048
x 9280. So the limiting factor must be the 2 dimensions multiplied.

I tried lowering the number of colors with the first image (6572 x
8293) and that made no difference, even when I went down to 256
colors.

Anyway Rob, you may want to add a check for large images to your
portfolio stack, as the result looks terrible if the image is too
large.

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: Smart card reader

2006-07-02 Thread Sarah Reichelt

On 7/2/06, Yves COPPE [EMAIL PROTECTED] wrote:

 Hi Yves,

 I have tried several times with various card readers to do this and
 have not managed to do it on wither Mac or PC. Windows uses a protocol
 called PCSC and supposedly, you can download Mac drivers for it. I
 have done that, but as you say, never get more than the you are
 connected message.

 If you can work out how to do this, I would be really interested to
 know how, but I don't hold out a lot of hope for success :-(

 My solution was to get an electronics guru to make me a box that talks
 to the smart card reader internally and allows me to read  write
 through a serial port.

 Cheers,
 Sarah

It's an USB device
The driver is effectively a PCSC
I've downloaded the mac driver
I can connect and make some dialogwith the card reader  through the
terminal, but nothing happens in rev with
  - open driver
  - read from driver

I hope somebody on the list has gone a little further ... !
When I read your answer, I'am a little desperated ...

I had some hope end of june, because there was a patch for the mac
driver to download on the website
But it gives no difference
They say that it would work with FireFox, but it's not true
Thereforfe I'm trying to make a data reader and viewer from within Rev.


Yes, I got one set of drivers that were supposed to be
Netscape-compatible, but I never understood how this was supposed to
work. I certainly couldn't read the card data using a browser!

Sorry to be so unhelpful,
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: Icon menu blocking standard menus

2006-07-02 Thread Sarah Reichelt

On 7/2/06, Ken Ray [EMAIL PROTECTED] wrote:


 The instructions for using these unsupported features say that I can't
 bug report them, but I was wondering if anyone else had encountered
 this problem and if so, if they had a solution.

Well, that may be true, but when they first came out I identified a bug on
Windows with the iconMenu and since I hadn't read the instructions for
unsupported features (grin), I bugzilla'ed it and it got fixed in the next
rev...


Thanks Ken, I've bugzilla'd it anyway :-)

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

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: What's The Verdict, Web or Not?

2006-07-02 Thread Richard Gaskin

Bill Marriott wrote:


I just hope that people don't confuse won't get it with
don't need it 


Have you considered the possibility that your needs may be different 
from others'?


--
 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: how to implement a activation code?

2006-07-02 Thread Bill Marriott
There are many, many ways to do this.

Some of them would involve the standalone phoning home to a server which, 
would enable or disable the software.

Another method would be to encode the expiration date into the activation 
code itself. For example if you wanted it to work the way Revolution does, 
with a user emailing in to request a key. The code knows when it expires.

A third way is to hide something in the registry (Windows) or somewhere 
on-disk where it's not easy to be found.

Here's a very very simple (and thus, easily cracked) algorithm:

suppose the expiration date is 8/2/06

the result of

base64encode(compress(8/2/06)) is

H4sIA7PQN9I3MAMAKw61YwY=

8/3/06 is H4sIA7PQN9Y3MAMATmkJ2wY=

9/2/06 is H4sIA7PUN9I3MAMAjt3pqAY=
11/24/09 is H4sIAzM01Dcy0TewBAC5rlHDCA=

Not that while some characters are the same, there's no obvious 
human-readable pattern.

Also, it turns out that the

H4sIA prefix and the = suffix are the same for all values 
encoded this way. So, your activation code could be:

7PQN9I3MAMAKw61Yw

In the standalone you would add use something like

put H4sIA into daPrefix
put = into daSuffix
put decompress(base64decode(daPrefix  daCode  daSuffix)) \
  into daExpireDate
if daExpireDate  the date then
  answer Your trial period is over
  quit
end if

There are many other, better ways you could encode a date (and other 
information) into an activation code. This is just one idea. The simplest 
code of all could be just three letters:

numtochar(month + 32)  \
  numtochar(day+ 32)  \
  numtochar(year - 2000 + 32)

Of course, people might guess that.



Robert Mann [EMAIL PROTECTED] wrote in 
message news:[EMAIL PROTECTED]
 Is there a sample of how to implement a activation code and or a limited
 number of trial days with a standalone build?


 Robert Mann



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


Re: What's The Verdict, Web or Not?

2006-07-02 Thread Bill Marriott
What a non-sequiter, Richard... Whether they are or not is irrelevant; 
won't get it and don't need it are two separate states and shouldn't be 
jumbled up.

It's as if I said, Driving 120 miles per hour may be unsafe, but it's not 
impossible and you replied, But people want to drive at different speeds.

Obviously for whatever motives, some people aren't enthusiastic about a 
browser plug-in that could run Rev code. [Hey, some people apparently don't 
like chocolate and peanut butter together, either.]

That is fine, but don't dismiss it on spurious technical grounds, because 
there really aren't any. (Or at least not any more than any other comparable 
plug-in.)

Actually... as long as we've migrated to speed metaphors... the whole debate 
reminds me of a series of commercials for Comcast internet. This series 
features a pair of turtles, called the Slowskys, who love DSL so much that 
they've become DSL's national spoke-turtles. [The joke/selling point is that 
Comcast cable is 8x faster than DSL.] As you can imagine, the Slowskys don't 
like things fast.

http://theslowskys.com/

Anyway, I wouldn't worry about a browser plug-in. This whole web thing is 
just a fad that will be over before you know it. CD-ROMS, that's the future.

 I just hope that people don't confuse won't get it with
 don't need it

 Have you considered the possibility that your needs may be different from 
 others'?



___
use-revolution mailing list
use-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: Maximum image size

2006-07-02 Thread Roger . E . Eller
On 07/02/2006 at 06:30 PM, Sarah Reichelt [EMAIL PROTECTED]wrote:
 It's related to the number of pixels rather than the size of the
 image. I have a 3 MB JPG that's 6572 x 8293 pixels. That will not
 display correctly and resizing the image object makes no difference.
 However a 9 MB file that is only 3303 x 3015 pixels will display
 perfectly. I want to do some tests to confirm the exact point at which
 the problems occur: it does not fail just because one of the
 dimensions is over 4096 pixels, as I can display an image that is 3048
 x 9280. So the limiting factor must be the 2 dimensions multiplied.

Sarah,

I would be very interested in knowing the exact recipe that produces this 
scrambled cable channel effect with large images in Mac OS. I have an 
application that works 95% of the time, but certain large images will 
fail. I've noticed that sometimes the image is fine at first, but the user 
needs it rotated 90 degrees. They rotate it, and BAM, scrambled image.

Prior to the release of 2.7.x of Rev, I was told that the image handling 
routines were going to be reworked in 2.7 (for Mac and Win). Yes, Windows 
has problems too, but different... large file size images cause 
significant slowdown of the app. Anyway, I contacted Runtime and was told 
that the image routine improvements did not happen in 2.7, but resources 
were instead focused on improved vector graphic features like 
antialiasing. I wonder if this problem is back on the agenda or forgotten 
again in favor of the next cool, but unnecessary feature of the day. When 
our customers demand that our apps work correctly, yet the engine has a 
serious design flaw, what can we do besides wait for Runtime to fix it?

Roger Eller [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: What's The Verdict, Web or Not?

2006-07-02 Thread GregSmith

Though I've only been reading this forum for a short time, I've now got the
definite impression that the Revolution environment is for developers  - 
hard core developers . . .   well, programmers  -  hard core programmers . .
.   not weak, infantile users like myself, who could never program their way
out of a paper sack.  O.K., I was profoundly mistaken in thinking there was
any validity to creating simple, in-browser content made with Revolution. 
It is obviously a much more sophisticated tool intended for a much more
sophisticated audience.

And, I agree with Bill Marriot.  CD-Roms are the wave of the future.

Greg Smith
-- 
View this message in context: 
http://www.nabble.com/What%27s-The-Verdict%2C-Web-or-Not--tf1876146.html#a5145809
Sent from the Revolution - User forum at Nabble.com.

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


Re: Sub-stack deleted!

2006-07-02 Thread Kay C Lan

On 7/1/06, Sivakatirswami [EMAIL PROTECTED] wrote:


I was working in a stack trying to solve a long file name problem
(see other  memo) and when I went to save, one  of the substacks
(contained all the  data!) was gone. this used to happen a long time
ago...fortunately I can go  back to our raid Array and get a copy
from yesterday from Retrospect, but lost all of  today's work...

Good lesson, intensive  work may want  continuous back ups.. I've
been spoiled by Rev..have had only two such problems  in 3 years...



One of the reason that this use to happen was when trying to delete
characters in the pre-2.7 Help Docs search field you wouldn't realize the
focus was actually still on the script you were editing or a control you had
selected. Haven't seen this is 2.7 but I still follow this method:

1) Save regularly.
2) Each day the first time I open a project that I intend to amend, I Save
as... with a new name, which is basically the project name, the rev version
+ an ever increasing version number;

My Killer App 2.7v55

That way, on the odd occasion where I suddenly find I've deleted a control
and I can't Undo I just open the previous version and copy the control
across - the only thing I've lost is the changes to that particular control.
Of course if I really screw up I can go back to where I was 'yesterday'.

I've got to say though, Rev has come along way with it's stability and
presents far less unpleasant surprises.

HTH
___
use-revolution mailing list
use-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 implement a activation code?

2006-07-02 Thread Robert Mann
I was thinking along the line of how revolution does it, just not sure how
that is done?

Robert Mann


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bill
Marriott
Sent: Sunday, July 02, 2006 7:37 PM
To: use-revolution@lists.runrev.com
Subject: Re: how to implement a activation code?


There are many, many ways to do this.

Some of them would involve the standalone phoning home to a server which,
would enable or disable the software.

Another method would be to encode the expiration date into the activation
code itself. For example if you wanted it to work the way Revolution does,
with a user emailing in to request a key. The code knows when it expires.

A third way is to hide something in the registry (Windows) or somewhere
on-disk where it's not easy to be found.

Here's a very very simple (and thus, easily cracked) algorithm:

suppose the expiration date is 8/2/06

the result of

base64encode(compress(8/2/06)) is

H4sIA7PQN9I3MAMAKw61YwY=

8/3/06 is H4sIA7PQN9Y3MAMATmkJ2wY=

9/2/06 is H4sIA7PUN9I3MAMAjt3pqAY=
11/24/09 is H4sIAzM01Dcy0TewBAC5rlHDCA=

Not that while some characters are the same, there's no obvious
human-readable pattern.

Also, it turns out that the

H4sIA prefix and the = suffix are the same for all values
encoded this way. So, your activation code could be:

7PQN9I3MAMAKw61Yw

In the standalone you would add use something like

put H4sIA into daPrefix
put = into daSuffix
put decompress(base64decode(daPrefix  daCode  daSuffix)) \
  into daExpireDate
if daExpireDate  the date then
  answer Your trial period is over
  quit
end if

There are many other, better ways you could encode a date (and other
information) into an activation code. This is just one idea. The simplest
code of all could be just three letters:

numtochar(month + 32)  \
  numtochar(day+ 32)  \
  numtochar(year - 2000 + 32)

Of course, people might guess that.



Robert Mann [EMAIL PROTECTED] wrote in
message news:[EMAIL PROTECTED]
 Is there a sample of how to implement a activation code and or a limited
 number of trial days with a standalone build?


 Robert Mann



___
use-revolution mailing list
use-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: What's The Verdict, Web or Not?

2006-07-02 Thread James Spencer


On Jul 2, 2006, at 9:22 PM, GregSmith wrote:

Though I've only been reading this forum for a short time, I've now  
got the
definite impression that the Revolution environment is for  
developers  -
hard core developers . . .   well, programmers  -  hard core  
programmers . .
.   not weak, infantile users like myself, who could never program  
their way
out of a paper sack.  O.K., I was profoundly mistaken in thinking  
there was
any validity to creating simple, in-browser content made with  
Revolution.
It is obviously a much more sophisticated tool intended for a much  
more

sophisticated audience.


I think you may have gotten the wrong impression; Revolution, while  
not HyperCard, is, IMHO, very usable by reasonably competent users as  
well as by hard core programmers to make what it was intended for,  
desktop software.  I have no doubt that you could create a useful Rev  
stack in a short time if you decided you wanted to even if you have  
never written a program before.  There is no doubt that Rev is a  
powerful environment that can and is used by sophisticated hard core  
programmers to create sophisticated software but that doesn't make  
it unusable by us lesser mortals.


However, Rev is not software for rendering in-browser content.   
That's not what it's intended for.  It might be very cool if someday  
someone created a browser plugin to render Rev window content in a  
browser but the fact that it is not available today does not mean  
that it is only intended for a much more sophisticated audience.   
Nor does the fact that its programming language can be used by  
relatively sophisticated users for scripting CGI's mean that it's  
suitable for rendering html whether by hard core programmers or by  
weak, infantile users (although anyone who really is a weak,  
infantile user would be unlikely to have ever found there way here in  
the first place.)


In concluding that because Rev is not a good tool for creating  
simple, in-browser content and therefore it is only for hard core  
programmers, you are comparing apples and oranges.  Such a conclusion  
makes no more sense that complaining than would condemning Word  
because it can't be used to do photoediting; there are lots of  
reasons to complain about Word but that would not be one of them.


Spence

James P. Spencer
Rochester, MN

[EMAIL PROTECTED]

Badges??  We don't need no stinkin badges!

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


Re: What's The Verdict, Web or Not?

2006-07-02 Thread Brian Yennie

Bill, Richard, et al,

I won't touch the don't need it debate with a ten foot pole at this 
point. Personally, I don't need it and would prefer to use any of the 
other fine tools for browser-based content, HOWEVER, I see no problem 
with anyone else salivating over a Rev plugin. Heck, I'd probably find 
some use for it if there was one.


What I wanted to comment on is:

That is fine, but don't dismiss it on spurious technical grounds, 
because
there really aren't any. (Or at least not any more than any other 
comparable

plug-in.)


It's not spurious. There's history here. Roadster (Supercard web 
plugin) did an excellent job of sucking resources and falling on it's 
face with a company similarly equipped to RunRev (i.e., small). And 
Roadster was a significantly smaller technical feat, because it only 
ran on one platform.


Revolution is hugely intertwined with OS-specific calls, file system 
access, multiple windows and a ton of other stuff that just doesn't fit 
in a browser window.


I'm not saying it's impossible. Of course it's not. But raising 
technical objections is quite sound here. I've written externals for 
Revolution, compiled and modified Mozilla from the source, am familiar 
with the browser plugin API -- and I can barely imagine trying to fit 
Revolution in there. It's a much taller task than any plugin I know of. 
There ARE technical reasons why you don't see entire RAD environments 
running inside browsers. And no, Flash is not a RAD tool.


Anyway, perhaps we can agree - there are more than spurious technical 
hurdles, but some of us think they would be worth it (even though I do 
not).


- Brian

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


Re: What's The Verdict, Web or Not?

2006-07-02 Thread Bill Marriott
It's not a reason to complain about Word because, well, you *can* edit 
photos with it

http://www.wjm.org/linked/word-photo.gif

(and draw simple graphics... and [cough] display its content in a web 
browser)

James Spencer wrote...
 Such a conclusion  makes no more sense that complaining than would 
 condemning Word  because it can't be used to do photoediting; there are 
 lots of  reasons to complain about Word but that would not be one of them.

[I think some of Greg's sarcasm was lost on 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


Re: [OT] Market Share

2006-07-02 Thread Kay C Lan

On 7/2/06, Jim Carwardine [EMAIL PROTECTED] wrote:


You would be surprised at how many CEOs out there do get it and could
replace Jobs.



Rob Cozens wrote:

Instead, Jobs' second coming brought us colored computers.




My point exactly. How many other CEO out there can make so much money out of
such irrelevance. From a technological standpoint, truly embarrassing. From
a marketing standpoint, head a shoulders, world record, Gold medal, hall of
fame never to be forgotten kinda of stuff.

I reckon Kevin wishes he could get an extra million sales just by changing
the colour of the box:-)
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: What's The Verdict, Web or Not?

2006-07-02 Thread Kay C Lan

On 7/3/06, Bill Marriott [EMAIL PROTECTED] wrote:


It's not a reason to complain about Word because, well, you *can* edit
photos with it

http://www.wjm.org/linked/word-photo.gif

(and draw simple graphics... and [cough] display its content in a web
browser)



It's cross platform and it does tables with great aplume. So clearly the
answer is to suggest to MS to write a pluggin for Word so that it can be
used as a RAD.

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


Re: What's The Verdict, Web or Not?

2006-07-02 Thread Bill Marriott
Brian Yennie wrote,

 I see no problem with anyone else salivating over a Rev plug-in. Heck, I'd 
 probably find some use for it if there was one.

:)

 It's not spurious. There's history here. Roadster (Supercard web plug-in) 
 did an excellent job of sucking resources and falling on its face with a 
 company similarly equipped to RunRev (i.e., small). And Roadster was a 
 significantly smaller technical feat, because it only ran on one platform.

Resources is one thing; bugs are another. (And did you mean, system 
resources, or company resources?) Sophisticated Flash solutions can take up 
several megabytes of RAM. More than a similar Rev standalone, in some cases. 
As for Roadster, I am sure that Apple didn't particularly care about making 
it cross-platform; they're funny/weird that way. (Apple *still* offers a 
non-xplat plug-in architecture.)

By a plug-in comparable [to Rev] I mean Director of course. Director's 
lingo is/was even a variant of HyperTalk, before it transmogrified into a 
multi-headed ECMAscript beast.

 Revolution is hugely intertwined with OS-specific calls, file system 
 access, multiple windows and a ton of other stuff that just doesn't fit in 
 a browser window.

In one of my earlier posts, I did comment that the browser sandbox would 
be the hardest aspect of a Rev plugin. Presumably one wouldn't be able to 
access the local system at all. And you wouldn't be able to spawn new 
windows, either. Not all technical issues are spurious but some of the 
ones bandied about certainly are.

By the way... Clearly this is about using Rev to write stacks that target 
the browser... not to expect to run any Rev stack without modification 
within a browser window.

 I'm not saying it's impossible. Of course it's not. But raising technical 
 objections is quite sound here. I've written externals for Revolution, 
 compiled and modified Mozilla from the source, am familiar with the 
 browser plugin API -- and I can barely imagine trying to fit Revolution in 
 there. It's a much taller task than any plugin I know of. There ARE 
 technical reasons why you don't see entire RAD environments running inside 
 browsers. And no, Flash is not a RAD tool.

And since Rev itself can't access the document object model, presumably a 
plugin woudn't be able to either, severely limiting its functionality. Yes, 
there would be some issues trying to get the existing Rev shoe-horned into a 
browser plugin. However, building a plugin that can present rev stacks is 
another question :)

 Anyway, perhaps we can agree - there are more than spurious technical 
 hurdles, but some of us think they would be worth it (even though I do 
 not).

Yes...  it's a big job. My point is NOT that Oh those Rev folks are so 
mean, they could just wave a hand and give us something we want, 
effortlessly. There are issues, sure. Solvable ones. I reject the claim 
that Rev is not appropriate for web delivery, or inherently incompatible 
with the concept, as spurious.

I think many (perhaps even most) regulars here on the Rev list have accepted 
the niche Revolution has found and hopes it continues to be maintained and 
thrive in that niche. We feel lucky that Rev, such as it is, even exists... 
let alone that it works as well as it does to create real applications on 
the big three OS platforms. But you know, there is no President Bush who 
is going to declare our coral reef a wildlife sanctuary. Rev is going to 
have to adapt long term to survive, in my opinion. I think that means 
eventually running on the Web -- the latest and most important platform 
out there. As Stephen Hawking said, Leave Earth or die! :) 



___
use-revolution mailing list
use-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 implement a activation code?

2006-07-02 Thread Bill Marriott
a) Rev isn't going to tell you how they do it ;)

b) That basically *is* how they do it -- encoding an expiry date into the 
key -- but using a much more sophisticated algorithm. To the best of my 
knowledge, the Rev app doesn't phone home.

- You register online to receive a key
- Their server system creates a key which embeds the version number, expiry 
date, and perhaps other information
- They email the key to you
- Your copy of Rev decrypts the key and unlocks the software according to 
the rules embedded in the key itself


Robert Mann [EMAIL PROTECTED] wrote in 
message news:[EMAIL PROTECTED]
I was thinking along the line of how revolution does it, just not sure how
 that is done?

 Robert Mann



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


Re: What's The Verdict, Web or Not?

2006-07-02 Thread Bill Marriott
Hey, I think you're on to something! :D

Kay C Lan wrote
 On 7/3/06, Bill Marriott wrote:

 It's not a reason to complain about Word because, well, you *can* edit
 photos with it

 http://www.wjm.org/linked/word-photo.gif

 (and draw simple graphics... and [cough] display its content in a web
 browser)


 It's cross platform and it does tables with great aplume. So clearly the
 answer is to suggest to MS to write a pluggin for Word so that it can be
 used as a RAD.

 So simple:-)



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


Escape infinite loops

2006-07-02 Thread Terry Vogelaar

Hi all,

I have a script that somehow has an infinite loop somewhere, although  
I cannot see where or why.


Back in the HyperCard days I ran more often into such an error. I had  
to use Command-dot often to stop executing scripts. But RunRev 2.7  
doesn't seem to respond to that. So I force-quit RunRev. But is there  
another way to abort executing scripts?


Also, is there a way to give a handler a maximum time to finish?

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