Re: command-line use on OS X

2003-08-27 Thread Rodney Tamblyn
Hi Dar,

If you are looking for a simple and basic text editor from the command 
line, try pico...

pico myfile.txt

The commands inside are self explanatory.

You can also execute stacks from the commandline.  Eg Make a Revolution 
stack, in the stack script put an "on libraryStack" handler.  The end 
of this handler should "put" something, ie whatever you want to return. 
 Then create a script file in the same directory as the stack (for 
simplicity).

eg
on libraryStack
put "hello world"
end libraryStack
In script file
#!/usr/local/bin/revolution (or whereever your revolution is)
on startup
library "mystack.rev"
end startup
You can have the stack open in Revolution and still execute it from the 
command line, so you can carry on editing etc in Revolution.  The 
advantage is that you get to test the script (eg debugging, compile 
errors when closing script editor), not to mention ability to organise 
code, use libraries etc

Some Unix commands you may find useful:

To execute last command again: !!
This is very useful when you execute a command, but needed to do it as 
root, rather than typing it again you can do: su !!
Also, you can execute previous commands from the history by supplying 
first few letters.  So if you had previously used command "pico 
mytext.mc", later on you could type !pic or even !p and it would find 
the command in your history starting with those letters and execute it.

pushd and popd
If you are going to another directory and want to be able to return 
easily to where you are, you can push the current location onto a 
stack, and later pop it back off.  eg
 pushd /usr/local/bin

popd (returns you to first location)

chmod 777 filename t
Makes a file executable.
Regards,

Rodney

On Wednesday, August 27, 2003, at 09:58 AM, Dar Scott wrote:

I downloaded the Darwin engine and I can do this:

./mc helloworld.txt

In this form, the text file does not seem to need #!.

This engine seems bloated; it is well over 2MB.  X11?

I seem to have forgotten most of what I know of unix from a quarter 
century ago.

I don't need cgi (yet).  I just want to do some command-line work.  
Does this file (mc) go into /etc/bin or some other directory?  What 
permissions and ownership should it have.

I'm currently editing with TextEdit.  I am not able to type the text 
file name to the terminal just as I would a program.  I get a 
permissions error.  Do I need to make it executable?   TextEdit does 
not make files executable.  The "get info" does not have an execute 
option on permissions.  Do I need to go in and chmod each file?  Maybe 
I need to make an editor with Revolution.

I suspect I'm missing the obvious.

Even though I'm an old school lisp guy, I don't emacs and I had a 
hypnotist purge all knowledge of vi years ago.  I think I did; I don't 
remember vi, anyway.

Dar Scott

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

--
Rodney Tamblyn
44 Melville Street
Dunedin
New Zealand
+64 3 4778606
http://rodney.weblogs.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: release history; what is a feature release?

2003-08-27 Thread Jeanne A. E. DeVoto
At 3:09 PM -0600 8/26/2003, Alex Rice wrote:
Runrev, here is your release history. Under the current licensing 
model which of these would have been called maintenance releases and 
which would have been called feature releases?


Releases of the form X.0 and X.Y are feature releases (major and 
minor, respectively). 1.0, 1.1, 2.0, and 2.1 are all feature releases.

Releases of the form X.Y.Z are maintenance releases: 1.1.1, 2.0.1, 
2.0.2, and 2.0.3 are of this type.


My boss just asked me if we should get the SBE renewal license or 
the new Studio license  and I told him that I really have no idea 
which would be a better value.
Well, with the SBE renewal license you get the same Studio version, 
but with the ability to develop on all platforms (not just one) and 
all updates for a year (instead of just the first feature release). 
So I'd say that's a better value if you're eligible, which you are if 
you originally bought SBE.

(There's an overview of options in the docs, by the way - see "About 
upgrading Revolution from a previous version". This might be helpful.)
--
--
Jeanne DeVoto ~ [EMAIL PROTECTED] ~ http://www.runrev.com/
Runtime Revolution - User-Centric Development Tools
~~~ Check our web site for new Revolution editions & special offers ~~~
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: command-line use on OS X

2003-08-27 Thread Alex Rice
On Tuesday, August 26, 2003, at 06:23  PM, Rodney Tamblyn wrote:
pico myfile.txt
Pico is also the text editor used by Pine, if you've ever used that. 
Beware if you are editing system files with pico- it will do a hard 
wrap of long lines, which can cause unfortunate results on config files 
and such.

In script file
#!/usr/local/bin/revolution (or whereever your revolution is)
on startup
library "mystack.rev"
end startup
Oh wait! This reminded me. Maybe that's an uneccessary step? If you 
look at the contents of a .rev stack file, it is actually a shell 
script that starts off with this script, before the binary content 
begins

#!/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 "$@"
So, if the mc binary is on your PATH, you are good to go- no need to 
write a wrapper shell script to invoke the engine- the stack file 
itself is a shell script!!

chmod 777 filename t
Makes a file executable.
And world writable... chmod 755 is a little saner - although this if it 
isn't a multiuser system it doesn't matter :-)

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


2.1 dictionary bug?

2003-08-27 Thread Alex Shaw
hi,

When I use the Transcript dictionary and select an item from the "Show:" 
combo it selects the item before the one i've selected.. eg. if I select 
'show contants' it actually shows the list of commands (which is the item 
prior to constants)

again only tested this on the pc version...

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


Re: Picture this

2003-08-27 Thread Ken Norris
Hi Monte,

> From: "Monte Goulding" <[EMAIL PROTECTED]>
> Subject: RE: Picture this
> Date: Wed, 27 Aug 2003 08:43:05 +0930
> 
> Hi Ken
> 
> Not a similar solution but what's wrong with using another field with larget
> font and putting the central line into it in each scroll loop?
---
Well, I wanted it to scroll simultaneously into view in the box, just like
the field scrolls, but larger in the box. Like you were holding a
rectangular magnifying glass over the middle of the field. A field with all
the same text and a larger font wouldn't scroll with the other.

However, I know that's not what you meant, i.e., I assume you mean to just
display the center line in the overlay in a larger font. I may end up doing
just that, because what I really want seems to be too difficult.

I need to check the scroll rate if I use the loc of a graphic. In SuperCard,
doing it with a field is at least 2x faster than doing the same thing with a
graphic picture of the field, I guess because it potentially has to account
for containing more visual data. But the MC engine is different, so...

Anyway, thanks much,
Ken N.


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


Re: free, lightweight sql engine

2003-08-27 Thread Tuviah Snyder
>Not sure, but I don't think it's currently possible; someone would have
>to write an external to use the SQLite client API or write a new
>database driver for RR.
Your welcome to have the author of the database contact me and I will send
him the revdb headers...so he can compile a revdb driver. Should be fairly
straightforward.

Tuviah Snyder <[EMAIL PROTECTED]> 
Runtime Revolution Limited - Software at the Speed of Thought

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


Re: command-line use on OS X

2003-08-27 Thread Dar Scott
On Tuesday, August 26, 2003, at 06:23 PM, Rodney Tamblyn wrote:

#!/usr/local/bin/revolution (or whereever your revolution is)
Is this the Darwin engine or the OS X engine?  Not realizing that the 
command-line engine was also the Darwin X11 engine I got it from MC.  
Would the regular OS X engine also work?

Dar Scott

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


Re: command-line use on OS X

2003-08-27 Thread Dar Scott
On Tuesday, August 26, 2003, at 06:23 PM, Rodney Tamblyn wrote:

put "hello world"
I've been using this:
write "hello world" to stdout
Are these exactly the same or does put right to something else?

Dar Scott

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


indeterminate progress bar

2003-08-27 Thread Alex Rice
Standard Icons has several indeterminate progress bars and a chasing 
arrows. I set one of those icons in a button, and I'm trying to get it 
to animate while I'm in a long repeat loop. I tried "wait with 
messages", but that killed performance, and didn't seem to animate it 
either. What's the trick?

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: free, lightweight sql engine

2003-08-27 Thread revolution

It is possible to access SQLite from Rev in two ways:
1) via odbc (requires installing odbc drivers with your standalone)
2) via shelling out to a command line, running the SQLite SQL client & processing the 
result.

I believe that Pierre mentioned that someone (Andu?) on the Metacard list has been 
using SQLite successfully.

I've written to Tuviah to say that I don't think that the author of SQLite would get 
involved in providing drivers for a specific language.  Other people are providing 
drivers for major languages (Python, Perl, PHP, Smalltalk, Objective-C).  As the code 
for SQLite is publicly available, I've offered to look at generating the drivers for 
Rev.  Of course, it would be best of all if Runrev took a look at SQLite and provided 
and supported the drivers.

I would suggest that anyone who wants to start looking at SQLite uses the odbc 
drivers, and looks to the SQLite list for any specific help with SQLite 
(http://www.yahoogroups.com/subscribe/sqlite).

People might want to have a look at some speed comparisons between SQLite, MySQL and 
PostgreSQL - http://sambar.polie.nl/sqllite.htm

>Your welcome to have the author of the database contact me and I will send
>him the revdb headers...so he can compile a revdb driver. Should be fairly
>straightforward.

>>Not sure, but I don't think it's currently possible; someone would have
>>to write an external to use the SQLite client API or write a new
>>database driver for RR.
 
Regards Bernard

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


Re: free, lightweight sql engine

2003-08-27 Thread Pierre Sahores
Le mer 27/08/2003 à 09:46, [EMAIL PROTECTED] a écrit :
> It is possible to access SQLite from Rev in two ways:
> 1) via odbc (requires installing odbc drivers with your standalone)
> 2) via shelling out to a command line, running the SQLite SQL client & processing 
> the result.
> 
> I believe that Pierre mentioned that someone (Andu?) on the Metacard list has been 
> using SQLite successfully.

Andu is the one ! He use both MC-CGI's and PHP's SQLite driven
solutions. 
> 
> I've written to Tuviah to say that I don't think that the author of SQLite would get 
> involved in providing drivers for a specific language.  Other people are providing 
> drivers for major languages (Python, Perl, PHP, Smalltalk, Objective-C).  As the 
> code for SQLite is publicly available, I've offered to look at generating the 
> drivers for Rev.  Of course, it would be best of all if Runrev took a look at SQLite 
> and provided and supported the drivers.
> 
> I would suggest that anyone who wants to start looking at SQLite uses the odbc 
> drivers, and looks to the SQLite list for any specific help with SQLite 
> (http://www.yahoogroups.com/subscribe/sqlite).
> 
> People might want to have a look at some speed comparisons between SQLite, MySQL and 
> PostgreSQL - http://sambar.polie.nl/sqllite.htm
> 
> >Your welcome to have the author of the database contact me and I will send
> >him the revdb headers...so he can compile a revdb driver. Should be fairly
> >straightforward.
> 
> >>Not sure, but I don't think it's currently possible; someone would have
> >>to write an external to use the SQLite client API or write a new
> >>database driver for RR.
>  
> Regards Bernard
> 
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 

Thanks for your input about the 2 ways yet availables :-)
-- 
Bien cordialement, Pierre Sahores

Inspection académique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire "delta de rentabilité"

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


Re: command-line use on OS X

2003-08-27 Thread Rodney Tamblyn
Dar,

I downloaded Revolution CGI from ftp://ftp.runrev.com ... navigate down 
to the "engines/2.0/cgi folder.  The 2.1 CGIs aren't posted yet.

Regards,

Rodney

On Wednesday, August 27, 2003, at 05:20 PM, Dar Scott wrote:

On Tuesday, August 26, 2003, at 06:23 PM, Rodney Tamblyn wrote:

#!/usr/local/bin/revolution (or whereever your revolution is)
Is this the Darwin engine or the OS X engine?  Not realizing that the 
command-line engine was also the Darwin X11 engine I got it from MC.  
Would the regular OS X engine also work?

Dar Scott

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

--
Rodney Tamblyn
44 Melville Street
Dunedin
New Zealand
+64 3 4778606
http://rodney.weblogs.com/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: release history; what is a feature release?

2003-08-27 Thread Robert Brenstein
 > Runrev, here is your release history. Under the current licensing model
 which of these would have been called maintenance releases and which
 would have been called feature releases? 2.1 and 1.1 are the
 non-obvious ones. 2.0 clearly was a feature release.
 Version 2.1:   August 25, 2003
 Version 2.0.3: August 22, 2003
 Version 2.0.2: July 14, 2003
 Version 2.0.1: June 4, 2003
 Version 2.0:   May 26, 2003
 Version 1.1.1: April 2, 2002
 Version 1.1:   November 5, 2001
 Version 1.0:   July 1, 2001
 My boss just asked me if we should get the SBE renewal license or the
 new Studio license  and I told him that I really have no idea which
 would be a better value.
Hi Alex

I wouldn't count anything prior to the 2.0 release in your reasoning here.
2.1 is a feature release. My understanding is the numbering scheme goes:
major.feature.bugfix
I've commented on the improve list (without any reply) that unless there are
a minimum or 4 feature releases per year that the Enterprise Edition is more
expensive to maintain than the Studio Edition. Two Studio Editions could be
upgraded 3 times per year for $294. One Enterprise Edition can be maintained
for $299.
It should be noted that Since the release of 2.0 RunRev has managed 3 bugfix
releases and a feature release in under 3 months. All this while attending a
number of trade shows, buying MC and changing the licensing scheme.
Therefore one would assume that RunRev intend to deliver on the 4 feature
releases per year.
If it were me and I had two months up my sleeve I'd wait and make sure the <
3 month cycle continues.
Regards

Monte
It is nice to get new features each quarter but at the same time, as 
the above timetable nicely illustrates, each feature release is 
followed by a couple of bugfix releases. Keeping up an aggressive (as 
in frequent) feature release schedule practically warranties that 
some bugs slip through. I personally can't afford being in more or 
less regular upgrade/bug-hunt/bug-fix cycle. So I dare to say that 2, 
top 3, feature releases per year are enough. What that means in terms 
of licensing costs is another story.

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


Re: Newbie enquiry re using Revolution for Myst style games

2003-08-27 Thread peter9 . smith
Thanks for the responses to my enquiry, I feel more confident now about
looking at Revolution as a way forward.

On Myst and Manhole - not sure any download of "Manhole" out on the web is
legitimate.  I'd heard that Myst and I think Riven were developed in
Hypercard.

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


Help Sites

2003-08-27 Thread Broadband
Are there any websites out there that have tutorials on how to use
revolution. I'm fairly new to developing and I am finding it hard to use the
features I want as the online documentation does not describe all the
features in depth. I have gone through the tutorials supplied with
revolution but they can only get you so far and they don't cover everything.
If someone could point me in the right direction I would be very greatful

Martin Pilkington

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


drag and drop

2003-08-27 Thread Broadband
is it possible to create an app in revolution that allows you to drag
applications icon onto it to create a link, like the launcher in Mac OS9.
I'm asking as I don't know much about what revolution can do and I am
interested in how it handles drag and drop.

Martin Pilkington

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


Re: 2.1 availability for other unix flavors

2003-08-27 Thread Jan Schenkel
--- Pierre Sahores <[EMAIL PROTECTED]> wrote:
> Hi List,
> 
> How many of us could be interesting in using Rev
> under Linux-PPC ?
> 
> Thanks for the statistics ;-)
> 
> Bests, Pierre
> 

Well that's why I still have a copy of all the version
1.1.1 distributions around : to make sure I have
something to develop on the platforms that are no
longer supported -- that and the shock of using
Revolution pre-version 2 which is similar to how I
felt when I opened up HyperCard a couple of months
ago.

Though I consider the chance of using ODT anytime
soon, pretty slim, LinuxPPC might be in the cards ; so
if it's not too much of a pain to revive that engine,
this might be an interesting option to consider for
the future.
After all, if the US Navy buys over 200 XServes with
YDL, it can't be all that bad ;-)

So one more vote for LinuxPPC,

Jan Schenkel.

=
"As we grow older, we grow both wiser and more foolish at the same time."  (La 
Rochefoucauld)

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Possible bug in "selectedLines" in 2.0.x

2003-08-27 Thread Barry Levine
I haven't checked 2.1 yet but, in 2.0.1, I've found something a little 
strange. I can eMail the stack if you're interested as it's very small 
(8K).

I was testing that wonderful little "drag&drop" example provided by 
Klaus. (Yes, your script works perfectly! Thank you.)

The stack has a field "fieldOfPaths" with "list behavior" and all the 
Hilite options checked in the Object Inspector. Also, "don't wrap" is 
checked. I have some text in the field occupying 4 lines. When I hilite 
non-contiguous lines, and then execute the following script in a button:

  answer the selectedLines of field "fieldOfPaths"

...only the line(s) before the break are noted. In other words, if I 
have hilited lines 1 & 3, only line 1 is reported as selected. If I 
hilite lines 1, 2, and 4, only lines 1 & 2 are reported as selected.

It's also apparent using "selectedChunk"; only the chars before the 
non-hilited line are reported.

However, "selectedText" -does- report the non-contiguous selection 
properly.

If this is something that was fixed in 2.1, I'd better switch, eh? 
Otherwise, should I report this as a bug (assuming no one else has)?

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


Beware of "double-arrows at both ends"

2003-08-27 Thread Barry Levine
This isn't a Rev problem except to say that it can manifest itself in 
Rev.

There are utilities that can provide "double-arrows" at both ends of a 
scrollbar in OSX (Cocktail, for one); there's an AppleScript called 
"dub-dub" that can do this in OS9. Don't do this. It renders the little 
double arrows in the Object Inspector's Size & Position pane virtually 
useless.

Barry

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


how to stop execution

2003-08-27 Thread Steve Gehlbach
RR seems to always be running my code, I don't see a way to stop 
execution, while developing.  Anyone know a way to do this?

Occasionally I get stupid loops and it can be difficult to get things to 
stop while I fix it.  Usually RR sprays error boxes and croaks, but when 
I restart and load the stack, it goes right back to doing the same 
thing.  I just want to load and edit it, not run it (not until I fix it 
anyway).

-Steve

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


Re: selectedLines - use hilitedLines as workaround

2003-08-27 Thread Barry Levine
(answering my own question...)

Using the hilitedLines instead of the selectedLines returns accurate 
information with a list field containing a noncontinguous selection of 
lines. Apparently, selectedLines only works for contiguous selections.

Barry

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


Re: Possible bug in "selectedLines" in 2.0.x

2003-08-27 Thread Klaus Major
Hi Barry,

I haven't checked 2.1 yet but, in 2.0.1, I've found something a little 
strange.
I can eMail the stack if you're interested as it's very small (8K).

I was testing that wonderful little "drag&drop" example provided by 
Klaus.
(Yes, your script works perfectly! Thank you.)
Thank YOU ;-)

The stack has a field "fieldOfPaths" with "list behavior" and all the 
Hilite
options checked in the Object Inspector. Also, "don't wrap" is checked.
I have some text in the field occupying 4 lines. When I hilite 
non-contiguous
lines, and then execute the following script in a button:

  answer the selectedLines of field "fieldOfPaths"

...only the line(s) before the break are noted. In other words, if I 
have hilited
lines 1 & 3, only line 1 is reported as selected. If I hilite lines 1, 
2, and 4, only
lines 1 & 2 are reported as selected.

It's also apparent using "selectedChunk"; only the chars before the
non-hilited line are reported.
Looks like this doesn't work with non-cont hilites...

However, "selectedText" -does- report the non-contiguous selection 
properly.
If you need the linenumber(s) you can use "the hilitedlines of fld y".

Gives a list of the linenumbers like "1,3,4" and works, too ;-)

If this is something that was fixed in 2.1, I'd better switch, eh?
I tested on 2.1, it supports drawers* and other X goodies... :-)

*Unfortunately there is obviously a resizebug with drawers, but i am 
sure it won't
last long until 2.1.1 ;-)

Otherwise, should I report this as a bug (assuming no one else has)?
I didn't...

Hope that helps...

Thanks,
Barry
Regards

Klaus Major
[EMAIL PROTECTED]
www.major-k.de
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: how to stop execution

2003-08-27 Thread Klaus Major
Hi Steve,

RR seems to always be running my code, I don't see a way to stop 
execution,
while developing.  Anyone know a way to do this?
looks like you mean some "openstack", "preopenstack", "opencard" and 
"preopencard" handler
that will of course be executed when you open these stacks...

In this case you can type in the messagebox:

lock messages; go stack "the one you want to edit"

This way the stack will be opened but no "pre-open-whatever" handler 
will be executed :-)

You can also download my little "Open sesame" plug-in from my website 
which does the same
just by clicking a button while holding the ALT-key ;-)

Occasionally I get stupid loops and it can be difficult to get things 
to stop while I fix it.
Usually RR sprays error boxes and croaks, but when I restart and load 
the stack,
it goes right back to doing the same thing.
See above...

I just want to load and edit it, not run it (not until I fix it 
anyway).
See above...

Hope that helps...

-Steve
Regards

Klaus Major
[EMAIL PROTECTED]
www.major-k.de
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: how to stop execution

2003-08-27 Thread Pierre Sahores
In some critical debuging state cases, it can be usefull to insert a ...

> if the shiftkey is down then exit repeat

directly inside the repeat loop.

Regards,

Le mer 27/08/2003 à 17:36, Steve Gehlbach a écrit :
> RR seems to always be running my code, I don't see a way to stop 
> execution, while developing.  Anyone know a way to do this?
> 
> Occasionally I get stupid loops and it can be difficult to get things to 
> stop while I fix it.  Usually RR sprays error boxes and croaks, but when 
> I restart and load the stack, it goes right back to doing the same 
> thing.  I just want to load and edit it, not run it (not until I fix it 
> anyway).
> 
> -Steve
> 
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
-- 
Bien cordialement, Pierre Sahores

Inspection académique de Seine-Saint-Denis
Applications et SGBD ACID SQL (WEB et PGI)
Penser et produire "delta de rentabilité"

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


Re: Newbie enquiry re using Revolution for Myst style games

2003-08-27 Thread LynnP333
>On Myst and Manhole - not sure any download of "Manhole" out on the web is 
>legitimate.I'd heard that Myst and I think Riven were developed in

>Hypercard.


>Regards, Peter Smith.
~~
Myst was, as noted by others, created with a special version of HyperCard. 
Special color externals were used and the unused guts of Hypercard were left out 
for speed. 
Even before Manhole, the very first Hypercard game the Rand brothers created 
was Cosmic Osmo I believe. Originally on disk, it later came out on CD-Rom. 
That's when I was bitten by the programming bug and started checking out this 
freebie thing called Hypercard that came with my Mac SE. :-)

Lynn P.

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


Re: how to stop execution

2003-08-27 Thread yoy
Steve,

You can also select "Script/Debug Mode under the Development menu. It will
stop at the error so you can open the script to where the problem is.

All the best,

Andy

- Original Message - 
From: "Steve Gehlbach" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 27, 2003 11:36 AM
Subject: how to stop execution


> RR seems to always be running my code, I don't see a way to stop
> execution, while developing.  Anyone know a way to do this?
>
> Occasionally I get stupid loops and it can be difficult to get things to
> stop while I fix it.  Usually RR sprays error boxes and croaks, but when
> I restart and load the stack, it goes right back to doing the same
> thing.  I just want to load and edit it, not run it (not until I fix it
> anyway).
>
> -Steve
>
> ___
> 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: how to stop execution

2003-08-27 Thread Steve Gehlbach
Klaus Major wrote:


looks like you mean some "openstack", "preopenstack", "opencard" and 
"preopencard" handler
that will of course be executed when you open these stacks...

In this case you can type in the messagebox:

lock messages; go stack "the one you want to edit"
Yes, the openstack handler.  Your suggestion should work.  Thanks for 
the tip.

-Steve

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


Re: Newbie enquiry re using Revolution for Myst style games

2003-08-27 Thread Keith Martin
 >On Myst and Manhole - not sure any download of "Manhole" out on the web is
 >legitimate. I'd heard that Myst and I think Riven were developed in
 >Hypercard.

Even before Manhole, the very first Hypercard game the Rand brothers created
was Cosmic Osmo I believe. Originally on disk, it later came out on CD-Rom.
That's when I was bitten by the programming bug and started checking out this
freebie thing called Hypercard that came with my Mac SE. :-)
Cosmic Osmo was a blast! I wish I still had a copy of either of those 
classics, I'd dig out an old Mac just to run 'em. Oh well, time 
marches on - dammit! :-)

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


RE: Re: Newbie enquiry re using Revolution for Myst style games

2003-08-27 Thread Edwin Gore
Cosmic Osmo came out after Myst by around a year or so. The Manhole was originally 
offered by Cyan directly through mail order on, I believe, 12 800K disks, and that led 
to Activision picking it up (I think this was just before they went insane and became 
MediaVision - Dan Shafer probably has many tales of that time).

Manhole and Cosmic Osmo had a similar effect on me. I was already fascinated by 
Hypercard, since at the time I was a big apple junkie (despite not having a mac at 
that point) and I actually bought Dan's book and read it cover to cover even though I 
had no way to use the knowledge at the time.

That book, Manhole, and Cosmic Osmo were really the things that started me on the road 
to where I am now (in a boring IT management job - go figure).

It's too bad that the market these days doesn't really seem to have any place for 
brilliant, imaginative, playful software like those original Cyan games.

>- --- Original Message --- -
Even before Manhole, the very first Hypercard game
>the Rand brothers created 
>was Cosmic Osmo I believe. Originally on disk, it
>later came out on CD-Rom. 
>That's when I was bitten by the programming bug and
>started checking out this 
>freebie thing called Hypercard that came with my
>Mac SE. :-)
>Lynn P.
>
>___
>use-revolution mailing list
>[EMAIL PROTECTED]
>http://lists.runrev.com/mailman/listinfo/use-revolu
>tion
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


arrays as custom properties or custom property sets

2003-08-27 Thread rand valentine
 i have been reading old posts to the list to try and figure out as much as
I can about using custom properties and custom property sets to store arrays
of data. But there is some indeterminancy in the list posts, as one might
expect, since they almost always address very specific needs. So, could
someone knowledgeable clarify for me how exactly one differentially loads
(and accesses) an array as a custom property versus a custom property set? I
want to have about 6 arrays, all as distinct custom properties, but in the
same set. My reason for doing things this way is simple -- if I make each
array a differnt custom property set, don't i always have to be setting the
custom property set to the appropriate one in order to access that array's
data? Thanks so much.

rand valentine

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


Re: arrays as custom properties or custom property sets

2003-08-27 Thread Alex Rice
On Wednesday, August 27, 2003, at 10:47  AM, rand valentine wrote:

 i have been reading old posts to the list to try and figure out as 
much as
I can about using custom properties and custom property sets to store 
arrays
of data. But there is some indeterminancy in the list posts, as one 
might
expect, since they almost always address very specific needs. So, could
someone knowledgeable clarify for me how exactly one differentially 
loads
(and accesses) an array as a custom property versus a custom property 
set? I
want to have about 6 arrays, all as distinct custom properties, but in 
the
same set. My reason for doing things this way is simple -- if I make 
each
array a differnt custom property set, don't i always have to be 
setting the
custom property set to the appropriate one in order to access that 
array's
data? Thanks so much.
Rand, you have to make 6 custom property sets. Each set is an array. It 
is true you can set a particular set like

set the customPropertySet of this stack to "set1"
get the uWhatever of this stack --  from the current set
However, there is a more convenient syntax you can use to get and set 
values using an array notation that does not require you to set the 
customPropertySet first:

set the set1[value] of this stack to something -- into set 1
get the setx[value] of this stack -- from set x
get the sety[value] of this stack --- from set y
sometimes it is convenient to go ahead and set the customProperty set 
if you are going to be accessing the set a lot. Also then you can use 
the customKeys to get the array keys without making a copy of the array.

Hope this helps a little,

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: 2.1 beta doesn't open

2003-08-27 Thread Paul Conover
2.1 would not open with my OS 10.1.5
same message in Council
But I discovered a workaround
I Double click on the file  licence.rev  in the new Revolution 2.1  file.
and
It opened!
Paul

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


Re: arrays as custom properties or custom property sets

2003-08-27 Thread Alex Rice
On Wednesday, August 27, 2003, at 11:01  AM, Alex Rice wrote:
set the set1[value] of this stack to something -- into set 1
get the setx[value] of this stack -- from set x
get the sety[value] of this stack --- from set y
Oops, key, not value. better written as

set the set1[uPropName] of this stack to something
get the setx[uPropName] of this stack
get the sety[uPropName] of this stack
Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


On line stores

2003-08-27 Thread John Tenny
Anyone marketing through one of the on-line stores? If so, any 
recommendations or pitfalls?
I'm particularly interested in the education market, K-12 and college.

Peace,

   John

Flowing Thought Educational Solutions
503-508-3398
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: drag and drop

2003-08-27 Thread J. Landman Gay
Speaking of drag and drop, I have a stack where I want the entire window 
to accept drops, not just the controls. The card doesn't seem to get a 
"dragEnter" message, so nothing happens unless I drop directly onto one 
of the controls on the card. Does anyone have a solution, or do I have 
to resort to a card-sized transparent button behind everything else? (Ick.)

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


Re: command-line use on OS X

2003-08-27 Thread J. Landman Gay
On 8/27/03 12:22 AM, Dar Scott wrote:

On Tuesday, August 26, 2003, at 06:23 PM, Rodney Tamblyn wrote:

put "hello world"


I've been using this:
write "hello world" to stdout
Are these exactly the same or does put right to something else?
They are the same. When running faceless, all commands to "put" are 
written to stdout automatically.

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


Re: On line stores

2003-08-27 Thread Stephen Quinn Barncard
I've been using cdstreet.com for years - they take about 25% cut, but 
are prompt and give phone support. They also let you imbed code to 
call their servers in your pages so it looks like it's all on your 
site. They sell anything that's legal not just CDs.

sqb

Anyone marketing through one of the on-line stores? If so, any 
recommendations or pitfalls?
I'm particularly interested in the education market, K-12 and college.

Peace,

   John

Flowing Thought Educational Solutions
503-508-3398
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: drag and drop

2003-08-27 Thread Klaus Major
Hi Jaqueline,

Speaking of drag and drop, I have a stack where I want the entire
window to accept drops, not just the controls. The card doesn't seem
to get a "dragEnter" message, so nothing happens unless I drop
directly onto one of the controls on the card. Does anyone have a
solution, or do I have to resort to a card-sized transparent button
behind everything else? (Ick.)
I'm not sure, but looks like...

I worked around this inconvenience by having a grouped graphic on each 
cd
which resized with the stack...

No dropping on cards otherwise...

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

Klaus Major
[EMAIL PROTECTED]
www.major-k.de
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Newbie question on CGI

2003-08-27 Thread Gregory Lypny
Hello everyone,

	Are their examples of Revolution CGI's.  I like to create something 
that processes form data, save it to files or stacks, perhaps with the 
clients using Rev stand-alones to post to the forms.

	Greg

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


Re: On line stores

2003-08-27 Thread Alex Rice
On Wednesday, August 27, 2003, at 11:16  AM, John Tenny wrote:

Anyone marketing through one of the on-line stores? If so, any 
recommendations or pitfalls?
I'm particularly interested in the education market, K-12 and college.
Are you asking about marketing, or just ecommerce solutions?

I have a shareware product for Mac OS X and I sell licenses via paypal 
and esellerate. Both are good; some people prefer pay pal, or prefer 
NOT to use paypal, so esellerate is a good backup. But neither of them 
provides any marketing persay.

There is a guy who posts a lot on the realbasic list who does 
international software marketing and distribution, and is apparently 
really good at it. Forgot his company name.

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: how to stop execution

2003-08-27 Thread Dar Scott
On Wednesday, August 27, 2003, at 09:36 AM, Steve Gehlbach wrote:

RR seems to always be running my code, I don't see a way to stop 
execution, while developing.  Anyone know a way to do this?
You got some good advice on blocking this immediate situation.

I wonder what folks do in general concerning this kind of thing.  What 
styles do folks use?

Do you check for the environment or the tool or both in certain 
handlers?  How do you make a stack act like it was just loaded?  Does 
the IDE help in this?

Related to this for standalone projects is finding libraries and 
externals.

Dar Scott

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


Re: how to stop execution

2003-08-27 Thread Klaus Major
Hi Dar,

On Wednesday, August 27, 2003, at 09:36 AM, Steve Gehlbach wrote:

RR seems to always be running my code, I don't see a way to stop 
execution, while developing.  Anyone know a way to do this?
You got some good advice on blocking this immediate situation.

I wonder what folks do in general concerning this kind of thing.  What 
styles do folks use?

Do you check for the environment or the tool or both in certain 
handlers?
I sometimes do when i set the backdrop on preopenstack.

Most of the times i open my stacks with locked messages and do a...

How do you make a stack act like it was just loaded?
..."send "reopenstack" to the mousestack" in the msg.

I also set the directory etc... manually (with some of my li'l helpers 
:-)

Does the IDE help in this?
Not that i knew...

Related to this for standalone projects is finding libraries and 
externals.

Dar Scott
Regards

Klaus Major
[EMAIL PROTECTED]
www.major-k.de
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Getting cross-platform IP address

2003-08-27 Thread Rob Gould




I must be missing
something obvious, but is there a command that provides the user's IP
address (whether Mac or PC). 
According to the documentation on the "hostAddress" function:

"Use the hostAddress function to find the IP address of the computer
that Revolution is running on."

I thought that might do the trick, but I get the impression that this
call must be for determining a host-connection, rather than the local
connection.

I've look all over the docs for an IP Address command - - - - can
someone please point me in the right direction?




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


Re: 2.1 beta doesn't open

2003-08-27 Thread James Richards
On Tue, 26 Aug 2003 18:17:28 -0500 curry wrote
> 
> I bugged it (number 450) and from what Tuviah said it sounds like
> it's fixable. (Which is great!)
> 
I had the same trouble (also OS X 10.1.3) but stupidly emailed it as a
support issue before checking the list!

I look forward to the fix. Does my 30 day evaluation start from first use or
from the date of issue of the code? I guess it doesn't matter *too* much
since I have just purchased Studio edition.

Regards

James

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


Re: Revolution 2.1 Installation Problems on OS X

2003-08-27 Thread Dar Scott
On Monday, August 25, 2003, at 06:49 PM, Alan S. Golub wrote:

I just tried to install v. 2.1 on two separate Macs running OS X, v. 
10.2.6. I entered my license info when prompted, but got the message:

Invalid License. Error 8.
I am about to do this and I want to avoid the trouble.

Folks who have had trouble...

Where did you put the Revolution folder?

What beta and RC did you have installed and licensed previously?

Did you move, remove or modify com.Revolution.Revolution.plist?

Did you use the same name and org as per the old licensing or put in 
something else?

Did you have to paste the key twice to get the license key into the 
field?

Any workarounds yet?

I have no real indication that these are problems, I just want to avoid 
the same potholes.

Dar Scott



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


Re: On line stores

2003-08-27 Thread Mark Talluto
On Wednesday, August 27, 2003, at 10:16 AM, John Tenny wrote:

Anyone marketing through one of the on-line stores? If so, any 
recommendations or pitfalls?
I'm particularly interested in the education market, K-12 and college.


We work with DigiBuy.  They are owned by DigitalRiver.  They just made 
a deal to get our wares on many mainstream on-line stores like CompUSA, 
BestBuy, PCMall...

Try:  

Best regards,
Mark Talluto
http://www.canelasoftware.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Getting cross-platform IP address

2003-08-27 Thread Dar Scott
On Wednesday, August 27, 2003, at 01:38 PM, Rob Gould wrote:

I must be missing something obvious, but is there a command that 
provides the user's IP address (whether Mac or PC).

I'm collecting ways to do this, so I'd be pleased to see answers.

I think Ken Ray has some shell() solutions at his web site for OS X and 
Windows.

Another approach is to open a connection to a known Internet computer 
and look at the hostAddress() of the connection and then close it.  
This will only work if you have an Internet connection and it seems to 
me to be impolite.  (Perhaps RunRev can give permission for us to use 
their http for this and this will act as motivation for a solution.)

One that should work but is blocked by a bug is to open datagram to 
some bogus but syntactically valid address.  Then check hostAddress.

I have a method that works on Windows and Mac OS 9, but not on OS X.  I 
was about to make a query to this list to see if the problem is a 
strange unix tradition or a bug in the engine or something else.

It would be cool if hostAddress() without a parameter would return a 
list of IP addresses.

Which reminds me.  The problem is complicated by the fact that the 
computer may have more than one address (beyond 127.x.x.1).

Dar Scott

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


Re: Getting cross-platform IP address

2003-08-27 Thread Alex Rice
On Wednesday, August 27, 2003, at 01:38  PM, Rob Gould wrote:

I must be missing something obvious, but is there a command that 
provides the user's IP address (whether Mac or PC).
There is hostNameToAddress()

put hostNameToAddress("localhost") -- always 127.0.0.1 on UNIX, the 
loopback interface
put hostNameToAddress("www.runrev.com") -- 64.23.0.192

However there is no 1 genuine IP address for a user's machine. IP 
interfaces can be numerous, aliased, and using different transports 
like ppp, ethernet, etc. For instance a user could have a dialup ppp 
address, plus 2 different ethernet cards installed on their computer. 
All active, with different IPs. An IP address can also change 
frequently in the case of ethernet DHCP or dialup ppp setups.

You could go platform specific and do shell() with command "ifconfig 
-a" on OS X and Unix, and the equivalent on Windows - "winipstat" or 
something like that. You would have to scan the human-readable results 
and decide which is the IP you are interested in.

Sorry I know this doesn't really answer the question. I am speculating 
here that it's not possible to do just in transcript.

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Rev 2.1 and licensing

2003-08-27 Thread Kurt Kaufman
With regard to the spate of recent Rev 2.1 installation error problems:
It may be that some people are confused about whether or not they are 
entitled to a free upgrade to 2.1.  A couple of days ago, Heather 
Williams wrote:

"Ok, it seems that certain of the replacement license codes were not
correctly generated and are expired with 2.1 when they should not be. 
If you
had a SBE or a Student/Teacher license, which would not be expired on or
before 26th August 2003 (ie you purchased after 26th August 2002), you 
will
need a new code. Please, if you can, first check that your license 
really
hasn't expired by looking at the expiry date in your original licensing
email, then email me with "Expired SBE/Student/Teacher" in the subject 
line
and I'll send you a new code."

So, if I understand correctly, if you have a Rev 1.x or 2.0.x license 
that expired before 26th August 2003, you will need to purchase some 
sort of upgrade to 2.1.  The choices are described at:
http://www.runrev.com/Revolution1/licensing2.html

If you purchased a license for Rev 2.0.x after 26th August 2003, and 
your unlock code does NOT work with Rev 2.1, then you need to contact 
Heather off-list at
[EMAIL PROTECTED]
for a new unlock code.

I hope this summary is correct.  If not, this whole upgrade business is 
too complicated for me.  :-)

-KK

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


Rev 2.1 and licensing- correction

2003-08-27 Thread Kurt Kaufman
Uh, sorry, make that:

If you purchased a license for Rev 2.0.x after 26th August *2002*, and
your unlock code does NOT work with Rev 2.1, then you need to contact
Heather off-list at
[EMAIL PROTECTED]
for a new unlock code.
I guess it IS too complicated for me.
-KK
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Getting cross-platform IP address

2003-08-27 Thread Dar Scott
On Wednesday, August 27, 2003, at 02:08 PM, Alex Rice wrote:

Sorry I know this doesn't really answer the question. I am speculating 
here that it's not possible to do just in transcript.
Some time in the middle of last year I suggested an adaptors() function 
(need better name) that would provide info on all TCP/IP adaptors.  
Each adaptor info takes one line.  The first few items in the line are 
very portable and include the IP address.

I still think something like that would be handy.

Dar Scott

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


Re: drag and drop

2003-08-27 Thread J. Landman Gay
On 8/27/03 12:50 PM, Klaus Major wrote:

I worked around this inconvenience by having a grouped graphic on each cd
which resized with the stack...
No dropping on cards otherwise...
I was afraid of that. But okay, I just put an empty image object into 
the stack as layer 1 and it works. Using an image was better than using 
a transparent button, since my scripts monitor and do things with all 
the existing buttons. With an image in there, I didn't need to alter any 
of the scripts.

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


local host does not see broadcast on OS X

2003-08-27 Thread Dar Scott
I have a small sockets stack that listens on a UDP port (accept) and 
sends datagrams to that port on an IP address.  If the address is 
broadcast, the behavior is not consistent among platforms tested.  This 
applies whether the broadcast is general (255.255.255.255) or subnet 
specific (for example, 10.99.255.255)

If the local computer is included in the broadcast specification (which 
it always is in the general broadcast), the datagram is received on 
Windows XP and on Mac OS 9.2.  But it is not on OS X.

To my thinking the OS X behavior is goofy.  Now it comes to my mind 
that maybe that behavior, goofy or not, is traditional on unix.  (Maybe 
some folks would think it very irreverent to describe TCP/IP behavior 
as goofy on a descendent of BSD unix.)

Anybody know what is up here?  Does this happen on linux, too?

Dar Scott





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


Re: Getting cross-platform IP address

2003-08-27 Thread Dar Scott
On Wednesday, August 27, 2003, at 02:05 PM, Dar Scott wrote:

One that should work but is blocked by a bug is to open datagram to 
some bogus but syntactically valid address.  Then check hostAddress.
This does not work on OS X.  I think I tested this on Windows, but I 
forgot the result.  I don't think I tested this on Mac OS 9.  So...  
Maybe this is a partial solution and I don't know.

Dar Scott

Dar Scott Consulting
http://www.swcp.com/dsc/
Programming Services

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


Re: drag and drop

2003-08-27 Thread Dar Scott
On Wednesday, August 27, 2003, at 02:20 PM, J. Landman Gay wrote:

I worked around this inconvenience by having a grouped graphic on 
each cd
which resized with the stack...
No dropping on cards otherwise...
I was afraid of that. But okay, I just put an empty image object into 
the stack as layer 1 and it works. Using an image was better than 
using a transparent button, since my scripts monitor and do things 
with all the existing buttons. With an image in there, I didn't need 
to alter any of the scripts.
This is where I would wonder...

Is there a good reason why I would _want_ to have a shared grouped 
image or graphic on each card.  With a little thought I might wonder 
how I got along without one.

Dar

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


Re: Getting cross-platform IP address

2003-08-27 Thread Scott Slaugh
I must be missing something obvious, but is there a command that provides 
the user's IP address (whether Mac or PC).

I'm collecting ways to do this, so I'd be pleased to see answers.
Here's a script I have that does this:

set the itemdel to ":"
get HostNameToAddress(item 1 of the address)
The address function should work without a connection to the internet.  
However, the hostNameToAddress() function does a DNS lookup, and as such 
requires an internet connection to work properly.  (See the entry in the 
Transcript Dictionary for hostNameToAddress for more information about 
this.)

Scott Slaugh

_
MSN 8: Get 6 months for $9.95/month. http://join.msn.com/?page=dept/dialup
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Revolution 2.1 Installation Problems on OS X

2003-08-27 Thread Alan Golub
Dar --

Below I've tried to answer all your questions. But I should make clear 
up front that this problem fixed itself on at least one of my Macs. See 
below in response to your request for workarounds for more details...

On Wednesday, August 27, 2003, at 03:52 PM, Dar Scott wrote:

Folks who have had trouble...

Where did you put the Revolution folder?
In Applications
What beta and RC did you have installed and licensed previously?
none
Did you move, remove or modify com.Revolution.Revolution.plist?
no
Did you use the same name and org as per the old licensing or put in 
something else?
As best I can tell, yes. I admit to not being very careful about 
whether I used my middle initial in each copy, or whether I inserted a 
comma before the "LLC" in my company name. But I've never been very 
careful about these things, and never had this problem before.
Did you have to paste the key twice to get the license key into the 
field?
No
Any workarounds yet?
Funny you should ask. I received a new license from Heather this 
morning, along with some specific questions about my installation, so 
that RunRev could assist with a solution. Before submitting this info, 
I thought I'd try to launch 2.1 again. I double-clicked on the 
application icon, and for some reason, the problem was gone. The 
license agreement came up, I accepted the terms, and was able to enter 
the new license number. Version 2.1 is running just fine now.

I have no idea why this is. It's not due to rebooting between yesterday 
and today, because I in fact tried a reboot, and even an extended shut 
down, when I first started having the problem.

I'll have to try this on my PowerBook again when I get home tonight, as 
I had the same problem there. It will be beyond wild if the problem is 
solved on that machine, too.

I'm not sure this helps, other than to suggest to those who had this 
problem that they may wish to try again.

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


Cosmic Osmo

2003-08-27 Thread John Tenny
Ah, yes, Cosmic Osmo - game with no violence. What an idea! Another 
gaming idea -- what about a game where you save people and small 
animals instead of blowing them to bits?

John

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


Re: Getting cross-platform IP address

2003-08-27 Thread Dar Scott
On Wednesday, August 27, 2003, at 03:09 PM, Scott Slaugh wrote:

I must be missing something obvious, but is there a command that 
provides the user's IP address (whether Mac or PC).

I'm collecting ways to do this, so I'd be pleased to see answers.
Here's a script I have that does this:

set the itemdel to ":"
get HostNameToAddress(item 1 of the address)
The address function should work without a connection to the internet. 
 However, the hostNameToAddress() function does a DNS lookup, and as 
such requires an internet connection to work properly.  (See the entry 
in the Transcript Dictionary for hostNameToAddress for more 
information about this.)
I'm confused.

What if I don't even know my host name or I have none or my DNS doesn't 
know it?

I think the goal is to get the primary IP address of the computer not 
of a connection.  I may be confused there, too.

Dar Scott

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


Re: OT:Manhole, Osmo in Classic?

2003-08-27 Thread Dar Scott
On Wednesday, August 27, 2003, at 04:03 PM, Marian Petrides wrote:

FWIW, Manhole predated Cosmic Osmo.
But I was sure my daughter got him on the phone from Manhole.  It must 
be memory faults in my brain.  My daughter wanted to make Manhole like 
games and now that Revolution is out she is into other things, but does 
some Photoshop work for me.

Dar Scott

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


Re: here's a challenge

2003-08-27 Thread Dar Scott
On Wednesday, August 27, 2003, at 03:55 PM, Chris Sheffield wrote:

Does anyone have any ideas? 
1.
Use the box char property.
2.
You can make a rectangle.  Place it around the line (or word).  Find 
the rectangle for the line (or word) and then put a space around that 
to make the rectangle.

Now all you have to do is find the rectangle of the line (or word). For 
line:  The top is the field top plus the border plus the margin plus a 
magic number plus the formattedHeight of all lines before it (or 0 for 
none).  The left, I would guess, is the left of the field plus the 
border plus the margin.  The width of the line and the height of the 
line get from formattedWidth and formattedHeight.

Wild idea.  I'm not sure how this will work.  I probably left out some 
numbers to add.

I'm not sure how to make the box outline translucent.

Dar Scott

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


Re: local host does not see broadcast on OS X

2003-08-27 Thread Alex Rice
On Wednesday, August 27, 2003, at 04:11  PM, Dar Scott wrote:

The broadcast works for other computers and I don't get an error, so 
this does not seem to be exactly the problem.  However, I have been 
wondering about some other, more obscure, flag that we never heard of.

At this point I don't know if the problem is in sending or receiving 
because another datagram sockets bug makes it hard to do some testing.
Does sound kind of like a bug.

Do those man pages use the phrase "remote computer" when referring to 
broadcasting?
They refer to "address of the target", and "destination address". I 
don't see the phrase remote computer anywhere.

BTW here are some old apple technotes that talk about "the endpoint 
never receives any UDP broadcast messages" and "IP reuse address delay"

http://developer.apple.com/qa/nw/nw53.html
http://developer.apple.com/qa/nw/nw28.html
Those predate apple's move to BSD networking, but still might be useful 
info.

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Simple question re: Using Extenals...

2003-08-27 Thread John Patten
Hello All...

I haven't had the need to use an external Revolution,  such as "libSMTP"...
In the past with SuperCard, I could just use ResEdit to move an external
into a new project.

How do I use externals now with Revolution? Is it just a matter of moving a
project with an external into a certain folder and put a command of "start
using "externalstack?" I've looked through the archives but could not find
anything related...may not have looked very good there are a lot archives to
go through ;-)

TIA,


-- 
John Patten
Technology Coordinator
San Bernardino City Unified School District
[EMAIL PROTECTED]
909 381-1208
Fax # 909 386-2540
http://www.sbcusd.k12.ca.us



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


Re: OT:Manhole, Osmo in Classic?

2003-08-27 Thread Edwin Gore
It's possible that happened.

I believe that there was eventually a CD-ROM version of Manhole which I think came out 
after Cosmic Osmo, that had new features. There were also two version of Cosmic Osmo - 
a disc and a CD-Rom version. As I recall the CD-Rom had three extra planets on it.

I remember staying after work at Egghead all the time going through those games...

They were always big draws if you sat at the mac and started demoing them...

>- --- Original Message --- -
But I was sure my daughter got him on the phone
>from Manhole.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Getting cross-platform IP address

2003-08-27 Thread Alex Rice
On Wednesday, August 27, 2003, at 04:15  PM, Dar Scott wrote:
On Wednesday, August 27, 2003, at 03:09 PM, Scott Slaugh wrote:
The address function should work without a connection to the 
internet.  However, the hostNameToAddress() function does a DNS 
lookup, and as such requires an internet connection to work properly. 
 (See the entry in the Transcript Dictionary for hostNameToAddress 
for more information about this.)
I speculate it won't *necessarily* do a DNS lookup. It depends how the 
name service resolver is configured. On Mac OS X the resolver will use 
Appletalk and Netinfo first, then DNS. On Unix it can use the 
/etc/hosts file, then DNS, depending on the ordering in the file 
/etc/resolv.conf. YP/NIS and maybe others could be involved too.

On my OS X , "the address" returns "localhost:/...". localhost is 
resolved as the loopback address, 127.0.0.1, which can't be decided by 
a DNS server.

What if I don't even know my host name or I have none or my DNS 
doesn't know it?

I think the goal is to get the primary IP address of the computer not 
of a connection.  I may be confused there, too.
But is there such thing as really a primary IP address? There is a 
default gateway for each network interface. There can be priorities 
assigned to different routes. However, the particular interface to use 
isn't decided until the OS needs to send some particular network 
packets and the OS goes- ok little packet: where's that network- 
where's that default gateway- what's the route's priority hm.. hm... 
you go out this interface.

Maybe this is why hostAddress requires a socket to be opened- it is 
only capable of answering the endpoint IPs of that one socket.

--
BTW is this a  documentation error in "the address"?
" Cross-platform note:  On Unix systems, the computer's name is its 
domain name. On Mac OS systems, the name is the one set in the File 
Sharing control panel."

re: the Unix computer's name. AFAIK it depends on the contents of 
/etc/hosts which usually isn't going to be domain name, it's going to 
be localhost plus one or more aliases. On Mac OS X, the statement could 
be true, if "the address" returned the rendezvous domain for the 
computer, e.g. darkstar.local (a local domain name for my computer with 
the name darkstar). But it doesn't return the rendevous name.



Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


[repost] Re: merge property profiles?

2003-08-27 Thread Alex Rice
Any ideas on this one?
Would it be bad etiquette to post to the metacard list with this same 
question?

--

Can anyone see why this script doesn't work? It apparently has no 
effect on the Master profile. Script generates no errors, but the 
properties are not getting set into the Master profile. "SectHead" does 
exist in profileList and puts about a few dozen property names into the 
message box:

put the cRevGeneral["profileList"] of fld id 2368 into tProfiles
if "SectHead" is among the lines of tProfiles then
  set the profile of fld id 2368 to "SectHead"
  put the properties of fld id 2368 into tProps
  put the keys of tProps -- msg box
  set the profile of fld id 2368 to "Master"
  set the properties of fld id 2368 to tProps
end if
Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: local host does not see broadcast on OS X

2003-08-27 Thread Dar Scott
On Wednesday, August 27, 2003, at 02:50 PM, Dar Scott wrote:

I have a small sockets stack that listens on a UDP port (accept) and 
sends datagrams to that port on an IP address.  If the address is 
broadcast, the behavior is not consistent among platforms tested.  
This applies whether the broadcast is general (255.255.255.255) or 
subnet specific (for example, 10.99.255.255)

If the local computer is included in the broadcast specification 
(which it always is in the general broadcast), the datagram is 
received on Windows XP and on Mac OS 9.2.  But it is not on OS X.
To clarify, a broadcast from Mac OS 9.2 or Windows XP shows up on OS X 
and a broadcast from OS X shows up on those.  So, OS X can send and 
receive broadcasts, but not to/from the same computer.  (Well, my tests 
are limited:  not from the same program on the same computer.)

Dar Scott

Dar Scott Consulting
http://www.swcp.com/dsc/
Programming Services

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


Code-editing function stack

2003-08-27 Thread Jim Witte
Hi,

  Is there any stack out there that has functions that will let you do 
parsing of C to do such things as isolate functions, determine 
whitespace, extract function and variable names and types, etc?  I'm in 
the process of writing some code to do this (for a one-time job), and 
am wondering if it would do anyone else a favor to clean this up and 
release it, or if I would just be reinventing another wheel..

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


Re: here's a challenge

2003-08-27 Thread Sarah
You will need to track the mouseMove message in your story field. This 
gives you the coordinates of the mouse which you can use to position 
the box (a graphic or as Dar suggested a text style). Here is a script 
I use to make sure that any scroll results in an exact line i.e. the 
top of the field shows a complete line, rather than a partial line. It 
might give you an idea on how to set the text the way you want it.

-- fix scroll to an exact line
  put (the vScroll of me div the textHeight of me) + 1 into tLineNum
  set the vScroll of me to (tLineNum-1) * the textHeight of me
Cheers,
Sarah
[EMAIL PROTECTED]
http://www.troz.net/Rev/
On Thursday, August 28, 2003, at 08:14  am, Chris Sheffield wrote:

Well, I think it’s a challenge anyway.

?

I have a field with text from a story.? It’s just basic text split 
into one or more paragraphs.? I need to come up with a way to create 
what we call a reading guide, which would basically consist of a 
rectangular box that follows the mouse pointer up and down will inside 
of the text field.? The trick is that the box must “snap” into place 
so to speak, so that the current line of text is vertically centered 
within the box.? Students will be reading the text and the box cannot 
wander if the mouse pointer is not exactly on the line of text.? I am 
using fixedLineHeight for the text field, and I think that will come 
into play somewhere (the distance to move the box up and down?).? What 
I’m not sure of is which messages I need to handle to create this kind 
of behavior.

?

Does anyone have any ideas?? Have I even made sense?? I can try again 
to explain it if necessary.

?

Thanks,

?

Chris Sheffield

Software Development

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


OT:Manhole, Osmo in Classic?

2003-08-27 Thread LynnP333

In a message dated 8/27/03 3:17:05 PM, 
[EMAIL PROTECTED] writes:

<< FWIW, Manhole predated Cosmic Osmo.  I still have my copies of both 
(Osmo is on CD, Manhole originally was on floppy but I may have also 
bought the CD).  Wonder if they'll work in Classic has anyone tried?
 >>

Actually, Cosmic Osmo originally came out on disk prior to Manhole. The CD 
version came out after Manhole. Both the disk version and CD version run in 
Classic. I tried both this morning on a Mac G4 in a nostalgic moment. :-}

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


Re: Getting cross-platform IP address

2003-08-27 Thread Dar Scott
On Wednesday, August 27, 2003, at 04:56 PM, Alex Rice wrote:

I think the goal is to get the primary IP address of the computer not 
of a connection.  I may be confused there, too.
But is there such thing as really a primary IP address? There is a 
default gateway for each network interface. There can be priorities 
assigned to different routes. However, the particular interface to use 
isn't decided until the OS needs to send some particular network 
packets and the OS goes- ok little packet: where's that network- 
where's that default gateway- what's the route's priority hm.. hm... 
you go out this interface.

Maybe this is why hostAddress requires a socket to be opened- it is 
only capable of answering the endpoint IPs of that one socket.
That is a very good point.

I have some computers with several ethernet adaptors, some over-modem 
adaptors, and several VPN adaptors.  And then there is 127.0.0.1.  I 
have some computers which connect to multiple subnets on the same 
ethernet adaptor.  Which is primary?

I think Windows thinks one is primary, but I'm not sure.

This is why I like the idea of an adaptors() or ipAddresses() function. 
 Or the ability of hostAddress to take an unopened connection.

Now if only hostAddress will take a UDP opened socket...  That is 
really in some sense an unopened connection.

Dar Scott



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


Re: Double arrows no problem-Tinker Tool

2003-08-27 Thread Alex Rice
On Wednesday, August 27, 2003, at 04:14  PM, Marian Petrides wrote:

I use Tinker Tool in OS X 1.2.6 and just tried to reproduce Barry's 
problem in Rev 2.1.  I had no problem using Object Inspector's Size & 
Position pane.  Maybe this is just with Cocktail?   Anyone else using 
Tinker Tool in OS X 1.2.6 with Rev?  Any problems with Object 
Inspector?
Looks OK to me too. Barry- maybe try TinkerTool instead.

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Cosmic Osmo

2003-08-27 Thread Alex Rice
On Wednesday, August 27, 2003, at 03:12  PM, John Tenny wrote:

Ah, yes, Cosmic Osmo - game with no violence. What an idea! Another 
gaming idea -- what about a game where you save people and small 
animals instead of blowing them to bits?

Here you go (windows only) http://www.dexterity.com/dweep/

Alex Rice, Software Developer
Architectural Research Consultants, Inc.
http://ARCplanning.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution