Re: Downloads aren't rev files

2004-02-20 Thread Erik Hansen

--- Sarah Reichelt [EMAIL PROTECTED]
wrote:
 Hi Ken,
 That will be because they don't have their
 filetype  creator set 
 correctly for a Mac. At my web page:
 http://www.troz.net/Rev/ look for 
 RevDroplet which is an AppleScript droplet to
 set those properties for 
 a Rev stack. Just unzip the applet and drop the
 rev files on to it. The 
 correct icon should appear and double-clciking
should then open them in Rev.

worked for me.

=
[EMAIL PROTECTED]http://www.erikhansen.org

__
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Yes, I'm back

2004-02-20 Thread Pierre Sahores
Welcome Home, Heather !  Nice to see you back on stage ;-)

Kind Regards, Pierre

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Heather Nagey
Sent: Thursday, February 19, 2004 5:36 AM
To: [EMAIL PROTECTED]
Subject: Yes, I'm back
Thank you :)

Thanks also to all the people who sent goodwill messages, I
really appreciate them.
Most of all, a huge vote of thanks to Jacque and to Graham
Samuels, who voluntarily pitched in and took over the
fearsome support workload while I was unwell.
As most of you are probably already aware, a great new
centralized support system has been devised while I was away,
this should mean an end to unacceptable delays in response
times when one or other staff member is out of action for
whatever reason. Support email on virtually all subjects
should now be sent to [EMAIL PROTECTED], where it will be
sorted into the appropriate queue and the best person to
answer it can pick it out and respond in a timely manner.
This is such a wondrous improvement, I think I should get
sick more often!
Anyway, greetings one and all, its great to be back and
watching the lists once more,
Heather
(checking the list admin hat still fits... Yep, a bit dusty
but undented...)
--
Heather Nagey ~ [EMAIL PROTECTED] ~ http://www.runrev.com/
Runtime Revolution - User-Centric Development Tools Tel +44
(0) 131 7184333 Fax +44 (0) 845 4588487 ~~~ Check our web
site for new Revolution editions  special offers ~~~
___
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: Scrolling a Card?

2004-02-20 Thread Jeanne A. E. DeVoto
At 10:43 AM +0900 2/20/2004, Doug Lerner wrote:
This is still confusing to me. If the location size of the group is the same
as the window size then where are controls in the group that you want to
scroll and see? Do you place them outside the rectangle of the card?
That's right: they're outside the window boundaries, so scrolling 
brings them into view. (Or they're larger than the window boundaries: 
for example, if you want to scroll around a large image in a small 
window, the image will be bigger than the window is.)
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Binary objects

2004-02-20 Thread A.C.T.
Hi, revoluzzers :-)

I am brand new to Revolution, my first contacts with hypercard-like 
tools also were my last: Toolbook on Windows, about 12 years ago. I am 
currently trying to get comfortable with Revolution - or, more 
precisely, with Transcript - to minimize the work needed to get 
cross-platform tools.

As a starter I plan to port some older tools I did in C, which read 
in JPEG files and parse the attached headers (JFIF etc) according to 
some specific rules, handling Photoshop-chunks etc.
I understand that rewriting the decoding in Transcript would be best 
to get a cross-platform version. I have to admit that I find Transcript 
extremely difficult to read, at least imagining a larger project with 
complex parsing functions. Most likely this is a question of getting 
used to Transcript.

My question now is: I have browsed the documentation but did not find a 
detailed description about how to handle binary objects. So that is why 
I described my test project above: I need to read in a JPEG file (no 
display needed or wanted), eventually decode it into a bitmap memory 
area (I understand this decoded bitmap is available as an object after 
the JPEG has been read in, I found something about that in the docs). 
And I need access to all header chunks in the file, so I can parse them. 
I would love to have a C-like language for that, since I am used to 
that for about 20 years or longer, but learning something new may be fun :-)

Could someone here point me to the right place in the documentation 
where handling binary objects and parsing them is described?

Erm, and: Is there a plain text version of the docs? I find the short 
chapters and the help-browser (on Windows) some kind of unsuportive :-)

Many thanks for your assistance,
Marc Albrecht
A.C.T. / level-2
Glinder Str. 2
27432 Ebersdorf
Deutschland
Tel. 04765-830060
Fax. 04765-830064
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


DATUM (was Re: control scructure repeat and next line)

2004-02-20 Thread Glasgow David
 Since you are working with lines, I should have stuck with lines.  
 There is no
 Revolution jargon called datum, as far as I know; this is all my fault.

I was also a bit puzzled, since datum is the german word for date 
:-)

 Dar Scott

Regards

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



As in 'Hot date'?  ;-)


Best wishes,

David Glasgow

Forensic Software and Services www.i-Psych.co.uk 

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


Beginners global variable pb

2004-02-20 Thread Benoit Leraillez
  Hi,


  I'm a beginner with Revolution (used other things in the past for
interface dev) but decided to use it since it corresponds exactly to what I
need for a cross-platform product prototype. My code maybe not the finest or
the most elegant but it basically does what it is supposed to do up to
now ;-)

  Now here is the problem I'm up to:

- The first card let's the user select the language interface for the rest
  of the stack. I know how to change on the fly the texts on that card to
  the user's selection from the scrolling list field. But I haven't found
  a way to store that selection so that every text field on every card
  displays text in the correct language (LanguageChoice is a global variable
  defined in the stack script in open stack and modified in the language
  selection script).

  Since I defined the variable as global up in the stack I don't understand
why it doesn't apply to every card and field. Maybe there is another way to
do this?

  (On top of that the ideal for me would be to have a hidden card containing
a table where each column would be a language and each row a field's content
since I could then keep simpler code in the text fields and probably import
and export the translations to work on it elsewhere than in Revolution.
First I've got to figure out how to put content of cell
(LanguageChoice,3) of field FullText of card Translation into field
Headline but I think I'll try to figure that out on my own before coming
here again ;-)


  TIA for any help.

  
P.S. Oh! Just one more thing, is there a way to have an image put in such
away that it appears in every cards at the same place when you create a new
card? And if you modify that image you don't have to copy and paste hundreds
of times? It ain't a priority but it would be cool ;-)

-- 
Benoît Leraillez

Nous n'avons pas les moyens d'acheter bon marché.

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


Re: Beginners global variable pb

2004-02-20 Thread Leraillez Benoit
Le 19/02/04 22:35, « Jeanne A. E. DeVoto » [EMAIL PROTECTED] a
écrit :

 The basic idea here is that, instead of having a hidden card, you
 have sets of custom properties for each card - one set for each
 language - to hold the correct text for that card.

  Ok but if I need to change texts because my translations are incorrect or
if I add a new language, in a table I just add a column containing the texts
and the whole stack is translated with a new language or I just import a tab
separated new version and the errors are all corrected without having to go
thru every card and finding the field properties by hand. Am I right?

-- 
Benoît Leraillez
Bien des personnes aiment à dire qu'elles ont une prédilection pour des
choses «profondes», or, je me demande si ces personnes ne commettent pas des
erreurs en prenant pour «profondes» des choses qui sont creuses. (S. Guitry)

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


Re: DATUM (was Re: control scructure repeat and next line)

2004-02-20 Thread Klaus Major
Hi Glasgow,

Since you are working with lines, I should have stuck with lines.
There is no
Revolution jargon called datum, as far as I know; this is all my 
fault.
I was also a bit puzzled, since datum is the german word for date
:-)
Dar Scott
Regards

Klaus Major
[EMAIL PROTECTED]
www.major-k.de
As in 'Hot date'?  ;-)
Depends on the lady... ;-)

But you're spoiled, David :-D

Best wishes,

David Glasgow
Regards

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


Re: Binary objects

2004-02-20 Thread Chipp Walters
You might want to check out the section titled Graphics and Images at:
http://www.sonsothunder.com/
also, I have some stacks which manipulate images using their binary 
data. Check out Image Compositing and Image Tools Example. They can 
be found at:
http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm

Also, consider searching the list via Google for the subject JPEG 
Header

In fact there is a link at:

http://lists.runrev.com/pipermail/metacard/2003-May/004802.html

And you can search the list via Google at:

http://www.google.com/advanced_search?q=site:lists.runrev.com

Welcome to Revolution...hope this helps:-)

-Chipp

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


Re: Binary objects

2004-02-20 Thread A.C.T.
Hi, Chipp,

 You might want to check out the section titled Graphics and Images at:

thanks a lot for the links, I'll dig my way through them!

Also, consider searching the list via Google for the subject JPEG Header
Thanks, I'm quite familar with those (at least) already ;-)

Marc Albrecht
A.C.T. / level-2
Glinder Str. 2
27432 Ebersdorf
Deutschland
Tel. 04765-830060
Fax. 04765-830064
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Beginners global variable pb

2004-02-20 Thread Thomas McGrath III
I haven't used them but isn't this the case for using the property 
profiles? I thought I read that in the docs?

Switch master profiles based upon language chosen. set up properties 
for each language and fill things up from there.

TOm

On Feb 19, 2004, at 12:33 PM, Benoit Leraillez wrote:

  Hi,

  I'm a beginner with Revolution (used other things in the past for
interface dev) but decided to use it since it corresponds exactly to 
what I
need for a cross-platform product prototype. My code maybe not the 
finest or
the most elegant but it basically does what it is supposed to do up to
now ;-)

  Now here is the problem I'm up to:

- The first card let's the user select the language interface for the 
rest
  of the stack. I know how to change on the fly the texts on that card 
to
  the user's selection from the scrolling list field. But I haven't 
found
  a way to store that selection so that every text field on every card
  displays text in the correct language (LanguageChoice is a global 
variable
  defined in the stack script in open stack and modified in the 
language
  selection script).

  Since I defined the variable as global up in the stack I don't 
understand
why it doesn't apply to every card and field. Maybe there is another 
way to
do this?

  (On top of that the ideal for me would be to have a hidden card 
containing
a table where each column would be a language and each row a field's 
content
since I could then keep simpler code in the text fields and probably 
import
and export the translations to work on it elsewhere than in Revolution.
First I've got to figure out how to put content of cell
(LanguageChoice,3) of field FullText of card Translation into 
field
Headline but I think I'll try to figure that out on my own before 
coming
here again ;-)

  TIA for any help.

P.S. Oh! Just one more thing, is there a way to have an image put in 
such
away that it appears in every cards at the same place when you create 
a new
card? And if you modify that image you don't have to copy and paste 
hundreds
of times? It ain't a priority but it would be cool ;-)

--
Benoît Leraillez
Nous n'avons pas les moyens d'acheter bon marché.

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

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] Cross Mac Platform Text Editing

2004-02-20 Thread SimPLsol
Rob,
Perhaps I'm going at this the wrong way but I think the problem must be 
related to the transfer. In the last couple years I've repeatedly moved from OS X 
to classic to OS 9 on the same computer and had no trouble opening AppleWorks 6 
docs and Microsoft Word docs in any of the three platforms, created in any of 
the three platforms. Of course straight text files might be another issue, I 
have no experience there.
Apple has apparently still not decided what to do with creator codes (and the 
entire resource fork, for that matter). Currently in OS X the creator code 
(if one exists) gets precedence over the file extension (if one exists).
I am surprised moving the file by CD did not work.
Just a note, on the file transfer problems I mentioned previously with flash 
cards stripping the resource fork; I did find transfers from OS 9 to OS X 
worked better than transfers made the other way. 
OS X also includes invisible files with file transfers (like ds_store) which 
become visible in OS 9. This is a real nightmare when you create automatic 
loading plugins in OS X and transfer them to OS 9 (Revolution will try to load 
the now visible ds_store as one of the plugins).
Hope some of this helps you.
Paul Looney
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] UnixCal - Mac OS X only

2004-02-20 Thread Yves COPPE
Le 20 févr. 04, à 08:12, Sarah Reichelt a écrit :

I found out that the FreeBSD basis for OS X includes a Terminal app 
called calendar, that reads a set of calendar files buried deep in the 
system. They are mainly lists of things that happened on this day.. or 
public holidays, as well as a few funny groups like dates of major 
events in the Lord of the Rings!

Anyway, I decided it would be fun to have a Revolution front-end to 
display this data, since I wasn't going to wade through the Terminal 
every day to check it! If anyone is interested, both the app and the 
stack file are available at: http://www.troz.net/

This is Mac OS X only, and I haven't tested it on anything other than 
10.3.2 but it is possible that it would run on Unix/Linux if they have 
the calendar files and they are stored in the same folders. If anyone 
proves or disproves this, please let me know.

Have fun,

Fantastic..

Greetings.

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


Re: Does anyone actually USE the Animation Builder?

2004-02-20 Thread Christopher Mitchell
Devin,

This is a known issue on  bugzilla and hopefully it will be fixed soon. 
 I also think this is an OSX only thing, because the animation I was 
testing with (similar to the one in the tutorial) played back smoothly 
on Windows.

see bugs 333 and 1178.  These should probably be combined.  I think 
Kevin submitted both from me, but 333 is assigned and should be 
sufficient.

Chris

Yours,
Chris
On Feb 20, 2004, at 10:31 AM, Devin Asay wrote:
All,

I'm trying to figure out why animations built in the Animation Builder 
perform so miserably once you've left the AB environment. I've 
searched the archives and have found several queries on this subject, 
but no one seems to know the answer.

Specifically, if you create an animation in the AB it plays back 
smoothly as long as you are in that environment. But as soon as you 
close the Animation Builder window and try to play back the animation 
using revPlayAnimation, the playback is jerky, jumpy and generally 
unacceptable. This behavior does not improve when you compile the 
stack as a standalone executable.

So back to my original question: Can animations created in the 
Animation Builder actually be used in applications, or is the AB just 
a fun toy to play around with?

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] Cross Mac Platform Text Editing

2004-02-20 Thread Alex Rice
Rob,
step 1: get a real text editor. TextEdit and SimpleText are toys.
Instead use Emacs, BBEdit, SubethaEdit, XCode, ... something

--
Alex Rice | Mindlube Software | http://mindlube.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: revGoURL and https://

2004-02-20 Thread Jim MacConnell
 however, if I try to launch an https:// address, the browser never launches.

It works fine for me using Safari as default browser...
OS 10.2.8  Rev 2.1.2

Jim
-- 
James H. MacConnell
Consensus Technology
http://www.consensustech.com
**

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


Re: Does anyone actually USE the Animation Builder?

2004-02-20 Thread Judy Perry
Hi Devin,

I use it in the brief animation module I present for my course, along with
flip-frame style animation/set the loc of style animation, and the really
old, clunkier-still, creditmaker that makes scrolling credits.

But, no, I haven't really had much success with it (the Animation Builder)
either.  Clunky playback.  As you say, fine within the builder itself but
later playback seems awful.  Changing FPS seems not to help.

But we're using Macs (OS 9).

HTH,

Judy

On Fri, 20 Feb 2004, Devin Asay wrote:

 Thanks for the replies.

 I tried those things; adjusting frames per second doesn't smooth things
 out, setting 'alwaysBuffer' to true or false has no effect. Bottom line
 is that animations play smoothly enough in the Animation Builder, but
 once you're out of it, playing back the animation with
 revPlayAnimation, performance is jumpy and jerky. I'm on a Dual 2 GHz
 G5 running Panther and Rev 2.1.2. But I have seen this same behavior on
 all Macs I've tried, running OS 9 and X and dating back to Rev 1.X.

 Has anyone successfully used these animations? Does it work better
 under Windows?

 Devin

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


Re: Does anyone actually USE the Animation Builder?

2004-02-20 Thread Devin Asay
Okay, I got my hands on a Windows machine running Rev 2.1 under Win 
2000. The animations run reasonably well outside of the Animation 
Builder, so this appears to be a Mac (PPC?) issue. Can anyone else 
confirm that this works okay under Windows?

Devin

On Feb 20, 2004, at 9:31 AM, Devin Asay wrote:

All,

I'm trying to figure out why animations built in the Animation Builder 
perform so miserably once you've left the AB environment. I've 
searched the archives and have found several queries on this subject, 
but no one seems to know the answer.

Specifically, if you create an animation in the AB it plays back 
smoothly as long as you are in that environment. But as soon as you 
close the Animation Builder window and try to play back the animation 
using revPlayAnimation, the playback is jerky, jumpy and generally 
unacceptable. This behavior does not improve when you compile the 
stack as a standalone executable.

So back to my original question: Can animations created in the 
Animation Builder actually be used in applications, or is the AB just 
a fun toy to play around with?

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Scrolling a Card?

2004-02-20 Thread Jim Carwardine
I had a heck of a time with this and didn't satisfactorily solve it.  Every
time I opened the stack, the group resized even though I had locked the
location.  I tried setting the rect of the stack and the rect of the group
on preOpenStack just to get the scroll bars to work and it still doesn't
work... I have a row of buttons that is wider than the card so I grouped
them, resized the group to be within the card rect and locked the location.
Some of the buttons have thumbnail pictures on them that reference an
external jpeg file.  Maybe that's what's confusing the group... I don't
know... Jim

on 2/20/04 2:04 AM, Jeanne A. E. DeVoto wrote:

 At 10:43 AM +0900 2/20/2004, Doug Lerner wrote:
 This is still confusing to me. If the location size of the group is the same
 as the window size then where are controls in the group that you want to
 scroll and see? Do you place them outside the rectangle of the card?
 
 That's right: they're outside the window boundaries, so scrolling
 brings them into view. (Or they're larger than the window boundaries:
 for example, if you want to scroll around a large image in a small
 window, the image will be bigger than the window is.)

-- 

OYF is... Highly resourceful people working together.
http://www.OwnYourFuture-net.com

Own Your Future Consulting Services Limited,
1959 Upper Water Street, Suite 407, Halifax, Nova Scotia. B3J 3N2
Info Line: 902-823-2477, Phone: 902-823-2339. Fax: 902-823-2139



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


Add own handlers/scripts to default set

2004-02-20 Thread Kevin




What steps must I take in order to add handlers I create to the default/standard 
library? 

Kevin


___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Multilingual apps (was: Re: Beginners global variable pb)

2004-02-20 Thread Graham Samuel
On Fri, 20 Feb 2004 13:25:25 +0100, Leraillez Benoit [EMAIL PROTECTED] 
wrote:

 The basic idea here is that, instead of having a hidden card, you
 have sets of custom properties for each card - one set for each
 language - to hold the correct text for that card.
  Ok but if I need to change texts because my translations are incorrect or
if I add a new language, in a table I just add a column containing the texts
and the whole stack is translated with a new language or I just import a tab
separated new version and the errors are all corrected without having to go
thru every card and finding the field properties by hand. Am I right?
Yes, I think you have a point there. I agree that if one is to have texts 
in other languages, chances are that there will be errors, and/or the whole 
set of texts will have to be created by a non-programmer. A real example I 
have is for an educational application written with English in mind having 
to be used in a Welsh-speaking environment. I'm not a Welsh-speaker, so I 
need to be able to give my list of original texts to an outside person as a 
text file, and get back a line-by-line translation in Welsh. I then need a 
rapid and tidy way of getting the Welsh text back into my application. IMHO 
I could only get all this data into Custom Property sets either by placing 
all the text strings by hand in many different objects and cards or by 
writing a kind of special interpreter that would take the text file and 
manipulate it appropriately according to the exact structure and use of all 
the custom props; either option seems a convoluted way to go about things - 
but YMMV. My own preferred option is to go for a simplified manual approach 
where every string that needs to be changed according to language is set in 
one particular handler ('setUpParameters'), and I simply read the Welsh (or 
whatever) text file into a text editor and paste each line directly into 
the Transcript code, all in one concentrated place in the app. This is 
crude but in fact works rather well.

Just my 2 eurocents

Graham

---
Graham Samuel / The Living Fossil Co. / UK  France  

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


Re: Scrolling a Card?

2004-02-20 Thread J. Landman Gay
On 2/20/04 12:53 PM, Jim Carwardine wrote:

I had a heck of a time with this and didn't satisfactorily solve it.  Every
time I opened the stack, the group resized even though I had locked the
location.
I helped someone with a similar problem once, and it turned out he 
hadn't really locked the group. He'd locked the objects inside the 
group. Make sure you have selected the actual group itself and set its 
lockloc to true. Then save the stack so the property setting will stick.

With a properly-locked group, I have never seen a failure.

--
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: Does anyone actually USE the Animation Builder?

2004-02-20 Thread Christopher Mitchell
Devin,

Did you see my reply?  This is a known issue in bugzilla, and it is a 
Mac problem.

Yours,
Chris
On Feb 20, 2004, at 12:37 PM, Devin Asay wrote:
Okay, I got my hands on a Windows machine running Rev 2.1 under Win 
2000. The animations run reasonably well outside of the Animation 
Builder, so this appears to be a Mac (PPC?) issue. Can anyone else 
confirm that this works okay under Windows?

Devin

On Feb 20, 2004, at 9:31 AM, Devin Asay wrote:

All,

I'm trying to figure out why animations built in the Animation 
Builder perform so miserably once you've left the AB environment. 
I've searched the archives and have found several queries on this 
subject, but no one seems to know the answer.

Specifically, if you create an animation in the AB it plays back 
smoothly as long as you are in that environment. But as soon as you 
close the Animation Builder window and try to play back the animation 
using revPlayAnimation, the playback is jerky, jumpy and generally 
unacceptable. This behavior does not improve when you compile the 
stack as a standalone executable.

So back to my original question: Can animations created in the 
Animation Builder actually be used in applications, or is the AB just 
a fun toy to play around with?

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University
___
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: Panther upgrade wrecks stack bindings

2004-02-20 Thread Jeanne A. E. DeVoto
At 3:40 PM -0500 2/20/2004, Jim Lyons wrote:
I am not a happy camper today. After upgrading to Panther last 
night, and being disappointed by a number of other OT things, now 
double-clicking my stacks won't launch my latest version (2.1.2) of 
Revolution. (Dragging them to the Rev icon or
[Jim tried various things]

Can any fellow mac types out there help me straighten this mess out? Thanks...
Try this:

1. Pick a stack, any stack, then select it and choose Get Info.

2. In the Open With section of the Get Info window, choose Other 
from the popup menu and locate 2.1.2.

3. Click the Change All button below the popup menu.

This has worked for me to straighten OS X's confused mind out. ;-)
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Panther upgrade wrecks stack bindings

2004-02-20 Thread Toma Tasovac
did u try selecting a .rev file, invoking the info palette (apple-I), 
selecting Revolution 2.1.2 under open with and making sure you 
pressed the Change All... button as well?

On Feb 20, 2004, at 9:40 PM, Jim Lyons wrote:

I am not a happy camper today. After upgrading to Panther last night, 
and being disappointed by a number of other OT things, now 
double-clicking my stacks won't launch my latest version (2.1.2) of 
Revolution. (Dragging them to the Rev icon or opening from Rev still 
works fine.) After the upgrade, they launched the 2.0 version I still 
had in the applications folder instead. I tried resaving a stack under 
the new version, but double-clicking that stack still launched the old 
version. So I put the old version in the trash and tried it again. 
This time I got an unexpected error dialog and no launch at all. 
Then I tried control-clicking a stack and choosing Revolution 2.1 from 
the Open With... menu; that worked, so I quit and tried 
double-clicking again. Now it wants to start up the OS9 environment 
and launch the fat version of 2.1!

I restarted the system hoping that would straighten things out. Well, 
now a few stacks have the normal Rev icon and do open 2.1 -- all of 
them are downloaded stacks. All the stacks I made and saved with 2.1 
(and a few other downloaded stacks) now have the fat icon and they 
want to run MacOSFat version under Classic when double-clicked. 
Argh!!!

Can any fellow mac types out there help me straighten this mess out? 
Thanks...

Jim Lyons  8^(

___
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: Panther upgrade wrecks stack bindings

2004-02-20 Thread Thierry Arbellot
Hi Jim,

I don't know yet about Panther, but you can try this (it works with 
Jaguar) :

select a stack which extension is rev
open the contextual menu (control-click)
select get info
expand open with
select the Rev app you want to open with
click Change all button
Hope it helps.

Regards.

Thierry.

On Friday, Feb 20, 2004, at 21:40 Europe/Paris, Jim Lyons wrote:

I am not a happy camper today. After upgrading to Panther last night, 
and being disappointed by a number of other OT things, now 
double-clicking my stacks won't launch my latest version (2.1.2) of 
Revolution. (Dragging them to the Rev icon or opening from Rev still 
works fine.) After the upgrade, they launched the 2.0 version I still 
had in the applications folder instead. I tried resaving a stack under 
the new version, but double-clicking that stack still launched the old 
version. So I put the old version in the trash and tried it again. 
This time I got an unexpected error dialog and no launch at all. 
Then I tried control-clicking a stack and choosing Revolution 2.1 from 
the Open With... menu; that worked, so I quit and tried 
double-clicking again. Now it wants to start up the OS9 environment 
and launch the fat version of 2.1!

I restarted the system hoping that would straighten things out. Well, 
now a few stacks have the normal Rev icon and do open 2.1 -- all of 
them are downloaded stacks. All the stacks I made and saved with 2.1 
(and a few other downloaded stacks) now have the fat icon and they 
want to run MacOSFat version under Classic when double-clicked. 
Argh!!!

Can any fellow mac types out there help me straighten this mess out? 
Thanks...

Jim Lyons  8^(

___
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: Scrolling a Card?

2004-02-20 Thread Ken Norris
Howdy,

I've had the scrolling working since Ken ray posted the steps.

Now I want to simulate a grab (OH, do I ever wish Rev had a 'grab with
message within rect') which scrolls the group, including the scrollbars to
follow it, of course.

It's quite convoluted, because it needs to:

1) Work within scroll bounds (4 scroll coordinates).

2) Work backwards from a normal grab routine because of the way the scroll
works.

3) Switch cursors.

4) Work only while the mouse is down.

Where might a set of map-grabbing routines be which might help (maps are
usually bigger than the window)?

Has anyone done what I'm talking about? I've been fiddling with it for hours
and can't quite get it. Something is always wrong, either in my max/min
routine, or the cursor offset. My pore ole brain's in a twist.

Maybe there's an easier way I don't know about.

TIA,
Ken N.


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


Re: Panther upgrade wrecks stack bindings

2004-02-20 Thread Jim Lyons
Just about two minutes ago I wrote:

I am not a happy camper today. After upgrading to Panther last night, 
and being disappointed by a number of other OT things, now 
double-clicking my stacks won't launch my latest version (2.1.2) of 
Revolution. (Dragging them to the Rev icon or opening from Rev still 
works fine.) After the upgrade, they launched the 2.0 version I still 
had in the applications folder instead. I tried resaving a stack under 
the new version, but double-clicking that stack still launched the old 
version. So I put the old version in the trash and tried it again. 
This time I got an unexpected error dialog and no launch at all. 
Then I tried control-clicking a stack and choosing Revolution 2.1 from 
the Open With... menu; that worked, so I quit and tried 
double-clicking again. Now it wants to start up the OS9 environment 
and launch the fat version of 2.1!

I restarted the system hoping that would straighten things out. Well, 
now a few stacks have the normal Rev icon and do open 2.1 -- all of 
them are downloaded stacks. All the stacks I made and saved with 2.1 
(and a few other downloaded stacks) now have the fat icon and they 
want to run MacOSFat version under Classic when double-clicked. 
Argh!!!
How many times have you found the answer right after posting the 
question? This is more than once for me...  Anyway, the solution was to 
go to one of the stacks with the fat icon, do Get Info and change the 
Open With... selector to Revolution, and then click the Change All 
button. Even though the icons remained fat, double-clicking now 
launches my old friend Rev 2.1 under OS X. After restarting, the icons 
resumed their normal appearance. Whew! Hope this saves someone else 
some grief...

Jim Lyons

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


Re: Panther upgrade wrecks stack bindings

2004-02-20 Thread Ian Wood
Select one of the incorrectly launching stacks in the Finder, and press 
Apple-I to get the info panel up.  Under 'Open with:' you should be 
able to choose Rev 2.1.2 as the default app for that file.  Then click 
on 'Change All' and after a dialog box (Do you really want to do this?) 
all your stacks should now open in 2.1.2.  You can do the same for 
other file types, e.g. forcing all tiffs to open in Photoshop.

Ian

On 20 Feb 2004, at 20:40, Jim Lyons wrote:

I am not a happy camper today. After upgrading to Panther last night, 
and being disappointed by a number of other OT things, now 
double-clicking my stacks won't launch my latest version (2.1.2) of 
Revolution. (Dragging them to the Rev icon or opening from Rev still 
works fine.) After the upgrade, they launched the 2.0 version I still 
had in the applications folder instead. I tried resaving a stack under 
the new version, but double-clicking that stack still launched the old 
version. So I put the old version in the trash and tried it again. 
This time I got an unexpected error dialog and no launch at all. 
Then I tried control-clicking a stack and choosing Revolution 2.1 from 
the Open With... menu; that worked, so I quit and tried 
double-clicking again. Now it wants to start up the OS9 environment 
and launch the fat version of 2.1!

I restarted the system hoping that would straighten things out. Well, 
now a few stacks have the normal Rev icon and do open 2.1 -- all of 
them are downloaded stacks. All the stacks I made and saved with 2.1 
(and a few other downloaded stacks) now have the fat icon and they 
want to run MacOSFat version under Classic when double-clicked. 
Argh!!!

Can any fellow mac types out there help me straighten this mess out? 
Thanks...

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


Re: Add own handlers/scripts to default set

2004-02-20 Thread Dar Scott
On Friday, February 20, 2004, at 12:07 PM, Kevin wrote:

What steps must I take in order to add handlers I create to the 
default/standard library?
On approach (mentioned recently, I think by Jeanne) is to use a trivial 
plugin that adds a library or adds a backscript.  Look at the plugin 
options and you will see that you can assign it to run at start and 
even be invisible.

For all I know there might be a plugin out there that looks for such 
libraries in a special folder or looks at its list and does that.

There are always little things I use all the time and I'm always having 
to add them to a stack I'm working on.  It would be nice to add them to 
Dar's World.  I can use this, too.

Dar Scott

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


Re: [OT] Cross Mac Platform Text Editing

2004-02-20 Thread Rob Cozens
Is there a recommended cross Mac platform text editor?

 A Revolution field
Once again you provide an excellent solution, Richard!

Works like a charm, and is now incorporated into the SDB Tools plugin 
that will be the focal point of the next release of Serendipity 
Library.

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.net/who.htm
And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee.
from The Triple Foole by John Donne (1572-1631)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Com ports

2004-02-20 Thread Ken Norris
Howdy,

I didn't get an answer before, so I'm still hoping...

How can I query to find out if a Com port has a modem?

Ken N.

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


Re: Com ports

2004-02-20 Thread Peter T. Evensen
Just guessing, but if you send at to the port and get back an ok that 
should indicate you have a modem attached...

At 03:45 PM 2/20/2004, you wrote:
Howdy,

I didn't get an answer before, so I'm still hoping...

How can I query to find out if a Com port has a modem?

Ken N.

___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
Peter T. Evensen
http://www.PetersRoadToHealth.com
24-hour recorded info hotline: 1-800-624-7671 

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


Re: Does anyone actually USE the Animation Builder?

2004-02-20 Thread Devin Asay
Okay, my bad. I've got to finally bite the bullet and establish my 
bugzilla account. Would've saved myself a ton o' time.

Thanks, Chris

Devin

On Feb 20, 2004, at 12:59 PM, Christopher Mitchell wrote:

Did you see my reply?  This is a known issue in bugzilla, and it is a 
Mac problem.


Devin Asay
Humanities Technology and Research Support Center
Brigham Young University
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Scrolling a Card?

2004-02-20 Thread Klaus Major
Hi Ken,

Howdy,

I've had the scrolling working since Ken ray posted the steps.

Now I want to simulate a grab (OH, do I ever wish Rev had a 'grab with
message within rect') which scrolls the group, including the 
scrollbars to
follow it, of course.

It's quite convoluted, because it needs to:

1) Work within scroll bounds (4 scroll coordinates).

2) Work backwards from a normal grab routine because of the way the 
scroll
works.

3) Switch cursors.

4) Work only while the mouse is down.

Where might a set of map-grabbing routines be which might help (maps 
are
usually bigger than the window)?

Has anyone done what I'm talking about? I've been fiddling with it for 
hours
and can't quite get it. Something is always wrong, either in my max/min
routine, or the cursor offset. My pore ole brain's in a twist.

Maybe there's an easier way I don't know about.
Try this in the group script.

I might cover item 2, 4 and (with two more lines in mousedown ;-) 3 
of your wishlist.

I am not sure if i understand item 1, but this one will get you 
started...

local darfziehen, x1, y1
## darfziehen = german for maydrag
on mousedown
  put true into darfziehen
  put the hScroll of group xxx  + the mouseH into x1
  put the vScroll of group xxx + the mouseV into y1
end mousedown
on mouseup
  put empty into darfziehen
end mouseup
on mouserelease
  mouseup
end mouserelease
on mousemove x,y
  if darfziehen = empty then exit mousemove
  set the hScroll of group xxx to x1 - x
  set the vScroll of group xxx to y1 - y
end mousemove
Hope that helps...

TIA,
Ken N.
Regards

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


revcopyfile: preserve file modification date/time

2004-02-20 Thread James . Cass
What is the best way to preserve file modification date/time  when copied 
to a Windows 2000 server?

I need to preserve the modification date when a file is copied from a 
user's local MacOSX (10.2.x) to a Windows 2000 server.  By default, 
revcopyfile does not preserve the mod date.  The copy of the file has a 
mod date/time of when it was copied. 

I found a work-around by using CpMac -p, and it worked great for a 
while, preserving the mod date/time, but then for some reason, it started 
making the copied file's mod date/time be when it was copied.  And then it 
started working fine again, and now it's back to misbehaving.  So I tried 
using ditto -rsrcFork (ditto --rsrc in Panther), which works great in 
Panther, but in Jaguar I get a file name too long on files whose name is 
longer than 8 characters (violating 8.3).

Thanks in advance,
James

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


Re: Scrolling a Card?

2004-02-20 Thread Ken Norris
Howdy,

Can someone please show me how to reverse this line, i.e., make it progress
instead of regress?

put max(gMinHscroll,min(gMaxHscroll,x-gOffsetH)) into gXmove

TIA,
Ken N.

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


Re: Does anyone actually USE the Animation Builder?

2004-02-20 Thread Rob Cozens
I also think this is an OSX only thing,
It's generic to all Mac OS version, AFAIK.
--
Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.net/who.htm
And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee.
from The Triple Foole by John Donne (1572-1631)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Multilingual apps (was: Re: Beginners global variable pb)

2004-02-20 Thread Rob Cozens
My own preferred option is to go for a simplified manual approach 
where every string that needs to be changed according to language is 
set in one particular handler ('setUpParameters'), and I simply read 
the Welsh (or whatever) text file into a text editor and paste each 
line directly into the Transcript code, all in one concentrated 
place in the app. This is crude but in fact works rather well.
Graham, et al:

My approach is to load the entire text file into a library field when 
changing languages, and to load that text field into a library local 
variable when the library is put in use.

Each one-line message in the file is referenced as a constant, eg:

constant sdbFileMenu=1
constant sdbEditMenu=2
constant sdbIOError=3
constant sdbQuitMenuItem=4
constant sdbOKTranslated=113
Scripts retrieve the messages via a function call: sdbMessage, along 
the lines of

function sdbMessage(messageLineNumber)
local sdbMessages
return line messageLineNumber of sdbMessages
end sdbMessage
So my handlers look something like:

on preOpenStack
  set the name of button 1 of group Stack Menubar to sdbMessage(sdbFileMenu)
  set the text of button 1 of group Stack Menubar to 
sdbMessage(sdbQuitMenuItem)
end preOpenStack

on menuPick thePick
  put sdbMessage(sdbQuitMenuItem) into quitMe
  switch thePick
case quitMe
  quit
  break
  end switch
end menuPick
on displayError errorDetail
  beep
  answer error sdbMessage(sdbIOError):errorDetail with 
sdbMessage(sdbOKTranslated)
  exit to top
end display error

So handler text is never changed and the message is resolved AT 
RUNTIME either when a new message file is loaded into the library or 
at startup when necessary (eg: for standalones).

With the exception of the fact that each constant must be declared in 
every script that references it, I find this approach effective  
straightforward.

AND, as I alluded to above, since no script changes need occur, your 
application can be distributed in one version supporting any 
(single-byte character) language without modificationincluding 
languages not supported in the original distribution.  Viola! your 
application can be translated by any user with a text editor.

There are examples of this in virtually all components of Serendipity 
Library http://www.oenolog.net/ftp/serendipity_downloader.htm.
--

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.net/who.htm
And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee.
from The Triple Foole by John Donne (1572-1631)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Scrolling a Card?

2004-02-20 Thread Christopher Mitchell
Klaus,

Could you please explain under what circumstances this handler would 
require to be explicitly declared?  This seems like something implicit 
to the engine, and if not handled reliably then how many other things 
need to be re-defined?

Yours,
Chris
On Feb 20, 2004, at 4:17 PM, Klaus Major wrote:
on mouserelease
  mouseup
end mouserelease
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Scrolling a Card?

2004-02-20 Thread Dar Scott
On Friday, February 20, 2004, at 04:39 PM, Ken Norris wrote:

put max(gMinHscroll,min(gMaxHscroll,x-gOffsetH)) into gXmove
I can only guess what you are doing.  My guess:

put max(gMinHscroll,min(gMaxHscroll, -(x-gOffsetH) )) into gXmove

Dar Scott

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


Re: Add own handlers/scripts to default set

2004-02-20 Thread Rob Cozens
What steps must I take in order to add handlers I create to the 
default/standard library?
Hi Kevin,

It depends...

If your handlers provide additional functionality to the Developer's 
environment, placing them in the script of a stack and placing that 
stack in the Revolution Plugin folder might do.

If your handlers are called during runtime by one or more standalones 
and/or stacks, Revolution expects you to create a library stack of 
your own, place your handlers in that stack's script, and add logic 
to the other stacks that use your library to issue a startup command 
to start using the library.

As an additional option, one can place the handlers in the script of 
a control, and then place that script in the frontStacks or 
backStacks.
--

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.net/who.htm
And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee.
from The Triple Foole by John Donne (1572-1631)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: revcopyfile: preserve file modification date/time

2004-02-20 Thread Rob Cozens
What is the best way to preserve file modification date/time  when copied
to a Windows 2000 server?
Hi James,

The detailed version of the files function returns, among other 
things, the modification dates for each file in the defaultFolder. 
So one needs to:

A.  Save the defaultFolder if it needs restoration
B   Set the defaultFolder to the folder containing the file
C.  Get the detailed files
D.  Parse the list to find the line for the file*
E.  Get the date as item 5 of that line
F.  Restore original defaultFolder, if necessary
*Note in step D that the file's name is returned URL-encoded.

Now you have the modification date.  How you get the Windows server 
to retain or reset that date is beyond my scope of experience.
--

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.net/who.htm
And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee.
from The Triple Foole by John Donne (1572-1631)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: save dialogue stuck

2004-02-20 Thread Friedrich F. Grohmann
Regarding the possible causes of my problem Marian kindly pointed out, 
no, I don't use the App Browser here. I opened it once when I began to 
work on the stack under Rev to verify the composition of the background, 
and it took what felt like minutes to display the innards finally. I 
thought it might have to do with the number of cards. Since then, I've 
saved myself the time and nerves and abstain from taking recourse to the 
App Browser with this particular project.

As to the question of the save being only slow or really hung, it would 
suppose it has finished, at least judging from the change of of cursor 
and the last line displayed in the window.

Fritz



On Feb 21, 2004, at 0:05 AM, Marian Petrides wrote:

I have not encountered this problem, but I have found that in a stack 
with LOTS of objects on each card if I have the application browser 
open it takes a very long time for me to be able to go from the arrow 
selection cursor (select a text field to unlock it) to the grabber hand 
(to edit the text in the field).   If I close the Application Browser 
window, poof things go back to their normal speedy pace.

Is the App Browser window open when you try to save?  Have you tried 
closing it?  Maybe that will speed things up--assuming that the save 
isn't actually hung, just excrutiatingly slow.

M
On Feb 20, 2004, at 10:58 AM, Friedrich F. Grohmann wrote:


 What irritates me a little bit is that the Save ... screen gets quite
 often stuck. The cursor turns into a hand and no clicking helps to 
 remove
 the window. I have to save again. Both screens will overlap for some 
 time
 and then disappear as expected. What could be the reason for this
 annoying behaviour? How could it be avoided?

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


simple local variable question

2004-02-20 Thread Christopher Mitchell
Howdy,

I'm declaring some local variables at the top of a card script that I 
need to use in several handlers... here is a simplified recipe question 
that will help me understand why I'm not able to access the values I'm 
assigning to them:

--card script begins here

local rotAngle
put 20 into rotAngle
on mouseUp
   answer rotAngle
end mouseUp
--

My question is, why does this not put up an answer dialog with 20 in 
it? the dialog that comes up is empty.

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


Re: save dialogue stuck

2004-02-20 Thread J. Landman Gay
On 2/20/04 6:48 PM, Friedrich F. Grohmann wrote:

As to the question of the save being only slow or really hung, it would 
suppose it has finished, at least judging from the change of of cursor 
and the last line displayed in the window.
You mentioned this was a fairly large stack, as Rev goes. 5,500 cards is 
pretty much the limit in Rev. A stack this size will normally take a 
while to save. I've also noticed that sometimes you have to move the 
cursor outside the window and back again before it will redraw, so the 
shape you see may not always tell you what the actual state is. Try 
moving the mouse to check, before resorting to a second save.

Since this is an imported HC stack, there may be other problems too. It 
is very important to compact the stack in HC at least twice in a row 
before importing it to Revolution, especially one this large. If the 
stack was not thoroughly compacted before import, there could be lots of 
extraneous junk in there that is slowing down the save process in Rev. 
This seems a likely culprit to me.

I know you've already put a lot of work into this, so you may not want 
to go back and do it all over. If you're feeling ambitious though, you 
could thoroughly compact in HC, open the stack in Rev, change its name 
temporarily (so that you can open your original import at the same time) 
and then copy/paste scripts from the older copy into the new one. See if 
it saves faster.

Finally, try setting the HCAddressing property to false. You don't need 
it in Rev. I don't really think this will make all that much difference, 
but I usually do it anyway. It does affect some aspects of stack 
behavior sometimes, and you don't need it to be true when working in 
Revolution.

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


Re: revcopyfile: preserve file modification date/time

2004-02-20 Thread James Cass
Thanks for all the help.  The folder where the file is has thousands of 
files, and getting files details is just way too slow.  However, I 
think I've found a work-around.  On http://www.macosxhints.com, I found 
a reference to a terminal command called SetFile.  It's available 
here (/Developer/Tools/SetFile) after you install Developer Tools.  Try 
a man SetFile at the Terminal for more info.

To change the modification date of a file just do this:  SetFile -m 
8/4/2001 16:13 myFile
To change the creation date of a file just do this:  SetFile -d 
8/4/2001 16:13 myFile

I just tested this and I can change the modification date/time for a 
file on a Windows 2000 Server where I do not have admin privileges, so 
this might do the trick.  I won't know for certain until I test it on a 
user's machine.

Thanks again for the advice...James



On Feb 20, 2004, at 7:57 PM, Christopher Mitchell wrote:

I would almost suggest that saving an internal modification timestamp 
and retrieving it as necessary might be easier than forcing any given 
system to hack its own awareness of the last modification time of a 
file.  I would definitely be interested in hearing how to set Windows 
mod dates though if it is possible.

Yours,
Chris
On Feb 20, 2004, at 5:26 PM, Rob Cozens wrote:
What is the best way to preserve file modification date/time  when 
copied
to a Windows 2000 server?
Hi James,

The detailed version of the files function returns, among other 
things, the modification dates for each file in the defaultFolder. So 
one needs to:

A.  Save the defaultFolder if it needs restoration
B   Set the defaultFolder to the folder containing the file
C.  Get the detailed files
D.  Parse the list to find the line for the file*
E.  Get the date as item 5 of that line
F.  Restore original defaultFolder, if necessary
*Note in step D that the file's name is returned URL-encoded.

Now you have the modification date.  How you get the Windows server 
to retain or reset that date is beyond my scope of experience.
--

Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.net/who.htm
And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee.
from The Triple Foole by John Donne (1572-1631)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Immediate/Compile Time Execution for USING library STACKS

2004-02-20 Thread Chipp Walters
Kevin,

You might want to check out the scriptLimits function. You can't run 
outside scripts longer than 10 lines from a standalone.

-Chipp



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


Re: simple local variable question

2004-02-20 Thread Christopher Mitchell
However, that is contrary to the documentation for the local command:

You create a script local variable by using the local command in a 
script, outside any handlers in the script.
(pasted from transcript dictionary)

So I'm still not convinced that it must be in a handler, or if so then 
the documentation is misleading.

Yours,
Chris
On Feb 20, 2004, at 7:20 PM, Phil Davis wrote:
- Original Message -
From: Christopher Mitchell [EMAIL PROTECTED]
To: How to use Revolution [EMAIL PROTECTED]
Sent: Friday, February 20, 2004 4:55 PM
Subject: simple local variable question

Howdy,

I'm declaring some local variables at the top of a card script that I
need to use in several handlers... here is a simplified recipe 
question
that will help me understand why I'm not able to access the values I'm
assigning to them:

--card script begins here

local rotAngle
put 20 into rotAngle
on mouseUp
answer rotAngle
end mouseUp
--

My question is, why does this not put up an answer dialog with 20 in
it? the dialog that comes up is empty.


It comes up empty because nothing can ever cause 'rotAngle' to be set. 
Any
executable code not inside a handler can never be executed.

Phil Davis


Thanks,
Chris
___
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: simple local variable question

2004-02-20 Thread Christopher Mitchell
Dar,

This seems to have helped.  Evidently although the script local 
variables are declared outside handlers, the put assignment is not 
evaluated so they must be initialized in the declaration if they need 
initial values.  If they were all dynamic values perhaps declaring at 
the top then immediately following with a set of initialization 
assignments in cardOpen.

Thanks very much.

Yours,
Chris
On Feb 20, 2004, at 7:21 PM, Dar Scott wrote:
On Friday, February 20, 2004, at 05:55 PM, Christopher Mitchell wrote:

--card script begins here

local rotAngle
put 20 into rotAngle
on mouseUp
   answer rotAngle
end mouseUp
--
Does this help?
--card script begins here
local rotAngle = 20

on mouseUp
   answer rotAngle
end mouseUp
--

See About... the structure of a script in the doc.

My question is, why does this not put up an answer dialog with 20 
in it? the dialog that comes up is empty.
Another question might be why doesn't the compiler complain.  I have 
gotten the impression is that this is for some legacy code in which 
people hide data in scripts for some reason.

Dar Scott

___
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: simple local variable question

2004-02-20 Thread Christopher Mitchell
er, or openCard rather...

On Feb 21, 2004, at 12:44 AM, Christopher Mitchell wrote:

Dar,

This seems to have helped.  Evidently although the script local 
variables are declared outside handlers, the put assignment is not 
evaluated so they must be initialized in the declaration if they need 
initial values.  If they were all dynamic values perhaps declaring at 
the top then immediately following with a set of initialization 
assignments in cardOpen.

Thanks very much.

Yours,
Chris
On Feb 20, 2004, at 7:21 PM, Dar Scott wrote:
On Friday, February 20, 2004, at 05:55 PM, Christopher Mitchell wrote:

--card script begins here

local rotAngle
put 20 into rotAngle
on mouseUp
   answer rotAngle
end mouseUp
--
Does this help?
--card script begins here
local rotAngle = 20

on mouseUp
   answer rotAngle
end mouseUp
--

See About... the structure of a script in the doc.

My question is, why does this not put up an answer dialog with 20 
in it? the dialog that comes up is empty.
Another question might be why doesn't the compiler complain.  I have 
gotten the impression is that this is for some legacy code in which 
people hide data in scripts for some reason.

Dar Scott

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


RE: simple local variable question

2004-02-20 Thread Phil Davis
Sorry for the confusion. You're absolutely correct about being able to
declare a local variable outside any handlers. I was mentally segregating
declarative code statements...

  local rotAngle

... into a different category than non-declarative (imperative?) code
statements, which have no way (AFAIK) of being executed apart from a
handler...

  put 20 into rotAngle

I could be wrong, but that's my understanding. My motto: When in doubt,
test! Test results are often misunderstood, but they never lie!  :o)

Phil Davis


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Christopher
 Mitchell
 Sent: Friday, February 20, 2004 10:35 PM
 To: How to use Revolution
 Subject: Re: simple local variable question


 However, that is contrary to the documentation for the local command:

 You create a script local variable by using the local command in a
 script, outside any handlers in the script.
 (pasted from transcript dictionary)

 So I'm still not convinced that it must be in a handler, or if so then
 the documentation is misleading.

 Yours,
 Chris
 On Feb 20, 2004, at 7:20 PM, Phil Davis wrote:

  - Original Message -
  From: Christopher Mitchell [EMAIL PROTECTED]
  To: How to use Revolution [EMAIL PROTECTED]
  Sent: Friday, February 20, 2004 4:55 PM
  Subject: simple local variable question
 
 
  Howdy,
 
  I'm declaring some local variables at the top of a card script that I
  need to use in several handlers... here is a simplified recipe
  question
  that will help me understand why I'm not able to access the values I'm
  assigning to them:
 
  --card script begins here
 
  local rotAngle
  put 20 into rotAngle
 
  on mouseUp
  answer rotAngle
  end mouseUp
 
  --
 
  My question is, why does this not put up an answer dialog with 20 in
  it? the dialog that comes up is empty.
 
 
  It comes up empty because nothing can ever cause 'rotAngle' to be set.
  Any
  executable code not inside a handler can never be executed.
 
  Phil Davis
 
 
 
  Thanks,
  Chris
 
  ___
  use-revolution mailing list
  [EMAIL PROTECTED]
  http://lists.runrev.com/mailman/listinfo/use-revolution
 

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

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


Re: Scrolling a Card?

2004-02-20 Thread Ken Norris
Hi Klaus,

 Date: Fri, 20 Feb 2004 23:17:45 +0100
 From: Klaus Major [EMAIL PROTECTED]
 Subject: Re: Scrolling a Card?

 Try this in the group script.
 
 I might cover item 2, 4 and (with two more lines in mousedown ;-) 3
 of your wishlist.
 
 I am not sure if i understand item 1, but this one will get you
 started...
 
 
 local darfziehen, x1, y1
 ## darfziehen = german for maydrag

:-)  I wonder what the root for that is.

Anyway, danke schoen. I'll see if I can plug some of it into the max/min
bounding handler. I have to keep the scroll in bounds of the hScroll/vScroll
limits because of the scrollbars.

Ken N.

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


Re: Scrolling a Card?

2004-02-20 Thread Dar Scott
On Saturday, February 21, 2004, at 12:19 AM, Ken Norris wrote:

Something is causing it to snap to the topleft of the scroll when I 
start to
move it, which it wasn't doing when it was going the wrong way. Will 
take a
little more study to figure out why.
I'm having trouble guessing what you are doing.  Are you adjusting the 
location of a group with the card group?  Are you setting the scroll on 
the card group?

Dar Scott

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