Re: Apple scriptable standalones

2004-11-21 Thread Tomas Franzén
On 2004-11-20, at 22.52, Andre Garzia wrote:
i theory to get your rev apps to be applescriptable is damn easy, all 
you need is ResEdit (carbon)or some xml editor and plist knowledge.
You need to create an AETE entry in your resource fork,[etc]
Right. I made a tutorial for doing this. It's meant for SuperCard 
though, so there might be a few differences in the way the app handles 
the events.
http://tom.lightheadsw.com/supercard/tutorial1/

Tomas Franzén
Lighthead Software
http://www.lightheadsw.com/
I'm listening to Jon Brion - Strange Bath
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re[2]: RegEx Help--Across Lines

2004-11-21 Thread thierry
Hi,

 where the first instance has no line break but the second one does

KR Use the (?s) directive:

Where is all the information we need to use fully RegExp in Rev ?
any tutorial, any Faq ?
it would be very useful ... at least for me :-)

Best regards, thierry



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


check if a property exists...

2004-11-21 Thread thierry
Hi,

Is there a simple way to know if
a property already exists ?

the test has to be done independently of the value
of the property, as an existing property with an empty
value is all right.

Best regards, thierry


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


Re: check if a property exists...

2004-11-21 Thread Jan Schenkel
--- thierry [EMAIL PROTECTED] wrote:
 Hi,
 
 Is there a simple way to know if
 a property already exists ?
 
 the test has to be done independently of the value
 of the property, as an existing property with an
 empty
 value is all right.
 
 Best regards, thierry
 

Bonjour Thierry,

Have a look at the 'customKeys' function :
--
if uMyCustomProp is among the lines of the
customKeys of button foobar then ...
--

Hope this helped,

Jan Schenkel.

=
Join us at the European Revolution Conference
November 14-16, MALTA. ~ http://TechieTours.com/Rev/

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



__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 

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


Re[2]: check if a property exists...

2004-11-21 Thread thierry
Hi,

 Is there a simple way to know if
 a property already exists ?

JS Have a look at the 'customKeys' function :
JS --
JS if uMyCustomProp is among the lines of the
JS customKeys of button foobar then ...

Ach ! too simple :-)

JS Hope this helped,

Sure it helps !

JS Jan Schenkel.

Best regards, thierry



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


Mathewson's problem and his MSc Thesis

2004-11-21 Thread Mathewson
A big thanks to Chipp Walters: that will sort out my image
resize problem!

However; if it sorted out MY PROBLEM I wouldn't still be
saying Hi There to trees and awarding knighthoods to
dogs.

I would like to reiterate that my Thesis will be on my
website 10/11 Dec. because; frankly; the University of
Abertay course I am on is the most substandard stuff I have
ever come across in my life (and that is saying a lot) and
I am not particularly interested in their opinions of my
work (!!!): BUT I am interested in the opinions of expert
xTalk programmers - i.e. those of you at the sharp end of
matters - The thesis is really the culmination of about 15
years of thought and work with educational software
development in 5 countries thinly disguised as a 'now'
project.

Sincerely, Richmond Mathewson

__
See Mathewson's software at:

http://members.maclaunch.com/richmond/default.htmland
http://www.runrev.com/Revolution1/developercentral/usercontributions.html
___
---
The Think Different Store
http://www.thinkdifferentstore.com/
For All Your Mac Gear
---
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Revolution Comment

2004-11-21 Thread Mathewson
Re Ken Ray's remark about a WRAPPER for RR:

This is the whole thrust of my MSc thesis - unfortunately
the prototype 'Wrapper' I have written presently weighs in
at a hefty 25 MB.

While the theoretical background is all there in the thesis
the best solution would be to let any RR-ers who are
interested to have a copy of my prototype to pull apart,
play with, and criticise. There are some problems that
stand in the way of this:

1.  I requested help from RR with this development and
(after about 6 weeks) recieved some very vague promises
that have never materialised.

2.  RR do very nicely thank you by appropriating people's
idea that are offered FREE on thi list and elsewhere and
then charging us all for them - this doesn't seem entirely
fair.

3.  I would be more than happy to release my prototype
under some type of open source agreement - but how I make
sure RR don't get their rapacious commercial paws on it I
just don't know!!!

4.  My website can only hold 3 MB of stuff so I would need
someone to offer me space to upload the prototype to.

The prototype has largely been designed using RR 2.0.1
(last 'FREE' version) but has now (last week) been
hived-off so it can function both with RR and MC.

The prototype abandons the WIMP-GUI (!!!) and uses a
decision-tree structure to guide end-users through an
Object-Point/Click GUI - it hides the standard
MAC/WIN/LINUX desktop and menu structure; blocks access to
directories and so forth - my focus group consists of
primary teachers who can, just about, type a letter in MS
office and nothing else - with the wrapper they can
negotiate with the virtual personality to build a software
item for content delivery and reinforcement merely by
clicking on decision buttons and typing the odd word here
and there..

Sincerely, Richmond Mathewson

__
See Mathewson's software at:

http://members.maclaunch.com/richmond/default.htmland
http://www.runrev.com/Revolution1/developercentral/usercontributions.html
___
---
The Think Different Store
http://www.thinkdifferentstore.com/
For All Your Mac Gear
---
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Re[2]: RegEx Help--Across Lines

2004-11-21 Thread Troy Rollins
On Nov 21, 2004, at 6:07 AM, thierry wrote:
Where is all the information we need to use fully RegExp in Rev ?
All the information? All over the place. But Ken sited a great resource 
- http://www.prce.org/man.txt

RegEx is implemented in many languages, and most of them don't try to 
reinvent the documentation for it - only how their own implementation 
differs from the norm. Now that... I'm not sure exists in one place, 
either.

any tutorial, any Faq ?
It is a pretty huge topic. Look at matchText in the Rev docs, and check 
out the link above... combine the two mentally, and you pretty much 
have it, I guess. Just seems to be how documenting RegEx goes...
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net

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


Re: Re[2]: RegEx Help--Across Lines

2004-11-21 Thread Klaus Major
Hi Ken and Troy,
On Nov 21, 2004, at 6:07 AM, thierry wrote:
Where is all the information we need to use fully RegExp in Rev ?
All the information? All over the place. But Ken sited a great 
resource - http://www.prce.org/man.txt
Hmmm, 404 file not found on this site: Pregnancy Resource Center East = 
www.prce.org

OK i am not pregnant right now, but would like to know something about 
RegEx... ;-)

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


RE: Revolution Comment

2004-11-21 Thread MisterX
Ken Said

 True. But you have a very good suggestion - perhaps someone (RunRev or
 otherwise) will come up with a wrapper to Revolution which 
 will do that.
 
 Ken Ray

Are you refering to Alain Farmer's OpenCard initiative?

Haven't heard from him in a while!

Cheers
Xavier

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


return versus \n

2004-11-21 Thread thierry
Hi,

someone has a clue for this little problem ?

i wanted to do that :

local lToken = aText  return

but it seems we can just affect a direct value, not and expression
so this works better :

local lToken = aText\n

but, as i used this lToken to communicate via sockets
the two are differents; why ?

so ,if i do :
local lToken

[...]
on xxx
put aText  return into lToken


this works !!!


? what i'm missing ?

So, what alternative do we have to define a string inside quotes
so the local lToken = aText\what2putHere could work as the script
above ?

Best regards, thierry


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


Re: Re[2]: RegEx Help--Across Lines

2004-11-21 Thread Martin Baxter
Hi Ken and Troy,


 On Nov 21, 2004, at 6:07 AM, thierry wrote:

 Where is all the information we need to use fully RegExp in Rev ?

 All the information? All over the place. But Ken sited a great
 resource - http://www.prce.org/man.txt

Hmmm, 404 file not found on this site: Pregnancy Resource Center East =
www.prce.org

OK i am not pregnant right now, but would like to know something about
RegEx... ;-)

Any hints?


Regards

Klaus Major

I think it was meant to be,

http://www.pcre.org/man.txt

transpose rc for cr as in:
Perl Compatible Regular Expressions

Martin



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


Re[4]: RegEx Help--Across Lines

2004-11-21 Thread thierry
Hi,


TR On Nov 21, 2004, at 6:07 AM, thierry wrote:

 Where is all the information we need to use fully RegExp in Rev ?

TR All the information? All over the place. But Ken sited a great resource 
TR - http://www.prce.org/man.txt

See Klaus answer :-)
ps: looking , at the picture from you in Malta...
you obviously do not look like being pregnant ...

TR RegEx is implemented in many languages, and most of them don't try to 
TR reinvent the documentation for it - only how their own implementation 
TR differs from the norm. Now that... I'm not sure exists in one place, 
TR either.

Well, so Revlution RegEx works accordingly to the RegEx reference ?
is this the answer ? i'm quite surprised.

 any tutorial, any Faq ?

TR It is a pretty huge topic. Look at matchText in the Rev docs, and check 
TR out the link above... combine the two mentally, and you pretty much 
TR have it, I guess. Just seems to be how documenting RegEx goes...

Ok, i have missed the Tip at the end of the matchText doc;
i just check the Regular expression in the Doc which is very poor...
that's why the trouble :-(

Here is the Tip for everyone :

  Tip:  Revolution implements regular expressions
  compatible with the PCRE library.
  For detailed information about regular expression
  elements you can use with this function,
  see the PCRE manual at http://www.pcre.org/man.txt.

  i will try this just now !
  
Best regards, 
thierry

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


Re[4]: RegEx Help--Across Lines

2004-11-21 Thread thierry
Hi,

MB Perl Compatible Regular Expressions

MB Martin

Thanks a lot :-)

Perl compatible; ha ha, i just got it !

when i have the time, i will take the quintessence of
the Perl Doc about Reg Ex and try to make a little doc;

Anyone interested ?

Best regards, 


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


Re: Command - C does not work

2004-11-21 Thread Roger Guay
Thanks, Mark but this solution doesn't work for me . . . unless I 
misunderstand what you mean by view the Edit menu???

On Nov 21, 2004, at 2:56 AM, [EMAIL PROTECTED] 
wrote:

Message: 6
Date: Sat, 20 Nov 2004 12:43:26 -0800
From: Mark Wieder [EMAIL PROTECTED]

View the Edit menu from the menubar. You don't need to select
anything, just open it and then close it. That initializes something
in the menu handler and from that point on the Command-C keyboard
equivalent should work.
--
-Mark Wieder
 [EMAIL PROTECTED]
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Command - C does not work

2004-11-21 Thread Roger Guay
X,
I don't have anything on my Mac that looks line ins or insert.  
Good idea on scripting something up front, though.  I'll give that a 
try.

Cheers, Roger
On Nov 21, 2004, at 2:56 AM, [EMAIL PROTECTED] 
wrote:

Message: 8
Date: Sat, 20 Nov 2004 22:17:16 +0100
From: MisterX [EMAIL PROTECTED]
Subject: RE: Command - C does not work
To: 'How to use Revolution' [EMAIL PROTECTED]
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;   charset=us-ascii
with control-ins, if that works on macs too (might be command-ins), 
you dont
need to call the menubar, ever. But it only works for text!

If your menubar has a copy hotkey in it's edit menu, it should work 
though.

But hey, Im working on xos which can do this, and I guess a simple
frontscript like
on controlkey
end controlkey
will do the job...
I'll script up HotKeyN2O tomorow
to see if that fixes the problem.
Good night!
X
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: return versus \n

2004-11-21 Thread Dar Scott
On Nov 21, 2004, at 9:40 AM, thierry wrote:
So, what alternative do we have to define a string inside quotes
so the local lToken = aText\what2putHere could work as the script
above ?
There is a suggestion submitted to allow simplification of constant 
expressions such as your first attempt.  I don't know of any effort 
there.

The problem with the backslash in a constant or literal or local-init 
is that it is just that, a backslash.  However it is translated in the 
format function.  So you can do this:

  write format(ltoken)...
A special syntax note about format():  The parsing of a literal format 
string allows backslash quoting of quotes in this context.

Dar

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: Command - C does not work

2004-11-21 Thread MisterX
There's already a new story im about to announce on monsieurx.com, just
putting in the finishing touches.

One limitation, it doesn't work for everything (controls in edit mode). Im
working on an update and a better integration api to RR's edit menu which is
already well fitted so it always works no matter what. Read the read me...

Cheers
Xavier 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Roger Guay
 Sent: Sunday, November 21, 2004 18:19
 To: [EMAIL PROTECTED]
 Subject: Re: Command - C does not work 
 
 X,
 
 I don't have anything on my Mac that looks line ins or insert.  
 Good idea on scripting something up front, though.  I'll give 
 that a try.
 
 Cheers, Roger
 
 
 On Nov 21, 2004, at 2:56 AM, [EMAIL PROTECTED]
 wrote:
 
  Message: 8
  Date: Sat, 20 Nov 2004 22:17:16 +0100
  From: MisterX [EMAIL PROTECTED]
  Subject: RE: Command - C does not work
  To: 'How to use Revolution' [EMAIL PROTECTED]
  Message-ID: [EMAIL PROTECTED]
  Content-Type: text/plain;   charset=us-ascii
 
  with control-ins, if that works on macs too (might be command-ins), 
  you dont need to call the menubar, ever. But it only works for text!
 
  If your menubar has a copy hotkey in it's edit menu, it should work 
  though.
 
  But hey, Im working on xos which can do this, and I guess a simple 
  frontscript like
 
  on controlkey
 
  end controlkey
 
  will do the job...
 
  I'll script up HotKeyN2O tomorow
  to see if that fixes the problem.
 
  Good night!
  X
 
 ___
 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: Standard Images

2004-11-21 Thread James Spencer
On Nov 20, 2004, at 11:15 PM, J. Landman Gay wrote:
On 11/20/04 3:12 PM, James Spencer wrote:
OK, one last stupid question and I'll have this thing beat.  My 
button icons are all working fine but what aren't are icons for the 
answer dialogs: generally I've called for answer question My 
prompt? with Yes or No but it doesn't matter if the iconType 
parameter passed to answer is question, information, or nothing.  I 
get a good icon when I run the app in the RR environment but nothing 
as a standalone.  Any guesses?
Sounds like the images aren't getting copied over to the standalone; 
what happens if you specifically set the gRevAppIcon to an existing 
image in the stack (just for testing)?
Actually, if I had bothered to read the documentation (although I will 
take the opportunity to once again whine about the crappy nature of the 
documentation; you have to be an absolute mind reader to find things), 
with reference to gRevAppIcon and gRevSmallAppIcon, it really answers 
my question.  As you guessed, it appears that the standard RR icons are 
not copied over.  Interestingly, I haven't been able to get them to 
copy over even if I make a button that uses one of them as the icon (I 
was going to just use standard RR icons for this quick and dirty app 
but it appears that is not easily possible).  But I can set these 
globals to any other images in my open stacks and then things work 
fine.

Thank you again for the help.
James P. Spencer
Rochester, MN
[EMAIL PROTECTED]
Badges??  We don't need no stinkin badges!
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Creating reusable code libraries

2004-11-21 Thread gwalias-rev
Dear Revolutionaries

I have some newbie questions ...

What would be the best way in Rev. to create a
reusable code library - e.g. to do 3D mathematics?
Would I create it as a stack script in an otherwise
empty stack and then load the stack into my apps and
keep it invisible? Do all stacks have to have a
toplevel window?

I am still a little unclear on the relationship of
stacks, substacks and cards. Supposing I have created
a mainstack already - what is the difference between
adding a new card to the mainstack or adding a new
substack? Stacks and substacks both have to have at
least one main card - yes? How is the relationship of
a substack to its stack, different from that of a card
to its stack (or substack)?

How could I draw graphics with code rather than
interactively with the graphics tool? Supposing I
wanted to e.g. draw and show a contour map of a
terrain from a numerical set of coordinates and
elevations provided by a surveyor?

Can I call a function in an external library from rev.
e.g. from a windows DLL? If so, how would I do this
exactly?

Can I create and use lists (unkeyed arrays) in rev?

I believe that compiled rev. applications are using a
runtime engine - what is the performance of this
approach compared to C (at the fast end) or Java (at
the slow end)? Are some rev. features slow compared to
others? How should I use program in rev. to get the
best performance?

I also have a comment or two ...

The lack of a decent manual makes it hard to assess
how useful rev is for applications that are more than
just a GUI with some scripting in the background. The
help information and documentation seems fairly
comprehensive but rather spread around, making it hard
to find stuff unless you already know the name of the
keyword or function you're looking for. Is there
anywhere on the web where I could find a conceptual
overview of the Transcript programming language?

Revolution is potentially very interesting, but I am
really having a hard time figuring out whether it can
really do what I want it to do, so that I could stump
up the cash for it with confidence. If it's really
just a GUI builder, I cannot tell how easy it would be
to combine it with other libraries to do the beind the
scenes computation - or maybe rev. can do that for me
as well - are there any examples of more elaborate
applications out there that could shed some light on
Revolution's abilities as a general development
platform?

Sorry it's a bit long - lots to ask!

Best

Gordon

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


HotKeyN2O ready (was Command - C does not work)

2004-11-21 Thread MisterX
Hi everyone,

Here's the stack to fix part of the problems with the control-c command (or
Control for PCs) that do not working at times. Seems to work much better
already once installed - but I feel biased saying that ;)

The good news is that the plug in works nicely and does it all automatically
without any intervention. The control commands supported are the select all,
all clipboard commands incl. undo and a smart save stack command because
it's good to have handy. 

It's packaged as a nice, compact, fruity tasting and handy toolbar you can
move anywhere to copy paste stuff around with a single click. Part of my
NitrousRack PRO Editor tools coming sometime in the near future. Sorry for
the lame icons, I'll try to find something better or more OS neutral soon.

If you have already a menubar in your stack, the commands do not get
intercepted despite this stack's script being in the frontscript (it
intercepts the commandkeydown). 

This is built in the IDE. I dont know if it is a good thing or bad. However
it prevents the HotKeyN2O from interfering with the topstack's built-in edit
or save commands. So I guess it is good. If you create a default menubar in
your stack with empty clipboard handling scripts (and with the hotkey c
already defined in the menu), the command-c will not work.

When the menu dont work you can still click on the handy toolbar and avoid a
long trip to the menu bar. 

Many more possibilities like handling other menu commands, adding missing
commands, do macros, support the F1-F4 clipboard keys, etc... All this
coming if you ask for it. 

This stack is freeware and open source.

Download, screeshot and infos at
http://monsieurx.com/modules.php?name=Newsfile=articlesid=170


It doesn't work to copy controls via the plug-in buttons yet, only text
field . Im working on it! I just discovered the focusedobject command which
is quite handy but creates lots of ifs and thens and else wares...

Enjoy!
Xavier

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


Re: Creating reusable code libraries

2004-11-21 Thread Gordon Tillman
Hi Gordon,
I am fairly new to RR myself, but have been using it a lot lately and 
so I thought I would try and respond to a couple of your questions.

On Nov 21, 2004, at 11:36, [EMAIL PROTECTED] wrote:
What would be the best way in Rev. to create a
reusable code library - e.g. to do 3D mathematics?
Would I create it as a stack script in an otherwise
empty stack and then load the stack into my apps and
keep it invisible? Do all stacks have to have a
toplevel window?
This is how I do reusable code libraries.  I create a very simple stack 
with one card and one or more buttons on the card.  The button script 
contains the reusable code.

In the stack script I have handler for preopenstack and closestack.  
The preopenstack handler just inserts the  button script into the 
message path.  Here is an example.  Suppose you have a button whose 
name is exportedHandlers that lives on the card named codeLibrary.  
In the preOpenStack method you can have this:

insert the script of button exportedHandlers of card codeLibrary 
into back

In the closeStack handler you can have
remove the script of button exportedHandlers of card codeLibrary 
from back

So to use the code in the button, you just have to go invisible to 
stack name of your stack

This way the stack is responsible for inserting and deleting code - 
your other stacks that use that code library do not have to know the 
details of accessing the code.


Can I call a function in an external library from rev.
e.g. from a windows DLL? If so, how would I do this
exactly?

You cannot do this directly.  You have to write an external and from 
that external you can call whatever code you need.  I have written one 
that does CRC32 calculations and also puts an icon for any stack into 
the windows task bar so that you can keep it running faceless and 
then show it just by clicking on the icon.

The external is built for windows and for Mac OS X.  (Well, the crc32 
part works for OS X).

If you like I can post everything somewhere where you can download it.  
I used Metrowerks codewarrior to build the window's external and used 
Apple's free xtools to build the mac  external.

Regards,
Gordon (no, really!)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Revolution Comment

2004-11-21 Thread J. Landman Gay
On 11/21/04 7:02 AM, Mathewson wrote:
Re Ken Ray's remark about a WRAPPER for RR:
This is the whole thrust of my MSc thesis - unfortunately
the prototype 'Wrapper' I have written presently weighs in
at a hefty 25 MB.
While the theoretical background is all there in the thesis
the best solution would be to let any RR-ers who are
interested to have a copy of my prototype to pull apart,
play with, and criticise. There are some problems that
stand in the way of this:
1.  I requested help from RR with this development and
(after about 6 weeks) recieved some very vague promises
that have never materialised.
2.  RR do very nicely thank you by appropriating people's
idea that are offered FREE on thi list and elsewhere and
then charging us all for them - this doesn't seem entirely
fair.
3.  I would be more than happy to release my prototype
under some type of open source agreement - but how I make
sure RR don't get their rapacious commercial paws on it I
just don't know!!!
4.  My website can only hold 3 MB of stuff so I would need
someone to offer me space to upload the prototype to.
The prototype has largely been designed using RR 2.0.1
(last 'FREE' version) but has now (last week) been
hived-off so it can function both with RR and MC.
As long as we are making point-lists here, I'd like to add one of my own:
1. Newcomers to the list should know that Mr. Mathewson has never 
purchased a copy of Revolution. He has used only the legacy free 
version, and when that was discontinued, wrote perhaps the nastiest 
diatribe this list has ever seen, using the foulest of language, 
accusing RR of -- well, I'm not sure what. Trying to stay in business, I 
guess.

2. RR chooses its next feature set based in large part on what the 
community has said it most wants to see. It pulls ideas for new features 
from both this list and from the feature requests submitted to Bugzilla. 
Implementing new features takes time and money; the features are rolled 
into new versions which are released as paid upgrades. This is the same 
technique used by every commercial software company in the world.

3. If charging for upgrades is rapacious then perhaps Mr. Mathewson 
can suggest some other way for RR to pay for the programmers, rental 
space, printing, duplication and shipping costs, trade show exhibits, 
internet access, accounting and tax expenses, tech support personnel, 
computer purchases for more than a dozen platforms, and other working 
expenses that allow RR to stay in business and continue development of 
the tool that Mr. Mathewson likes to use.

4. If Mr. Mathewson feels that RR will steal his ideas, then maybe he 
needs to implement them with a different development tool -- perhaps 
something open source -- so that he can freely contribute to a different 
group of people who will, coincidentally, also use his ideas.

5. Finally, I can't offhand think of any ideas that Mr. Mathewson has 
presented which RR has stolen. Perhaps he has a list. Before 
submitting that list, he should check with Bugzilla to make sure that 
these ideas were not previously submitted as formal feature requests.

--
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: Re[2]: RegEx Help--Across Lines

2004-11-21 Thread Troy Rollins
On Nov 21, 2004, at 10:20 AM, Klaus Major wrote:
Hmmm, 404 file not found on this site: Pregnancy Resource Center East 
= www.prce.org

OK i am not pregnant right now, but would like to know something about 
RegEx... ;-)
Ooops. blame Ken, I copied from his email.  ;-P
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


[ANN] Serendipity Library Now Includes Folder Archiver

2004-11-21 Thread Rob Cozens
Hi All,
The latest update of Serendipity Library is available for download at
http://wecode.org/serendipity/.  The major change in this update is
the addition of support for compressing  decompressing folder
contents by SDB_Tools  SDB_Utilities.  This is the first update to
be delivered in SDB folder archive (.sga) format--no more need to
maintain different download bundles for different platforms (yea!).
The known bug still remains:  A decompressed Mac OSX application
bundle will not run when double-clicked.  I have checked the contents
 permissions on all components of the application bundle to no
avail.  If someone determines the cause of this bug, I will fix it;
but I'm not spending more time to investigate what's happening.
The maximum extent of my testing was to archive my Rev Build folder:
34 files in 19 folders nested up to six folders deep.  Everything
seems to decompress correctly, but OS X app bundles won't run.
I have completed the design for a drag  drop archiver/expander;
however despite Sarah's help, Jan's suggestions, and visits to
Stuffit Expander  DropStuff with ResEdit I cannot get dd on an app
icon to work as I need it to:
* The standalone only responds to Rev stacks
* The standalone opens the dropped stack whether I want it to or not
* $1 is always empty
* My trap for Apple Events yields nothing until I quit the standalone
If someone can show me a stack template for a standalone that will
respond to the drop of any file or folder on its icon by starting
_and_ passing the name of the dropped file/folder to the standalone
_without_ opening it, I can easily create a dd standalone to
compress files to .sgz archives and folders to .sga archives, and to
decompress the two archive file types.
As usual, I would like to express my thanks to,  confess my
dependence upon, my translators, Jose L. Rodriguez Illera, Terry
Vogelaar, Yves Coppé,  Klaus Major, and to Andre Garzia, whose
website is currently hosting Serendipity Library.
Enjoy!
--
Rob Cozens
I must be the change I want to see in the world.
 -- Gandhi
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Creating reusable code libraries

2004-11-21 Thread Rob Cozens
Hi Gordon ( Gordon),
Would I create it as a stack script in an otherwise
empty stack
You can, and/or you can import images into the empty stack that can 
be used by other stacks

 and then load the stack into my apps and
keep it invisible?
No: when the stack/standalone preOpens, 'start using stack 
My3DLibrary.rev'.  All handlers in the stack script of 
My3DLibrary.rev and all images imported into My3DLibrary.rev are 
now available to the stack/standalone that started using it.
--
Rob Cozens, Staff Conservator
Mendonoma Marine Life Conservancy
P.O. Box 217
Manchester, CA 95459-0217
(707) 895-2584

Promoting a healthy and bountiful offshore environment.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Standard Images

2004-11-21 Thread Stephen Barncard
Gee, I wouldn't characterize the docs as being 'crappy' - I thought 
Heather did a GREAT job.

 the only thing I hate is the 'sheet' that comes up when it can't 
find or filter something. The extra clicking to dismiss that damn 
sheet every time is REALLY ANNOYING. RevPeople, Please come up with 
some other way to tell me I'm wrong, like a simple locked field that 
shows the 'error'. I feel like I'm being punished every time.

sqb
On 11/20/04 3:12 PM, James Spencer wrote:
Actually, if I had bothered to read the documentation (although I 
will take the opportunity to once again whine about the crappy 
nature of the documentation; you have to be an absolute mind reader 
to find things), with
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Creating reusable code libraries

2004-11-21 Thread MisterX
 Dear Revolutionaries
 
 I have some newbie questions ...

Nothing is newbie, everything is a different view!

 What would be the best way in Rev. to create a reusable code 
 library - e.g. to do 3D mathematics?
 Would I create it as a stack script in an otherwise empty 
 stack and then load the stack into my apps and keep it 
 invisible? Do all stacks have to have a toplevel window?

You go it...

Open the revdocs and read up the start using stack, the library command
and eventually the frontscript and backscript. It's not much but it opens an
infinite amount of extensibility to RunRev. And these are the libraries you
seek...

 I am still a little unclear on the relationship of stacks, 
 substacks and cards. Supposing I have created a mainstack 
 already - what is the difference between adding a new card to 
 the mainstack or adding a new substack? Stacks and substacks 
 both have to have at least one main card - yes? How is the 
 relationship of a substack to its stack, different from that 
 of a card to its stack (or substack)?

Think of a stack file as a stack of cards (each with controls or pictures).
Since MetaCard, we can put a stack of cards into another without getting
them mixed as if we put in a compressed file inside another compressed file.
Independent but always handy to call.

Substacks are best used as answer dialog front end or small editor windows
for a particular case like avoiding clutter that your application can easily
call. You can simulate a file open interface or things like a list chooser. 

 How could I draw graphics with code rather than interactively 
 with the graphics tool? Supposing I wanted to e.g. draw and 
 show a contour map of a terrain from a numerical set of 
 coordinates and elevations provided by a surveyor?

You could use the graphic tools and input it data. I've done some extensive
line graphs with that. It's nice because it's editable.

But for the most part, either you will have to draw all the lines (a lot of
lines), use a paint object and paint the graphics (smaller memory footprint
but not editeable as a numeric graphic control).

Graphics can be overlapped so there's different possibilities to explore.
Most of the stuff you see done in Flash can be done in RunRev with graphics.

 Can I call a function in an external library from rev.
 e.g. from a windows DLL? If so, how would I do this exactly?

This would just like calling another handler or function. But you can't
really call any DLL like user32.dll and get some info from NT. You need to
write an external to do that and that's more complicated. There's an
external sdk but dont know where it's sitting... ftp.runrev.com for digs...
Eventually the runrev website but I doubt it. 

 Can I create and use lists (unkeyed arrays) in rev?
 
 I believe that compiled rev. applications are using a runtime 
 engine - what is the performance of this approach compared to 
 C (at the fast end) or Java (at the slow end)? Are some rev. 
 features slow compared to others? How should I use program in 
 rev. to get the best performance?
 
Speed is very acceptable. If not, you can write your own C externals to
speed things up. 80 to 90% of uses are speed optimizeable.

 I also have a comment or two ...
 
 The lack of a decent manual makes it hard to assess how 
 useful rev is for applications that are more than just a GUI 
 with some scripting in the background. The help information 
 and documentation seems fairly comprehensive but rather 
 spread around, making it hard to find stuff unless you 
 already know the name of the keyword or function you're 
 looking for. Is there anywhere on the web where I could find 
 a conceptual overview of the Transcript programming language?

Try the Dan Schaffer book or find an old HyperCard book (by Dan preferably).
they have a very nice gradual learning curve approach and get you down to
business. Otherwise, 2 weeks playing should get you far ahead just playing
with controls...

There's many other websites with help - google it or check out the many
revlinks on runrev.com. 

 Revolution is potentially very interesting, but I am really 
 having a hard time figuring out whether it can really do what 
 I want it to do, so that I could stump up the cash for it 
 with confidence. If it's really just a GUI builder, I cannot 
 tell how easy it would be to combine it with other libraries 
 to do the beind the scenes computation - or maybe rev. can do 
 that for me as well - are there any examples of more 
 elaborate applications out there that could shed some light 
 on Revolution's abilities as a general development platform?

There's many 3D and graphing examples, math stacks out there. Im working on
some myself when I get some ideas... I haven't found many limits in RunRev
that I can't code without using externals. As far as language it is awesome
and easy to maintain. GUIS are the easiest to build by far. Code is quite
fast for most uses and there's externals for the extra crunch. The rest is

Re: Standard Images

2004-11-21 Thread J. Landman Gay
On 11/21/04 11:34 AM, James Spencer wrote:
As you guessed, it appears that the standard RR icons are not 
copied over.  Interestingly, I haven't been able to get them to copy 
over even if I make a button that uses one of them as the icon (I was 
going to just use standard RR icons for this quick and dirty app but it 
appears that is not easily possible).  But I can set these globals to 
any other images in my open stacks and then things work fine.
This sounds like something that ought to go into Bugzilla. It seems to 
me that these images should get placed into standalones if ask or 
answer is used in the stack. If you don't want to submit it, let me 
know and I'll do it. Bugzilla is here:

http://support.runrev.com/bugdatabase
--
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: Re[2]: RegEx Help--Across Lines

2004-11-21 Thread Ken Ray
On 11/21/04 11:54 AM, Troy Rollins [EMAIL PROTECTED] wrote:

 
 On Nov 21, 2004, at 10:20 AM, Klaus Major wrote:
 
 Hmmm, 404 file not found on this site: Pregnancy Resource Center East
 = www.prce.org
 
 OK i am not pregnant right now, but would like to know something about
 RegEx... ;-)
 
 Ooops. blame Ken, I copied from his email.  ;-P

Whoops! Sorry about that... btw: pcre.org IS the documentation for the regex
in Rev - my understanding is that they used a third party PCRE library that
was built into Rev, so pcre.org is official, AFAIK.

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


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


re: RR Wrapper

2004-11-21 Thread Mark Wieder
Richmond-

Sunday, November 21, 2004, 5:02:39 AM, you wrote:

I suppose I should point out that I've tried checking out some of your
software before, but the web links (Supertools, links, files) are
broken, probably because of the embedded spaces in the urls (Sorry, an
internal error occurred.). And also that the userconributions web page
at the runrev site is long gone.

M See Mathewson's software at:

M http://members.maclaunch.com/richmond/default.htmland
M http://www.runrev.com/Revolution1/developercentral/usercontributions.html

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: Apple scriptable standalones

2004-11-21 Thread Mark Wieder
Klaus-

Saturday, November 20, 2004, 11:50:48 AM, you wrote:

KM ehmm, Bill wanted to use a real applescript and NOT do something as
KM applescript
KM from WITHIN his standalone...

KM Which would not really make sense, i think ;-)

Ah... I was looking at things inside out. I seem to do that a lot
lately.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Re: externals sdk

2004-11-21 Thread Mark Wieder
MisterX-

Sunday, November 21, 2004, 10:14:04 AM, you wrote:

M write an external to do that and that's more complicated. There's an
M external sdk but dont know where it's sitting... ftp.runrev.com for digs...
M Eventually the runrev website but I doubt it. 

http://support.runrev.com/resources/externals.php

-- 
-Mark Wieder
 [EMAIL PROTECTED]


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


Re: Mathewson's problem and his MSc Thesis

2004-11-21 Thread Judy Perry
Richmond,

Misery loves company.  You should have seen the substandard stuff I
recently endured for two years for my MSc.  They actually awarded the
degree WITHOUT EVER SEEING my project (as opposed to thesis). Some who
have seen it may think that that's a good thing ;-)

Can't wait to see yours...

Judy

On Sun, 21 Nov 2004, Mathewson wrote:

 I would like to reiterate that my Thesis will be on my
 website 10/11 Dec. because; frankly; the University of
 Abertay course I am on is the most substandard stuff I have
 ever come across in my life (and that is saying a lot) and
 I am not particularly interested in their opinions of my
 work (!!!):


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


RE: Revolution Comment

2004-11-21 Thread Judy Perry
Subscribe to freeGUI... We've seen some recent traffic there.

Judy

On Sun, 21 Nov 2004, MisterX wrote:

 Are you refering to Alain Farmer's OpenCard initiative?

 Haven't heard from him in a while!

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


Re: Standard Images

2004-11-21 Thread Judy Perry
While I believe that the docs could be improved (or, rather more
specifically, the additional learning materials), of course this could be
said of all things, most certainly of my own stuff as well (some of which
could well and truly be classified as 'crappy').

All the docs and learning materials are a huge improvement.  Perhaps it is
the sheer complexity of the language that makes one feel as if a
mindreader's services are necessary.

Having said that, I'd love and be willing to pay for printed docs with a
decent index. (Heck, I paid for and am still waiting for two more of Dan
Shafer's volumes, after having paid to receive a set of the original
printed docs).

I'd definitely do the learning materials docs differently (e.g., not have
a pro forma screenshot just to be able to say you included a screenshot),
but at least it's all steps in the right, that is, forward direction, no?

Judy


 On Sun, 21 Nov 2004, James Spencer wrote:

 Actually, if I had bothered to read the documentation (although I will
 take the opportunity to once again whine about the crappy nature of the
 documentation; you have to be an absolute mind reader to find things),


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


Re: RegEx Help--Across Lines

2004-11-21 Thread Mark Greenberg
There is a wonderful book called Mastering Regular Expressions by 
Jeffery E. F. Friedl that covers Regex in detail with an emphasis on 
the Perl standard.  I found it very helpful with the Regex 
implementation that we use in Transcript.

Still, there are some quirks to get used to.  For example, Regex terms 
in Rev are strings, which differs from other implementations.  Also, 
figuring what parts of the Regex will assign substrings to variables 
was, at least for me, an exercise in trial and error.

Between the book and experimenting the Message Box I've been able to do 
just about everything I attempted with Regex in Rev.

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


Re: Basic field word count question

2004-11-21 Thread Jan Schenkel
--- Salinas, Ruben (GE Healthcare)
[EMAIL PROTECTED] wrote:
 My apologies for the simplicity of the question, but
 I'm just starting out with RunRev. Question is, how
 should I create a field on a card that displays the
 word count on a second field where the user is
 writing text? I would like the first field (word
 count) to recalculate automatically every time field
 2 content changes. 
 
 Thanks in advance for the replies.
 
 Harvjag
 

