Best resizeQuality

2005-05-10 Thread David Kwinter
Hello,

How can I set the best resizeQuality of an image via script? There's a checkbox 
in the properties, but the property name is two words which is strange and I 
can't find it in the dictionary.

Thanks
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tabs

2005-01-02 Thread David Kwinter
You could also use the menuPick handler
on menuPick m
   if m="Tab1" then
   hide group "tab2"
   show group "tab1"
   else if m="Tab2" then
   hide group "tab1"
   show group "tab2"
   end if
end menuPick
- Original Message - 
From: "Judy Perry" <[EMAIL PROTECTED]>
To: "docmann" <[EMAIL PROTECTED]>; "How to use Revolution" 

Sent: Sunday, January 02, 2005 1:01 PM
Subject: Re: Tabs

on mouseUp -- of the tabbed button set
 if the selectedText of me is "Tab1" then --checks for active tab
   hide image|field "myImageName"|"myFieldName" --hides unwanted stuff
   show image|field "myImageName"|"myFieldName" --shows wanted stuff
 end if
 --... repeat until you've checked for all tabs
end mouseUp
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: image in white rectangle

2004-12-14 Thread David Kwinter
You want to make the white part of your image transparent. There's a tool to 
do this, but it only makes 1 specific color transparent. Superior would be a 
tool that anti-aliased the edges using alphadata.

The tool is in Development Menu/Revolution Online/User 
Spaces/Category/Programming/Makes transp...

- Original Message - 
From: "Andrew" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 14, 2004 7:27 PM
Subject: Re: image in white rectangle


oh, perhaps I didn't explain myself well.
Say I'm importing an image of a person standing in full figure against a 
white background.  When this image is in front of another larger image, 
you can see the white background behind the person.  I just want to make 
the white background behind the person invisible so it just looks like the 
person is standing in front of the other picture.

Thanks!
On Tuesday, December 14, 2004, at 06:39  PM, 
[EMAIL PROTECTED] wrote:

On Dec 14, 2004, at 5:30 PM, Andrew wrote:
When importing an image, it always appears inside a white rectangle.
Is there any way to set the white to "transparent"?
I don't see that in a quick test I did.  Maybe the border got turned
on, somehow.
Or do you mean the image itself has a white rectangle?
If the white is only at the edge...  In that case you can write a small
script to get the imageData, and compute an alphaData and set that.
Or you might be running across bug 560 or bug 1090, where transparency
is lost.  The first is a problem in pasting an image.  The second is a
problem of transparency being lost when the card changes.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Possible encrypt/decrypt bug

2004-12-10 Thread David Kwinter
I've checked bugzilla and haven't found this, I thought I'd run it by this 
list before posting a new bug.

These should both answer "true" at the end, but the first, using "key" 
doesn't. I've encountered it while encrypting and decrypting binary files, 
expecting to reproduce the files exactly.

on mouseUp
   answer file "Choose a file"
   put it into fPath
   open file fPath for binary read
   read from file fPath until end
   put it into originalData
   close file fPath
   repeat 32 times
   put numToChar(random(255)) after tKey
   end repeat
   encrypt originalData using "aes256" with key tKey at 256 bit
   put it into encryptedData
   decrypt encryptedData using "aes256" with key tKey at 256 bit
   put it into restoredData
   answer restoredData=originalData  answers false
end mouseUp
on mouseUp
   answer file "Choose a file"
   put it into fPath
   open file fPath for binary read
   read from file fPath until end
   put it into originalData
   close file fPath
   repeat 32 times
   put numToChar(random(255)) after tKey
   end repeat
   encrypt originalData using "aes256" with password tKey at 256 bit
   put it into encryptedData
   decrypt encryptedData using "aes256" with password tKey at 256 bit
   put it into restoredData
   answer restoredData=originalData  answers true
end mouseUp
Even though it seems that a binary key works as the password I'd like to 
know if passwords are supposed to be restricted to certain chars and if the 
second script is less secure than the first, if it worked.

Thanks for any help 

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: interesting patent

2004-12-08 Thread David Kwinter
Software patents hinder progress and favor large-caps which can afford the 
legal battles such patents beg for

http://www.nosoftwarepatents.com/
- Original Message - 
From: "kee nethery" <[EMAIL PROTECTED]>
To: "How to use Revolution" <[EMAIL PROTECTED]>
Sent: Wednesday, December 08, 2004 11:49 AM
Subject: Re: interesting patent


On Dec 8, 2004, at 11:37 AM, Frank D. Engel, Jr. wrote:
Hmm.. sounds like something other programs have been doing for a long 
time already.  Take FileMaker Pro, for example...

I wonder if the patent is actually valid?
if it is issued it is valid. Does someone who cares have prior art that 
would invalidate the patent and does someone who cares and has enough 
money to invalidate it know about that prior art. That's the big question. 
If issued, it is valid.

Kee Nethery
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Opacity Percentage?

2004-12-04 Thread David Kwinter
You'll need to use images and manipulate their alphadata. See
http://www.sonsothunder.com/devres/metacard/tips/imag005.htm
- Original Message - 
From: "Rick Harrison" <[EMAIL PROTECTED]>
To: "How to use Revolution" <[EMAIL PROTECTED]>
Sent: Saturday, December 04, 2004 1:34 PM
Subject: Opacity Percentage?


Hi there,
I wanted to create a bunch of different color filters
and to be able to change the opacity by percentages.
I thought I'd use a basic rectangle and see if I could
change the opacity so that the object beneath it
shows through.
So far I haven't found a way to do this in Revolution.
Is there a way?
Thanks in advance.
Rick
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Encryption and SSL

2004-11-23 Thread David Kwinter
If you don't have it yet, you'll need the add-on:
http://secure.runrev.com/Merchant2/merchant.mvc?Screen=PROD&Product_Code=STUDASSL&Category_Code=&Store_Code=WYRUQVXT
- Original Message - 
From: "Gordon" <[EMAIL PROTECTED]>
To: "How to use Revolution" <[EMAIL PROTECTED]>
Sent: Tuesday, November 23, 2004 11:57 AM
Subject: Encryption and SSL


Dear Revolutionaries
The wording of the documentation is a little ambiguous
...
When I try to run encrypt, I get the "SSL library not
found" message. Do I need to download and install
openSSL? Is the DLL provided with rev the same thing
or just a helper DLL that I need in addition to open
SSL?
Also: when I try to see what ciphers are available
using the 'ciphernames' function, it is blank ...

Where are my ciphers? Where's the SSL? There's no SSL
for the people who need the SSL!

Anybody help me?
Best
Gordon
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Way to speed up append strings?

2004-11-14 Thread David Kwinter
You could put new data into elements of an array, keep track of the keys 
using a variable, then "combine" them into one string at the end, prior to 
writing to a file.

do this once
put 0 into i
then for each new string
add 1 to i
put "some new data" into newPrefData[i]
then at the end
combine newPrefData using tab
- Original Message - 
From: "Frank Leahy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 14, 2004 7:20 AM
Subject: Way to speed up append strings?


I have a preferences file that is fairly large (30K+), and it's created 
on-the-fly using "append string" functions, e.g.
   put "this data and that data..." after thePrefs
   put "some more data..." after thePrefs
   put "even more data..." after thePrefs

This is getting slower than I'd like, and it appears that the slowdown is 
because the append functions are getting slow.  I'm guessing that RunRev 
is reallocating memory on each append, then copying the existing string 
and the appended string into the newly allocated memory.  And because I 
have lots of little appends this really slows things down (and no, there's 
no way to make the appends longer and therefore fewer...).

My question is this: is there a way to tell RunRev that I want it should 
start with a big string block (e.g. 64K of memory), when I first create 
the string?

If not, I'll have to go to a "write to temp file and then re-read from 
temp file" type of solution (because writing and reading to a temp file 
appears to be significantly faster than doing lots of little appends).

Thanks,
-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: printedRotated under Windows XP

2004-10-21 Thread David Kwinter
I have also tried using it (v2.5 on XP) with no success.
- Original Message - 
From: "John Miller" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 21, 2004 6:14 PM
Subject: printedRotated under Windows XP


Greetings Again,
No one responded to my first question, so I thought I would try again. 
Is anybody using the printRotated setting under Windows XP 
successfully?  My project prints numerous reports in portrait mode, but 
I want to print an envelope without having to set and then reset under 
print dialogue. I cannot get this setting to work.

Many thanks,
John Miller
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Memory problem

2004-10-15 Thread David Kwinter
This seems like a beginner question so let's keep it simple. For a 
dictionary application I'd recommed using custompropertysets to 
differentiate the groups of words starting with a-z and then a 
customproperty for each word.

Duane, try these handlers in a card or stack script:
on saveWord wordName,wordData
   put char 1 of wordName into wordGroup
   set the custompropertyset of this card to wordGroup
   set the wordName of this card to wordData
end saveWord
function retrieveWord wordName
   put char 1 of wordName into wordGroup
   set the custompropertyset of this card to wordGroup
   put the wordName of this card into x
   return x
end retrieveWord
Then to save an entry, make a button (or whatever) with a script like:
on mouseUp
   put "Word" into wordName
   put "Definitions, etc" into wordData
   send "saveWord "&wordName,wordData to this card
end mouseUp
and to retrieve a word:
on mouseUp
   put retrieveWord("Word")
end mouseUp
Let us know how well it works with your thousands of words!
- Original Message - 
From: "Troy Rollins" <[EMAIL PROTECTED]>
To: "How to use Revolution" <[EMAIL PROTECTED]>
Sent: Friday, October 15, 2004 1:03 PM
Subject: Re: Memory problem


On Oct 15, 2004, at 4:00 PM, David Kwinter wrote:
I know this doesn't answer your question, but I think you should consider 
using an alternate method of storing your data. Something with less 
'overhead' than cards. Perhaps custom properties or even text files.
Or an embedded Database?
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Memory problem

2004-10-15 Thread David Kwinter
I know this doesn't answer your question, but I think you should consider 
using an alternate method of storing your data. Something with less 
'overhead' than cards. Perhaps custom properties or even text files.

- Original Message - 
From: "duane poncy" <[EMAIL PROTECTED]>
To: "a Revolution" <[EMAIL PROTECTED]>
Sent: Friday, October 15, 2004 12:53 PM
Subject: Memory problem


I have a hard disk space problem. I have a dictionary project which
requires me to clone a few thousand cards, evidently requiring a lot of
hard disk space on my G4 Mac. Revolution only wants use to my Startup
partition, but it doesn't have enough space. Does anyone know of a way
to designate another disk or partition for scratch memory?
Thanks
Duane Poncy
visit elohi gadugi: poetry, software,
Cherokee culture and Native American rights.
http://elohigadugi.org/

Another world is not only possible, she is on her way.
On a quiet day, I can hear her breathing.  - Arundhati Roy
-
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


HTTPS memory hoarding

2004-10-14 Thread David Kwinter
I have been able to use https successfully by first setting the sslcertificates to the 
fileName of the "roots.pem" file.

Subsequent downloads of URLs via https causes Revolution's "Mem Usage" on Windows XP 
to grow an average of 15 megabytes >per download< until my computer slows to a useless 
state!

I'm using rev 2.5 w/SSL on XP
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Https

2004-10-14 Thread David Kwinter
Humble apologies Mr. Cragg, I saw the light fixing the ssl problem and got 
your name wrong. 

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Https

2004-10-13 Thread David Kwinter
Thanks Jan,
I did get it to work thanks to a copy of Craig's "roots.pem" file and 
setting the sslcertificates to its path. Rev should include this with the 
installer.

- Original Message - 
From: "Jan Schenkel" <[EMAIL PROTECTED]>
To: "How to use Revolution" <[EMAIL PROTECTED]>
Sent: Wednesday, October 13, 2004 11:10 PM
Subject: Re: Https


--- David Kwinter <[EMAIL PROTECTED]> wrote:
Does Rev support https yet? I have the ssl add-on
and am using my hosting
provider's certificate, but can't access anything..
such as
put URL "https://ssl7.pair.com/stocksta/test.txt";
"the result"=
error -Error with certificate at depth: 0 issuer =
/C=ZA/ST=Western
Cape/L=Cape Town/O=Thawte Consulting
cc/OU=Certification Services
Division/CN=Thawte Server
CA/[EMAIL PROTECTED] subject =
/C=US/ST=Pennsylvania/L=Pittsburgh/O=pair Networks
Inc./CN=ssl7.pair.com err
20:unable to get local issuer certificate
Hi David,
Ths issue was discussed a while back : the HTTPS
protocol is supported, but you'll need a certificate
to make it work. You might be interested in the
following post by Dave Cragg on the metacard list :
<http://lists.runrev.com/pipermail/metacard/2004-September/007763.html>
Hope this helped,
Jan Schenkel.
=
"As we grow older, we grow both wiser and more foolish at the same time." 
(La Rochefoucauld)

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Https

2004-10-13 Thread David Kwinter
Does Rev support https yet? I have the ssl add-on and am using my hosting 
provider's certificate, but can't access anything.. such as

put URL "https://ssl7.pair.com/stocksta/test.txt";
"the result"=
error -Error with certificate at depth: 0 issuer = /C=ZA/ST=Western 
Cape/L=Cape Town/O=Thawte Consulting cc/OU=Certification Services 
Division/CN=Thawte Server CA/[EMAIL PROTECTED] subject = 
/C=US/ST=Pennsylvania/L=Pittsburgh/O=pair Networks Inc./CN=ssl7.pair.com err 
20:unable to get local issuer certificate

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Encryption

2004-10-01 Thread David Kwinter

- Original Message - 
From: "Mark Brownell" <[EMAIL PROTECTED]>
To: "How to use Revolution" <[EMAIL PROTECTED]>
Sent: Friday, October 01, 2004 12:42 PM
Subject: Re: Encryption


>
> On Friday, October 1, 2004, at 12:26 PM, David Kwinter wrote:
>
> > Using bf-ofb with a 41 char key (328bits) with 328bits specified for
> > encryption, the source does not come back properly after decryption,
> > instead it's garbage binary data.
> >
> > If I use "blowfish" instead of "bf-ofb", everything works fine up
> > until 320bits, higher than that I get the error
> > "error:06065064:digital envelope routines:EVP_DecryptFinal:bad >
decrypt"
> >
> > Is anyone having better luck with this?
>
>
> A little background on Blowfish. You might need to make the char keys
> in increments of four char steps. Four chars is 32 bit, eight chars is
> 64 bit, twelve chars is 96 bit level encryption for instance. Some
> algorithms need to clean up the number of chars before they are used as
> a key. So 41 chars might be causing a problem only because it doesn't
> conform to a 32 bit block size.
>
> What happens with a 56 char key?
>
> Mark
>

56 char is what I tried first, with "bf-ofb" I get garbage binary with
"blowfish" I get the error: "error:06065064:digital envelope
routines:EVP_DecryptFinal:bad > decrypt"

40 chars/320bits seems to be the breakpoint

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Encryption

2004-10-01 Thread David Kwinter
Hello,

I just got the encryption add-on and am experimenting with the "Encryption.rev" file 
in the "unsupported stacks" download 
(http://support.runrev.com/resources/unsupported.php).

Using bf-ofb with a 40 char key (320bits) with 320bits specified for encryption, I can 
encrypt and decrypt fine.

However

Using bf-ofb with a 41 char key (328bits) with 328bits specified for encryption, the 
source does not come back properly after decryption, instead it's garbage binary data.

If I use "blowfish" instead of "bf-ofb", everything works fine up until 320bits, 
higher than that I get the error "error:06065064:digital envelope 
routines:EVP_DecryptFinal:bad decrypt"

Is anyone having better luck with this?
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Getting back stack resizability

2004-07-10 Thread David Kwinter
It worked, a perfect work-around! Thanks a lot


- Original Message - 
From: "Martin Baxter" <[EMAIL PROTECTED]>
To: "How to use Revolution" <[EMAIL PROTECTED]>
Sent: Saturday, July 10, 2004 1:53 PM
Subject: Re: Getting back stack resizability


> David, I see the same behaviour here on Rev 2.1.2 and XP Home.
> 
> By trial I discovered that I could get resizability back by setting the
> decorations to default. Perhaps it might work for you too.
> 
> HTH
> 
> Martin
> 
> 
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Getting back stack resizability

2004-07-09 Thread David Kwinter
Try this on Windows XP+Rev 2.21:

- create a new stack
- turn "Metal Texture" on
- turn "Metal Texture" off
- try to resize your stack

I've learned by trial and error that Metal Texture is intended for Mac apps, but after 
doing this is there any way to get my resizability back? I've already done a complete 
transplant of cards & substacks once to a new stack but it takes so darn long, I'd 
rather not do it again. Is another property to switch?

Thanks
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: error message anomalies, anyone?

2004-06-08 Thread David Kwinter
Me too. I've upgraded but continue to use 1.1.1 which is still an 
awesome product IMHO

On Tuesday, June 8, 2004, at 04:57 PM, Ken Ray wrote:
Howe many of you have found that error messages in Rev 2.2 do
not appear
to be related to the actual cause of script errors?
Count me in as well...
Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: stand Alone bug

2004-06-04 Thread David Kwinter
I feel your pain. I recommend asking the Rev ppl if you can get a copy 
of 1.1.1 - I've found that for certain projects it is better to be able 
to debug properly than to have the extra features.

On Friday, June 4, 2004, at 01:51 PM, tzvi wrote:
On Friday, June 4, 2004, at 03:15 PM, David Kwinter wrote:
Hey that's pretty funny - I just posted about that problem. If you 
have 1.1.1, open your stack in it and go to the script which has been 
changed and hit space or return or whatever then hit apply. The 
script you see will actually be applied.
I don't have 1.1.1 I started with 2.0.
The bottom line I'm stuck . Don't tell me that I have to rewrite the 
whole file. Since when I deleted the whole script. an empty 
errorWindow comes up then when I hit the "script" btn the development 
script window comes up.
Thanks

On Friday, June 4, 2004, at 12:49 PM, tzvi wrote:
sorry forgot to add the error itself.
 	executing at 2:18:46 PM
Type	Chunk: can't find stack
Object	Enter
Line	send "setLoc" to stack "entry Form"
Hint	button id 1010 of group id 1012 of card id 1143 of stack 
"fskiosk" of stack "/Users/tzvi/Desktop/fs.rev"
As of now , no line like this anymore.

On Friday, June 4, 2004, at 02:47 PM, tzvi wrote:
I was trying  to save as a standAlone, keep on getting errors 
"there was an error while saving the standalone app."
then it comes up the error stating a line of code that was removed 
, changed around , and deleted already to make sure its deleted 
completely to see what's going on. But just didn't work . The same 
thing error over and over.
Any help is appreciated.
Thanks
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: stand Alone bug

2004-06-04 Thread David Kwinter
Hey that's pretty funny - I just posted about that problem. If you have 
1.1.1, open your stack in it and go to the script which has been 
changed and hit space or return or whatever then hit apply. The script 
you see will actually be applied.

On Friday, June 4, 2004, at 12:49 PM, tzvi wrote:
sorry forgot to add the error itself.
 	executing at 2:18:46 PM
Type	Chunk: can't find stack
Object	Enter
Line	send "setLoc" to stack "entry Form"
Hint	button id 1010 of group id 1012 of card id 1143 of stack 
"fskiosk" of stack "/Users/tzvi/Desktop/fs.rev"
As of now , no line like this anymore.

On Friday, June 4, 2004, at 02:47 PM, tzvi wrote:
I was trying  to save as a standAlone, keep on getting errors "there 
was an error while saving the standalone app."
then it comes up the error stating a line of code that was removed , 
changed around , and deleted already to make sure its deleted 
completely to see what's going on. But just didn't work . The same 
thing error over and over.
Any help is appreciated.
Thanks
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Rev 2.2 debug bugs

2004-06-04 Thread David Kwinter
Hi,
I've been using 1.1.1 but upgraded when 2.1.2 came out. I had problems 
with it, saw that other were too and put it away. Now that 2.2 is out 
I'm trying to make use of it however after switching the code in my 
stack that isn't backward compatible (ie it's delete global now) I 
still get vague errors which make no sense. I'm experienced with Rev 
1.1.1's style of pointing to the handler with the problem and taking it 
from there - but these are what I get on my very stable (in 1.1.1) stack

Typeseek: bad offset expression
Object  card id 1002
Line#show field "crossHilight"
Hinton idle
Typeround: bad parameter
Object  card id 1002
Line#show field "crossHilight"
Hinton idle
Another problem I had while debugging came when I put an "answer here" 
in the script. It remained in the script after I removed it seemlingly 
because when I'd click apply I'd get the above error and the original 
script (with the answer here) remained somehow in my card. When I'd go 
to edit the card script the line was removed but when I'd search for 
"answer here" in the global search box It'd said that it was in the 
card script. I tried using "Replace in All" to get rid of it as well as 
"set the script of this card to.." but neither worked. There seemed to 
be two scripts, one I could see and one I could not-which was active 
and still had the "answer here" in it. I ended up having to go into Rev 
1.1.1 and when I modified the script what I saw was actually "applied" 
and the dialog stopped popping up.

Is anyone else having problems with their 1.1.1 stacks or the Rev 2.2 
debugger/script saving?

Any help would be appreciated.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Programming contest [Rev Physics masters]

2004-05-01 Thread David Kwinter
I only skimmed last year's problem, but when I saw the friction and air 
resistance constant I thought they could really go overboard if they 
wanted, but you're right it appears not. They define their time step 
variable adjustments very clearly.

So less talk and more action. I'm going to make a simulator for the car.

On Saturday, May 1, 2004, at 09:22 AM, James Spencer wrote:

On May 1, 2004, at 1:09 AM, Dar Scott wrote:

On Friday, April 30, 2004, at 10:23 PM, David Kwinter wrote:

So who's our physics master? I have experience backtesting & 
optimizing systems once I've programmed them - but defining the 
environment following their specs looks extremely challenging.
I'm not sure how much this is a physics problem.  The simulator is 
spec'd out exactly and that takes care in doing the low level coding. 
 Some physics might be handy in getting close to a solution.  
However, this looks like a search problem to me.  Well, at first 
glance.

It is a nice problem in that it can be broken up into pieces and the 
pieces might be done in alternate ways.

You are right: last year's problem was a pure computer programming 
problem.  There was no physics involved at all as the contest 
organizers defined the physics of the problem completely and the math 
that was to be used to solve the physics.  I think you can expect the 
same this year.  The few past problems I've looked at did not require 
any knowledge of anything other than how to program.  The consistent 
theme seems to be that algorithm is paramount with processing time 
being secondary but not insignificant.  (When you have only 72 hours 
to write your program and submit your results, a brute force solution 
isn't likely to be successful as you won't find an optimum solution in 
that time, certainly without a supercomputer.)

Spence

James P. Spencer
Rochester, MN
[EMAIL PROTECTED]

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

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Programming contest [Rev Physics masters]

2004-04-30 Thread David Kwinter
So who's our physics master? I have experience backtesting & optimizing 
systems once I've programmed them - but defining the environment 
following their specs looks extremely challenging.

I'm quite sure that how you manage a brute force backtest of the race 
track problem can produce best results when designed just right. That 
said I would've been lost on the first 90% of the problem.

So who here could've nailed down the 2003 problem?  
http://www.dtek.chalmers.se/groups/icfpcontest/Rotmos/problem.pdf



On Friday, April 30, 2004, at 09:12 PM, J. Landman Gay wrote:

On 4/30/04 9:07 PM, David Kwinter wrote:

So long as the tasks don't involve compatibility issues, or are 
judged solely on speed, Revolution could do well. I'd help a team for 
sure, sounds like fun.
There are descriptions of previous contests in the History section of 
the web site if you want an idea of what to expect. All entries are 
submitted as text files. Here is last year's contest:

http://www.dtek.chalmers.se/groups/icfpcontest/task.html

This required you to drive a simulated car around some simulated test 
tracks. The submission itself is a text dump of the commands given to 
the car. They then ran the trace through their own simulator, which 
reads the contents of the submitted entry. They do want to see the 
code, but they don't care what language it is in and the quality of 
the code does not affect who wins; the success of the code does.

This year's contest will be similar in that the entry will consist of 
a text file that solves whatever task they post. In last year's 
contest speed did count, but only because the goal was to make the car 
move as fast as possible. The speed would be due to the quality of the 
commands rather than the state of any particular computer.

There's more stuff in the History section. MIT started the contest 
some years ago. It looks like they've done a nice job eliminating 
things that are computer and language dependent, and focusing on the 
programming rather than the execution.


On Friday, April 30, 2004, at 07:44 PM, J. Landman Gay wrote:
This sounds like something one of us (or a group of us) here might 
want to do:

http://www.cis.upenn.edu/proj/plclub/contest/

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Programming contest

2004-04-30 Thread David Kwinter
So long as the tasks don't involve compatibility issues, or are judged 
solely on speed, Revolution could do well. I'd help a team for sure, 
sounds like fun.

On Friday, April 30, 2004, at 07:44 PM, J. Landman Gay wrote:

This sounds like something one of us (or a group of us) here might 
want to do:

http://www.cis.upenn.edu/proj/plclub/contest/

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: delete an array?

2003-12-11 Thread David Kwinter
delete arrayName

: )

On Thursday, December 11, 2003, at 03:31  PM, Steve Ralston wrote:

Hi all,

Back to Rev after being side-tracked for over a month, and glad to be
coding in it again.
I've looked through the docs, but I can't find a way to delete an 
entire
array. I'm already cringing at how easy I expect it to be, but I have 
to
ask.

Thanks,

Steve Ralston

--
“I believe in Christianity as I believe that the sun has risen not only
because I see it, but because by it I see everything else.”
  — C.S. Lewis

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ann] My game is finished. Yibbah!

2003-12-10 Thread David Kwinter
After about 6 rounds I managed to get an 877. Fun game!

What's your best score?

On Wednesday, December 10, 2003, at 06:52  AM, Malte Brill wrote:

Ps: Please let me know your Scores.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Spoofing IE with libURLSetCustomHTTPHeaders

2003-11-26 Thread David Kwinter
On Wednesday, November 26, 2003, at 04:04  PM, Alex Rice wrote:

I believe it's the User-Agent HTTP header.

Bingo!

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Spoofing IE with libURLSetCustomHTTPHeaders

2003-11-26 Thread David Kwinter
This is probably a question for someone who runs a webserver or 
otherwise has experience with libURLSetCustomHTTPHeaders.

I want to use this command to spoof either netscape or IE. Anyone know 
what should be included in the headersList to make requests perfectly 
incognito?

Thanks

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Losing the amateur.

2003-11-02 Thread David Kwinter
I agree completely with Ryon. I think Revolution 1.1.1 and the 2.x are 
completely different products. The upgrade was far from seamless in 
both functionality and hobbyist-appeal. Does anyone else have large 
projects which run fine in 1.1.1 but not any 2.x? Like the concorde, 
for the meantime the future is behind us.

On Sunday, November 2, 2003, at 09:59  PM, Alex Rice wrote:

On Nov 2, 2003, at 9:46 PM, J. Landman Gay wrote:

Um. There is nothing preventing anyone from creating a one-card 
standalone and making it available for free as a player.
In fact I think Scott Rossi has done that for his various games and 
demos on his site. Don't know if it's general purpose though.

But I definitely missed the point of Ryno and John. I do understand 
that the licensing changes have been major. I shouldn't presume 
anything- because I was not on the scene for Hypercard nor even 
Metacard. Sorry guys.

It would be interesting if Scott Raney would followup on this thread. 
(hint, hint) :-)

Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | 


what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] 1344 bit encryption

2003-11-01 Thread David Kwinter
That's right Alex, I just need to protect some sensitive stuff of my 
own computer, not to be included in any salable product. In any event, 
I'm Canadian, and DriveCrypt is German so I really couldn't care less 
about US cryptography laws.

I'm still looking out for a cross-platform product (as I mentioned in 
my original post). Unless I find something very soon, I'll be 
purchasing DriveCrypt next week. In the event that my PC laptop is 
stolen, I'll use DriveCrypt on my Mac under VirtualPC to resurrect my 
backed-up protected data.



On Saturday, November 1, 2003, at 09:38  AM, Alex Rice wrote:

On Nov 1, 2003, at 7:06 AM, Rob Cozens wrote:

I assume this is for domestic purposes, or that you are aware of US 
government restrictions on the export of encryption software 
supporting keys > 64 bits:
Rob and Mark- David didn't state his intent for the crypto, but the 
URL he posted was for a consumer product for disk encryption. Why 
should he be worried about export restrictions?

BTW I thought US export restrictions were eased because the Feds 
realized they were really messing things up for US software companies 
not being able to compete internationally?

Alex Rice <[EMAIL PROTECTED]> | Mindlube Software | 


what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


[OT] 1344 bit encryption

2003-10-31 Thread David Kwinter
Dear revolutionaries,

http://www.securstar.com/ makes a really mean 1344-bit "military 
strength" encryption program. It's PC only - and I can well enough 
imagine how slow it runs in Virtual PC.. Does anyone know of a cross 
platform 1344-bit or similar program?

Thanks for any pointers,

David Kwinter

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Memory and file size strategy

2003-10-19 Thread David Kwinter
I have done exactly this with 4 sisterstacks (not substacks) - each 80megs.
When each is loaded into memory and edited a bit, the XP page file grows
~200 megs. When done I "delete stack" and the 200 megs is reclaimed, though
it takes about 4 minutes. I was never able to get the page file size as a
property anywhere and so a static "wait for 4*60 seconds" was needed.

Hope this helps




On 10/19/03 3:43 PM, "Jim Hurley" <[EMAIL PROTECTED]> wrote:

> I have a project which has 5 components. Each of these components is
> rather large.
> 
> I want to keep the file size and the memory-use to a minimum.
> 
> To keep the file size to a minimum, I presume I should use a one main
> stack with 5 substacks.
> 
> But won't the substacks be loaded into memory as the main stack is
> opened? Is there a way for each of the substacks to be loaded into
> memory only as called for? And each substack closed and removed from
> memory (destroystack = true for each substack) when not in use?
> 
> Thanks,
> 
> Jim
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Do Proxies Interfere With Sockets? [RevNet?]

2003-10-04 Thread David Kwinter
As far as languages go, transcript is my mother tongue. I tried this in
Terminal, no go, how do I implement this?


On 10/4/03 12:14 AM, "Dar Scott" <[EMAIL PROTECTED]> wrote:

> Have a few lines in the doc describe exactly what is needed.  Something
> like this:
> 
>   TCP outgoing
>   Port: 4401
>   IP Addresses: all
>   Protocol:  Proprietary Database Access
> 
> If you can narrow it down to a small range of IP address or even one,
> that is better.
> 
> The user can take that to the keeper of the firewall.
> 
> Dar Scott

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Do Proxies Interfere With Sockets?

2003-10-03 Thread David Kwinter
Hello,

I have a program which works great on Mac and PCs which are either directly
connected to the internet or behind a router, not a proxy.

On openStack my program gets the IP address of the host computer via the URL
http://www.sofaking.tv/w.txt

It then does its communication via sockets.

I understand that the first request may not work if "httpProxy" is not set
first. That is ok and I can change it.

My question is: Will my socket communication work normally thereafter or
does a proxy mess with it too? Unfortunately I don't have a proxy to test
with.


Please help,


David Kwinter

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Freeware testing request

2003-10-01 Thread David Kwinter
Dear Revolutionaries,

I recently finished a fun little project made in Revolution. I've done some
thorough bug testing but would like to invite anyone interested to try out
the program and give their feedback. It's 100% free and available for OS X
and Windows (only tested in XP so far).

It's available at http://www.SofaKing.tv/
Please send feedback to my project's email address: [EMAIL PROTECTED]


Thanks for your time

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Spell check for Rev?

2003-07-28 Thread David Kwinter
The link enables you to right-click and "Save as"





On 7/28/03 1:18 PM, "Ray G. Miller" <[EMAIL PROTECTED]> wrote:

> From: David Kwinter <[EMAIL PROTECTED]>
> 
> 
>> 
>> On 7/27/03 9:26 AM, "Jim Hurley" <[EMAIL PROTECTED]> wrote:
>> 
>>> How do I translate
>>> this Explorer page into a RR file, or even the script as a text file?
>>> 
>>> I have a Jumble fan who would love this.
>> 
>> Explorer on the Mac right, love the M$ Mac treatment here. I made page with
>> a link:
>> 
>> http://www.kwinter.ca/wordman.html
>> 
>> 
> 
> I get the same thing with both links on Netscape 7 (MOS 9.2) : the data
> downloads into an edit window with:
> 
> "#!/bin/sh
> # MetaCard 2.4 stack
> # The following is not ASCII text,
> # so now would be a good time to q out of more
> exec mc $0 "$@"
> "
> 
> 
> Ray G. Miller
> __
> Turtlelips Productions
> 4009 Everett Ave.
> Oakland, CA 94602
> MailTo:[EMAIL PROTECTED]
> (V) 510.530.1971
> (F) 510.482.3491
> 
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tile based engine [was: Tiny images, mega headache]

2003-07-27 Thread David Kwinter
Malte, let me know more about what you have in mind.

Doing what you've outlined wouldn't be too difficult, but considering any
"organic" image - non computer generated, there would be virtually zero
repeated 8x8 tiles. "Tilating" a picture may allow for some interesting
visual effects, but please share more about your idea.

My interest in tiling is kind of the opposite, my map editor starts with
12,000+ tiles, then when you're done editing the level, a script "import
snapshot"s them together making one big image, while a different script
analyzes the buttons and populates an array about the map's characteristics.
The tricks that could be put into an tile-engine for my use would consist of
categorizing tiles so that when the "land-stamp" tool is used, clicking on
the edge of already existing land only produces new land where appropriate
and uses tiles which line up smoothly with their neighbours.

I'll be on vacation until mid-August, while my girlfriend trains for a
triathlon, I'll be working on my game :-) The editor should be done by the
time I get back, I'll make it open-rev then.


David Kwinter


On 7/27/03 4:23 AM, "Malte Brill" <[EMAIL PROTECTED]> wrote:

> Hi David and all,
> 
> I am really interested in this topic. :-)
> If you happen to create something you wish to share, please keep me posted.
> 
> I´d like to create a tile based engine and believe it is possible in rev (at
> last for non isometric tiles)
> 
> What I would like to do (I hope you dont mind my pseydo coding):
> 
> Import a huge image
> create an array [row of block,collumn of block,ID of image]
> 
> Analyze the imagedata in 8*8 (16*16) Pixel blocks
> 
> If block is unique
> store it as seperate image
> put its row and column number+the ID of the image into array
> else
> throw it out
> put row and column+the ID of the first identical block into that array
> end if
> 
> create a group of btns
> read out the array
> set the icons
> 
> I am not very experienced with manipulating the imagedata.
> 
> Now how do I turn this into Transscript?
> Is there a way for isometric tiles?
> 
> Regards,
> 
> Malte
> 
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Spell check for Rev?

2003-07-27 Thread David Kwinter
On 7/27/03 9:26 AM, "Jim Hurley" <[EMAIL PROTECTED]> wrote:
> 
>  How do I translate
> this Explorer page into a RR file, or even the script as a text file?
> 
> I have a Jumble fan who would love this.
> 
> Jim
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution


Explorer on the Mac right, love the M$ Mac treatment here. I made page with
a link:

http://www.kwinter.ca/wordman.html

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Tiny images, mega headache

2003-07-27 Thread David Kwinter
YES!! Right on Malte! What an important lesson. Icons eh, who'd've thought.
I guess I that's a HyperCard trick I should've hung on to.

It's quick and no ram bloat. Thanks!



On 7/27/03 12:42 AM, "Malte Brill" <[EMAIL PROTECTED]> wrote:

> Hi David,
> 
> First of all I would try using lock/unlock screen ouside of the repeat loop.
> That should speed it up.
> Also I would suggest using buttons instead of images. Import your tiles to a
> data card. Then your repeat could look like this:
> 
> lock screen
> repeat with y=1 to 96
> repeat with x=1 to 128
>   put x&"c"&y into iName
>   set the icon of btn iName to the ID of img "water.png" of cd "data"
>   if the capslockkey=down then exit repeat
> end repeat
> if the capslockkey=down then exit repeat
> end repeat
> unlock screen
> 
> Hope this helps,
> 
> Malte
> 
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Spell check for Rev?

2003-07-27 Thread David Kwinter
On 7/27/03 12:47 AM, "Alex Rice" <[EMAIL PROTECTED]> wrote:

> On Sunday, July 27, 2003, at 12:26  AM, David Kwinter wrote:
>> 
>> Done! it can be found here:
>> 
>> http://www.kwinter.ca/dictionary.txt
> 
> And I've put the Mac OS X dictionary file here for you Windows users.
> 
> http://mindlube.com/download/files/dict.txt
> 
>> 
>> If anyone is interested in a utility to cheat at those online games
>> where
>> letters are scambled and your job is to find words in them, a la
>> Netscape/Games/Word Whomp, I can post that too :-)
> 
> Hey my wife plays a lot of online word games. Hook me up!
> 
> 
> Alex Rice, Software Developer
> Architectural Research Consultants, Inc.
> http://ARCplanning.com


Here it is*:

http://www.kwinter.ca/wordman.rev

*I am not responsible for any misuse of this stack, it is strictly for
educational purposes only!

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Spell check for Rev?

2003-07-26 Thread David Kwinter
On 7/27/03 12:14 AM, "Alex Rice" <[EMAIL PROTECTED]> wrote:

> David, great- I would like to download it.


Done! it can be found here:

http://www.kwinter.ca/dictionary.txt



If anyone is interested in a utility to cheat at those online games where
letters are scambled and your job is to find words in them, a la
Netscape/Games/Word Whomp, I can post that too :-)

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Tiny images, mega headache

2003-07-26 Thread David Kwinter
I'm in the middle of making a map-editor for a new 2-D game. It's a grid of
8x8 pixel tiles, designed to fill a 1024,768 screen. Each tile can be one of
28 different images.

There are 96 columns and 128 rows.

On both my 667mhz G4 and 1.9ghz Pentium 4 the following repeat, designed to
set each tile to the default "water" background, stalls about 70% of the way
through.


 repeat with y=1 to 96
lock screen
repeat with x=1 to 128
  
  put x&"c"&y into iName
  set the fileName of image iName to pgmRootDir&"images/water.png"
 
  if the capslockkey=down then exit repeat
end repeat
unlock screen
if the capslockkey=down then exit repeat
  end repeat


True, there are 12,288 separate images, but c'mon we're talking 1.9ghz
w/800mhz Rambus here!

The images are 3,700 bytes. I've got 256mb ram. I notice my WinXP page file
balloons to 700MB before it stalls. On the Mac I just get the spinning
lollipop of death.

Any tips, tricks, techniques?


David Kwinter

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Spell check for Rev?

2003-07-26 Thread David Kwinter
This may not be of interest, but I have a 1.5MB text file, one word per line
which is quite comprehensive, it includes separate lines for plural forms of
words as well as past and present conjugations of verbs. I've found it very
useful. If anyone wants to play around with it, reply and I'll put it on the
web.

David Kwinter

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Fatal crash in "print card" with player object present

2003-07-23 Thread David Kwinter
On 7/23/03 9:43 PM, "Barry Levine" <[EMAIL PROTECTED]> wrote:

> David,
> 
> Frankly, I'm amazed that this kind of a bug can even exist. Did you
> just try it in v1.1.1

Yes, I just tried it, will Curry's workaround suit your customer's needs?

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Magnifier (script!)

2003-07-19 Thread David Kwinter
Sorry, I made copy-paste typo, try this one:


on moveStack
  if exists(image 1) then delete image 1
 
  put the rect of this stack into sRect
  hide stack me
  import snapshot from rect sRect
 
  put the height of image 1 into originalH
  put the width of image 1 into originalW
  set the height of image 1 to originalH*2
  set the width of image 1 to originalW*2
  show stack me
 
end moveStack   

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Magnifier (script!)

2003-07-19 Thread David Kwinter
> I guess the trick is in the updating process, so that the actual screen
> comes back when you quit dragging
> 
> Ken N.
> 
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution


Ken, make a new stack, make it big and put this into the stack script:

on moveStack
  if exists(image 1) then delete image 1
 
  put the rect of this stack into sRect
  hide stack me
  import snapshot from rect sRect
 
  put the height of image 1 into originalH
  put the width of image 1 into originalV
  set the height of image 1 to originalH*2
  set the height of image 1 to originalV*2
  show stack me
 
end moveStack   

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev 2.02/New pricing

2003-07-17 Thread David Kwinter
On 7/18/03 12:20 AM, "Geoff Canyon" <[EMAIL PROTECTED]> wrote:

> Everyone say it with me:
> 
> Hi, my name is Geoff Canyon, and I use Revolution.
> 


Playing devil's advocate, I'd like to point out that some hard core
developers may not want to promote Revolution. Simply put, Revolution is a
very serious competitive advantage. Such programmers may only want Rev to
barely survive.

Optimistically, I can't imagine the future of AI programming without a 4GL
compiler. In fact AI is defined as 5GL. It's amazing that Rev has such
powerful information management while maintaining a nearly complete set of
hooks into industry-standard databases, protocols, media, etc.

RunRev has phenomenal potential to be the standard 4GL engine if it plays
its cards right.

Marketing is mostly up to RunRev itself, and largely doesn't exist. RR:
Start with a real book and play up to your company's name. Tout the 90% less
code 4GL vs 3GL. You've got a piece of 2025 right now, we're all believers.


David Kwinter

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev 2.02/New pricing and New PRINTED Revolution Docs

2003-07-17 Thread David Kwinter
Brilliant, brilliant, brilliant! Who didn't go to the book store in the
early days of their computing lives? Has anyone noticed how many Java books
there are? RunRev absolutely has got to get a book w/CD in every big box
book store. Have REVOLUTION printed proudly on the spine and throw an
evaluation edition w/user contributions on the CD.

WRT the new pricing, it seems reasonable, but the studio edition makes Rev
seem a little more reliable & predictable than it is. Even the best
programmers need to debug & reformat their apps natively on each platform
and having additional express licenses is really awkward.

IMHO when your product's key feature is cross-platform development,
isolating platforms on the beginner licenses is not the way to go. Scrap the
10-liner starter kit for the 30 day evaluation. And keep the SBE and
professional as they were.


Personally, I'm sticking with 1.1.1 for its beautifully tabbed properties
palette : )  until Rev supports SSH (I heard in v2.5 a while back), then
I'll upgrade.

David Kwinter


On 7/17/03 7:55 AM, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:

> Ok, here goes my 2 cents worth:
> 
> If RunRev seriously sees the need to make changes to bring in "new
> business", newbie programmers are constantly checking out the programming
> section of major book stores. In 199x, I was seeking a language that I
> could understand without taking tech school courses in c++ or perl, etc.
> That is where I first learned of the existence of HyperCard (Brady was the
> author), and I bought these books. The nice thing about this was the
> attached cd that was chock-full of example scripts. My point is this:
> RunRev could simply provide e-Documentation with ALL variations of their
> licenses, but in addition to this, put this wonderful bundle of books ON
> THE SHELVES for would-be programmers to find. Including an evaluation
> version and some examples on a cd wouldn't be a bad idea either. It's
> difficult to imagine, but there are people who aren't online yet.
> 
> Roger Eller
> [EMAIL PROTECTED]
> 
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: threshold

2003-06-01 Thread David Kwinter
On 5/31/03 12:32 PM, "Chris De Maeyer" <[EMAIL PROTECTED]> wrote:

> Wouldn`t it be a good idea to lower the entry threshold (price) to
> attract a broader audience? The free edition is too limiting to be
> usable, and the $299 is quite an amount for hobby users...


I agree, a good breakpoint could be the ability to make standalones. That
would make for a hobby edition which would be usable for one's self, and
probably encourage to then upgrade to the SBE when they see how easy and fun
Rev is.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RevVideoFrameImage

2003-04-04 Thread David Kwinter
I must say the "New in version 2.0" list in the Transcript Dictionary is
full of awesome features.

In fiddling with the video input sample stack, I could not the
RevVideoFrameImage to work. Is this a bug or am I doing something wrong?

I can hardly wait to use this to get the imageData from live video! Good
times ahead for sure!

Keep up the good work

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Shakobox BeatMachine - great fun

2003-03-18 Thread David Kwinter
Today I made a beat machine for revolution, I was inspired while giving
Shakobox a look - a wonderful tool, for which I hold high regard.

Free to download: http://www.kwinter.ca/BeatMachine.rev

It requires you have Shakobox downloaded and OPEN in revolution to run.

This was a one-day-effort so there is no save/open and there are tons of
enhancements yet to be made. Regardless, it works reasonably well - it's a
must-see for all techno and hip-hop lovin Revolutionaries.

Features:

- 128 instruments
- pitch, velocity, duration adjustable notes
- nine tracks
- free

Known bug:
You have to manually choose the "browse" tool after creating a new
"instance" of a beat in a track - a fix for this would be nice, anyone?

Recommendation: 1152x768 minimum screen resolution.

Updates to come, enjoy!




To Download Shakobox refer to the earlier post:

-- Forwarded Message
From: "J. Landman Gay" <[EMAIL PROTECTED]>
Organization: HyperActive Software
Reply-To: [EMAIL PROTECTED]
Date: Mon, 17 Mar 2003 11:49:11 -0600
To: Revolution Mailing List <[EMAIL PROTECTED]>, metacard list
<[EMAIL PROTECTED]>
Subject: Shakobox update

A revised version of Shakobox, the HyperCard-style musical notation
stack, has been uploaded to:

   

This version works around a bug in the MetaCard engine that caused
installation of the PlayCommand Agent application to fail on machines
running Mac OS 9. If you plan to run Shakobox only on an OS X machine
then you don't need this update. However, if you want to distribute the
PlayCommand Agent app in your own stacks, the revised scripts should be
used for your installations and you should download this update.

There are no other changes to the stack, outside of working around the
installation problem.

-- 
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

-- End of Forwarded Message


___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: ext_sayString - done handling

2003-03-17 Thread David Kwinter
> you're repeating all the phrases multiple times). The only thing I don't
> know is whether the external is "blocking" (that is, it doesn't go on to
> the next line of script until it has finished speaking); my guess is
> that it isn't which is probably the reason for it running out of
> control. It hits the "ext_sayString" command, executes it, and then as

Yes, it is not blocking.


> it is speaking it moves on to the next repeat. You should check to see
> if there is some return value from ext_saystring you can use to
> determine if you need to keep going or not.

It only returns a "false" if there is a speech manager problem, nothing
actually useful.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Can't add file extension in Windows

2003-03-16 Thread David Kwinter
On 3/16/03 11:01 PM, "Monte Goulding" <[EMAIL PROTECTED]> wrote:

> 
>> I'm a Mac guy so I'm not up on Windows extensions, but does XP remove (at
>> least from the user's view) file extensions
> 
> Yes, as does MacOS X under certain circumstances. You can change this by
> opening an explorer window and choosing tools > folder options.. from the
> menu then going to the view tab
> 
> Regards
> 
> Monte
> 
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution

By default, Windows XP Home Edition (all I can test) has the option "Hide
extensions for known file types" Turned-On.

A file with path "c:/test.txt" or "c:/test.text" shows up as "test" and will
double-click open with notepad.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


ext_sayString - done handling

2003-03-16 Thread David Kwinter
Hello List,

I'm sure this is an easy one for many, the problem being whether or not
there is a "with message" or "wait until the speaking is over" technique for
handling speaking one thing after another using the external. I have a
repeat with the general design:

repeat until stopRunning=true
  repeat for each line thisMsg in serverMessages

send "updateMessages" to this stack
ext_sayString thisMsg

  end repeat
end repeat


Which runs out of control.

Sorry if this question is a regular, I have been off-list for a long time
and searching the list on the web is painful, thanks,

David Kwinter

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Where'd the menubar go?

2002-07-03 Thread David Kwinter

I think my PC is losing its mind. Once I've opened Revolution (in 
WinXP), the only visible pieces of the program I have to work with are 
the toolbar and the message box. No "New/Open/Save/Cut/Copy.." menubar 
to be seen. Monitor resolutions adjustments don't seem to help. Any 
ideas on why my Rev came to be like this, or how I can fix it?

Thanks,

David

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Renaming a tab?

2002-04-26 Thread David Kwinter

Hello all,

I would like to rename a tab of a button from a script. What's the key?

Thanks

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Week number

2002-04-13 Thread David Kwinter

This is my last whack at it.. there's definitely got to be a better way. 
But these seems to work.
Just specify your month, day & year in the first few lines...


on mouseup
   put the seconds into nowSecs
   put "12" into theMonth
   put "31" into theDay
   put "2002" into theYear
   put "no" into leapThisYear
   if "." is not in theYear/4 then
 put "yes" into leapThisYear
 if "." is in theYear/100 then
   put "no" into leapThisYear
   if "." is not in theYear/2000 then
 put "yes" into leapThisYear
   end if
 end if
   end if
   if theMonth>01 then add 31 to dayCount
   if theMonth>02 then add 28 to dayCount
   if leapThisYear="yes" then add 1 to dayCount
   if theMonth>03 then add 31 to dayCount
   if theMonth>04 then add 30 to dayCount
   if theMonth>05 then add 31 to dayCount
   if theMonth>06 then add 30 to dayCount
   if theMonth>07 then add 31 to dayCount
   if theMonth>08 then add 31 to dayCount
   if theMonth>09 then add 30 to dayCount
   if theMonth>10 then add 31 to dayCount
   if theMonth>11 then add 30 to dayCount
   set itemDelimiter to "/"
   add theDay to dayCount
   put dayCount*24*60*60 into furtherSecsThisYear

   put 0 into totalSecs

   put 1969 into sYr
   repeat
 add 1 to sYr
 if sYr=theYear then exit repeat
 put "no" into leapYear
 if "." is not in sYr/4 then
   put "yes" into leapYear
   if "." is in sYr/100 then
 put "no" into leapYear
 if "." is not in sYr/2000 then
   put "yes" into leapYear
 end if
   end if
 end if

 if leapYear="no" then put 365 into daysThisYear
 else put 366 into daysThisYear
 add daysThisYear*60*60*24 to totalSecs

   end repeat
   put (totalSecs+furtherSecsThisYear)-totalSecs into netSecsThisYr

   put netSecsThisYr/60/60/24/7 into netWeek

   set itemDelimiter to "."
   put item 1 of netWeek into thisWeek
   answer thisWeek

end mouseup

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Ram Management

2002-04-13 Thread David Kwinter

A revolution-build server program I have crashes reliably anywhere 
between the 1500-1800th repeat in a script that needs to make >9000 laps 
to complete. I know that the crash comes right as my computer runs out 
of ram. Is there an easy way to monitor the free system ram and quit 
then relaunch the program? I could make the script resume easily enough, 
but what's the best way of measuring when the ram's about the dry up?

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Week number

2002-04-13 Thread David Kwinter

This is a pretty abstract way of going about it but I think it works. 
Check it for bugs, I wrote it up in a few minutes..

on mouseup
   put 0 into totalSecs
   put word 4 of the long date into yr
   put 1969 into sYr
   repeat
 add 1 to sYr
 if sYr=yr then exit repeat
 put "no" into leapYear
 if "." is not in sYr/4 then
   put "yes" into leapYear
   if "." is in sYr/100 then
 put "no" into leapYear
 if "." is not in sYr/2000 then
   put "yes" into leapYear
 end if
   end if
 end if

 if leapYear="no" then put 365 into daysThisYear
 else put 366 into daysThisYear
 add daysThisYear*60*60*24 to totalSecs

   end repeat
   put the seconds-totalSecs into netSecsThisYr

   put netSecsThisYr/60/60/24/7 into netWeek

   set itemDelimiter to "."
   put item 1 of netWeek into thisWeek
   answer "This week is #"&thisWeek&" of the year!"

end mouseup




On Saturday, April 13, 2002, at 04:12 PM, yves COPPE wrote:

> Hi,
>
>
> I'd like something not so difficult (I hope so) :
>
> How to calculate the week number of a date
>
> So, we are today 04/13/2002 (13/04/2002 in Europe).
>
> We are week number 15
>
> I'd like a script which calculates this number : "15" for a given date 
> (today)
>
> Thanks.
> -- Greetings.
>
> Yves COPPE
>
> Email : [EMAIL PROTECTED]
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Cross-platform XCMDs?

2002-04-12 Thread David Kwinter

Thanks for the many suggestions with my recent bugs, this one however 
may be of a trickier variety.

I'm trying to make an XCMD to read the headers out of Auto-Cad standard 
.DWG files and return them as simple, delimited data.

I'm using the source code of a simple example C program - 
http://www.OpenDWG.org/ - and learning along the way - putting it into 
the shell XCMD I found in the XCMD cookbook - 
http://www.mactech.com/articles/mactech/Vol.04/04.06/XCMDCookBook/

In the code the top line of the following chunk confuses me. Is it 
possible to make a cross platform external? Does anyone know if I need 
to work with OpenDWG's C code for their Windows example program instead?

#define exampleprintf printf  /* defined as something else for Windows 
pgms */

#include "prnstuff.h"  /* this file contains routines for printing 
out */
/* various info being read to verify that 
the */
/* program is working */

#include "odio.h"

I don't see many external issues on this list, but I think this problem 
could provide some fundamental info for all. Thanks for any help.

David Kwinter
(Proud New Revolution Developer) - btw, I'd contribute more these day 
but I've been having exams.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Speed of 'sliding a field'

2002-04-02 Thread David Kwinter

I've been frustrated by slowness lately whenever I've tried to make a 
Rev script do anything dynamic. Am I doing something wrong? I doubt my 
G4 lacks enough power to do some of the things I want to do. Here, for 
example is a chunk of script which slides a field into position. If you 
try it out let me know if you don't mind the choppyness. Is there a 
solution?

on mouseup
   put 135 into startX
   put 82 into startY
   put 20 into startH
   put 134 into startW

   put 403 into endX
   put 227 into endY
   put 310 into endH
   put 246 into endW

   put endX-startX into netX
   put endY-startY into netY
   put endH-startH into netH
   put endW-startW into netW

   put 0 into x
   repeat 25 times
 add 4 to x

 put ((x/100)*netX)+startX into nowX
 put ((x/100)*netY)+startY into nowY
 put ((x/100)*netH)+startH into nowH
 put ((x/100)*netW)+startW into nowW

 set the width of field "list1" to the round of nowW
 set the height of field "list1" to the round of nowH
 put the round of nowX into nowX
 put the round of nowY into nowY

 set the loc of field "list1" to nowX,nowY

  end repeat
end mouseup


Any comments or suggestions would be appreciated, thanks.

David Kwinter

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



[Rev] Windows appearance in general

2002-03-23 Thread David Kwinter

I'd say Revolution developed programs look simply beautiful in OSX and 
pretty good in OS9. But honestly, they come out somewhat ugly as Windows 
.EXEs.
Is there any way to improve on all that grey area (and grey/white 
scrollbar), short of making image objects of all the nice os x buttons 
and fields?

If there isn't, should I consider making a toolkit for 'dressing up' 
objects in Rev using images?

Please forgive me if this is a well-worn issue, call me a Rev-newbie.

Thanks,


Dave

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



[Rev] Problem with seemingly simple code

2002-03-23 Thread David Kwinter

This chunk of script lives in an idle handler and works fine on OSX, but 
when I open a compiled Windows version, I get nothing. Any thoughts? 
Should I have said 'empty' instead of "" in line 1?

if field "in_field"="" and the number of lines in field "waiting_reqs">0 
then
 put line 1 of field "waiting_reqs" into field "in_field"
 delete line 1 of field "waiting_reqs"
 send mouseup to button "sendReq"
   end if

Btw, nice to meet everyone! My name's Dave, I'm 19, in university 
(UofT), and have worked with Hypercard, SC, MC, now Rev. since 
elementary school. I'm presently working on two client/server projects. 
One of which needs to be able to parse headers out of .DWG files, if 
anyone knows where I could find any sort of DWG xcmd, please let me 
know. (http://www.OpenDWG.com)

Thanks for any help.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution