Control windows application - API

2005-01-28 Thread paolo
Hi revs.
Yesterday I went through a great voice over IP software  called Skype  
(www.skype.com) and I though it would be nice to set a button on a rev 
stack to  connect to this software and make a call. Skype is  a multi 
platform but  unfortunately documentation for developers is available 
only for windows.
I am mainly a MAC/Applescript user and I felt lost .   I got the API of 
the program and I realized it was not an easy task.   :-(
Then I found a link (http://www.geocities.com/skypeapi/) for a  Skype 
API COM Wrapper  and  it was said  The SkypeAPI COM wrapper is an 
ActiveX layer around the Skype API .  It's designed to make it 
simpler for COM-client development environments (VB, .NET, etc.) to 
communicate with Skype.  I thought that if it works with VB it should 
works also with Rev. Am I correct?

Can you help me  on set up a plug in to connect to skype in Windows?
Send me a message or call me on skype (my username is paolomazza)
Have a good day.
Paolo Mazza


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


Re: What do most Rev developers do?

2005-01-28 Thread Jonathan Cooper
Jonathan Lynch wrote:
Are most of you using it for educational software, or to help with
projects at a large company, or for independent programming for small
businesses?
Just curious,
Hi Jonathan,
I mainly use Rev for personal/professional, day-to-day use, including:
- Internet banking
- Converting styled text to simple HTML
- Changing the case of text of on the clipboard INTELLIGENTLY (e.g. 
don't capitalise small words)
- A shopping list (a bit more involved that the name suggests - e.g. 
items appear on the screen according to where they are in the house, 
but print according to where they appear in the supermarket)
- ...

The most complex and ambitious software I have created so far (a 
scheduling system for museums, including the art museum I work for) is 
still in HyperCard. I have plans to convert it to Rev (using MySQL) 
eventually but, since my job is actually NOT software developer but 
website manager, finding the time to do it is difficult. (Especially as 
the software is mission-critical, so testing would need to be very 
rigorous.)

Regards,
Jonathan  :-)
Jonathan Cooper
Manager of Information / website
Art Gallery of New South Wales   Art Gallery website:
Sydney, Australiahttp://www.artgallery.nsw.gov.au
Tel +61 2 9225 1796 Personal website:
Fax +61 2 9221 5129  http://www.artgallery.nsw.gov.au/sub/jcooper
Jonathan Cooper
Manager of Information / WWW
Art Gallery of New South Wales   Art Gallery website:
Sydney, Australiahttp://www.artgallery.nsw.gov.au
Tel +61 2 9225 1796 Personal website:
Fax +61 2 9221 5129  http://www.artgallery.nsw.gov.au/sub/jcooper
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Mirror Maker

2005-01-28 Thread Cristofe Chabot
 
Hi, I used to use Mirror Maker a lot! But stopped using
it when I switched to XP as I don't believe it was ever
ported. Has it been by any chance? I found an old
copy of version 5.1 and am using VirtualPC to run
a Win98 installation, but for the life of me I cannot
find my regcode. Please HELP!!

Thanks So Very Much!!

Cheers..Cristofe Chabot
Stonetree Productions
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Getting User Email Settings

2005-01-28 Thread Frank Leahy
Dan,
Unless this stack is going to be used by 100s or 1000s of people, and 
used to send 1000s of emails, why not hard code the settings to your 
own smtp server?

-- Frank
Web Photos Pro: Software for Photo Bloggers and Other Photo Power Users
See us on the web at http://www.webphotospro.com/
On Jan 28, 2005, at 3:25 AM, [EMAIL PROTECTED] 
wrote:

From: Dan Shafer [EMAIL PROTECTED]
Subject: Re: Getting User Email Settings
To: How to use Revolution use-revolution@lists.runrev.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=US-ASCII; format=flowed
Ouch.
I was afraid of that.
Oh, well, back to the drawing board.
Yeah, revMail won't do the job here because we need to be able to send
HTML mail and attachments. Shao Sean's libEmail/libSmtp combo works
great and does exactly what I need but requires the user's SMTP info to
send the email.
So for now at least it appears I can't automate this. That's after
spending about six hours getting all the libSmtp stuff working.
Oh, well, I'm sure the learning will come in handy someday!
dan
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Of standalones, bundles and files

2005-01-28 Thread Joel Guillod
Dave,

Date: Thu, 27 Jan 2005 23:27:32 -0700
From: David Squance [EMAIL PROTECTED]
Subject: Of standalones, bundles and files
I'm using RR2.1.2 on OSX, and would like to avoid using the standalone
builder, as it takes 30 to 40 minutes doing something with a particular
substack.  Is there a reason why I shouldn't just build the
splashscreen stack and put the 'real' rev file in the same folder and
avoid having it in the build?  And if I do this, is there a way to get
the file inside the OS X bundle?
Dave

Recently Trevor DeVore [EMAIL PROTECTED] gave me the answer 
(the at least for me!):

  http://mangomultimedia.com/developer/revolution/using_externals.html
My preferred way to fastly swap from developing to testing the 
implementation is to build the standalone as one stack with just the 
startup screen and the script below. That way I dont need to wait the 
long process of building a dozens stacks applications. My application 
folder looks like this:

path/Application Folder
path/StandaloneApplication -- this is the standalone
path/StandaloneStack -- Optional but practical for swaping between Dev 
and Standalone: This is the one stack used to build the standalone. Its 
card contains the script below and a splah screen.
path/plugins/Startup -- this is my initialization stack: I put in its 
preOpenstack all the scripts to executed to initialize my 
application.
path/plugins/ExternalLoader -- during initialization I do a: go 
invisible to stack ExternalLoader to load the externals (see the 
above link from Trevor).
path/plugins/many_other_stacks_used_by_your_application -- These are 
the stacks of my application.
path/plugins/externals/ -- this is the folder in which I put the 
externals
path/plugins/externals/revdb.bundle -- this is the externals for 
database
path/plugins/externals/revdb.dll -- this is the externals for database
path/plugins/externals/revxml.bundle -- this is the externals for xml
path/plugins/externals/revxml.dll -- this is the externals for xml

Script inside the unique card of the StandaloneApplication stack looks 
like this (I use a variant because I have a rolling script for a field 
displayed on the startup screen, I can share the whole stack if you'd 
like to):

on startup
  send startApplication to me in 3 secs -- dont do startApplication 
directly because some libraries will not be loaded, see documentation 
under the note under subject revGoURL.
end startup

constant kStarterStack = plugins/Startup
/** startApplication
@purpose To start the application according to the convention.
@convention Just next to the application file there should be a 
plugins folder with a Startup stack (depends on constant 
kStarterStack).
@convention This startup stack is just responsable to start the 
application when it receives a preOpenstack message.
*/
on startApplication
  put the short name of this stack into kApplicationStack
  start using stack kApplicationStack
  put startupStackFilepath() into tStartupStack
  if there is a stack tStartupStack then
hide stack kApplicationStack
open stack tStartupStack
  else
-- this is the french translation : answer error Le module de 
démarrage de l'application est introuvable! Veuillez vérifier votre 
configuration! crcr tStartupStack with Quitter
answer error The Startup module has not been found! Please check 
your configuration! crcr tStartupStack with Quit
quit
  end if
end startApplication

function startupStackFilepath
  set the itemdel to /
  put my_applicationStack() into f
  put kStarterStack into last item of f
  return f
end startupStackFilepath
function my_applicationStack
  put the filename of me into f
  if the platform is MacOS and char 1 of the systemVersion is 1 then
--it's a bundle
get offset(/Contents/MacOS/,f)
if it0 then delete char it to -1 of f
  end if
  return f
end my_applicationStack
Note that for MacOSX bundle it should be possible to adapt the 
startupStackFilepath() so the plugins folder is placed inside the 
bundle folder.

This is just a summary. If many are interested, I will take some hours 
to polish my own stacks and put them as a complete sample downloadable 
from the net. I wrote some usefull utility scripts to manage the 
application settings. Let me know!

Joel Guillod - www.imed.ch
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Getting User Email Settings

2005-01-28 Thread Derek Bump
 Unless this stack is going to be used by 100s or 1000s of people, and 
 used to send 1000s of emails, why not hard code the settings to your 
 own smtp server?

This could work, but you need to make sure your mail server doesn't has 
security against doing this.  Most do, as open mail servers without protection 
tend to be used by spammers.
 

Derek Bump
Dreamscape Software

Compress Images Easily with JPEGCompress
http://www.dreamscapesoftware.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Of standalones, bundles and files

2005-01-28 Thread Richard Gaskin
I'm using RR2.1.2 on OSX, and would like to avoid using the standalone
builder, as it takes 30 to 40 minutes doing something with a particular
substack.
If you've turned off the property-checking options in the App Builder 
and this persists I'd call it a bug.

The actual mechanics of merging the engine with a stack file take about 
a second, so anything longer is an IDE issue and therefore avoidable.

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Getting User Email Settings

2005-01-28 Thread Richard Gaskin
Derek Bump wrote:
 Unless this stack is going to be used by 100s or 1000s of people,
 and used to send 1000s of emails, why not hard code the settings
 to your own smtp server?

 This could work, but you need to make sure your mail server
 doesn't has security against doing this.  Most do, as open
 mail servers without protection tend to be used by spammers.
Any server admin who doesn't require at least simple password 
authentication for SMTP servers should be fired, as they are aiding 
spammers and leaving their system at risk.

So assuming such lamers get fired, the question becomes:  Is Dan 
comfortable handing his SMTP password to anyone with a copy of 
Interarchy or other traffic monitoring tool? ;)

If you need email specifically, it should not be too onerous to ask 
users to set up yours just as they set up their own.  You can be extra 
nice and provide instructions on where they can find that info, but most 
can do it or they don't have email.

But if the goal is to have them send you messages, you could bypass 
email altogether with a CGI: the user client sends to the CGI, and you 
can write your own custom client for yourself that retrieves the 
messages and their attachments.  Since it's your own system you can 
package the data in any way that's convenient for you, without regard to 
complicated RFCs.

I've been doing that with RevNet's feedback form and elsewhere for years 
-- ditching email in favor of whatever system works for you can be much 
simpler and no less convenient, perhaps more so.

--
 Richard Gaskin
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: externals kit

2005-01-28 Thread Alex Tweedly
Ben Fisher wrote:
Thanks for the response, everyone. I'll get started with the externals kit as 
soon as possible.
Unfortunately, as far as porting existing dlls into rev use is a little beyond me at the moment. I learned C++ on a mac system don't really know how to reference a dll. I'm not actually as experienced in c++ as I might have came across.
 

When you have some spare time, you might want to look at http://www.swig.org
SWIG is a mechanism for generating the wrapper code needed to 
interface scripting languages to C or C++

I have no clue how easy it would be to extend it to cover Transcript - 
but it might be some help (and I'm sure it will be interesting). I think 
this would potentially be the right long-term approach for Transcript; 
there is enough momentum behind SWIG for Perl and Python that many 
external libraries already produce the appropriate interface definition 
files for SWIG; being able to build Transcript interfaces that way 
would, I think, help to increase the availability of external libraries.

-- Alex.

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.6 - Release Date: 27/01/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Socket timeout not working with libUrl

2005-01-28 Thread Frank Leahy
Hi,
My product pings the Web Photos Pro website to look for new versions.  
This works great when the computer the product's running on is 
connected to the internet, but it hangs for 60 seconds when there's no 
net connection.

My code looks like this:
  set the socketTimeoutInterval to 5000
  put URL (getPhotoAlbumUrl()  downloads/version_info.php) into 
newVersion

Is there any way I can force a timeout after 5 seconds?  Should I be 
using a non-blocking URL request?  Should I be attempting to open a 
socket directly to do an initial am I connected to the internet? 
request, before making the URL request?

Thanks in advance for any suggestions.
Regards,
-- 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
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Socket timeout not working with libUrl

2005-01-28 Thread Alex Tweedly
Frank Leahy wrote:
Hi,
My product pings the Web Photos Pro website to look for new versions.  
This works great when the computer the product's running on is 
connected to the internet, but it hangs for 60 seconds when there's no 
net connection.

My code looks like this:
  set the socketTimeoutInterval to 5000
  put URL (getPhotoAlbumUrl()  downloads/version_info.php) into 
newVersion

Is there any way I can force a timeout after 5 seconds?  Should I be 
using a non-blocking URL request?  Should I be attempting to open a 
socket directly to do an initial am I connected to the internet? 
request, before making the URL request?

Frank,
it may depend on how the computer has no internet connection. Normally 
if there is no connection at all, it will fail immediately. I ran into a 
problem (with Revonline) that if the computer has a working connection 
to a router or other connecting machine, then it can fail.

See Bugzilla 2117 for some more info and a hint of a possible workaround 
from Mark.

I think you could also use a non-blocking URL request, if that was easier.
-- Alex.

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.6 - Release Date: 27/01/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Of standalones, bundles and files

2005-01-28 Thread David Squance
  And if I do this, is there a way to get the file inside the OS X 
bundle?
Yes, right-click (control-click) on the application and choose Show 
Package Contents from the popup menu.
Thanks for the replies.  I knew I'd seen something like that.  I tried 
both option and command, but only think of control when on a windows 
machine.  I'd looked through the archive, but didn't find what Joel 
referred to or the above tip.  Thanks, too, to Richard for the tip on 
turning off the property checking.  Not something I would have thought 
of.
But it's helpful to know it's safe to take the easy route.  The 
splashscreen stack hasn't changed for a long time, and the other is 
tweaked regularly.
Dave

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


Re: SpellCheck (re-inventing the wheel)

2005-01-28 Thread James Hurley
Message: 11
Date: Fri, 28 Jan 2005 01:14:02 +
From: Alex Tweedly [EMAIL PROTECTED]
Subject: Re: SpellCheck (re-inventing the wheel)
To: How to use Revolution use-revolution@lists.runrev.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Then I tried a slightly more complex way:
setup
put url (file:  tFile) into gWords
   repeat for each word w in gWords
 put 1 into  gArray[w]
   end repeat
and then
   put tWords into field inField
   put 0 into t
   repeat for each word w in tWords
 add 1 to t
 replace . with empty in w
 replace , with empty in w
 replace ! with empty in w
 if gArray[w]  1 then
   set the textstyle of word t of field inField to bold
 end if
end repeat
This took 2 millisecs for 50 words, so would be reasonable for even
large-ish documents.
I tried to put this sample stack onto RevOnline - but I'm having some
problem connecting to the server, so you can find it instead at
   www.tweedly.net/RunRev/SpellCheck.rev
   www.tweedly.net/RunRev/allwords.dic
(remember the dic is 1.75M - don't download it unless you really want it !)
-- Alex.

Alex,
Coming from FORTRAN, I have never really appreciated the more 
flexible use of arrays in Runtime Revolution. Your solution to the 
spell check problem is a Runtime revelation.

However a naive question: Since you  only use the gArray, would it be 
possible somehow to store the information in the gArray in a file (I 
don't mean store all the 1's), and use that directly in the repeat 
loop, rather than store the dictionary gWords in a file and then have 
to construct the gArray?

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


Re: really OT.... who is living Ireland?

2005-01-28 Thread Andrew Meit
Anyone on list who lives in or near Galway, Ireland? If so, please 
contact me off-list. Thanks.

Andrew
-{Choose Life, Create hope, Nurture Love...}-
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Getting User Email Settings

2005-01-28 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
You could also try setting up your own SMTP server and direct the mail 
to that, if you have a public IP address or could somehow get one.  Or, 
you could try to embed one in your app somehow...

There's a new one: there are embedded database engines, so why not 
embedded SMTP servers?

Well, apparently the virus writers and spammers/bulk mailers have this 
already:

http://www.bol.ucla.edu/alert/20041104.html
http://www.kingmailer.com/faq.asp
http://www.amailsender.com/massmailer/
So why not a Rev app?
Info on the protocol can be found here:
http://cr.yp.to/smtp.html
http://www.freesoft.org/CIE/RFC/821/index.htm
http://www.freesoft.org/CIE/RFC/bynum.cgi?1869
On Jan 28, 2005, at 5:44 AM, Richard Gaskin wrote:
Derek Bump wrote:
 Unless this stack is going to be used by 100s or 1000s of people,
 and used to send 1000s of emails, why not hard code the settings
 to your own smtp server?

 This could work, but you need to make sure your mail server
 doesn't has security against doing this.  Most do, as open
 mail servers without protection tend to be used by spammers.
Any server admin who doesn't require at least simple password 
authentication for SMTP servers should be fired, as they are aiding 
spammers and leaving their system at risk.

So assuming such lamers get fired, the question becomes:  Is Dan 
comfortable handing his SMTP password to anyone with a copy of 
Interarchy or other traffic monitoring tool? ;)

If you need email specifically, it should not be too onerous to ask 
users to set up yours just as they set up their own.  You can be extra 
nice and provide instructions on where they can find that info, but 
most can do it or they don't have email.

But if the goal is to have them send you messages, you could bypass 
email altogether with a CGI: the user client sends to the CGI, and you 
can write your own custom client for yourself that retrieves the 
messages and their attachments.  Since it's your own system you can 
package the data in any way that's convenient for you, without regard 
to complicated RFCs.

I've been doing that with RevNet's feedback form and elsewhere for 
years -- ditching email in favor of whatever system works for you can 
be much simpler and no less convenient, perhaps more so.

--
 Richard Gaskin
 Fourth World Media Corporation
 Developer of WebMerge: Publish any database on any Web site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFB+mn17aqtWrR9cZoRAoCvAJ92StihJ/qcuDtDfNXjEV53XHWghQCfebAK
EHpZkP6Scp7rkM6lWEMSgW0=
=BsmH
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Control windows application - API

2005-01-28 Thread MisterX
a windows .net or vb com or dll interface for RR would be
a cool bugzilla request... I thought about it a lot 3 years
ago - but found there's a bunch of exe's you can call via 
shell calls that do it much easier... 

A way to directly interface dll's calls would be nice too. 
User32.dll for one... What I mean is that many MS IO calls 
available in their toolbox is available for other programming 
languages. Why not Rev right?

In RunRev you have to wrap them in an external but the 
process is tedious. CompileIt in HyperCard was a much
better solution. But the problem is the compiler mapping
of all the calls, symbols, etc, for each type of compile:
W2K, WKP, W2K3 and all the CPU versions... Only a good
compiler can add all those #defines...

If RR already could register NT events for failures it would
be a big plus. Currently there's no way (out of the external's 
debugger) to know what went wrong when something does. The 
sessionlog file could help but it doesn't much really out of
the GUI context - AFAIK...

A little google and you can find a zillion alternatives to any
xcmd - sometimes with the source even!

Check out www.shellcity.com for example. In my case, the NT resource kit
allowed me to control anything in our servers, file structures, user
accounts, you name it. I can even shell wsh if needed. But the exe's are the
shortest route. Even for GUI applications like EnterpriseAdmin, DameWareNT,
DFS, AD or NetBackup, calling shells is much more effective and already
coded to avoid the extra work...

It's just not elegant, i know... But it does just about anything!

;)
Xa
--
Nitrous Palettes and utilities for RunRev
http://MonsieurX.com

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of paolo
 Sent: Friday, January 28, 2005 09:28
 To: How to use Revolution
 Subject: Control windows application - API
 
 Hi revs.
 
 Yesterday I went through a great voice over IP software  called Skype
 (www.skype.com) and I though it would be nice to set a button 
 on a rev stack to  connect to this software and make a call. 
 Skype is  a multi platform but  unfortunately documentation 
 for developers is available only for windows.
 I am mainly a MAC/Applescript user and I felt lost .   I got 
 the API of 
 the program and I realized it was not an easy task.   :-(
 Then I found a link (http://www.geocities.com/skypeapi/) for 
 a  Skype API COM Wrapper  and  it was said  The SkypeAPI 
 COM wrapper is an ActiveX layer around the Skype API .  
 It's designed to make it simpler for COM-client development 
 environments (VB, .NET, etc.) to communicate with Skype.  I 
 thought that if it works with VB it should works also with 
 Rev. Am I correct?
 
 Can you help me  on set up a plug in to connect to skype in Windows?
 
 Send me a message or call me on skype (my username is paolomazza)
 
 Have a good day.
 
 Paolo Mazza
 
 
 
 
 
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

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


Re: externals kit

2005-01-28 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
http://developer.apple.com/releasenotes/Cocoa/Objective-C++.html
On Jan 27, 2005, at 11:40 PM, Andre Garzia wrote:
Ben Fisher,
I would very much like to see a guide like that but I would be most 
pleased if it showed way to mix Objective-C/Cocoa calls with the plain 
C++ external SDK...

Andre
On Jan 28, 2005, at 2:19 AM, Ben Fisher wrote:
Thanks for the response, everyone. I'll get started with the 
externals kit as soon as possible.

Unfortunately, as far as porting existing dlls into rev use is a 
little beyond me at the moment. I learned C++ on a mac system don't 
really know how to reference a dll. I'm not actually as experienced 
in c++ as I might have came across.

This idea has real potential though. It would be cool to use 
DirectX's 3d capabilities within a rev stack.
So far my external ideas (beyond simple examples) are:

A math library for number crunching
A fractal program
A MIDI library for importing and exporting
-Ben
P.S. Does anyone know how to retrieve MIDI data from that port?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

--
Andre Alves Garzia  2004  BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFB+mtR7aqtWrR9cZoRAtHhAJ44T8xksuS8YB0+nSeVsANfZNcsHQCdE0AT
al82URgqWHn5Pk/hzcqpEms=
=cgPT
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SpellCheck (re-inventing the wheel)

2005-01-28 Thread FlexibleLearning
 
 
FWIW, an alternative Rev spell checker is available at 
_www.flexibleLearning.com/xtalk.htm_ 
(http://www.flexibleLearning.com/xtalk.htm) .  

/H


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


Re: Random #'s

2005-01-28 Thread Rob Cozens
Hi Dwane,
 I am using the following code to generate a field of 6 random numbers.

 repeat 5 times --generate list of 5 random numbers between 1-10
 put random(10)  , after tRnum
 end repeat
 delete last char of tRnum --delete last comma
 put tRnum into fld numbers

 this works fine but some numbers are repeated in the field, e.g (1,2,3,1,5)
 How can I include only unique numbers?
function uniqueRandomNumberList listEntryCount, maxListNumber -- You would 
pass 5,10
if listEntryCount  1 then return empty
put empty into numberList
put empty into returnValue
repeat with x = 1 to maxListNumber
put xreturn after numberList
end repeat
repeat
get the random of maxListNumber
put line it of numberList after returnValue
delete line it of numberList
subtract 1 from listEntryCount
if listEntryCount  1 then return returnValue
put comma after returnValue
subtract 1 from maxListNumber
end repeat
end uniqueRandomNumberList  

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


OT: Creator-code for Safari?

2005-01-28 Thread RGould8
I've been using Revolution's Applescript calls to force-launch IE using 
creator code MSIE.   Can anyone tell me what Safari's 4-character creator 
code 
is?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Random #s

2005-01-28 Thread Michael D Mays
If you are asking the random of a big number then that will be true.
I think I remember that to generate a list of random numbers what you 
should be doing is asking questions like
random(N)
random(N-1)
.
.
.
1

If you wanted to generate a random list with the numbers 1 thru 10
random(10) - 3
Now you pick the 3rd item of the list of integers{1,2,3,4,5,6,7,8,9,10} 
you pick 3 and remove the 3rd item.
Your random list is {3}
random(9)-3
Now you pick the 3rd item of the remaining integers 
{1,2,4,5,6,7,8,9,10}: you pick 4 and remove the 3rd item.
Your random list is {3,4}
And so on.

Michael
On Jan 27, 2005, at 7:35 AM, Dave Cragg wrote:
Although I'm sure this is fine in practice, this kind of solution 
always makes me a little nervous. In theory, it could take for ever to 
find a unique set of numbers. While my testing shows it never takes 
longer than a millisecond, Murphy's law says that the first time you 
put it into an application, it will take three days. :)
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: Creator-code for Safari?

2005-01-28 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Looks like sfri, if I'm reading this correctly.
On Jan 28, 2005, at 12:50 PM, [EMAIL PROTECTED] wrote:
I've been using Revolution's Applescript calls to force-launch IE using
creator code MSIE.   Can anyone tell me what Safari's 4-character 
creator code
is?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFB+n3K7aqtWrR9cZoRAv6VAKCRLJjjGCvcyWt232bARQgzrRi1ZACeJXo6
QlbHKCXMaT0uB5VIHyqwhfw=
=QBjI
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


HEX TO DEC CONVERSION

2005-01-28 Thread Paul Salyers

I know the below code will convert a hex number to dec.
 put baseConvert(tmpVar,16,10) into tmyNumber
like wise will
 put baseConvert(tmpVar,10,16) into tmyNumber
convert a dec to hex?
Paul Salyers
PS1 - Senior Rep.
[EMAIL PROTECTED]
Http://ps1.SoftSeven.org  

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


Re: Random #'s

2005-01-28 Thread Michael D Mays
What does it mean to sort  1,2,3,4,5  by 12?
Maybe it should be
 sort items of x numeric by random(1)
?
Michael
On Jan 27, 2005, at 4:21 PM, Dar Scott wrote:
On Jan 27, 2005, at 2:31 AM, D.Rothe wrote:
How can I include only unique numbers?
Here is an interesting variation:
on mouseUp
  put rlist()
end mouseUp
function rlist
  put 1,2,3,4,5,6,7,8,9,10 into x
  sort items of x by random(1)
  return item 1 to 6 of x
end rlist
Dar
**
DSC (Dar Scott Consulting  Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Random #'s

2005-01-28 Thread Dar Scott
On Jan 28, 2005, at 11:08 AM, Michael D Mays wrote:
What does it mean to sort  1,2,3,4,5  by 12?
Maybe it should be
 sort items of x numeric by random(1)
Yes!  Sorry about that.
I think sort by 12 effectively means to associate 12 with each item and 
then sort by the associated value.  The sort by random(1) would 
then mean to associate a random value with each item and sort by that.  
The sort by char -1 or each would associate the last char of each item 
with the item and sort by that.

I don't know if it actually implemented that way; it might be the 
sorting expression is evaluated repeatedly with each comparison.  Maybe 
one can run a test with a side effect (say counting) to find out.

Dar
**
DSC (Dar Scott Consulting  Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: Creator-code for Safari?

2005-01-28 Thread Andre Garzia
I checked pkgInfo inside Safari.app here and it showed
Type: APPL
Creator: sfri
which stands to reason, but shouldn't all apple applications have a 
creator code with at least one uppercase letter?

Cheers
andre
On Jan 28, 2005, at 4:00 PM, Frank D. Engel, Jr. wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Looks like sfri, if I'm reading this correctly.
On Jan 28, 2005, at 12:50 PM, [EMAIL PROTECTED] wrote:
I've been using Revolution's Applescript calls to force-launch IE 
using
creator code MSIE.   Can anyone tell me what Safari's 4-character 
creator code
is?
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFB+n3K7aqtWrR9cZoRAv6VAKCRLJjjGCvcyWt232bARQgzrRi1ZACeJXo6
QlbHKCXMaT0uB5VIHyqwhfw=
=QBjI
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

--
Andre Alves Garzia  2004  BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SpellCheck (re-inventing the wheel)

2005-01-28 Thread Alex Tweedly
James Hurley wrote:
Coming from FORTRAN, I have never really appreciated the more flexible 
use of arrays in Runtime Revolution. Your solution to the spell check 
problem is a Runtime revelation.
I know what you mean about the difference from Fortran to recent 
languages. I kind of wish they'd called them dictionaries (as Python 
does), or hashes (also associative arrays) (as Perl and Ruby do), or 
something to remind everyone that Transcript has the powerful kind of array.

However a naive question: Since you  only use the gArray, would it be 
possible somehow to store the information in the gArray in a file (I 
don't mean store all the 1's), and use that directly in the repeat 
loop, rather than store the dictionary gWords in a file and then have 
to construct the gArray?

You probably could read a line at a time and build the array from that - 
but it's much faster (and simpler) to read it all in at once, so I 
wouldn't even consider it.

You could of course read in the file into a local variable, and build 
the array from that. Then the space for the local variable would be 
reclaimed once you left the setup handler. That's what I would have done 
- using a global gWords was just a hangover from the first solution 
attempt. (The setup time is only 180 ms, so not a big deal).

You could change the file format to be
word,1
on each line - and then read the URL into gArray, and split it, as in
 split gArray by cr and comma
but (somewhat to my surprise) that is actually slower ?!
Or, you could keep the main dictionary in the stack, and only use the 
external file for custom additions - than there's no setup time.

Too many choices 
-- Alex.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.6 - Release Date: 27/01/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: Creator-code for Safari?

2005-01-28 Thread kee nethery
from what I recall, apple reserves the right for all completely lower 
case creator codes. Everyone else gets a creator code with at least one 
upper case letter in it.
Kee


On Jan 28, 2005, at 10:58 AM, Andre Garzia wrote:
I checked pkgInfo inside Safari.app here and it showed
Type: APPL
Creator: sfri
which stands to reason, but shouldn't all apple applications have a 
creator code with at least one uppercase letter?

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


Re: OT: Creator-code for Safari?

2005-01-28 Thread Richard Gaskin
Andre Garzia wrote:
I checked pkgInfo inside Safari.app here and it showed
Type: APPL
Creator: sfri
which stands to reason, but shouldn't all apple applications have a 
creator code with at least one uppercase letter?
On the contrary, Apple reserves for itself all fully-lower-case 
constants throughout all aspects of the system.  Only third parties are 
required to have at least one upper-case character.

--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: Creator-code for Safari?

2005-01-28 Thread Andre Garzia
On Jan 28, 2005, at 5:04 PM, Richard Gaskin wrote:
On the contrary, Apple reserves for itself all fully-lower-case 
constants throughout all aspects of the system.  Only third parties 
are required to have at least one upper-case character.

Thanks Kee and Richard,
I mixed the cases
Cheers
andre


--
Andre Alves Garzia  2004
Soap Dog Studios - BRAZIL
http://studio.soapdog.org
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: HEX TO DEC CONVERSION

2005-01-28 Thread Dar Scott
On Jan 28, 2005, at 10:57 AM, Paul Salyers wrote:
I know the below code will convert a hex number to dec.
 put baseConvert(tmpVar,16,10) into tmyNumber
like wise will
 put baseConvert(tmpVar,10,16) into tmyNumber
convert a dec to hex?
Try it!  You can tinker with this using the message box.  Remember, 
baseConvert works on numerals.

You can also get some more info from the baseConvert() entry in the 
Dictionary.

The numerical value (number) of the numeral is limited to 4294967295 or 
2147483647 (decimal) depending on your Revolution version.

You might be interested in trying binary, octal, or (if inspired by 
Douglas Adam's Hitchhiker series) base 13.

(The answer is yes.)
Dar
**
DSC (Dar Scott Consulting  Dar's Lab)
http://www.swcp.com/dsc/
Programming Services and Software
**
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Getting up-to-date w/ RunRev 1.1.1 and Mac OS X Panther

2005-01-28 Thread WillAdams

In a message dated 1/26/05 11:15:18 PM, [EMAIL PROTECTED] writes:


 Trying to remember back to 1.1.1 :-)
 Check the Get Info window for the built app. It may have the Open in
 the Classic environment checkbox ticked.
 
Unfortunately, it doesn't have such a checkbox (I've built two apps to 
check). I _can_ find that in other apps, e.g., FreeHand 10.

 Rev 1.1. did not build true OS X bundles, but made Carbon apps that can
 run in both environments, so this setting needs to be checked.
 
Unfortunately, the apps when built are listed as ``Classic Application''s.

The Build Distribution window offers options for:

Mac OS fat
Mac OS 68k
Mac OS PPC
Mac OS X

It's that last I've been using. I've tried all and they are listed as 
``Classic Application'' (not Carbon) and none of the resulting apps have the 
``open 
in Classic'' checkbox.

It does offer an option to set the Creator Signature in the Mac OS tab 
(defaults to RApp.

and another to allow dynamic memory management.

Would it be possible to delete the build engine for Mac OS X and re-download 
it to update it?

Or maybe just download?

The only engines listed (in Revolution 1.1.1/components/engines) are:
MacOS68k
MacOSFAT
MacOSPPC

Shouldn't there be a MacOSX one? Could that be the problem?

William

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


mainstack to substack

2005-01-28 Thread Bob Hartley
Hi All.
I have a main stack bobs and has a substack bits.
To test some things I made another master stack bits that I'm quite happy 
with.
So i want to copy it as a substack into the bobs main stack.

I deleted substack bits from mainstack bobs and then opened the master 
stack bits. (in the applicatin browser)

I changed its masterstack to bobs (expecting it to now become a substack 
of bobs) but is wont copy over and is still down as a mainstack in the 
application browser.

How do I do this?
cheers
Bob
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.2 - Release Date: 28/01/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Printing Again

2005-01-28 Thread Mark Smith
I'm baffledcan anyone help?
Mac OS 10.3.4
RunRev 2.5 Studio
To see if I can't get hold of this printing malarkey, I created a new 
mainstack. I placed 1 field on the 1st card and set its 'showBorder' to 
false. I pasted some text from texEdit into the field. I set the font 
to monaco, and the size to 9. I chose print card' from the file menu, 
and printed the card.

On screen, the card is plain white with some 9 point monaco text on it.
The printed page has a white border, the area of the field being light 
grey. The text is at least 11 point.

To check, I printed the same text from texEdit, all appears on the page 
as expected ie. 9 point monaco.

Is this normal? Does anyone recognise this?
TIA,
Mark
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Printing Again

2005-01-28 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
The gray background of the field is due to the fact that the default 
background color is being inherited from the card, which in turn 
inherits its default color from the stack, which in turn inherits its 
default color from the engine.  For whatever wacky reason (not really 
relevant, I'd think), the default color of the engine is different for 
printing than it is for display on the screen.  Manually specify a 
background color of white for the card to fix this problem.

As for the font issue, the card is being scaled when printed.  By 
default, 1 pixel on the screen maps to 1 point on the printer.  Since 
your screen is likely not 72 dpi (most have a higher resolution now), 
the font appears bigger on the printout.  Check the documentation on 
the printScale property for more info.

On Jan 28, 2005, at 5:40 PM, Mark Smith wrote:
I'm baffledcan anyone help?
Mac OS 10.3.4
RunRev 2.5 Studio
To see if I can't get hold of this printing malarkey, I created a new 
mainstack. I placed 1 field on the 1st card and set its 'showBorder' 
to false. I pasted some text from texEdit into the field. I set the 
font to monaco, and the size to 9. I chose print card' from the file 
menu, and printed the card.

On screen, the card is plain white with some 9 point monaco text on it.
The printed page has a white border, the area of the field being light 
grey. The text is at least 11 point.

To check, I printed the same text from texEdit, all appears on the 
page as expected ie. 9 point monaco.

Is this normal? Does anyone recognise this?
TIA,
Mark
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFB+sgG7aqtWrR9cZoRAmSSAJ9kiTb0FZ2fDV+M1WIRd5K5eLCp6wCfV5jj
hcNceeK97I0ujX84OkaJJbk=
=HcBZ
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


email url link.

2005-01-28 Thread Paul Salyers

Email link
on mouseUp
  put field vAddress into tAddress
  revMail tAddress
end mouseUp
URL link
on mouseUp
  put field vWeb into tWeb
 revGoURL tWeb
end mouseUp
I have this in my card, on my windows it works ok, but a friend used it on 
his Mac and it went to my url both times.

Anyone know why this is?
Paul Salyers
PS1 - Senior Rep.
[EMAIL PROTECTED]
Http://ps1.SoftSeven.org  

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


Re: really OT.... who is living Ireland?

2005-01-28 Thread James Cass
I wish I lived in Ireland!
-James
On Jan 28, 2005, at 10:57 AM, Andrew Meit wrote:
Anyone on list who lives in or near Galway, Ireland? If so, please 
contact me off-list. Thanks.

Andrew
-{Choose Life, Create hope, Nurture Love...}-
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Getting up-to-date w/ RunRev 1.1.1 and Mac OS X Panther

2005-01-28 Thread J. Landman Gay
On 1/28/05 3:31 PM, [EMAIL PROTECTED] wrote:
In a message dated 1/26/05 11:15:18 PM, [EMAIL PROTECTED] writes:

Trying to remember back to 1.1.1 :-)
Check the Get Info window for the built app. It may have the Open in
the Classic environment checkbox ticked.
Unfortunately, it doesn't have such a checkbox (I've built two apps to 
check). I _can_ find that in other apps, e.g., FreeHand 10.


Rev 1.1. did not build true OS X bundles, but made Carbon apps that can
run in both environments, so this setting needs to be checked.
Unfortunately, the apps when built are listed as ``Classic Application''s.
Get Info on the Rev app itself and see if it calls itself a Classic 
application. It sounds to me like you are running the Classic version. 
Looking at the copies I have here, Rev 1.1.1 for Mac was released as two 
separate downloads -- one was Classic and the other was OS X.

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


Text box entery

2005-01-28 Thread Paul Salyers

To everyone that has help me on my Rev question, THANK YOU, with out your 
help I would have gave up on Rev long ago.

However now I need to learn how to input characters in a text box, this 
text box will always 6 characters alpha-numerals then after the 6th 
characters is typed in I want it to auto continue (pressing of the enter 
key) without the user doing anything.

NO non alpha-numerals will be used. This is not a password so blocking the 
characters from showing is not needed.


Paul Salyers
PS1 - Senior Rep.
[EMAIL PROTECTED]
Http://ps1.SoftSeven.org
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Getting up-to-date w/ RunRev 1.1.1 and Mac OS X Panther

2005-01-28 Thread WillAdams
In a message dated 1/28/05 9:33:35 PM, [EMAIL PROTECTED] writes:

 Get Info on the Rev app itself and see if it calls itself a Classic
 application. It sounds to me like you are running the Classic version.
 Looking at the copies I have here, Rev 1.1.1 for Mac was released as two
 separate downloads -- one was Classic and the other was OS X.
 

Name: Revolution
Kind: Application
Size: 2 MB on disk
(2,123,920 bytes)
Created: Friday, December 7, 2001 4:17 PM
Modified: Monday, April 1, 2002 4:31 PM
Version: 1.1.1, Copyright (c) 2000-2002 Runtime Revolution Ltd.

Revolution 1.1.1 itself runs native in Mac OS X in both Jaguar and Panther on 
my wife's PowerBook, and the built apps run native in Jaguar, but not in 
Panther --- just trying to find a work-around for that last so I can distribute 
things for people who are current in their OS X upgrades.

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


Re: Random #'s

2005-01-28 Thread Dwayne Rothe
Hey Guys after analysing the multitude of responses I finally went with the
shortest code!
It works perfect  fast, thats all I needed
repeat until the number of items in tRnum = 5

set randomSeed to random(1)

put random(10) into tRand

if tRand is not among the items of tRnum then put tRand  comma after tRnum

end repeat

Thanx to all... Dwayne

 On Jan 28, 2005, at 11:08 AM, Michael D Mays wrote:

  What does it mean to sort  1,2,3,4,5  by 12?
 
  Maybe it should be
   sort items of x numeric by random(1)

 Yes!  Sorry about that.

 I think sort by 12 effectively means to associate 12 with each item and
 then sort by the associated value.  The sort by random(1) would
 then mean to associate a random value with each item and sort by that.
 The sort by char -1 or each would associate the last char of each item
 with the item and sort by that.

 I don't know if it actually implemented that way; it might be the
 sorting expression is evaluated repeatedly with each comparison.  Maybe
 one can run a test with a side effect (say counting) to find out.

 Dar

 **


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


Re: Revolution Hypercard cellophane color

2005-01-28 Thread FMoyer
Thanks, Mark. Maybe I don't know how to use it, but when I set the ink of the 
graphic to blend, the colors underneath blend with the color of the graphic. 
That's not what happens in Hypercard. In Hypercard, the color of the top 
object trumps everything underneath unless what is underneath is black. Any 
other 
color is completely obliterated. There is no blending. So blue over a white 
background remains blue. With blend in Revolution, I believe blue over a 
white 
background becomes light blue. 

Perhaps there is something that I don't understand about blend.

Thanks.
Fred

 Hi Fred,
 
 Sorry I'm so terribly late answering this question. You can
 obtain the cellophane effect by blending objects in Rev.
 
 Best,
 
 Mark
 
 [EMAIL PROTECTED] wrote:
  Hi. I wish I could get Revolution's color to work the way Hypercard does.
  Hypercard's color is like cellophane, except for one really neat thing. In
  Hypercard, if you put a colored object on top of another colored object, 
 that top
  object's color trumps everything underneath, and you don't get a muddy 
 composite
  color as you would in the real world, or as you do in Revolution when 
 using
  the admin ink. In Revolution, if 2 admined objects overlap, a 3rd muddy
  composite color is created. Is there any way to make Revolution behave 
 like
  Hypercard, where:
       black pixels on any objects show through
  and
       the top colored object has precedence over any colored objects
  underneath.
 
  Thanks.
 
  Fred Moyer
 
 

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


Problem building standalone message

2005-01-28 Thread Bill Vlahos
I have a simple stack (2 cards) which no longer allows me to build a 
standalone. It just gives me a cryptic message saying that it 
encountered an error. I'm guessing that there is some sort of problem 
with something on the stack or on a card. I built a standalone when it 
was only one card without problems so I suspect it is something on the 
second card.

My question is is there a way to get more information than the simple 
dialog box to tell me what the problem is? I can start deleting things 
at random (there are not that many components but it would be much 
better to be more cluefull about this.

The stack runs fine in the IDE (Mac OS X building OS X and Windows 
standalones).

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


Re: Text box entery

2005-01-28 Thread Bill Vlahos
Paul,
SImple. Trap on keydown and build the contents of the field. After the 
6th character simple pass the enter key.

Bill Vlahos
On Jan 28, 2005, at 6:59 PM, Paul Salyers wrote:

To everyone that has help me on my Rev question, THANK YOU, with out 
your help I would have gave up on Rev long ago.

However now I need to learn how to input characters in a text box, 
this text box will always 6 characters alpha-numerals then after the 
6th characters is typed in I want it to auto continue (pressing of the 
enter key) without the user doing anything.

NO non alpha-numerals will be used. This is not a password so blocking 
the characters from showing is not needed.


Paul Salyers
PS1 - Senior Rep.
[EMAIL PROTECTED]
Http://ps1.SoftSeven.org
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Getting up-to-date w/ RunRev 1.1.1 and Mac OS X Panther

2005-01-28 Thread Bill Vlahos
This was a problem with 1.1.1 that was never fixed. It IS a native app 
(CARBON vs. Cocoa) but is misidentified as a classic app. Panther seems 
to be more strict at taking the application at its word. There was some 
discussion about this before and someone gave the fix which correctly 
identifies the application but I don't remember what it was.

Obviously this is corrected on more recent versions of Revolution.
Bill Vlahos
On Jan 28, 2005, at 7:14 PM, [EMAIL PROTECTED] wrote:
In a message dated 1/28/05 9:33:35 PM, [EMAIL PROTECTED] writes:
Get Info on the Rev app itself and see if it calls itself a Classic
application. It sounds to me like you are running the Classic version.
Looking at the copies I have here, Rev 1.1.1 for Mac was released as 
two
separate downloads -- one was Classic and the other was OS X.

Name: Revolution
Kind: Application
Size: 2 MB on disk
(2,123,920 bytes)
Created: Friday, December 7, 2001 4:17 PM
Modified: Monday, April 1, 2002 4:31 PM
Version: 1.1.1, Copyright (c) 2000-2002 Runtime Revolution Ltd.
Revolution 1.1.1 itself runs native in Mac OS X in both Jaguar and 
Panther on
my wife's PowerBook, and the built apps run native in Jaguar, but not 
in
Panther --- just trying to find a work-around for that last so I can 
distribute
things for people who are current in their OS X upgrades.

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