Hi Harvjag,

If you only want it recalculated after all changes
have been made, you'll want to do it on closeField :
--
on closeField
  put the number of words of me into field wordcount
end closeField
--

If you want it updated as soon as the user hits a key,
the quick and dirty method would be on rawKeyDown :
--
local tUpdateFlag

on rawKeyDown
  -- check if we haven't queued an update yet
  if tUpdateFlag is not true then
send UpdateWordCount to me in 10 milliseconds
  end if
  -- let the event be handled the normal way
  pass rawKeyDown
end rawKeyDown

on UpdateWordCount
  put the number of words of me into field wordcount
  -- don't forget to update the internal flag
  put false into tUpdateFlag
end UpdateWordCount
--
The above method should cut down on the number of
updates, without the user noticing the delay.

Hope this helped,

Jan Schenkel.

=
Join us at the European Revolution Conference
November 14-16, MALTA. ~ http://TechieTours.com/Rev/

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

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


Re: Basic field word count question

2004-11-21 Thread Marian Petrides
A quick and dirty way to do this would be to include the following in 
the script of the text entry field, assuming that the field in which 
you want the work count to appear is named Word Count

On mouseWithin
  put the number of words in me into NumWords
  put NumWords into line 1 of field Word Count
end mouseWithin
Hope this helps.
Marian
On Nov 21, 2004, at 2:33 PM, Salinas, Ruben (GE Healthcare) wrote:
My apologies for the simplicity of the question, but I'm just starting 
out with RunRev. Question is, how should I create a field on a card 
that displays the word count on a second field where the user is 
writing text? I would like the first field (word count) to recalculate 
automatically every time field 2 content changes.

Thanks in advance for the replies.
Harvjag
___
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[2]: RegEx Help--Across Lines

2004-11-21 Thread thierry
Hi,

MG There is a wonderful book called Mastering Regular Expressions by 
MG Jeffery E. F. Friedl that covers Regex in detail with an emphasis on 
MG the Perl standard.  I found it very helpful with the Regex 
MG implementation that we use in Transcript.

Excellent ! thank you :-)


I've the book, but for whatever reasons ( english is not my mother tongue,
the Doc in Revolution has some lacks to find the good information,... )
i've never think that we could do so much with RegEx in Rev...

MG Still, there are some quirks to get used to.  For example, Regex terms 
MG in Rev are strings, which differs from other implementations.  Also, 
MG figuring what parts of the Regex will assign substrings to variables 
MG was, at least for me, an exercise in trial and error.

So, i'm going to dig into this and hope i will kill few dozens of script's
lines in my project.

MG Between the book and experimenting the Message Box I've been able to do 
MG just about everything I attempted with Regex in Rev.

as much as in Perl ?

MG Mark Greenberg

Best regards, thierry


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


Re: Revolution Comment

2004-11-21 Thread Jan Schenkel
--- Mathewson [EMAIL PROTECTED] wrote:
 [snip]
 
 1.  I requested help from RR with this development
 and
 (after about 6 weeks) recieved some very vague
 promises
 that have never materialised.
 
 2.  RR do very nicely thank you by appropriating
 people's
 idea that are offered FREE on thi list and elsewhere
 and
 then charging us all for them - this doesn't seem
 entirely
 fair.
 
 3.  I would be more than happy to release my
 prototype
 under some type of open source agreement - but how I
 make
 sure RR don't get their rapacious commercial paws on
 it I
 just don't know!!!
 
 4.  My website can only hold 3 MB of stuff so I
 would need
 someone to offer me space to upload the prototype
 to.
 
 [snip]
 
 Sincerely, Richmond Mathewson
 


Hi Richmond,


While I try and steer clear of this sort of mockery of
the human ability to reason in a logical fashion, I'm
getting quite fed up with the lengthy diatribes
produced by malcontents.


In Xavier's case, I agree that as he paid for the
product, he has the right to expect proper support of
the package and a quick resolution of bugs.

At the same time, having looked at a number of bug
reports that he posted through bugzilla, I have found
them confusing and hard to reproduce at times.
Nevertheless, when there's a problem, it needs to be
resolved in a professional manner, with courtesy from
both sides.

But the utter tripe that I have read above, makes me
wonder why humanity hasn't nuked itself into oblivion
yet. To quote my favourite comedian, George Carlin :
Think of how stupid the avrage person is, and then
realise that half of the people on this planet are
even more stupid.


First of all, Revolution is a commercial company with
limited resources -- they can't hold your hand 7 days
a week, 24 hours a day.

Quite frankly, had you behaved towards me in the same
fashion as you have towards them in the past, I would
have installed a rule to have your emails
automatically deleted, regardless of what gems of
information might have been stored therein.


Secondly, it is in the nature of any business, and
even more so in the IT-sector, to look at other ideas,
and learn how to aply what they do better in order to
improve your own product -- otherwise Intel users
would be stuck with DOS.

And could you please show me parts of which projects
have been 'misappropriated' to form part of the
Revolution development environment ? A lot happens in
a short time, and some of the ideas that make it into
my own products have sometimes been lingering for
years before I get around to implementing them.


Thirdly, if you're so worried about parts of your
software, which you're willing to give away for free,
getting included for all users, not just the ones with
the time to scourge the web for your particular
contributions, then who or what are you working for ?
To the benefit of all, or for the personal glory ?

Besides, if they're still available from other
origins, and they're better than the Revolution
variant, people will find it and use it -- us
programmers, we're usually a lazy bunch, which leads
us to try and find the most efficient way possible to
accomplish a task.


Fourthly, there are numerous places on the web where
you can gather space : setup a few Yahoo/Geocities
accounts, look at Freespace.com -- or heaven forbid,
try and work on a business model that allows you to
pay an ISP for hosting the files ; ever heard of
Paypal donations ?


Finally, and then I hope never to climb on this soap
box again : grow up -- nothing in life is free but
there are plenty of opportunities to make it, none of
which involve sulking in a corner like a spoiled brat
that didn't get the shiny new toy he wanted, while
hurling incoherent accusations at the people who are
trying to do their job.


Now can we all pick up our lives and jobs, and focus
on what this mailing list is about : helping other
people try and get the most out of Revolution, rather
than bitching about imperfections ?


Best regards,


Jan Schenkel.

=
Join us at the European Revolution Conference
November 14-16, MALTA. ~ http://TechieTours.com/Rev/

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



__ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 

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


Re: Understanding the Convert Command

2004-11-21 Thread Gregory Lypny
Hello Ken,
Thank you for responding to my post and offering your time function in 
Re: Calculations Involving Dates.

The problem I'm having with the Convert command adding one hour to its 
result occurs even when I turn off useSystemDate.  Go figure!

Greg
On Nov 21, 2004, at 5:56 AM, [EMAIL PROTECTED] 
wrote:

If I enter 1/10/2004 in the date field, I get Friday, October 01, 2004
3:00:00 AM, which is not 2 AM.
Greg, I don't understand why it's adding 1 hour for you... I'm in 
Wisconsin
and I tried exactly the same activities you did and I get the right 
results
(2:00 AM instead of 3:00, 11:45 pm instead of 12:45 am, etc.)

Do you get the same results if you turn off the useSystemDate?
Ken Ray
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Love

2004-11-21 Thread Thomas McGrath III
I love you guys on this list!!!
Your passion for scripting inspires me and keeps me focused on 
continuing forward with my dreams.

Thanks
Tom
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: Love

2004-11-21 Thread Thomas McGrath III
And Woman.
On Nov 21, 2004, at 3:34 PM, Thomas McGrath III wrote:
I love you guys on this list!!!
Your passion for scripting inspires me and keeps me focused on 
continuing forward with my dreams.

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

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

2004-11-21 Thread Jan Schenkel
--- Thomas McGrath III [EMAIL PROTECTED] wrote:
 I love you guys [nd gals] on this list!!!
 
 Your passion for scripting inspires me and keeps me
 focused on 
 continuing forward with my dreams.
 
 Thanks
 
 Tom
 

Hi Tom et al,

My apologies for letting myself get carried away and
actually hitting the send button. A lot of different
things culminated into my response as posted.

Revolution is a great product, and this mailing list
has been an incredible source of information -- two
items I get very passionate about.

So let's all script together and fulfill our dreams.
If anyone feels like sharing their thoughts on my
previous post, please do it privately, so this list is
no longer tainted.

Warm regards,

Jan Schenkel.

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



__ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 

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


Re: Understanding the Convert Command

2004-11-21 Thread Ken Ray
On 11/21/04 2:29 PM, Gregory Lypny [EMAIL PROTECTED] wrote:

 Hello Ken,
 
 Thank you for responding to my post and offering your time function in
 Re: Calculations Involving Dates.
 
 The problem I'm having with the Convert command adding one hour to its
 result occurs even when I turn off useSystemDate.  Go figure!

Wow! Do you have another Mac you can try? And I assume your time zone
settings, etc. in Date/Time are correct?

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


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


RE: Revolution [gracious] Comment

2004-11-21 Thread MisterX
hi all,

[turn humor scanner on]

  2.  RR do very nicely thank you by appropriating people's idea that 
  are offered FREE on thi list and elsewhere and then charging us all 
  for them - this doesn't seem entirely fair.

I just wanted to say that after much much perusing, scanning, and attempting
improving some the rev code, there's little that looks like any other
scripts I've seen in my archives or elsewhere. They even have their own
style which is remarkably clean. So, I too would like to know where you got
that idea 'coz I've proposed many ideas to Kevin, and he's still not copying
them! 

Even the RunRev GUI is quite original and well thought (altough it seems a
duplo and a non-duplo version would be welcome for newbies and experts
respectively). And while RR is still not complete as many would like, Im
glad it's opened for improvements and there's room for many utilities! 

While some ideas or concepts may be seen as copies (which never ever
happens in the computer industry ;), it doesn't mean that RunRev doesn't
listen to their customer or do their part of innovating, it's hard to avoid
not repeating someoneelses work today! Look at SCO saying Linux is a copy!
Others do it poorly, look at moft or lotus notes! Not bad products but...

Finally, there is a professional support infrastructure which the RunRev
folks definitely make good use of and give us freely to use (cryptically or
not). RunRev 2.5 wouldn't be as good as it is without it. And I didn't
mention all the gracious folks in the list that will give ya a script for
nut'n'honey!

on openpraise
Anyway, love seems the order of the new scripted comment and may the holy
license absolve you for your unregistered stacks of sins and praise you for
your good cards without yielding into the temptation of the demon bug as you
would others have do to you code... 
pass openpraise
end openpraise

For an atheist taoist infidel, that's pretty good eh? ;)

I'll just say, scripts are golden, talk is cheap...

Bonsoir a tous! Kisses to all script junkies!
Im gone develop my revving skills with 
www.RichardBurnsRally.com! Power to the slide rules!


 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Jan Schenkel
 Sent: Sunday, November 21, 2004 21:20
 To: How to use Revolution
 Subject: Re: Revolution Comment
 
 --- Mathewson [EMAIL PROTECTED] wrote:
  [snip]
  
  1.  I requested help from RR with this development and 
 (after about 6 
  weeks) recieved some very vague promises that have never 
 materialised.
  
  2.  RR do very nicely thank you by appropriating people's idea that 
  are offered FREE on thi list and elsewhere and then charging us all 
  for them - this doesn't seem entirely fair.
  
  3.  I would be more than happy to release my prototype 
 under some type 
  of open source agreement - but how I make sure RR don't get their 
  rapacious commercial paws on it I just don't know!!!
  
  4.  My website can only hold 3 MB of stuff so I would need 
 someone to 
  offer me space to upload the prototype to.
  
  [snip]
  
  Sincerely, Richmond Mathewson
  
 
 
 Hi Richmond,
 
 
 While I try and steer clear of this sort of mockery of the 
 human ability to reason in a logical fashion, I'm getting 
 quite fed up with the lengthy diatribes produced by malcontents.
 
 
 In Xavier's case, I agree that as he paid for the product, he 
 has the right to expect proper support of the package and a 
 quick resolution of bugs.
 
 At the same time, having looked at a number of bug reports 
 that he posted through bugzilla, I have found them confusing 
 and hard to reproduce at times.
 Nevertheless, when there's a problem, it needs to be resolved 
 in a professional manner, with courtesy from both sides.
 
 But the utter tripe that I have read above, makes me wonder 
 why humanity hasn't nuked itself into oblivion yet. To quote 
 my favourite comedian, George Carlin :
 Think of how stupid the avrage person is, and then realise 
 that half of the people on this planet are even more stupid.
 
 
 First of all, Revolution is a commercial company with limited 
 resources -- they can't hold your hand 7 days a week, 24 hours a day.
 
 Quite frankly, had you behaved towards me in the same fashion 
 as you have towards them in the past, I would have installed 
 a rule to have your emails automatically deleted, regardless 
 of what gems of information might have been stored therein.
 
 
 Secondly, it is in the nature of any business, and even more 
 so in the IT-sector, to look at other ideas, and learn how to 
 aply what they do better in order to improve your own product 
 -- otherwise Intel users would be stuck with DOS.
 
 And could you please show me parts of which projects have 
 been 'misappropriated' to form part of the Revolution 
 development environment ? A lot happens in a short time, and 
 some of the ideas that make it into my own products have 
 sometimes been lingering for years before I get around to 
 

RE: Understanding the Convert Command

2004-11-21 Thread MisterX
Isn't there a daytime saving controlpanel button that is
affecting this?

I tried it on my PC and both times 
give me the same time!

Maybe im in a temporal loop? 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Ken Ray
 Sent: Sunday, November 21, 2004 22:26
 To: Use Revolution List
 Subject: Re: Understanding the Convert Command
 
 On 11/21/04 2:29 PM, Gregory Lypny 
 [EMAIL PROTECTED] wrote:
 
  Hello Ken,
  
  Thank you for responding to my post and offering your time 
 function in
  Re: Calculations Involving Dates.
  
  The problem I'm having with the Convert command adding one 
 hour to its 
  result occurs even when I turn off useSystemDate.  Go figure!
 
 Wow! Do you have another Mac you can try? And I assume your 
 time zone settings, etc. in Date/Time are correct?
 
 Ken Ray
 Sons of Thunder Software
 Web site: http://www.sonsothunder.com/
 Email: [EMAIL PROTECTED]
 
 
 ___
 use-revolution mailing list
 [EMAIL PROTECTED]
 http://lists.runrev.com/mailman/listinfo/use-revolution
 

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


Re: Standard Images

2004-11-21 Thread James Spencer
On Nov 21, 2004, at 1:15 PM, Judy Perry wrote:
All the docs and learning materials are a huge improvement.  Perhaps 
it is
the sheer complexity of the language that makes one feel as if a
mindreader's services are necessary.

I disagree; I regularly write applications with Cocoa using Objective C 
and Xcode.  I'm also fairly fluent in C++ and Java and have over the 
years used a lot of different environments and languages.  Cocoa and 
Xcode have been heavily criticized for their documentation but frankly, 
they put RR's to shame.  RR's scripting language and environment are 
complex but not inordinately so.  The problem is that while the 
documents as provided are pretty good REFERENCES if you know what key 
word to look for, there is no overview or conceptual documents.  It's 
as though Apple produced Cocoa with literally nothing but the class 
library documentation.  These kinds of conceptual documentation are 
critical considering the unusual nature of the RR environment.  The 
tutorials are in the right direction but they don't cover an awful lot 
of subjects.   Dan Shafer's books also might serve this purpose if they 
are ever published and if they are available at reasonable cost (i.e. 
they should come in electronic form with the license fee).

All of this, of course, is just one person's opinion.  Please note, I'm 
not complaining just to hear myself rant.  I think RR is a great 
product, I will continue to use it and I hope it has wild success.  I 
just think it would be more successful and certainly more useful  if it 
were a little easier to step into.  It is difficult to use even for 
experienced programmers and/or those coming to RR with a HyperCard 
background.  The documentation as it exists does not make it easier.

(BTW, as an aside I join in Stephen's complaint about the sheet that 
advises that there are no matches in searching for documentation; it is 
very irritating trying to get rid of it if you manage to quickly type 
several characters past the last match).

Spence
James P. Spencer
Rochester, MN
[EMAIL PROTECTED]
Badges??  We don't need no stinkin badges!
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


OpenStack not seen when stack launches RR

2004-11-21 Thread Kaveh Bazargan
OS X 10.3.6; RR 2.5:

I have an openStack handler in the stack script. When RR is already
launched, and I launch my stack by double clicking in the Finder, the
handler is detected, and works fine. But when RR is not open, and is
launched by the double clicking the stack icon, the openStack is ignored.
Any ideas?
-- 

Kaveh Bazargan
http://www.focalimage.com/
http://www.holographer.org/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Creating reusable code libraries

2004-11-21 Thread Kaveh Bazargan
At 11:53 am -0600 21/11/04, Gordon Tillman wrote:

[...]

 What would be the best way in Rev. to create a
 reusable code library - e.g. to do 3D mathematics?
 Would I create it as a stack script in an otherwise
 empty stack and then load the stack into my apps and
 keep it invisible? Do all stacks have to have a
 toplevel window?

This is how I do reusable code libraries.  I create a very simple stack
with one card and one or more buttons on the card.  The button script
contains the reusable code.

Another alternative is the very useful Custom Property. I have one button
called scripts, and I have a custom property for each AppleScript. This
way there is just one button, and all scripts are listed nicely in the
Inspector.

For example I have a custom property called open_files. I run the script
by saying:

do open_files of btn scripts as AppleScript
-- 

Kaveh Bazargan
http://www.focalimage.com/
http://www.holographer.org/
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


ScriptLimits

2004-11-21 Thread Éric Miclo
Hello,
Does anybody know if there is a way to change the scriptLimits in a 
standalone app.
I need to be able to change scripts of objects in a stack that is part 
of a standalone app to make updates and add possibilities to it without 
releasing a new version of the stack upon each change.

Thanks for any idea,
Best regards,
ÉrIC
-- My NeXT computer will Be a Mac too! --
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: ScriptLimits

2004-11-21 Thread Ken Ray
On 11/21/04 4:08 PM, Éric Miclo [EMAIL PROTECTED] wrote:

 Hello,
 
 Does anybody know if there is a way to change the scriptLimits in a
 standalone app.
 I need to be able to change scripts of objects in a stack that is part
 of a standalone app to make updates and add possibilities to it without
 releasing a new version of the stack upon each change.

Sorry, no way to change the scriptlimits. I would suggest having your object
make simple handler/function calls and include an external (stack on disk)
library that will constitute the changes. You can then swap out the library
stack for each upgrade.

Just my 2 cents,

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


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


Speeding up RevGoURL

2004-11-21 Thread [EMAIL PROTECTED]
Hello everybody,

I'm curently testing RevGoURL in order to... launch an URL in the default 
browser. But it's realy very very slow to launch it. It can take about 3 
minutes on Windows, and a little bit less on Mac.
Is there any way to speed up that process ( no one will wait for that time 
after a clik) ? Or maybe do you know another way wich would be more 
appropriated ?

Thanks for your help,

Cordialy

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


Speeding up RevGoURL

2004-11-21 Thread gwalias-rev
Dear Aurelien

I find that the revGoURL works pretty much
instantaneously, even when I give it the URL of a
really busy site with loads of frames and graphics.

Best

Gordon

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


Re: Understanding the Convert Command

2004-11-21 Thread Gregory Lypny
Hello Ken and Mister X,
I'm pretty sure the date and time settings in OS X are correct.  I'm 
set for Montreal (EST), and both date and time are updated 
automatically over the Internet (Apple Americas).  However, a daylight 
savings time problem would explain the problem I'm seeing since we are 
now in standard time.  It seems as if the Convert command is drawing on 
some system information that is telling it to use daylight savings 
time, which is pushing the result one hour ahead.  There is no System 
Preference setting that I can find that enables or disables daylight 
savings time; I believe that is automatic in Macs based on the location 
(e.g., Saskatchewan is on standard time year round) and time zone 
information.  Sigh...

Greg
On Nov 21, 2004, at 4:49 PM, Ken Ray wrote:
Wow! Do you have another Mac you can try? And I assume your time zone
settings, etc. in Date/Time are correct?
On Nov 21, 2004, at 4:49 PM, Mister X wrote:
Isn't there a daytime saving controlpanel button that is
affecting this?
I tried it on my PC and both times
give me the same time!
Maybe im in a temporal loop?
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Multi-line Button Names

2004-11-21 Thread Sarah Reichelt
 set the label of btn upload  to
(Upload cr to cr  Siddhi)
any reason for cr instead of return?
Pure lazyness, i think...
At least that's why i use it all the time ;-)
I know that Rev's CR does not give the standard CR character (ASCII 13) 
but I prefer the use of CR instead of return in string handling because 
return is used to sand back a value from a handler or function and I 
don't like having the same keyword mean two things in the same handler.

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


Re: Standard Images

2004-11-21 Thread James Spencer
On Nov 21, 2004, at 12:16 PM, J. Landman Gay wrote:

As you guessed, it appears that the standard RR icons are not copied 
over.  Interestingly, I haven't been able to get them to copy over 
even if I make a button that uses one of them as the icon (I was 
going to just use standard RR icons for this quick and dirty app but 
it appears that is not easily possible).  But I can set these globals 
to any other images in my open stacks and then things work fine.
This sounds like something that ought to go into Bugzilla. It seems to 
me that these images should get placed into standalones if ask or 
answer is used in the stack. If you don't want to submit it, let me 
know and I'll do it. Bugzilla is here:

http://support.runrev.com/bugdatabase
I'm glad to submit it; I just wanted to be sure that it is in fact a 
bug before doing so.

It does appear that there is fact some kind of significant bug here.  I 
jumped the gun in saying things work fine if I set the globals to 
existing images.  The large icon will appear correctly in answer 
dialogs if the iconType is omitted but for the other types, which in OS 
X  should badge a standard icon with the small app icon, only the small 
icon is appearing, correctly located where the badge should be, but 
without the large standard icon.  The latter is not appearing, just a 
blank space.

Going along with this is the question of what the fields in the 
standalone settings for OS X mean.  I could swear that I saw somewhere 
(either an archived message or in the docs or a Bugzilla report) that 
one should be able to set gRevAppIcon and gRevSmallAppIcon in the 
dialog.  I can't find the source of that idea but certainly the 
language of the labels in the dialog, i.e. Icons to display on ask and 
answer dialogs would seem to indicate this.  However, it doesn't work 
for me.  If I want any icons at all in my answer dialogs in the 
standalone, I need to have the image somewhere in my application and 
need to explictly set the globals.

Whatever, unless someone here tells me that I'm screwing up (admittedly 
even with RR's bugs, that this is my own foolishness is a more likely 
prospect) I'll submit it to Bugzilla shortly.  I'm just surprised no 
one has complained about this if it is a bug.

Spence
James P. Spencer
Rochester, MN
[EMAIL PROTECTED]
Badges??  We don't need no stinkin badges!
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Command - C does not work

2004-11-21 Thread Sarah Reichelt
Command - C has stopped working for me in Rev 2.2.  Command - V still 
works to paste objects, but I am forced to use Copy under the File 
menu to copy objects.  Any ideas are greatly appreciated.

Go to Rev's Preferences and click the Reset preferences to defaults 
button. For some reason this restores the shortcuts to the menus.

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


Re: Speeding up RevGoURL

2004-11-21 Thread Ken Ray
On 11/21/04 4:42 PM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:

 Hello everybody,
 
 
 
 I'm curently testing RevGoURL in order to... launch an URL in the default
 
 browser. But it's realy very very slow to launch it. It can take about 3
 
 minutes on Windows, and a little bit less on Mac.
 
 Is there any way to speed up that process ( no one will wait for that time
 
 after a clik) ? Or maybe do you know another way wich would be more
 
 appropriated ?

That's *really* slow... I've never had it take more than a few seconds. What
is your platform, browser, and hardware (processor, memory, etc.) like?


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


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


Re: Apple scriptable standalones

2004-11-21 Thread Sarah Reichelt
I haven't tried this but I think that when you send an AppleScript 
command to your application, it creates an AppleEvent message with 
class = misc and ID = dosc. If you have an AppleEvent handler in 
your heirarchy, it can check for dosc events, use request 
appleEvent to find out what data is being sent, and then do the 
script. As Klaus suggested, the command sent should be the name of a 
handler in your message hierarchy, preferably in the mainStack's stack 
script.

However this doesn't help with an AppleScript dictionary. Looking in 
the application bundle for Apple's Mail, I see several files that look 
promising. They have extensions of scriptSuite and 
scriptTerminology and are pList files i.e. XML. You would have to 
examine the structure to work out how to construct your own dictionary 
for your app.

Cheers,
Sarah
On 20 Nov 2004, at 6:04 pm, william griffin wrote:
Out of curiosity I decided to build a standalone and see
what effects Applescript could have on it.
Script edit gave me an error as soon as I compiled this:
tell application iGame3d
do script quit
end tell
So I went looking for the dictionary and there was none.
How does one provide a dictionary for a rev standalone?
I went digging through it in the revolution application folder
and package but no clue can be found.
Mr Bill
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Creating reusable code libraries

2004-11-21 Thread Sarah Reichelt
I am still a little unclear on the relationship of
stacks, substacks and cards. Supposing I have created
a mainstack already - what is the difference between
adding a new card to the mainstack or adding a new
substack? Stacks and substacks both have to have at
least one main card - yes? How is the relationship of
a substack to its stack, different from that of a card
to its stack (or substack)?
A stack FILE can contain one or more stacks.
The first stack in the file is called the mainStack.
A stack can also be considered to be a window.
If you make new cards in a stack, you can only display them one at a 
time, If you want to display more than one card at a time, then you 
need more than one stack.
Apart from that, the relationship between cards and sub-stacks is 
basically the same - messages pass from cards to their stack and from 
sub-stack's cards to their stack to the main stack.

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


Re: Creating Stack via script help?

2004-11-21 Thread Sarah Reichelt
On 20 Nov 2004, at 4:02 pm, J. Landman Gay wrote:
I usually use create card rather than clone. I suppose this is 
personal preference, but it seems cleaner to me. A newly created card 
will automatically include the background (provided the group's 
backgroundBehavior is set to true,) so unless you need to copy over 
specific card properties, create works fine. If you've set up a 
bunch of card properties that you want to retain though, then cloning 
is one way to carry them over and you could use that instead. Another 
(possibly preferable) way to set up card properties is by setting 
properties in the templatecard before creating new cards.

Using create card rather than clone can be really important if you 
are using groups. I recently rescued a stack for someone when it was 
taking about 7 seconds to go to the next card with no apparent messages 
in the way. The stack had over 400 cards and it was a data stack with 
each card containing the same objects. Although the objects were mostly 
in groups (2 groups per card) they were not set as background groups 
and the cards had all been made using the clone command.

The main effect of this was that there were over 800 separate groups in 
the message passing hierarchy which seemd to be what was delaying 
everything! The stack size was over 21 MB, loading  saving took for 
ever and it was really unresponsive.

By re-building the stack with just 3 background groups and using 
create card to make the cards, I got the stack size down to 1.9 MB 
(after importing all the data) and with the normal instant response 
times to clicks and arrow keys.

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


Reaching last card in stack based on countdown timer

2004-11-21 Thread Salinas, Ruben (GE Healthcare)
I would like to code a timer that runs through a specified time, while the user 
is answering multiple choice questions (for a timed quiz). If the timer reaches 
zero, regardless of where the user is on the quiz (what question he /she is 
on), the application will automatically shut down and take the user to the 
final card where he/she will be presented with a score. Can you guys give me 
some ideas on how to code that timer and make it a global variable so I can 
continuously show it at the top of each question card?

Thanks in advance...

Harvjag

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


Re: Reaching last card in stack based on countdown timer

2004-11-21 Thread Sarah Reichelt
You want the send in time command.
When your quiz starts, store the seconds in a global variable (I called 
it gStartTime in the script below) and put the maximum number of 
seconds (I used 60 below) into your timer field. Then have a line 
saying:
send timerUpdate to field Timer in 1 second

In the script for field Timer have this:
on timerUpdate
  global gStartTime
  put 60 - (the seconds - gStartTime) into timeRemaining
  if timeRemaining = 0 then
put 0 into me
go to last card
  else
put timeRemaining into me
send timerUpdate to me in 1 second
  end if
end timerUpdate
Make the Timer field part of a group placed on each card and with it's 
sharedText set to true so it shows the same data on each card.

Cheers,
Sarah
[EMAIL PROTECTED]
http://www.troz.net/Rev/
On 22 Nov 2004, at 10:32 am, Salinas, Ruben (GE Healthcare) wrote:
I would like to code a timer that runs through a specified time, while 
the user is answering multiple choice questions (for a timed quiz). If 
the timer reaches zero, regardless of where the user is on the quiz 
(what question he /she is on), the application will automatically 
shut down and take the user to the final card where he/she will be 
presented with a score. Can you guys give me some ideas on how to code 
that timer and make it a global variable so I can continuously show it 
at the top of each question card?

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


Saving stacks with long file names

2004-11-21 Thread Scott Morrow
Hello good folks,
I'm stumped on how to save a stack file that has been read into a 
standalone application (and edited) if the stack file has a file name 
in excess of 30 characters (including any invisible extension.)  I've 
read that the limit is 32 characters but my testing is showing the 
limit is 30 characters for some reason. The filename is read in 
correctly but trying to save the file always results in can't open 
stack backup file and the creation of a backup stack with a truncated 
name and without the changes.  I suspect there really is a way to 
manage this without making the user rename the file before opening it, 
but I've not found it.  Can anyone point me in the right direction?  
OSX 10.3.6 / Rev 2.5 (build 2) Enterprise
Many thanks,
Scott Morrow

Elementary Software
(Now with 20% less chalk dust !)
web http://elementarysoftware.com/
email   [EMAIL PROTECTED]
-
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: some EuroRevCon photos

2004-11-21 Thread Mark Wieder
Re:

s Kevin Miller - Dave Cragg - Alex Tweedly
s http://EZPZapps.com/ERC_photos/km_dc_at.JPG

Kevin - That is absolutely the *smallest* sword I have ever seen...

-- 
-Mark Wieder
 [EMAIL PROTECTED]

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


Reaching last card in stack based on countdown timer

2004-11-21 Thread Salinas, Ruben (GE Healthcare)
Thank you, Sarah... One question, though... where would I place the send 
timerUpdate to field Timer in 1 second line. In what object's script?

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


Re: Reaching last card in stack based on countdown timer

2004-11-21 Thread Sarah Reichelt
On 22 Nov 2004, at 12:28 pm, Salinas, Ruben (GE Healthcare) wrote:
Thank you, Sarah... One question, though... where would I place the 
send timerUpdate to field Timer in 1 second line. In what object's 
script?

In the script of the button that starts the quiz.
Sarah
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: HotKeyN2O ready - final (was Command - C does not work)

2004-11-21 Thread MisterX
I've uploaded the 1.1 version of this toolbar.

It now copies, pastes controls or text from the script editor too.

Next version will paste an image into a text field as if it was natural!

 http://monsieurx.com/modules.php?name=Newsfile=articlesid=170

Cheers
Xavier 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of MisterX
 Sent: Sunday, November 21, 2004 18:43
 To: 'How to use Revolution'
 Subject: HotKeyN2O ready (was Command - C does not work)
 
 Hi everyone,
 
 Here's the stack to fix part of the problems with the 
 control-c command (or Control for PCs) that do not working at 
 times. Seems to work much better already once installed - but 
 I feel biased saying that ;)
 
 The good news is that the plug in works nicely and does it 
 all automatically without any intervention. The control 
 commands supported are the select all, all clipboard commands 
 incl. undo and a smart save stack command because it's good 
 to have handy. 
 
 It's packaged as a nice, compact, fruity tasting and handy 
 toolbar you can move anywhere to copy paste stuff around with 
 a single click. Part of my NitrousRack PRO Editor tools 
 coming sometime in the near future. Sorry for the lame icons, 
 I'll try to find something better or more OS neutral soon.
 
 If you have already a menubar in your stack, the commands do 
 not get intercepted despite this stack's script being in the 
 frontscript (it intercepts the commandkeydown). 
 
 This is built in the IDE. I dont know if it is a good thing 
 or bad. However it prevents the HotKeyN2O from interfering 
 with the topstack's built-in edit or save commands. So I 
 guess it is good. If you create a default menubar in your 
 stack with empty clipboard handling scripts (and with the 
 hotkey c already defined in the menu), the command-c will not work.
 
 When the menu dont work you can still click on the handy 
 toolbar and avoid a long trip to the menu bar. 
 
 Many more possibilities like handling other menu commands, 
 adding missing commands, do macros, support the F1-F4 
 clipboard keys, etc... All this coming if you ask for it. 
 
 This stack is freeware and open source.
 
 Download, screeshot and infos at
 http://monsieurx.com/modules.php?name=Newsfile=articlesid=170
 
 
 It doesn't work to copy controls via the plug-in buttons yet, 
 only text field . Im working on it! I just discovered the 
 focusedobject command which is quite handy but creates lots 
 of ifs and thens and else wares...
 
 Enjoy!
 Xavier
 
 ___
 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: use-revolution Digest, Vol 14, Issue 54

2004-11-21 Thread Cubist

In a message dated 11/21/04 1:55:20 PM, 
[EMAIL PROTECTED] writes:


Message: 6
Date: Sun, 21 Nov 2004 13:33:56 -0600
From: Salinas, Ruben (GE Healthcare) [EMAIL PROTECTED]
Subject: Basic field word count question
To: [EMAIL PROTECTED]
Message-ID:
   [EMAIL PROTECTED]
Content-Type: text/plain;  charset=iso-8859-1

My apologies for the simplicity of the question, but I'm just starting
out with RunRev. Question is, how should I create a field on a card that
displays the word count on a second field where the user is writing text?
I would like the first field (word count) to recalculate automatically
every time field 2 content changes. 
   My first answer to this question hasn't already been posted to the list, 
so here goes:

local TymeDelay = 250
on WordKount
  put the number of words in field User Input into field Word Count
  send WordKount to me in TymeDelay milliseconds
end WordKount

   This will update the wordcount field in realtime, automatically, four 
times a second. If that isn't fast enough, reduce the value of TymeDelay; if 
you 
don't want/need quarter-second accuracy, increase the value of TymeDelay.

   It's worth noting that the number of words in [whatever] function has a 
quirk in it: If you've got quoted strings (like, say, dialogue in a story), 
each such quoted string will count as 1 (one) word, *regardless* of how many 
spaces are in that quoted string. Thus, Rev thinks that the the string

I have a nice doggie

   (note the *absence* of quote marks) has 5 words in it, but Rev thinks the 
string

I have a nice doggie

   (note the *presence* of quote marks) is only *1* word. If your data is 
such that this could be a problem, you will be glad to know that there's a way 
to 
get the *real* wordcount, *including* what's within quotemarks: Use the 
value of, which will, in effect, strip away the bleeding quote marks so's Rev 
can 
get at the *real* wordcount. Like so:

local TymeDelay = 250
on WordKount2
  put field User Input into Fred
  put 0 into WordKount
  repeat for each word WW in Fred
add the number of words in (the value of WW) to WordKount
  end repeat
  put WordKount into field Word Count
  send WordKount to me in TymeDelay milliseconds
end WordKount2

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


can you make columns with tabs?

2004-11-21 Thread Erik Hansen
can you make columns with tabs?

thanks,

Erik Hansen

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



__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 

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


Re: can you make columns with tabs?

2004-11-21 Thread xbury . cs
yes! Look at the tabstops property...

-=-
Xavier Bury
Clearstream Services
TNS NT LAN Server
ext 36465
Voice: +352 4656 43 6465
Fax: +352 4656 493 6465




Erik Hansen [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
22.11.2004 08:33
Please respond to erik; Please respond to How to use Revolution

 
To: [EMAIL PROTECTED], How to use Revolution 
[EMAIL PROTECTED]
cc: (bcc: Xavier Bury/CLEARSTREAM/GDB)
Subject:can you make columns with tabs?

.

can you make columns with tabs?

thanks,

Erik Hansen

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


 
__ 
Do you Yahoo!? 
Meet the all-new My Yahoo! - Try it today! 
http://my.yahoo.com 
 

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





-
Visit us at http://www.clearstream.com
IMPORTANT MESSAGEInternet communications are not secure and therefore
Clearstream International does not accept legal responsibility for the
contents of this message.The information contained in this e-mail is
confidential and may be legally privileged. It is intended solely for the
addressee. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically states
them to be the views of Clearstream International or of any of its
affiliates or subsidiaries.END OF DISCLAIMER
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution