Re: Progress Bar examples

2005-02-16 Thread Dan Shafer
Why don't you add it to your user area in RevOnline?
Dan
On Feb 16, 2005, at 8:55 PM, Dwayne Rothe wrote:
I have put together a stack showing a system progress bar, a graphical 
progress bar and a slider bar in action!
If anyone would like a copy let me know and I will gladly email you. 
It only takes up about 8kb if someone wants to make it available on 
their website let me know!

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


Re: A Revolution beginner seeks advice...

2005-02-16 Thread Bill Vlahos
On Feb 16, 2005, at 10:15 AM, Karen wrote:
So at the moment I'm tempted to buy a licence for Revolution (Dreamcard
seems nice but limited since I'd like to be able to build standalone
applications).  I'm still playing around with the demo to try 
converting
some REALbasic apps to Revolution to get a feel for what it can and 
can't
do.
Building standalones is very nice and probably worth it to you. 
Dreamcard is a good beginner/hobbyist license.
However, I have some questions that I was hoping that you might be 
able to
help with.  My main concern is learning the Revolution scripting 
language,
which seems quite a bit different to anything I'm used to.  Is there a
shortcut to doing this - would the book "Software at the Speed of 
Thought"
be a help here?  Is it worth getting the printed manuals?  Am I best 
just to
rely on the various web resources?
Dan's book is terrific and you would likely get a lot out of them. I 
would only get the printed manuals if you find the online help 
cumbersome or you just want to curl up with a printed book. I purchased 
the printed manuals to have as a reference but I rarely use them 
because the online system is so good combined with this email list 
which is outstanding.
I also wonder about the "Update pack" - it seems pretty expensive, is 
it
worth buying?  Or am I best to wait until an update appears that I 
really
want and then take out a renewal?  Given that I've sunk a lot of money 
into
REALbasic, I'm keen to keep any new expenditure down!
Revolution has consistently improved with each version. Unless you know 
for sure that you want to stay on the Revolution road (I do and have 
never regretted it) I'd go ahead and see how much you like the current 
version first. It is a very complete development system as it is now. 
You can always decide to upgrade later.

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


New article on Functions in Revolution

2005-02-16 Thread Geoff Canyon
I've written an essay called Hooray for Functions -- The Value of 
Returning a Value. It's available at:

http://www.inspiredlogic.com/articles/functions.html
In it I argue that functions are superior to handlers for most 
purposes, and that functions should be your first choice you decide to 
break out some code.

If anyone has questions or comments, feel free to contact me.
regards,
Geoff Canyon
[EMAIL PROTECTED]
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Progress Bar examples

2005-02-16 Thread Dwayne Rothe
I have put together a stack showing a system progress bar, a graphical progress 
bar and a slider bar in action!
If anyone would like a copy let me know and I will gladly email you. It only 
takes up about 8kb if someone wants to make it available on their website let 
me know!

Cheers Dwayne..
[EMAIL PROTECTED]

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


Join a Revolution in June in Monterey!

2005-02-16 Thread Dan Shafer
Want to learn more about Revolution in two days than you sometimes can 
in a week...or even a month...of laboring on your own? Want to spend 
some quality time in one of the world's great resort spots?

A group of us are trying to determine if there's enough interest to 
expand our Monterey-based Revolution developer gathering June 24-25 to 
encompass a second track for people who are beginning or intermediate 
developers. As you may know, we held the first annual Revolution 
Masters Summit last July in Monterey and it was a smash hit. But it was 
an invitation-only affair. This year, we are *considering* adding a 
companion conference open to anyone who wants to attend and learn from 
those who are invited to attend the Revolution Masters Summit *and* 
speak to and mentor for those attending the main conference.

There will be opportunities for several joint sessions where all 
attendees are together. But most of the time, those of you who are 
mostly interested in how to do the basic stuff you want to do in Rev 
won't have to sit around listening to the long-time users argue about 
C++ externals and other esoterica.

We're talking about two jam-packed days, two or three joint sessions 
between the groups probably featuring speakers from RunRev (no promises 
but hopes), some freebies, and lots of opportunity to mingle, learn and 
code into the night. Right now, we're thinking in terms of a conference 
price of something like $195, with early-bird discounts down to perhaps 
$125-150.

Please respond OFF LIST to [EMAIL PROTECTED] no later than Feb. 23 
with your interest and any comments, suggestions or feedback you have. 
We'll notify the list when we've gauged the response and made a 
decision. NOTE: Replying doesn't commit you to the conference or us to 
holding it and doesn't guarantee a place if we do hold it. This is just 
a quick straw poll.

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


Re: message box (multiline) strangeness

2005-02-16 Thread Alex Tweedly
Malte Brill wrote:
Hi list,
I´ve experienced something weird...

I´m a bit puzzled... calling the script from a button gives the 
correct result. Does anyone know what´s happening here?

Os X.2.6 Rev 2.2 and 2.5
Same result in WinXP, Rev 2.5
Only - it's even stranger .
I changed the mult-line script to
put 5 into abc
put "first" && abc & cr after msg
put mytest(the loc of this stack, the loc of this stack) into abc
put "second" && abc & cr after msg
(I changed the function name to mytest just in case, and I changed the 
function to return a fixed value instead of calling paramcount() - 
neither made any difference).

This ALSO results in the output   1  (what happened to the strings 
"first" and "second", and the fact there were two lines of output ??)

Deleting the line that calls mytest results in the rather more expected 
output of
 first 5
 second 5

Very strange 
--
Alex Tweedly   http://www.tweedly.net

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


message box (multiline) strangeness

2005-02-16 Thread Malte Brill
Hi list,
I´ve experienced something weird...
create a blank stack
set the script to:
function test
  return paramcount()
end test
in the messagebox (single line)
put test(the loc of this stack,the loc of this stack)
returns 2
in the messagebox (multiline)
put test(the loc of this stack,the loc of this stack)
returns 2, BUT:
put test(the loc of this stack,the loc of this stack) into abc
put abc
returns 1
I´m a bit puzzled... calling the script from a button gives the correct 
result. Does anyone know what´s happening here?

Os X.2.6 Rev 2.2 and 2.5
Best,
malte
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Linked text question

2005-02-16 Thread Thomas McGrath III
Mark,
Custom props are good since they stick with the object. If you have one 
main field then the custom prop would go in it and then later if you 
brought that field into another stack the custom prop would go with it.

Franks idea is another way too.
Store the list of words as a set of items on a single line for each 
group:
dark,somber,gloomy
bright,cheerful,fun

delimited lines are like separate fields when used from within a 
script. If you are checking a clicked word I think it would be easier 
to check a series of lines in just one field or variable like Frank 
suggested. The field or the local/global variable can be just like the 
custom prop. You can have comma delimited lines in a custom prop the 
same as in a field or in a variable.

If you are going to change the items a lot then maybe an editor would 
work where you have a field to type into and then copy/place that in a 
variable or custom prop for import  into your main stack. Then you can 
close the editor and don't have to worry about any hidden fields at 
all.

HTH
Tom
On Feb 16, 2005, at 10:13 AM, Mark Swindell wrote:
That sounds like a good solution.  Thanks.  I don't do custom 
properties very well yet ... let's say I had 20 sets of such grouped 
sets of words in three separate fields.  What might be the most 
efficient container system to hold these groups?  Instinctively I'd 
just put them in 20 hidden fields and reference those, but that's 
probably not the cleanest solution (though it might be the easiest to 
manage and edit).

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


Re: how to Progress Bar?

2005-02-16 Thread Sarah Reichelt
I guess this question has been asked a 1000 times before, but I will 
ask it again just in case you all missed it!
How do you get a progress bar to work?
I have looked for example stacks and  docs but can't find anything!

Any help would be great Thanks.
Remember that a progress bar is just a type of scrollbar so check the 
docs for scrollbars and see what you get. The main properties you need 
are startvalue, endvalue & thumbPos. Here is an example script:

on mouseUp
  set the startvalue of scrollbar "Progress" to 0
  set the endvalue of scrollbar "Progress" to 100
  repeat with c = 1 to 100
-- do loop stuff
set the thumbPos of scrollbar "Progress" to c
  end repeat
end mouseUp
Drawing a progress bar takes a while, so if you have a lot of repeats, 
it's best not to draw every time you go through the loop e.g.

  repeat with c = 1 to 1000
-- do loop stuff
-- update progress bar every 10th time through
   if c mod 10 = 0 then set the thumbPos of scrollbar "Progress" to c
  end repeat
Cheers,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: how to Progress Bar?

2005-02-16 Thread Chipp Walters
Dwayne,
Create a new stack.
Add a scrollbar and name it "myProgBar"
add a new btn and set the script to:
on mouseUp
  set the startValue of scrollbar "myProgBar" to 0
  set the endValue of scrollbar "myProgBar" to 100
  put 0 into tStart
  repeat with x = 1 to 100
 set the thumbPos of scrollbar "myProgBar" to tStart
 add 1 to tStart
  end repeat
end mouseUp
hope that helps.
Dwayne Rothe wrote:
I guess this question has been asked a 1000 times before, but I will ask it 
again just in case you all missed it!
How do you get a progress bar to work?
I have looked for example stacks and  docs but can't find anything!
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: how to Progress Bar?

2005-02-16 Thread Wilhelm Sanke
On Thu Feb 17, 2005, Dwayne Rothe drothe at optusnet.com.au wrote:
I guess this question has been asked a 1000 times before, but I will 
ask it again just in case you all missed it!
How do you get a progress bar to work?
I have looked for example stacks and  docs but can't find anything!

Any help would be great Thanks.

Here is an example stack:
,
or go to , page "Tools and Samples for 
Development" and choose "Farben, Rahmen, Scrollbars". There might be 
other useful stuff there. As the stack has the Metacard extension "mc" 
open it accordingly in the Rev-open dialog.

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


how to Progress Bar?

2005-02-16 Thread Dwayne Rothe
I guess this question has been asked a 1000 times before, but I will ask it 
again just in case you all missed it!
How do you get a progress bar to work?
I have looked for example stacks and  docs but can't find anything!

Any help would be great Thanks.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: A Revolution beginner seeks advice...

2005-02-16 Thread Chipp Walters
Hi Karen,
A similar post happened earlier this month. You might like to check out 
my answer to it then:

http://lists.runrev.com/pipermail/use-revolution/2005-February/050955.html
Good luck! In the last couple of months, I've taken over 2 different 
stalled RealBasic projects and rewritten them Rev. In both cases the 
customer is ecstatic.

best,
Chipp
Karen wrote:
Hi,
I've been taking a look at Revolution and, so far, I've been very impressed
with what I've seen.  I come from a REALbasic background (and Visual Basic
on the PC) and while I like the flexibility that it offers, the complexity
can be a real turn off.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Test for Command Key?

2005-02-16 Thread Scott Rossi
Recently, J. Landman Gay  wrote:

> Mac OS 
> does not report the state of the command key unless it is paired with an
> alpha-numeric key. Plain old "command" doesn't send any message. It's an
> OS limitation.

Those goofy Mac designers...

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

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


Re: A Revolution beginner seeks advice...

2005-02-16 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Feb 16, 2005, at 1:15 PM, Karen wrote:
competition in Revolution, I need a script as simple as:
get the htmlText of field "edtText"
replace text of field "edtFind" with text of field "edtReplace" in it
set the htmlText of field "edtText" to it
Or simpler:
set the htmlText of field "edtText" to the htmlText of field 
"edtReplace"

applications).  I'm still playing around with the demo to try 
converting
some REALbasic apps to Revolution to get a feel for what it can and 
can't
do.
There's not really too much that Rev can't do, although there may be 
some things for which other languages / tools would be more 
appropriate.

help with.  My main concern is learning the Revolution scripting 
language,
which seems quite a bit different to anything I'm used to.  Is there a
shortcut to doing this - would the book "Software at the Speed of 
Thought"
be a help here?  Is it worth getting the printed manuals?  Am I best 
just to
rely on the various web resources?
Transcript is an "XTalk" dialect, derived from the HyperTalk language 
which Apple created for HyperCard.  It is quite different in some ways 
from other languages, and much more wordy, but you can do things with 
just a small number of statements which would be considerably more 
difficult in other languages.  Consider statements like:

if word 5 of line 12 of field "Field" contains "e" then
  answer "The fifth word of line 12 contains the letter 'e'"
end if
put URL "http://www.apple.com"; into field "My Browser"
etc.
My understanding of the printed manuals is that they are basically 
printed versions of the online documentation already present in Rev.  
In the event that you need some portion of the docs for quick 
reference, you can just print the page(s) you need.  I have not read 
the book in question, but it has been given very good reviews on this 
list.

Transcript is not difficult to learn once you are familiar with the 
basics.  If you are already familiar with other programming languages 
(such as REALbasic), you might consider starting with the "Scripts and 
their structure" topic in the "Topics" area of the Rev documentation.  
Questions can be answered by this list, and the list has searchable 
archives as well.


I also wonder about the "Update pack" - it seems pretty expensive, is 
it
worth buying?  Or am I best to wait until an update appears that I 
really
want and then take out a renewal?  Given that I've sunk a lot of money 
into
REALbasic, I'm keen to keep any new expenditure down!
The update pack gives you every upgrade released within a year of 
purchasing the upgrade pack, and is renewable.  It's up to you to 
decide if it is worthwhile, but be aware that numerous bugs in Rev are 
squashed with each version released lately, and that the updates are 
quite nice to have if you are doing any serious programming.

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

iD8DBQFCE5eb7aqtWrR9cZoRAhmEAKCDbsi/LmwF2a96kNVRuUGSlIsNVQCfb2Uw
Xba62BmzomLv7xLAnFqQf9k=
=Kd3N
-END PGP SIGNATURE-

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


Re: Test for Command Key?

2005-02-16 Thread J. Landman Gay
On 2/16/05 3:21 AM, Scott Rossi wrote:
Recently, I wrote:

Is the only way to do this by using the keysDown
function within a looping script?

Actually, this doesn't seem to work either.  The only way I've found to
check if the command key is down is using the cmdKey function within a
looping script.
Is there another way that avoids a script loop?
(mouseMove is unfortunately not an option since the cursor may be stationary
when the key is pressed.)
I think Windows may report the state in a rawkeydown message, but Mac OS 
does not report the state of the command key unless it is paired with an 
alpha-numeric key. Plain old "command" doesn't send any message. It's an 
OS limitation.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Transcript Cookbook? Where is it?

2005-02-16 Thread Sivakatirswami
I must be blind. I see this: in the documentation about file 
associations on Window:

For example code, see the topic "Recipe for registering a Windows 
extension" in the Transcript Cookbook section of the documentation.

But, unable to find any "Transcript Cookbook' or "Recipes" anywhere..
we see this in the dictionary:
  get setRegistry("HKEY_CLASSES_ROOT\.rev\", "Revolution")
Will this associate any "fooStack.rev" with any 
"WindowsRevolutionStandalone.exe"?

Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
[EMAIL PROTECTED]
www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


A Revolution beginner seeks advice...

2005-02-16 Thread Karen
Hi,

I've been taking a look at Revolution and, so far, I've been very impressed
with what I've seen.  I come from a REALbasic background (and Visual Basic
on the PC) and while I like the flexibility that it offers, the complexity
can be a real turn off.

For example, to build a solution for the current "REALbasic Olympics"
competition in Revolution, I need a script as simple as:

get the htmlText of field "edtText"
replace text of field "edtFind" with text of field "edtReplace" in it
set the htmlText of field "edtText" to it

Doing this in REALbasic is much less straightforward - and I'm increasingly
keen to be able to produce a solution quickly, rather than take ages to work
things out, even if there are a few more constraints by going down this
route.

So at the moment I'm tempted to buy a licence for Revolution (Dreamcard
seems nice but limited since I'd like to be able to build standalone
applications).  I'm still playing around with the demo to try converting
some REALbasic apps to Revolution to get a feel for what it can and can't
do.

However, I have some questions that I was hoping that you might be able to
help with.  My main concern is learning the Revolution scripting language,
which seems quite a bit different to anything I'm used to.  Is there a
shortcut to doing this - would the book "Software at the Speed of Thought"
be a help here?  Is it worth getting the printed manuals?  Am I best just to
rely on the various web resources?

I also wonder about the "Update pack" - it seems pretty expensive, is it
worth buying?  Or am I best to wait until an update appears that I really
want and then take out a renewal?  Given that I've sunk a lot of money into
REALbasic, I'm keen to keep any new expenditure down!

Thanks in advance for any help you can offer,

Karen



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


Re: if then do something ??

2005-02-16 Thread Rob Cozens
Hi Paul,
How do I make a program do something like so:
if (space bar) then
do this
if end
on keydown theKey
   if theKey is " " then
  do this
   end if
   pass keyDown
end keyDown
Rob Cozens CCW
Serendipity Software Company
"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
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: if then do something ??

2005-02-16 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Do you mean something like:
on keyDown theKey
  if theKey is space then
do this
  else
pass keyDown
  end if
end keyDown
On Feb 16, 2005, at 10:25 AM, Paul Salyers wrote:
Dear Rev Users,
How do I make a program do something like so:
if (space bar) then
do this
if end
Paul Salyers
PS1 - Senior Rep.
[EMAIL PROTECTED]
Http://ps1.SoftSeven.org
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

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

iD8DBQFCE2js7aqtWrR9cZoRAg7kAJ93Zd9UXYc/9LlLXZ8xAO+Ubc4nfwCfebwY
nblwnovy853EZSt77JpSOS8=
=H3tm
-END PGP SIGNATURE-

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


Re: Linked text question

2005-02-16 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
One idea:
Store the list of words as a set of items on a single line for each 
group:

dark,somber,gloomy
bright,cheerful,fun
...
then you can store the data in a single field or custom property.  Now 
to find the group, something like this might work:

repeat for each line x in field "My Hidden Field"
  if myClickedWord is among the items of x then
doStuff
  end if
end repeat
On Feb 16, 2005, at 10:13 AM, Mark Swindell wrote:
Tom,
That sounds like a good solution.  Thanks.  I don't do custom 
properties very well yet ... let's say I had 20 sets of such grouped 
sets of words in three separate fields.  What might be the most 
efficient container system to hold these groups?  Instinctively I'd 
just put them in 20 hidden fields and reference those, but that's 
probably not the cleanest solution (though it might be the easiest to 
manage and edit).

Thanks,
Mark
On Feb 15, 2005, at 7:18 PM, Thomas McGrath III wrote:
This is perfect for custom properties or a container for these 
'linked' words. So if the selected word is in container whichone then 
find & hilite any of the other words in that container in field 2, 
etc. as a script
You will have to have a predefined list of 'linked' words for each 
grouping and also a way to tell how many or which instance if more 
than one is found etc.

HTH
Tom
On Feb 15, 2005, at 6:05 PM, Mark Swindell wrote:
How can I control linked text so that if I pass my mouse over 
textgroupA in field myField1, corresponding text in myField2 and 
myField3 would also hilight?  In other words, I want specific text 
linked to "brother text" in other fields on the same card.

Example:  Field myField1 contains the word "dark."  Field myField2 
contains the word "somber."  Field myField3 contains the word 
"gloomy."  If I pass the mouse over any of these three items, I want 
it and the other two to also hilite.  (Hey, it's wet and rainy out.)

Can one label linked text chunks and treat them as objects?
Thanks
Mark
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

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

iD8DBQFCE2iH7aqtWrR9cZoRAsV5AJ91QaFSaC4TbaVRVckTyucaIztR9gCfahw9
caebCrFHsrbC9ShO8G0wFn0=
=atO2
-END PGP SIGNATURE-

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


if then do something ??

2005-02-16 Thread Paul Salyers
Dear Rev Users,
How do I make a program do something like so:
if (space bar) then
do this
if end
Paul Salyers
PS1 - Senior Rep.
[EMAIL PROTECTED]
Http://ps1.SoftSeven.org  

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


Re: Linked text question

2005-02-16 Thread Mark Swindell
Tom,
That sounds like a good solution.  Thanks.  I don't do custom 
properties very well yet ... let's say I had 20 sets of such grouped 
sets of words in three separate fields.  What might be the most 
efficient container system to hold these groups?  Instinctively I'd 
just put them in 20 hidden fields and reference those, but that's 
probably not the cleanest solution (though it might be the easiest to 
manage and edit).

Thanks,
Mark
On Feb 15, 2005, at 7:18 PM, Thomas McGrath III wrote:
This is perfect for custom properties or a container for these 
'linked' words. So if the selected word is in container whichone then 
find & hilite any of the other words in that container in field 2, 
etc. as a script
You will have to have a predefined list of 'linked' words for each 
grouping and also a way to tell how many or which instance if more 
than one is found etc.

HTH
Tom
On Feb 15, 2005, at 6:05 PM, Mark Swindell wrote:
How can I control linked text so that if I pass my mouse over 
textgroupA in field myField1, corresponding text in myField2 and 
myField3 would also hilight?  In other words, I want specific text 
linked to "brother text" in other fields on the same card.

Example:  Field myField1 contains the word "dark."  Field myField2 
contains the word "somber."  Field myField3 contains the word 
"gloomy."  If I pass the mouse over any of these three items, I want 
it and the other two to also hilite.  (Hey, it's wet and rainy out.)

Can one label linked text chunks and treat them as objects?
Thanks
Mark
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: race conditions with file/folder creation?

2005-02-16 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
If by "lagged" you are referring to disk activity, you are likely 
seeing the result of a write-behind cache on the file(s) or disk.

On Feb 16, 2005, at 1:01 AM, Mark Talluto wrote:
Here is some least useful information.  I wrote a test app for a 
database I was developing.  My stress test included writing out just 
over 100K files as fast as Rev could do it.  Worked like a charm.  I 
did notice on both Macs and Win systems that the OS lagged behind the 
process big time.  No errors though.
- ---
Frank D. Engel, Jr.  <[EMAIL PROTECTED]>
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFCE0//7aqtWrR9cZoRAik8AJ0fFo0rGhWB4HQ7g9fnE8vXcJCMDwCdFt/w
8pBuUZ8u4uEbGipkd7hfHVQ=
=HYY4
-END PGP SIGNATURE-

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


Re: Drawing on a player object

2005-02-16 Thread Richard Gaskin
Richard Miller wrote:
Richard,
Perhaps I haven't played around with this enough, but I'm having 
problems with the basic drawing issue. For example, if I do the following:

on mouseup
   choose pointer tool
   choose polygon tool
end mouseup
and then start drawing on a buffered player object, I get an image 
object on top of the player object... not a graphic object.
To get a graphic use:
 choose graphic tool
The individual styles of graphics are created by first setting the style 
of the templateGraphic.

For example, to make an oval you have this:
  set the style of the templateGraphic to oval
  choose graphic tool
Now when you drag out across your card you'll be making an oval graphic.
I rarely use the paint tools and use the graphic tools a lot, so I'd 
prefer if the shape tool names ("rectangle tool", "oval tool" etc.) 
referred to graphic tool modes.  But alas the "choose" convention was 
established years earlier in paint-tools-only HyperCard, so we're stuck 
with it.  Not so bad, though, once you get the hang of it, and it gets 
you into the habit of using the template objects, which can be very 
handy (a stroke of genius, those).

--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Drawing on a player object

2005-02-16 Thread Richard Miller
Richard,
Perhaps I haven't played around with this enough, but I'm having 
problems with the basic drawing issue. For example, if I do the 
following:

on mouseup
   choose pointer tool
   choose polygon tool
end mouseup
and then start drawing on a buffered player object, I get an image 
object on top of the player object... not a graphic object. There 
doesn't seem to be much I can do with that image object to distinguish 
the polygon I drew on it. How can I create an actual polygon graphic 
object over the player object? What's the code I need to use?

Richard
On Feb 16, 2005, at 6:46 AM, Richard Gaskin wrote:
Richard Miller wrote:
Thanks Richard, but I'm aware of that piece. It's the actual drawing 
I'm having trouble implementing. How do I give that functionality to 
a user during runtime?
Ah.  That's particularly difficult with players, as they generally 
lose their image while the pointer tool is active.

You could cheat:  grab a screenshot of the player and place it on top 
and then hide the player when switching tool modes. That should let 
your drawing tools work without mucking up the apparent image.  When 
you resume browse mode just hide or discard the image and show the 
player again.

--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Drawing on a player object

2005-02-16 Thread Richard Gaskin
Richard Miller wrote:
Thanks Richard, but I'm aware of that piece. It's the actual drawing I'm 
having trouble implementing. How do I give that functionality to a user 
during runtime?
Ah.  That's particularly difficult with players, as they generally lose 
their image while the pointer tool is active.

You could cheat:  grab a screenshot of the player and place it on top 
and then hide the player when switching tool modes. That should let your 
drawing tools work without mucking up the apparent image.  When you 
resume browse mode just hide or discard the image and show the player again.

--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Drawing on a player object

2005-02-16 Thread Richard Miller
Thanks Richard, but I'm aware of that piece. It's the actual drawing 
I'm having trouble implementing. How do I give that functionality to a 
user during runtime?

Richard
On Feb 16, 2005, at 6:17 AM, Richard Gaskin wrote:
Richard Miller wrote:
Any thoughts on how to allow a user (during runtime) to create an 
irregular polygon object on top of a Quicktime player object?
Turn on the player's alwaysBuffer property.
This is off by default for performance reasons; when it's on it draws 
the movie into Rev's offscreen buffer so Rev can overlay objects on 
top.  When off QT blits directly into the window as it does in most 
apps.

Because of the overhead involved in buffering the controller will not 
be enabled while the alwaysBuffer is true.

--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Drawing on a player object

2005-02-16 Thread Richard Gaskin
Richard Miller wrote:
Any thoughts on how to allow a user (during runtime) to create an 
irregular polygon object on top of a Quicktime player object?
Turn on the player's alwaysBuffer property.
This is off by default for performance reasons; when it's on it draws 
the movie into Rev's offscreen buffer so Rev can overlay objects on top. 
 When off QT blits directly into the window as it does in most apps.

Because of the overhead involved in buffering the controller will not be 
enabled while the alwaysBuffer is true.

--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Drawing on a player object

2005-02-16 Thread Richard Miller
Any thoughts on how to allow a user (during runtime) to create an 
irregular polygon object on top of a Quicktime player object?

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


Re: Test for Command Key?

2005-02-16 Thread Scott Rossi
Recently, I wrote:

> Is the only way to do this by using the keysDown
> function within a looping script?

Actually, this doesn't seem to work either.  The only way I've found to
check if the command key is down is using the cmdKey function within a
looping script.

Is there another way that avoids a script loop?

(mouseMove is unfortunately not an option since the cursor may be stationary
when the key is pressed.)

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, Development & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

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


Test for Command Key?

2005-02-16 Thread Scott Rossi
I need to determine when the command key has been pressed by itself (not
with any other keys).  Is the only way to do this by using the keysDown
function within a looping script?

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, Development & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.com

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


Re: copy field to stack of unknown name

2005-02-16 Thread Bob Hartley
At 23:04 15/02/2005, you wrote:
on mouseUp
  global tStackName
  copy field "TextField" of stack "Armbase Database Designer" to card 1 
of stack tStackName
end mouseUp

Hi Sarah
this worked.
I did make one mistake tat may have exacerbated the problem , I'll have a 
play with it tonight and post the result. However, including the global in 
the button is better anyway.
All the best
Bob


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