Re: OT: Super-computer studies aerodynamics of the potato chip

2005-08-19 Thread Judy Perry
Hey Jim!

Thanks for this.  It'll be a neat, semi-OT thing for the kiddies to read
this term in the general ed course "Computer Impact on Society"... (a real
course).

Judy

On Fri, 19 Aug 2005, Jim Hurley wrote:

> This from todays NYT:
>
> "Once the exclusive territory of nuclear weapons designers and code
> breaker, ultrafast computers are increasingly being used in every day
> product design. Procter & Gamble used a supercomputer to study the
> airflow over its Pringles potato chips to help stop them from
> fluttering off the company's assembly lines."
>
> Today the potato chip, tomorrow the Shuttle.

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Documentation - Webnotes

2005-08-19 Thread MisterX
Hi Bob,

I woudn't worry too much about webnotes for the moment. If anyone
wants to add a comment on top of your webnotes, your webnotes will
be replaced. 

I hope they get that situation under control next release. 

cheers
Xav

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Bob Earp
> Sent: Saturday, August 20, 2005 03:08
> To: use-revolution@lists.runrev.com
> Subject: Documentation - Webnotes
> 
> The concept of Webnotes in the documentation seems like a 
> great idea and help solve a lot of issue that some folks have 
> with Rev documentation (not me of course ;-) ).  However, the 
> first time I tried Webnotes nothing happened and on enquiry 
> on this list it was suggested that the server was temporarily 
> kersplatzed.
> 
> I now see some Webnotes displayed (see "\" keyword as an 
> example) but the icon (the little world one) for uploading 
> additional notes is still inactive.  The print icon is also 
> inactive !!
> 
> I can't find reference to activating either of these, does 
> anybody know how ??
> 
> Tnx, Bob...
> 
> Bob Earp - Sunny White Rock, BC
> 
> _
> MSNR Calendar keeps you organized and takes the effort out of 
> scheduling get-togethers. 
> http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&;
> DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
>   Start enjoying all the benefits of MSNR Premium right now 
> and get the first two months FREE*.
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage 
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Bad Idea To Disable an 'Edit' Menu

2005-08-19 Thread MisterX
Hi Ken

This seems more like an OS behavior 
than a Rev problem doesn't it?

It sure should be made aware for those
developping on PCs hoping to deploy on osx...

While disabling a whole menu is "easier", I always
did the single menuitem check on mouseenter to see
if it should or not be enabled... 

So i guess a little global-OS HIG is in order ;)

just my two cents
Xav

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Ken Ray
> Sent: Saturday, August 20, 2005 08:04
> To: Use Revolution List
> Subject: Bad Idea To Disable an 'Edit' Menu
> 
> Just passing along an interesting tidbit of information that 
> I just ran
> into:
> 
> If your application has an 'Edit' menu AND it has a 
> 'Preferences' menu item AND you deploy to Mac OS X, then you 
> should never disable the entire Edit menu (you should leave 
> the menu itself enabled, but individually disable the items 
> you want to prevent users from executing).
> 
> The reason is that under OS X, the Preferences menu item 
> disappears from the bottom of the Edit menu and appears under 
> the Application menu. This item is
> *always* appears enabled under the Application menu, but if 
> you've disabled the Edit menu, selecting Preferences from the 
> Application menu *won't work*.
> 
> Now, this may just be a bug (I'll log it as such), but until 
> it's fixed or documented, you should disable the individual 
> items in the menu and not the menu itself.
> 
> Just FYI,
> 
> Ken Ray
> Sons of Thunder Software
> Web site: http://www.sonsothunder.com/
> Email: [EMAIL PROTECTED]
>  
> 
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage 
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Bad Idea To Disable an 'Edit' Menu

2005-08-19 Thread Ken Ray
Just passing along an interesting tidbit of information that I just ran
into:

If your application has an 'Edit' menu AND it has a 'Preferences' menu item
AND you deploy to Mac OS X, then you should never disable the entire Edit
menu (you should leave the menu itself enabled, but individually disable the
items you want to prevent users from executing).

The reason is that under OS X, the Preferences menu item disappears from the
bottom of the Edit menu and appears under the Application menu. This item is
*always* appears enabled under the Application menu, but if you've disabled
the Edit menu, selecting Preferences from the Application menu *won't work*.

Now, this may just be a bug (I'll log it as such), but until it's fixed or
documented, you should disable the individual items in the menu and not the
menu itself.

Just FYI,

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


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the message box

2005-08-19 Thread Scott Rossi
Recently, Alex Tweedly  wrote:

> The IDE can *know* that it's an error because the reserved token "msg"
> was used as a formal parameter name
> 
> on mouseUp msg

Yes, you're right.  I was responding to the following portion of the code
which is valid as written:

  put the long time & "  " & msg & Return after field "Memo"

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
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the message box

2005-08-19 Thread Scott Rossi
Recently, Jon  wrote:

>> I'm not sure you expect the IDE to *know* that you didn't intend call the
>> message box versus making a script error.  Sure, the context could be gauged
>> to some extent, but perhaps you *did* intend to call the message box and
>> simply made a contextual script error in the remainder of your code.

> I'm not sure I understand what you wrote.  Is there any situation in
> which using a reserved word as the name of a parameter variable would be
> meaningful?

I missed your comment about the use of "msg" as a *parameter* variable. I
understood you were concerned that using "msg" as a variable name should
somehow be flagged by the IDE as being invalid (based on the sample code you
posted as being a problem).  So my mistake.

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
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: revXMLNodeContents

2005-08-19 Thread Ken Ray
On 8/19/05 7:37 PM, "Martin BLACKMAN" <[EMAIL PROTECTED]> wrote:

> Could anyone comment on whether the behaviour of the first example
> below is correct ?  I would have thought that both outputs should be
> the same ??
>   
>   put "This is a test" into tXML
>   put revcreateXMLtree(tXML,false,true,true) into tID
>   put revXMLRootNode(tID) into tnode
>   answer revXMLNodeContents(tID,tnode)
>  --Outputs 'this is a test'
> 
>   put "This is a test" into tXML
>   put revcreateXMLtree(tXML,false,true,true) into tID
>   put revXMLRootNode(tID) into tnode
>   answer revXMLNodeContents(tID,tnode)
> --Outputs 'this is '

Personally, I think this is a bug - on two levels:

1)  Since the  tag has no text contents, it stops revXMLNodeContents
from going any deeper than "This is ". (If you did certainly 
... and ran it, you'd get "This is certainly a test".)

2) To my understanding, revXMLNodeContents shouldn't go to any children of
the node you identify - it should always return "This is ".

Personally, I'd log it is a bug in Bugzilla...

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


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Continuation Lines (was: I give up: how do you continue a line in Rev?)

2005-08-19 Thread Jeanne A. E. DeVoto

At 3:40 PM -0400 8/19/2005, [EMAIL PROTECTED] wrote:

The corollary of "\" is ";" (a  semi-colon) ...

on sillyTest what
  if what then
get 2; add 2 to it; put "A" after it; put it;  exit to top
  end if   
  [.../...]

end sillyTest

Useful for very short lines!



Also in the message box! You can use the multi-line message box, but 
the semicolon is handy for 2-liners in particular, such as


  global foo;answer foo
--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: time anomaly

2005-08-19 Thread Jeanne A. E. DeVoto

At 2:14 PM -0700 8/19/2005, Mark Wieder wrote:

 > Any idea why this code produces "19:00:54" instead of "54"? I do have
 > twelveHourTime set to false, but...

What you have given it as an argument is not a date, time, nor a date
and time, but just a number. I would expect that you would get back an
indeterminate answer. I get "4:00:54 PM". At least today. GIGO.


Actually, it's not indeterminate. When you provide a number or other 
partial date or time, convert guesses what part you mean and fills in 
the rest with the current time. (For example, if you convert a time 
to long data and long time, you get today's date along with the time 
you specified.) This probably should be in the convert docs as a note.

--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


libURLftpUpload returns "invalid host address" error

2005-08-19 Thread David Beck

Hello,

I'm having a problem with using libURLftpUpload returning a "invalid host
address" error.

I am using libURLftpUpload to upload a small file, and then check the result in 
a
loop with the URLStatus function. Eventually, and this only happens for one
particular customer, URLStatus returns its "error" result, and libURLErrorData
returns "invalid host address". However, I know that the host address is in fact
valid and I also know that the customer has a working internet connection open
when she receives this error. (She is using a 26.4 Kbps modem.) What else could
be causing this problem?? Has anybody seen this before? Is there something else 
I
can do to further debug the issue?

Any help any of the experienced rev users could give would be greatly
appreciated. I'm stumped!

David Beck
Crystal Pier Software


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the message box

2005-08-19 Thread Jon

Scott:

I'm not sure I understand what you wrote.  Is there any situation in 
which using a reserved word as the name of a parameter variable would be 
meaningful?


Jon


Scott Rossi wrote:


Recently, Jon  wrote:

 


"msg is a reserved word indicating... the message box :) try to use a
different name for your var and all should be fine."

Given that, in this particular situation, the IDE is going to ignore my
use of "msg" as a parameter variable name, would it make any sense for
the compiler to flag this as a likely problem?
   



I'm not sure you expect the IDE to *know* that you didn't intend call the
message box versus making a script error.  Sure, the context could be gauged
to some extent, but perhaps you *did* intend to call the message box and
simply made a contextual script error in the remainder of your code.

Chalk it up to a learning experience.  In much the same way that one has to
learn how to use "alert" in Javascript and "trace" in ActionScript to get
the same result as "answer" in X-talk.

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
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


 


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] Animated gif for OSX progress

2005-08-19 Thread Richard Gaskin

[EMAIL PROTECTED] wrote:
The 'chasing arrows' is no longer OSX-HIG conformant (Apple Human Interface  
Guidelines 2005-8-11, page 138) and the asynchronous progress indicator is  
recommended. Trouble is, it's not readily accessible so we have made one for  
Rev...


www.FlexibleLearning.com/xtalk/OSXspinnerANI.zip

It's a  16x16 24-frame animated gif, is only 4kb in size, and should 
replicate  native OSX for most purposes in your stacks. With thanks to Todd for 
locating  the original 32px tiff files!


Way cool -- thanks for posting that.

Kinda makes a fella wonder why OS vendors don't provide graphics like 
this themselves.  I know, I know: "Surely we're the only operating 
system you're writing for, so just use our API."  ;)


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Documentation - Webnotes

2005-08-19 Thread Bob Earp
The concept of Webnotes in the documentation seems like a great idea and 
help solve a lot of issue that some folks have with Rev documentation (not 
me of course ;-) ).  However, the first time I tried Webnotes nothing 
happened and on enquiry on this list it was suggested that the server was 
temporarily kersplatzed.


I now see some Webnotes displayed (see "\" keyword as an example) but the 
icon (the little world one) for uploading additional notes is still 
inactive.  The print icon is also inactive !!


I can't find reference to activating either of these, does anybody know how 
??


Tnx, Bob...

Bob Earp - Sunny White Rock, BC

_
MSN® Calendar keeps you organized and takes the effort out of scheduling 
get-togethers. 
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines 
 Start enjoying all the benefits of MSN® Premium right now and get the 
first two months FREE*.


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: how to know if I'm on-line or not

2005-08-19 Thread Jerry Daniels

Thought I'd chime in here...

I found that the Google method of testing an internet connection is 
somewhat slow and does increase the access numbers to Google thus 
inflating their stock price (last part was a jest).


When I have an application that has data on a website, i put a text 
file on the site that has a single byte in it: the numeral one (1). I 
then get the data from this file on my server (using URL) to verify my 
connection which is SUPPOSED to be to this server anyway.


Like so:

function haveIPconnect
put URL "http://www.mysite.com/test.txt"; = 1 into haveIPconnection
if haveIPConnection is false then
beep
answer warning "Either our server is down (unlikely) or you 
have no connection to the internet."

end if
return haveIPconnection
end haveIPconnect




On Aug 19, 2005, at 6:33 PM, J. Landman Gay wrote:


Jon wrote:
> I actually started doing just as you suggested (getting Google) when 
no
> one else chimed in.  Works fine, although I wonder how fond the 
folks at

> Google are at us hammering away at them all of the time 

Well, they just issued umpty-gazillion new shares of stock today, so 
I'd think they would welcome the business. ;)


Seriously though, if you don't want to rely on a third-party web site, 
the technique works just as well if you get a 1K text file from your 
own server.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


revXMLNodeContents

2005-08-19 Thread Martin BLACKMAN
Could anyone comment on whether the behaviour of the first example
below is correct ?  I would have thought that both outputs should be
the same ??
  
  put "This is a test" into tXML
  put revcreateXMLtree(tXML,false,true,true) into tID
  put revXMLRootNode(tID) into tnode
  answer revXMLNodeContents(tID,tnode)
 --Outputs 'this is a test'

  put "This is a test" into tXML
  put revcreateXMLtree(tXML,false,true,true) into tID
  put revXMLRootNode(tID) into tnode
  answer revXMLNodeContents(tID,tnode)
--Outputs 'this is '

thanks in advance
Martin Blackman
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the message box

2005-08-19 Thread Alex Tweedly

Scott Rossi wrote:


Recently, Jon  wrote:

 


"msg is a reserved word indicating... the message box :) try to use a
different name for your var and all should be fine."

Given that, in this particular situation, the IDE is going to ignore my
use of "msg" as a parameter variable name, would it make any sense for
the compiler to flag this as a likely problem?
   



I'm not sure you expect the IDE to *know* that you didn't intend call the
message box versus making a script error.  Sure, the context could be gauged
to some extent, but perhaps you *did* intend to call the message box and
simply made a contextual script error in the remainder of your code.

 

The IDE can *know* that it's an error because the reserved token "msg" 
was used as a formal parameter name


on mouseUp msg

The IDE cannot know at the usage of that formal parameter (e.g. put 
"abc" into msg), but it can, and should, know at the handler / parameter 
declaration.  (Some other reserved words already produce an error 
message, e.g.


on mouseUp seconds

gives the error "Handler: not a valid parameter name"


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

No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 18/08/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [ANN] Animated gif for OSX progress

2005-08-19 Thread Dan Shafer

Thanks, Hugh.

Curious...why didn't you post this on SSBK onlne?

Heh

Dan

On Aug 19, 2005, at 4:04 PM, [EMAIL PROTECTED] wrote:

The 'chasing arrows' is no longer OSX-HIG conformant (Apple Human  
Interface
Guidelines 2005-8-11, page 138) and the asynchronous progress  
indicator is
recommended. Trouble is, it's not readily accessible so we have  
made one for

Rev...

www.FlexibleLearning.com/xtalk/OSXspinnerANI.zip

It's a  16x16 24-frame animated gif, is only 4kb in size, and should
replicate  native OSX for most purposes in your stacks. With thanks  
to Todd for

locating  the original 32px tiff files!

Notes for folks new to animated icons in Revolution...
1. Download from the address above
2. Unzip to the gif
3. Import the image file into your stack
4. Make a note of the image's ID

To Start the animation, type this in the message box...
set the repeatCount of img id [theImgID] to -1
To stop the animation, type this in the message box...
set the repeatCount of img id [theImgID] to 0

To implement in a button (so you can use a single image anywhere  
and as  many
times as you want without duplicating it), simply set the icon of  
the  button
to [theImgID] and use the same lines above to start and stop as   
required.



/H
FLCo
The Scripter's  Scrapbook
www.FlexibleLearning.com/ssbk.htm

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the message box

2005-08-19 Thread Scott Rossi
Recently, Jon  wrote:

> "msg is a reserved word indicating... the message box :) try to use a
> different name for your var and all should be fine."
> 
> Given that, in this particular situation, the IDE is going to ignore my
> use of "msg" as a parameter variable name, would it make any sense for
> the compiler to flag this as a likely problem?

I'm not sure you expect the IDE to *know* that you didn't intend call the
message box versus making a script error.  Sure, the context could be gauged
to some extent, but perhaps you *did* intend to call the message box and
simply made a contextual script error in the remainder of your code.

Chalk it up to a learning experience.  In much the same way that one has to
learn how to use "alert" in Javascript and "trace" in ActionScript to get
the same result as "answer" in X-talk.

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
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the message box

2005-08-19 Thread Ken Ray
On 8/19/05 6:28 PM, "Jon" <[EMAIL PROTECTED]> wrote:

> BZ  3069.  I screwed up and did not assign it to the proper part of Rev,
> using, instead, the default of "About Screen".  I tried to figure out
> how I could edit it to correct it, but was unable to do so.  Any hints?

Yes, you might want to use RevZilla... it's much easier to use and provides
a bunch more features for managing bugs you've posted than Bugzilla. You can
get it here if you're interested:

  http://www.sonsothunder.com/devres/revolution/downloads/RevZilla2.htm

Or on RevOnline or RevNet...


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


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: ISAM

2005-08-19 Thread Dan Shafer
In a single-user application where Valentina is out of price range,  
you should check out altSQLite from Altuit Software:


http://www.altuit.com/webs/altuit2/altSQLiteCover/default.htm

Fast, easy to use, well documented and affordable.


On Aug 19, 2005, at 1:35 PM, Scott Kane wrote:


Hi,

Somone told be a while back aout a Revolution
tool that was an ISAM style table system.  I've
mamanged to lose the link...

Apart from saving cards (which is on my list)
are there any other options for single user
acces.  MYAQL etc are to much for my users to
deal with.  Valentino looks good but is out of
my price range at the moment...

Sciott


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution





~~
Dan Shafer, Revolution Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
From http://www.revolutionpros.com, Click "My Stuff"



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: time anomaly

2005-08-19 Thread Jim Ault
I get the current hour on my computer, "00" minutes, and 54 seconds.

with twelvehourtime true => 4:00:54, and false => 16:00:54

using 4 => 16:00:04
using 124 => 16:02:04  (124 seconds past the current hour)
using 3600 => 17:00:00 (3600 seconds, or 60 min past the current hour)

thus if using only seconds, the function returns the time x seconds after
the top of the current hour.  Wonder how you could used this?  Perhaps in
programming a clock.

Jim Ault
Las Vegas



On 8/19/05 12:41 PM, "Brian Yennie" <[EMAIL PROTECTED]> wrote:

> This is a guess, but I believe it would be because:
> 
> "The seconds function returns the total number of seconds since
> midnight, January 1, 1970 GMT"
> 
> Assuming your timezone is at GMT-5 hours, you are seeing 54 seconds
> past January 1, 1970 GMT, otherwise known as December 31, 1969 @
> 19:00:54
> 
> HTH,
> Brian
> 
>> Any idea why this code produces "19:00:54" instead of "54"? I do have
>> twelveHourTime set to false, but...
>> 
>> on mouseUp
>>  local t
>>  put 54 into t
>>  convert t to long time
>>  answer t
>> end mouseUp
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the message box

2005-08-19 Thread Jon

Alex:

Done!  Thanks!

:)

Jon


Alex Tweedly wrote:


Jon wrote:

BZ  3069.  I screwed up and did not assign it to the proper part of 
Rev, using, instead, the default of "About Screen".  I tried to 
figure out how I could edit it to correct it, but was unable to do 
so.  Any hints?



I've never actually done that, but it looks as though simply viewing 
the bug, changing the "Component" in the drop-down, leaving the 
default radio-button selection as "Leave as Unconfirmed" and then 
click on "Commit" should do it.


(I tried to do it for you right now - but was of course refused since 
I am neither the submitter nor owner of the bug (far less a 
"sufficiently empowered user" - what a great phrase for an error 
report!!)



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the message box

2005-08-19 Thread Alex Tweedly

Jon wrote:

BZ  3069.  I screwed up and did not assign it to the proper part of 
Rev, using, instead, the default of "About Screen".  I tried to figure 
out how I could edit it to correct it, but was unable to do so.  Any 
hints?


I've never actually done that, but it looks as though simply viewing the 
bug, changing the "Component" in the drop-down, leaving the default 
radio-button selection as "Leave as Unconfirmed" and then click on 
"Commit" should do it.


(I tried to do it for you right now - but was of course refused since I 
am neither the submitter nor owner of the bug (far less a "sufficiently 
empowered user" - what a great phrase for an error report!!)


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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 18/08/2005

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: how to know if I'm on-line or not

2005-08-19 Thread J. Landman Gay

Jon wrote:
> I actually started doing just as you suggested (getting Google) when no
> one else chimed in.  Works fine, although I wonder how fond the folks at
> Google are at us hammering away at them all of the time 

Well, they just issued umpty-gazillion new shares of stock today, so I'd 
think they would welcome the business. ;)


Seriously though, if you don't want to rely on a third-party web site, 
the technique works just as well if you get a 1K text file from your own 
server.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the message box

2005-08-19 Thread Jon
BZ  3069.  I screwed up and did not assign it to the proper part of Rev, 
using, instead, the default of "About Screen".  I tried to figure out 
how I could edit it to correct it, but was unable to do so.  Any hints?


:)

Jon


Alex Tweedly wrote:


Jon wrote:



Björnke von Gierke wrote:

"msg is a reserved word indicating... the message box :) try to use a 
different name for your var and all should be fine."


Given that, in this particular situation, the IDE is going to ignore 
my use of "msg" as a parameter variable name, would it make any sense 
for the compiler to flag this as a likely problem?



Sounds to me like it would be helpful, so I'd suggest entering it as a 
Bugzilla report - either an enhancement request or a minor bug would 
be my best guess of where it fits in the grand scheme of things. 
Please let us know the BZ number for those who want to vote for it 



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the message box

2005-08-19 Thread Alex Tweedly

[EMAIL PROTECTED] wrote:


sez [EMAIL PROTECTED]:
 


[EMAIL PROTECTED] wrote:
   


sez [EMAIL PROTECTED]:
 

Too bad the IDE didn't highlight the reserved word in some special 
color: I might have been able to guess if that were the case!
   

 Hm. I thought the IDE had a Preference for colorizing one's scripts, for 
just this sort of reason?
 

Could well be.  I use whatever the color defaults are.  That is, my 
scripts are indeed in colors.  Just no quite as many as I would like 
   

  Stupid question: Would changing the colors from their default values help 
any?
 

I think Jon was implying that more colours would be better - with the 
implicit assumption that the script editor would use them to 
differentiate more kinds of items. There are a number of keywords or 
reserved words that currently appear in simple text colour,


e.g.
msg
into, after, before
in  (e.g. send "asd" to me in 10 seconds)

which could usefully be coloured, IMHO.


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

No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 18/08/2005
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the message box

2005-08-19 Thread Alex Tweedly

Jon wrote:



Björnke von Gierke wrote:

"msg is a reserved word indicating... the message box :) try to use a 
different name for your var and all should be fine."


Given that, in this particular situation, the IDE is going to ignore 
my use of "msg" as a parameter variable name, would it make any sense 
for the compiler to flag this as a likely problem?


Sounds to me like it would be helpful, so I'd suggest entering it as a 
Bugzilla report - either an enhancement request or a minor bug would be 
my best guess of where it fits in the grand scheme of things. Please let 
us know the BZ number for those who want to vote for it 


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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 18/08/2005

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the message box

2005-08-19 Thread Cubist
sez [EMAIL PROTECTED]:
>[EMAIL PROTECTED] wrote:
>>sez [EMAIL PROTECTED]:
>>>Too bad the IDE didn't highlight the reserved word in some special 
>>>color: I might have been able to guess if that were the case!
>>   Hm. I thought the IDE had a Preference for colorizing one's scripts, for 
>>just this sort of reason?
>Could well be.  I use whatever the color defaults are.  That is, my 
>scripts are indeed in colors.  Just no quite as many as I would like 
   Stupid question: Would changing the colors from their default values help 
any?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Online Scripting Conference on Saturday

2005-08-19 Thread J. Landman Gay

Claire Bradin Siskin wrote:
Jacque, why don't you tell us about the Online Scripting Conference to 
be held on Saturday, August 20? The last one was so good!


Good idea, and glad you liked the last one. These are always a lot of 
fun. Our next conference, which takes place tomorrow, will be presented 
by xtalk pro Jeanne DeVoto, writer of the Rev docs, author of reference 
books on HyperTalk, and long-time recognized person of stature in the 
scripting community. This should be a really excellent conference. 
Jeanne's grasp of Revolution's nuances and behaviors is extensive; she 
probably knows more about the engine and the language than anyone.


Jeanne's topic this week is Menus and how Revolution implements them, 
something that stumps a lot of people at first. Also included in this 
topic are menu buttons and their behaviors (option buttons, popup 
buttons, etc.) The downloadable conference stack is full of good 
examples and documentation, and Jeanne will be adding more at the live 
conference. She has told me there is more to cover than she was able to 
write into the stack.


After the conference we will have our usual free-chat session where you 
can ask anything, on any Revolution topic, including questions about 
your own projects or scripts. This is a very good way to get customized 
help from live experts (or for those in Oz, partially-live experts.) It 
is also a great place for general shop talk and conversation.


I hope to see you all there. Run the following in the message box to get 
your local time for our conference tomorrow:


 get 1124553600; convert it to system date and time;put it

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Sends getting lost

2005-08-19 Thread Jon

Thanks for the tip!



J. Landman Gay wrote:


Jon wrote:

I'm writing a program that uses "send mouseup to me in 10 seconds".  
 From time to time, the program stops working, as if the Send is 
getting lost.  I would guess that this happens whenever I go into the 
IDE and switch from "run" mode to "edit" mode (the two icons at the 
top of Tools).



Many messages are repressed when you are in editing mode. I'm not sure 
about custom "send" messages, but it would be easy to check by looking 
at the pending messages pane of the message box.




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: how to know if I'm on-line or not

2005-08-19 Thread Jon
I actually started doing just as you suggested (getting Google) when no 
one else chimed in.  Works fine, although I wonder how fond the folks at 
Google are at us hammering away at them all of the time 


Thanks!

Jon


J. Landman Gay wrote:


Jon wrote:

I'm writing some software to continually test a web site I created. 
It Posts some data every hour or so and then inspects the HTML that 
returns to verify that the web site responded appropriately.
Sad to say, I connect to the Internet over a modem, so I'm not 
on-line all of the time.  I would like to have some logic like this, 
so that I don't report an error when I'm not even on-line:


if modem-is-connected then
  test the web site
end if

Is there any way to do this in Rev?



One common technique is to "get" the url at google.com, or one at 
yahoo.com, or a small file you know is on your server. Then check the 
result to see if anything went wrong. If it didn't, assume a connection.




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the message box

2005-08-19 Thread Jon


Björnke von Gierke wrote:

"msg is a reserved word indicating... the message box :) try to use a 
different name for your var and all should be fine."


Given that, in this particular situation, the IDE is going to ignore my 
use of "msg" as a parameter variable name, would it make any sense for 
the compiler to flag this as a likely problem?


Jon




On Aug 19 2005, at 15:51, Jon wrote:


...
Any idea why the Message Box is suddenly getting triggered?
...
Here is the current code:

on DisplayMessage msg
 put the long time & "  " & msg & Return after field "Memo"   set the 
vScroll of field "Memo" to the formattedHeight of field "Memo"

end DisplayMessage



msg is a reserved word indicating... the message box :) try to use a 
different name for your var and all should be fine.



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


[ANN] Animated gif for OSX progress

2005-08-19 Thread FlexibleLearning
The 'chasing arrows' is no longer OSX-HIG conformant (Apple Human Interface  
Guidelines 2005-8-11, page 138) and the asynchronous progress indicator is  
recommended. Trouble is, it's not readily accessible so we have made one for  
Rev...

www.FlexibleLearning.com/xtalk/OSXspinnerANI.zip

It's a  16x16 24-frame animated gif, is only 4kb in size, and should 
replicate  native OSX for most purposes in your stacks. With thanks to Todd for 
locating  the original 32px tiff files!

Notes for folks new to animated icons in Revolution...
1. Download from the address above
2. Unzip to the gif
3. Import the image file into your stack
4. Make a note of the image's ID
 
To Start the animation, type this in the message box...
set the repeatCount of img id [theImgID] to -1
To stop the animation, type this in the message box...
set the repeatCount of img id [theImgID] to 0

To implement in a button (so you can use a single image anywhere and as  many 
times as you want without duplicating it), simply set the icon of the  button 
to [theImgID] and use the same lines above to start and stop as  required.
 

/H
FLCo
The Scripter's  Scrapbook
www.FlexibleLearning.com/ssbk.htm
 
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Sends getting lost

2005-08-19 Thread J. Landman Gay

Jon wrote:
I'm writing a program that uses "send mouseup to me in 10 seconds".  
 From time to time, the program stops working, as if the Send is getting 
lost.  I would guess that this happens whenever I go into the IDE and 
switch from "run" mode to "edit" mode (the two icons at the top of Tools).


Many messages are repressed when you are in editing mode. I'm not sure 
about custom "send" messages, but it would be easy to check by looking 
at the pending messages pane of the message box.



--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: how to know if I'm on-line or not

2005-08-19 Thread J. Landman Gay

Jon wrote:
I'm writing some software to continually test a web site I created. It 
Posts some data every hour or so and then inspects the HTML that returns 
to verify that the web site responded appropriately.
Sad to say, I connect to the Internet over a modem, so I'm not on-line 
all of the time.  I would like to have some logic like this, so that I 
don't report an error when I'm not even on-line:


if modem-is-connected then
  test the web site
end if

Is there any way to do this in Rev?


One common technique is to "get" the url at google.com, or one at 
yahoo.com, or a small file you know is on your server. Then check the 
result to see if anything went wrong. If it didn't, assume a connection.



--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OT: Super-computer studies aerodynamics of the potato chip

2005-08-19 Thread Mark Wieder
Jim-

Friday, August 19, 2005, 2:05:07 PM, you wrote:

> product design. Procter & Gamble used a supercomputer to study the
> airflow over its Pringles potato chips to help stop them from 
> fluttering off the company's assembly lines."

...does that make them computer chips?



-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: ISAM

2005-08-19 Thread Richard Gaskin

Scott Kane wrote:
Random access of properties through array notation is lightning fast, 
and sequential access is suitable.  Surprisingly, sequential 
access of a 
simple line-delimited list is about 15-20% faster, and may 
also provide 
a reasonable solution for tables.


Cany chance of some demo code?  I'm still feeling my
way in Rev


Depends on what you want to do.  Remember that Transcript supports what 
we call chunk expressions, so you can refer to delimited items as 
"items" and lines as "lines":


 set the itemDelimiter to tab
 get item 4 of line 3 of tMyData



I have a system I'm building which uses a mix of each, often 
with tab-  and line-delimited tables stored in custom properties.  It's 
reasonably fast (does a 3-criteria search at the rate of about 16k records


per 

second) and since it's just native Transcript my client has 
no per-user > seat fee. :)



I'd prbably need a binary format for that as I
have notes and photo's going in...


Custom properties can store binary data.

--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: resolution of Time in Rev

2005-08-19 Thread Alex Tweedly

Jon wrote:




Alex Tweedly wrote:




2. Unless you need to for some reason I don't see here, don't mess 
around with date & time.



What I'm trying to do is find a way to express "more than 60 minutes 
after the most recent time/date stamp" in such a way that it will not 
fail across noon/midnight boundaries.  In Delphi, all times are just 
expressed as floating point numbers, where each day is "1", 12 hours 
is "0.5", etc, so all of these calculations are dead triviall in that 
situation.  


About as trivial as they are in Rev - use all your times in seconds and 
it's just as easy (or easier - integers instead of floating point 
numbers). If you want to convert them to human-readable date/time you 
can - that's what convert does for you.  But if you just need  to 
compare times, then I find it easier to stick to seconds.


Ah.  More puns.  So "the seconds" means something different than 
"seconds".  I guess "the seconds" is what I was looking for all 
along.  Difficult to spot, since it is more or less a time/date 
concept masquerading as a time.  But, that said, this simplifies 
things considerably.


In my own code, I would probably use "seconds()" rather than "the 
seconds"  - but it's personal preference; as a classical language 
programmer, I find the function style more readable.


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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 18/08/2005

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: resolution of Time in Rev

2005-08-19 Thread Mark Smith

Bug 3066 entered

On 19 Aug 2005, at 21:25, Richard Gaskin wrote:


Mark Smith wrote:
If it helps, 'the seconds' (like 'the time', 'the date', 'the files') 
is really a function, and can be used like:  put seconds() into tNow.


If you're prone to curmudgeonly habits you might find the function 
form very useful when skimming code to help differentiate from 
properties.


I've never understood why the original HyperTalk designers decided to 
allow property syntax for some functions, or why only some but not 
others.  But in spite of their choice, we can choose to employ a 
consistent style to help maintainers of our code differentiate that 
much more easily.



Incidentally, looking this up reveals that the dictionary also lists 
'seconds' (plural) as a keyword to denote the second member of a set, 
when obviously it should be 'second' (singular).

Is this the kind of thing to bz?


Yes, thanks.  It's a relatively minor clarification to note that only 
the singular form should be used for ordinal references, but every 
small improvement contributes to the overall learnability of the 
language.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution





___ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: ISAM

2005-08-19 Thread Scott Kane
Hi Richard,

> Depending on your indexing needs, if your data set is small 
> enough to be 
> used in RAM you might consider storing your data in custom properties.

They are pretty light actually.Just a lot of tables.
 
> Random access of properties through array notation is lightning fast, 
> and sequential access is suitable.  Surprisingly, sequential 
> access of a 
> simple line-delimited list is about 15-20% faster, and may 
> also provide 
> a reasonable solution for tables.

Cany chance of some demo code?  I'm still feeling my
way in Rev,  You can post off list if you want to:
[EMAIL PROTECTED]

> I have a system I'm building which uses a mix of each, often 
> with tab-  and line-delimited tables stored in custom properties.  It's 
> reasonably fast (does a 3-criteria search at the rate of about 16k records
per 
> second) and since it's just native Transcript my client has 
> no per-user > seat fee. :)

I'd prbably need a binary format for that as I
have notes and photo's going in...

Thanks for taking the time to answer,

Scott


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: time anomaly

2005-08-19 Thread Mark Wieder
Jon-

Friday, August 19, 2005, 12:21:16 PM, you wrote:

> Any idea why this code produces "19:00:54" instead of "54"? I do have
> twelveHourTime set to false, but...

> on mouseUp
>   local t
>   put 54 into t
>   convert t to long time
>   answer t
> end mouseUp

Well, I can see why you might think that would work, but...

the docs (remember the docs? they come with the package...) say that
convert

"Changes a date, a time, or a date and time to a specified format"

What you have given it as an argument is not a date, time, nor a date
and time, but just a number. I would expect that you would get back an
indeterminate answer. I get "4:00:54 PM". At least today. GIGO.

-- 
-Mark Wieder
 [EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


OT: Super-computer studies aerodynamics of the potato chip

2005-08-19 Thread Jim Hurley

This from todays NYT:

"Once the exclusive territory of nuclear weapons designers and code 
breaker, ultrafast computers are increasingly being used in every day 
product design. Procter & Gamble used a supercomputer to study the 
airflow over its Pringles potato chips to help stop them from 
fluttering off the company's assembly lines."


Today the potato chip, tomorrow the Shuttle.

Jim
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Revolution running on Ubuntu?

2005-08-19 Thread Gordon Tillman
Peter I use Revolution with Ubuntu, no problem.  I you have any  
questions feel free to contact me.


--gordon

On Aug 19, 2005, at 09:51, [EMAIL PROTECTED] wrote:


Had anyone sucess running Revolution under Ubuntu Linux or
Debian?
Best Regards
Peter




--- Werbung ---


 JETZT: AT-Domains Erst-Registrierung kostenlos!


und NUR EUR 16,00/Jahr  *   http://www.emerion.com


-
*** sent through http://www.everymail.net FREE e-mail

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: ISAM

2005-08-19 Thread Richard Gaskin

Scott Kane wrote:

Hi,

Somone told be a while back aout a Revolution
tool that was an ISAM style table system.  I've
mamanged to lose the link...

Apart from saving cards (which is on my list)
are there any other options for single user
acces.  MYAQL etc are to much for my users to
deal with.  Valentino looks good but is out of
my price range at the moment...


Depending on your indexing needs, if your data set is small enough to be 
used in RAM you might consider storing your data in custom properties.


Random access of properties through array notation is lightning fast, 
and sequential access is suitable.  Surprisingly, sequential access of a 
simple line-delimited list is about 15-20% faster, and may also provide 
a reasonable solution for tables.


I have a system I'm building which uses a mix of each, often with tab- 
and line-delimited tables stored in custom properties.  It's reasonably 
fast (does a 3-criteria search at the rate of about 16k records per 
second) and since it's just native Transcript my client has no per-user 
seat fee. :)


For more on using custom props in stack files for storage:


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


ISAM

2005-08-19 Thread Scott Kane
Hi,

Somone told be a while back aout a Revolution
tool that was an ISAM style table system.  I've
mamanged to lose the link...

Apart from saving cards (which is on my list)
are there any other options for single user
acces.  MYAQL etc are to much for my users to
deal with.  Valentino looks good but is out of
my price range at the moment...

Sciott


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: I give up: how do you continue a line in Rev?

2005-08-19 Thread Glenn E. Fisher

Peter,

On August 19, 2005 11:33:48 AM CDT you wrote:

How is this different from the existing search option?

Well it is somewhat different and seems to be faster than the 
documentation search
on my machine.  It also hilites the search string in red in the found 
topics.
Check it out by running the same search on each and compare.  It also 
has some

nice radio button options for restricting or enhancing the search.

Best regards,
Glenn


At 08:36 AM 8/19/2005, you wrote:

Revers,
Sorry to be so late on this topic.  I'm retired. :-))

If you haven't already, get Wilhelm Sanke's excellent "Search Docs" 
plugin.  Put it in your plugins folder for easy access in Rev.


I typed Jon's first search into it (continue) and "break \" came up 
as the first in the list.


Get the one that's appropriate for you at this web page:

http://www.sanke.org/MetaMedia/index.html

Or on RevOnline under user "sanke".

Happy reving,
Glenn


--
Glenn E. Fisher University of Houston - Retired
22402 Diane Dr. Spring, Tx 77373
[EMAIL PROTECTED]   http://www.uh.edu/~fisher
http://home.houston.rr.com/thegefishers/
http://homepage.mac.com/gefisher
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: resolution of Time in Rev

2005-08-19 Thread Richard Gaskin

Mark Smith wrote:
If it helps, 'the seconds' (like 'the time', 'the date', 'the files') is 
really a function, and can be used like:  put seconds() into tNow.


If you're prone to curmudgeonly habits you might find the function form 
very useful when skimming code to help differentiate from properties.


I've never understood why the original HyperTalk designers decided to 
allow property syntax for some functions, or why only some but not 
others.  But in spite of their choice, we can choose to employ a 
consistent style to help maintainers of our code differentiate that much 
more easily.



Incidentally, looking this up reveals that the dictionary also lists 
'seconds' (plural) as a keyword to denote the second member of a set, 
when obviously it should be 'second' (singular).


Is this the kind of thing to bz?


Yes, thanks.  It's a relatively minor clarification to note that only 
the singular form should be used for ordinal references, but every small 
improvement contributes to the overall learnability of the language.


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: back/forward confined to one stack

2005-08-19 Thread Richard Gaskin
Excellent work, Charles. I've quoted your full post here because your 
script makes good learning material for others who may have the same 
need, well worth a second read.


As much as I appreciate the convenience of "go back", like you I've 
found that I often need more control of what's included in the backList 
and what isn't.  As you've found, maintaining your own history only 
takes a couple dozen lines in all, and gives you complete control over it.


Good job!

--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com



Charles Hartman wrote:
I'm positively childishly pleased to report that my simple  
implementation of a history-list for a single stack or substack  works. 
It confines itself to that stack alone (unlike the Rev- internal 
commands relevant to "recent" -- but thanks to Jacque for  her 
suggestions that made me learn more about those). Assuming that  each 
card in the relevant stack has a Back button whose mouseUp  handler just 
sends the command 'backButton' and a Forward button that  sends 
'forwardButton', the handler's in the stack's script that I've  copied 
below seem to do the trick.


I don't know if anybody else needs this -- or if, as I'd be glad to  
hear, there's a better way to do it. It turned out to be a pretty  
design problem; the crux is what to do when the user navigates to  card 
*not* using the Back or Forward buttons. In that case I've opted  for 
deleting everything in the list after the present "Ptr" position.  This 
has the disadvantage of making some visited cards not accessible  
through "Back". (Visit Able then Baker then Charlie, then go back to  
Baker, then visit Delta. Charlie is not in the history path any  more.) 
Getting around that requires, as far as I can see, adding  every visit 
to every card (through a button or not) to the list, and  keeping a 
potentially very complicated tree-based set of pointers to  it. The only 
complete implementation of *that* kind of history I know  of is the 
thorough, branch-preserving Undo facility of MOTU's Digital  Performer. 
Certainly beyond me -- so it's a good thing it's beyond my  needs.


Charles

 handlers for script of stack to be "historicized"  
=


global gHistList, gHistPtr, gFromButton

on preOpenStack
  put empty into gHistList
  put 0 into gHistPtr
  put false into gFromButton
end preOpenStack

on backButton
  if gHistPtr > 1 then
put true into gFromButton
subtract 1 from gHistPtr
put line gHistPtr of gHistList into tDest
go to tDest
  end if
end backButton

on forwardButton
  put the number of lines of gHistList into tLast
  if gHistPtr < tLast then
put true into gFromButton
add 1 to gHistPtr
put line gHistPtr of gHistList into tDest
go to tDest
  end if
end forwardButton

on preOpenCard
  if not gFromButton then
repeat with n = the number of lines of gHistList down to  gHistPtr + 1
  delete line n of gHistList
end repeat
put the name of this card & return after gHistList
add 1 to gHistPtr
  end if
  put false into gFromButton
  if exists(btn "Back") then
disable btn "Back"
if gHistPtr > 1
then enable btn "Back"
  end if
  if exists(btn "Forward") then
disable btn "Forward"
if gHistPtr < the number of lines of gHistList
then enable btn "Forward"
  end if
end preOpenCard

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution





___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Blowing in the Wind

2005-08-19 Thread Scott Rossi
Recently, Todd Higgins  wrote:

> I was able to get it play smoothly in the 2.6 Revolution Dreamcard
> Player.  It is a beautiful effect, but it was sucking up 25% of my
> G4's processor (867 PB).  Is that typical?

This is true for almost any animation/messages that run in intervals less
than 1 second.  The more messages you have, and the more frequently you send
them, the more processor time is consumed.

What is interesting is that the related construct "wait until 
with messages" appears to consume little or no additional processor time,
but accomplishes the same result.  I've asked about this on the list before
but never saw any official response from the rev folks.  Wait with messages
*appears* to be a less processor intensive technique, but the drawback is
you cannot edit the script while the wait is executing.


> Does anyone know how that would compare to a similar animation in Flash?

In a standard window there would be no overhead at all -- it would simply be
animation.  Last I looked (which was some time ago),  I didn't see any way
to *dynamically change* the window mask of a movie.  I know you can apply a
custom window shape to a standalone application, but I'm not familiar with
any way to dynamically change the mask while the movie is running (though
there may be a way).

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
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


back/forward confined to one stack

2005-08-19 Thread Charles Hartman
I'm positively childishly pleased to report that my simple  
implementation of a history-list for a single stack or substack  
works. It confines itself to that stack alone (unlike the Rev- 
internal commands relevant to "recent" -- but thanks to Jacque for  
her suggestions that made me learn more about those). Assuming that  
each card in the relevant stack has a Back button whose mouseUp  
handler just sends the command 'backButton' and a Forward button that  
sends 'forwardButton', the handler's in the stack's script that I've  
copied below seem to do the trick.


I don't know if anybody else needs this -- or if, as I'd be glad to  
hear, there's a better way to do it. It turned out to be a pretty  
design problem; the crux is what to do when the user navigates to  
card *not* using the Back or Forward buttons. In that case I've opted  
for deleting everything in the list after the present "Ptr" position.  
This has the disadvantage of making some visited cards not accessible  
through "Back". (Visit Able then Baker then Charlie, then go back to  
Baker, then visit Delta. Charlie is not in the history path any  
more.) Getting around that requires, as far as I can see, adding  
every visit to every card (through a button or not) to the list, and  
keeping a potentially very complicated tree-based set of pointers to  
it. The only complete implementation of *that* kind of history I know  
of is the thorough, branch-preserving Undo facility of MOTU's Digital  
Performer. Certainly beyond me -- so it's a good thing it's beyond my  
needs.


Charles

 handlers for script of stack to be "historicized"  
=


global gHistList, gHistPtr, gFromButton

on preOpenStack
  put empty into gHistList
  put 0 into gHistPtr
  put false into gFromButton
end preOpenStack

on backButton
  if gHistPtr > 1 then
put true into gFromButton
subtract 1 from gHistPtr
put line gHistPtr of gHistList into tDest
go to tDest
  end if
end backButton

on forwardButton
  put the number of lines of gHistList into tLast
  if gHistPtr < tLast then
put true into gFromButton
add 1 to gHistPtr
put line gHistPtr of gHistList into tDest
go to tDest
  end if
end forwardButton

on preOpenCard
  if not gFromButton then
repeat with n = the number of lines of gHistList down to  
gHistPtr + 1

  delete line n of gHistList
end repeat
put the name of this card & return after gHistList
add 1 to gHistPtr
  end if
  put false into gFromButton
  if exists(btn "Back") then
disable btn "Back"
if gHistPtr > 1
then enable btn "Back"
  end if
  if exists(btn "Forward") then
disable btn "Forward"
if gHistPtr < the number of lines of gHistList
then enable btn "Forward"
  end if
end preOpenCard

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Blowing in the Wind

2005-08-19 Thread Malte Brill
Excellent work scott! And twice as funny if you set the systemWindow of 
the stack to true. :-)



>I was able to get it play smoothly in the 2.6 Revolution Dreamcard 
Player. It is a beautiful effect, but it was >sucking up 25% of my G4's 
processor (867 PB). Is that typical? Does anyone know how that would 
compare to a >similar animation in Flash? Todd


I guess one can´t compare this. As far as I know you will always 
display the flash animation in a window. No shapes for flash movies. 
(Even though I might be wrong there) If you would leave out setting the 
windowshape in Rev CPU usage would drop enormously.


All the best,

Malte___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: resolution of Time in Rev

2005-08-19 Thread Mark Smith
If it helps, 'the seconds' (like 'the time', 'the date', 'the files') 
is really a function, and can be used like:  put seconds() into tNow.


Incidentally, looking this up reveals that the dictionary also lists 
'seconds' (plural) as a keyword to denote the second member of a set, 
when obviously it should be 'second' (singular).


Is this the kind of thing to bz?

Cheers,

Mark

On 19 Aug 2005, at 20:01, Jon wrote:




Alex Tweedly wrote:




2. Unless you need to for some reason I don't see here, don't mess 
around with date & time.



What I'm trying to do is find a way to express "more than 60 minutes 
after the most recent time/date stamp" in such a way that it will not 
fail across noon/midnight boundaries.  In Delphi, all times are just 
expressed as floating point numbers, where each day is "1", 12 hours 
is "0.5", etc, so all of these calculations are dead triviall in that 
situation.  I'm confused by all of the various ways that Dates can be 
used and Times can be used.  I'm not sure if these two concepts are 
separate or united in some way.  The Convert routine gives some clues, 
but I could not find a discussion on Time/Date, which is really what 
I'm trying to use/do.


"if the seconds > nextFTPTime then"

Ah.  More puns.  So "the seconds" means something different than 
"seconds".  I guess "the seconds" is what I was looking for all along. 
 Difficult to spot, since it is more or less a time/date concept 
masquerading as a time.  But, that said, this simplifies things 
considerably.


Thanks!  Learning about "the seconds" was very helpful!

:)

Jon
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution







___ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


revChangeWindowSize UP

2005-08-19 Thread Scott Morrow
I'm trying to animate a window "growing" up, similar to the  
"revChangeWindowSize" handler (it only goes right and down)  My trouble 
is with keeping the objects in the window from scrolling up with the 
top of the window and then redrawing at the correct position at the end 
of the handler.  If I unlock the screen each time I change the rect of 
the stack, the objects appear correctly in the window as it resizes... 
but with lots of flicker, of course. I'm suspicious that I may be 
wasting my time.


-Scott Morrow

Elementary Software
(Now with 20% less chalk dust !)
web http://elementarysoftware.com/
email   [EMAIL PROTECTED]

-
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Blowing in the Wind

2005-08-19 Thread Todd Higgins

Thanks Scott,

 I was able to get it play smoothly in the 2.6 Revolution Dreamcard  
Player.  It is a beautiful effect, but it was sucking up 25% of my  
G4's processor (867 PB).  Is that typical?  Does anyone know how that  
would compare to a similar animation in Flash?


Todd

On Aug 19, 2005, at 3:40 PM, Scott Rossi wrote:


Recently, Todd Higgins  wrote:



I would love to see the smooth effect, but it also flickers like mad
under Rev 2.5.1, any chance of saving it as stack that I could get to
from the Dreamcard 2.6.1 player?



The flag stack is just that -- a stack.  And it relies on the  
latest version
of Rev to work since it uses the deep masks feature that is only  
present in

the latest release.

I don't know what version of the engine is present in Dreamcard  
2.6.1 but if
it's not based on the 2.6.5 (?) engine found in Rev, the flag stack  
still

won't display properly.  Sorry.

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
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: time anomaly

2005-08-19 Thread Brian Yennie

This is a guess, but I believe it would be because:

"The seconds function returns the total number of seconds since 
midnight, January 1, 1970 GMT"


Assuming your timezone is at GMT-5 hours, you are seeing 54 seconds 
past January 1, 1970 GMT, otherwise known as December 31, 1969 @ 
19:00:54


HTH,
Brian

Any idea why this code produces "19:00:54" instead of "54"? I do have 
twelveHourTime set to false, but...


on mouseUp
 local t
 put 54 into t
 convert t to long time
 answer t
end mouseUp


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Blowing in the Wind

2005-08-19 Thread Scott Rossi
Recently, Todd Higgins  wrote:

> I would love to see the smooth effect, but it also flickers like mad
> under Rev 2.5.1, any chance of saving it as stack that I could get to
> from the Dreamcard 2.6.1 player?

The flag stack is just that -- a stack.  And it relies on the latest version
of Rev to work since it uses the deep masks feature that is only present in
the latest release.

I don't know what version of the engine is present in Dreamcard 2.6.1 but if
it's not based on the 2.6.5 (?) engine found in Rev, the flag stack still
won't display properly.  Sorry.

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
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Continuation Lines (was: I give up: how do you continue a line in Rev?)

2005-08-19 Thread FlexibleLearning
The corollary of "\" is ";" (a  semi-colon) ...

on sillyTest what
  if what then
get 2; add 2 to it; put "A" after it; put it;  exit to top
  end if
  [.../...]
end sillyTest

Useful for very short lines!

/H
FLCo
Home of the Scripter's Scrapbook
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the message box

2005-08-19 Thread Chipp Walters

Jon wrote:

> Too bad the IDE didn't highlight the reserved word in some special
> color: I might have been able to guess if that were the case!

Too bad the IDE can't just write your program for you.

Geez Jon, you really don't attempt to read anything, do you? For crying 
out loud, all you have to do is spend a couple of hours reading the 
docs, checking out Richard's Scripting Style guide


and perusing this list, and you would save yourself (and many of us, by 
the way) time from typing and reading your constant complaining (again, 
and again) on this list.


I've said it before, and I'll repeat it. You should buy the books and 
reference manuals, spend a couple of nights reading through them, scan 
the lists for interesting items. For instance, I searched the Use-Rev 
list for "line break" and the first hit was from Ken Ray:


http://lists.runrev.com/pipermail/use-revolution/2002-October/008701.html

"You can also use a "\" as in:

put "this is a very long line of text" \
  into myVar"

I mean, that took me all of 2 seconds. Instead, you'd rather type a long 
email complaining to the list you couldn't find the answer. Geez.




-Chipp

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: dBase or Paradox interface

2005-08-19 Thread Scott Kane
> If you can find an old machine to run dBase IV and Paradox or if they 
> will run in Classic just export the databases to CSV or tab delimited 
> and you can use anythingincluding MYSQL and sqlLITE, etc.

They are on a Intel box - but no matter your
suggestion would work fine anyway.  Can't
believe I didn't think of it!
Scott


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: dBase or Paradox interface

2005-08-19 Thread Scott Kane

> If you will decide to use Valentina as database for your app, 
> Then you can convert any db that have ODBC driver into 
> Valentina using Valentina Studio application.

Thanks Ruslen!  :-)

Scott


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


time anomaly

2005-08-19 Thread Jon
Any idea why this code produces "19:00:54" instead of "54"? I do have 
twelveHourTime set to false, but...


on mouseUp
 local t
 put 54 into t
 convert t to long time
 answer t
end mouseUp
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: use-revolution Digest, Vol 23, Issue 66

2005-08-19 Thread Cubist

In a message dated 8/19/05 10:15:10 AM, 
[EMAIL PROTECTED] writes:

>
>Date: Fri, 19 Aug 2005 13:13:40 -0400
>From: Jon <[EMAIL PROTECTED]>
>Subject: resolution of Time in Rev
>To: Revolution List 
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>I'm trying to schedule something to happen some time in the future.  Due
>to some other complexities, I cannot just do a
>send "mouseUp" to me in 1000 seconds
>
>Rather, I have to wake up every 10 seconds and figure out whether it is
>time to do the processing or not.  The current code is presented below.
>
>The interesting thing is that, despite the claim that Rev times are in
>seconds, and even in milliseconds, the values I'm seeing are in 
>increments of 60 seconds.  I flagged a line in the code below.  Rather
>than seeing "60" and then "50" and then "40", etc, I instead see "60" 6
>times and then "0".  Am I doing something wrong?  Or, rather, what am I
>doing wrong?
   One: You're using "the time", which only provides hour and minute. What 
you want is "the long time", which provides hour, minute, and second.
   Two: You're using item 5 of the dateItems, which is the minutes. Item 6 of 
the dateItems is the seconds, which is what you want.
   There's other stuff I have questions about, but the preceding two points 
*will* mess you up, and the stuff I've got questions about is prolly just 
differences in coding style, so there's no point in me asking. Hope this 
helps...
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Blowing in the Wind

2005-08-19 Thread Todd Higgins
I would love to see the smooth effect, but it also flickers like mad  
under Rev 2.5.1, any chance of saving it as stack that I could get to  
from the Dreamcard 2.6.1 player?


Thanks

Todd

On Aug 17, 2005, at 3:18 PM, MisterX wrote:



actually, it's more like most european flags, flogged down the  
downpour ;(


if you've been to Seattle, you know what i mean ;)

;)

but this blowing stack really blows a lot of my expectations out of  
RunRev.
It could do openGL if it really wanted too and in total  
transparency...


just imagine the faces of the drulling developpers on other IDEs  
seeing

this!

cheers
X



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Dan Shafer
Sent: Wednesday, August 17, 2005 20:44
To: How to use Revolution
Subject: Re: Blowing in the Wind

But I thought the wind was always blowing so strongly in
Scotland that flags don't ripple, they just stand straight out.

:-D

Dan

On Aug 17, 2005, at 5:21 AM, david bovill wrote:



Lovely :)

Any chance of a Scottish Flag?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage
your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: resolution of Time in Rev

2005-08-19 Thread Jon



Alex Tweedly wrote:




2. Unless you need to for some reason I don't see here, don't mess 
around with date & time.



What I'm trying to do is find a way to express "more than 60 minutes 
after the most recent time/date stamp" in such a way that it will not 
fail across noon/midnight boundaries.  In Delphi, all times are just 
expressed as floating point numbers, where each day is "1", 12 hours is 
"0.5", etc, so all of these calculations are dead triviall in that 
situation.  I'm confused by all of the various ways that Dates can be 
used and Times can be used.  I'm not sure if these two concepts are 
separate or united in some way.  The Convert routine gives some clues, 
but I could not find a discussion on Time/Date, which is really what I'm 
trying to use/do.


"if the seconds > nextFTPTime then"

Ah.  More puns.  So "the seconds" means something different than 
"seconds".  I guess "the seconds" is what I was looking for all along.  
Difficult to spot, since it is more or less a time/date concept 
masquerading as a time.  But, that said, this simplifies things 
considerably.


Thanks!  Learning about "the seconds" was very helpful!

:)

Jon
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: dBase or Paradox interface

2005-08-19 Thread Stephen Barncard
If you can find an old machine to run dBase IV and Paradox or if they 
will run in Classic just export the databases to CSV or tab delimited 
and you can use anythingincluding MYSQL and sqlLITE, etc.



Hi all,

It's great to be here posting as an owner
of Revolution License, rather than an evaluator.  :-)

Just a quick question - Rev comes with some cool
options for databases.  I have some legacy app's using
dBase IV and Paradox.  I was wondering if there was
something available in Rev that would be able to read
these for conversion?


Scott Kane
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: resolution of Time in Rev

2005-08-19 Thread Jon

Jim:

I do, in fact, use the debugger.  I also write lots of debugging 
information out to the log I'm creating.  The code I stripped out of the 
example was exactly all of that debugging code.


:)

Jon


Jim Hurley wrote:


Jon,

I should have pointed out in my previous response that the way to find 
these problems in the future is to use the RR debugger. If you set a 
break point at the  line:


if currTime < mostRecentFTPTime then...

and if you open the "Variable watcher" you  would see that the 
variable mostRecentFTPTime is empty on each  go around. You would then 
easily recognize the need for permanence, either using a global or 
custom variable.


Jim
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: use-revolution Digest, Vol 23, Issue 66

2005-08-19 Thread Jon

Alex, Jim:

"The information in the variable mostRecentFTPTime is lost after mouseUp 
is run"


You both are, of course, correct.  The code I posted is not the code I 
actually used: the real code is MUCH more complex.  In my attempt to 
make the published code focus on the problem at hand, I screwed up.  
mostRecentFTPTime is indeed a globally defined Local variable.


The problem I am describing does not relate to this mistake on my part...

:)

Jon

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the message box

2005-08-19 Thread Jon
Could well be.  I use whatever the color defaults are.  That is, my 
scripts are indeed in colors.  Just no quite as many as I would like 


Jon


[EMAIL PROTECTED] wrote:


sez [EMAIL PROTECTED]:
 

Too bad the IDE didn't highlight the reserved word in some special 
color: I might have been able to guess if that were the case!
   

  Hm. I thought the IDE had a Preference for colorizing one's scripts, for 
just this sort of reason?

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


 


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the message box

2005-08-19 Thread Cubist
sez [EMAIL PROTECTED]:
>Too bad the IDE didn't highlight the reserved word in some special 
>color: I might have been able to guess if that were the case!
   Hm. I thought the IDE had a Preference for colorizing one's scripts, for 
just this sort of reason?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Revolution running on Ubuntu?

2005-08-19 Thread Bob Warren
Dear Peter,

Here is a quote from what I said a few days back on the List:

As you know, Linux grows daily, not least of all here in Brazil. However,
until last week I had never found a Linux that worked 100%, so I stuck with
Windows. But the great revelation of last week was the discovery of the
Debian-based "Ubuntu" Linux, which is head and shoulders above the rest.
Yesterday, I installed a trial version of RunRev, which not only seemed to
work as well as the Windows version, but was even more beautiful! I was
overjoyed.

Since then, I haven't tested RR in any greater depth, but it looks OK.

Regards,
Bob


>from: [EMAIL PROTECTED]

>Had anyone sucess running Revolution under Ubuntu Linux or
>Debian?
>Best Regards
>Peter



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: resolution of Time in Rev

2005-08-19 Thread Jim Hurley

Jon,

I should have pointed out in my previous response that the way to 
find these problems in the future is to use the RR debugger. If you 
set a break point at the  line:


if currTime < mostRecentFTPTime then...

and if you open the "Variable watcher" you  would see that the 
variable mostRecentFTPTime is empty on each  go around. You would 
then easily recognize the need for permanence, either using a global 
or custom variable.


Jim
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: dBase or Paradox interface

2005-08-19 Thread Ruslan Zasukhin
On 8/19/05 9:26 PM, "Scott Kane" <[EMAIL PROTECTED]> wrote:

> Hi all,
> 
> It's great to be here posting as an owner
> of Revolution License, rather than an evaluator.  :-)
> 
> Just a quick question - Rev comes with some cool
> options for databases.  I have some legacy app's using
> dBase IV and Paradox.  I was wondering if there was
> something available in Rev that would be able to read
> these for conversion?

Hi Scott,

If you will decide to use Valentina as database for your app,
Then you can convert any db that have ODBC driver into Valentina using
Valentina Studio application.

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


dBase or Paradox interface

2005-08-19 Thread Scott Kane
Hi all,

It's great to be here posting as an owner
of Revolution License, rather than an evaluator.  :-)

Just a quick question - Rev comes with some cool
options for databases.  I have some legacy app's using
dBase IV and Paradox.  I was wondering if there was
something available in Rev that would be able to read
these for conversion?

Scott Kane


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: use-revolution Digest, Vol 23, Issue 66

2005-08-19 Thread Jim Hurley


Message: 17
Date: Fri, 19 Aug 2005 13:13:40 -0400
From: Jon <[EMAIL PROTECTED]>
Subject: resolution of Time in Rev
To: Revolution List 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I'm trying to schedule something to happen some time in the future.  Due
to some other complexities, I cannot just do a

send "mouseUp" to me in 1000 seconds

Rather, I have to wake up every 10 seconds and figure out whether it is
time to do the processing or not.  The current code is presented below.

The interesting thing is that, despite the claim that Rev times are in
seconds, and even in milliseconds, the values I'm seeing are in
increments of 60 seconds.  I flagged a line in the code below.  Rather
than seeing "60" and then "50" and then "40", etc, I instead see "60" 6
times and then "0".  Am I doing something wrong?  Or, rather, what am I
doing wrong?

BTW: feel free to show me how I should have written this: it is hugely
awkward and could be done much easier in languages that I know better.

:)

Jon

on mouseup
   local mostRecentFTPTime
   -- is it time yet?
   convert the date && the time to dateItems
   subtract field "TestFreq" from item 5 of it
   convert it to seconds
   put item 1 of it into currTime
   if currTime < mostRecentFTPTime then
  -- show the user how long before next test
  set the text of field "TimeToGo" to mostRecentFTPTime - currTime &
" secs to go"  --  this is the line I'm talking about
  send "mouseUp" to me in 10 seconds
  exit mouseUp
   end if


  --  do the FTP stuff here!

   convert the date && the time to seconds
   put it into mostRecentFTPTime
   send "mouseUp" to me in 10 seconds
end MouseUp




Jon,

The information in the variable mostRecentFTPTime is lost after 
mouseUp is run. To save that data you might want to consider a custom 
variable, for example: set the mostRecentFTPTime of me to it, and 
earlier: if currTime < the most mostRecentFTPTime of me then


Jim
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: resolution of Time in Rev

2005-08-19 Thread Alex Tweedly

Alex Tweedly wrote:




local  nextFTPTime
on mouseUp
  if the seconds > nextFTPTime then
 do ftp Stuff
 put the seconds + field "TestFreq" into nextFTPTime
  end if
  send "mouseUp" to me in 10 seconds
end mouseUp



You might want to make that
  send "mouseUp" to me in min(10, nextFTPTime-the seconds) seconds

just to get the desired time more accurate ... otherwise, if your 
frequency was, say, 12 (the value I happened to use in my test before I 
sent the above script :-), you'll wait an extra 8 seconds


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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 18/08/2005

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: I give up: how do you continue a line in Rev?

2005-08-19 Thread Dennis Brown

If I might just interject a thought about indexes.

The way I want to search for information when I don't know what  
something is called or even if it exists, is narrowing by categories.
I would want a list of 10-20 broad categories.  And for each broad  
category, a new list of categories would pop up, etc...


That way I could search based from the concept level to more  
specifics until I was in a narrow range of subjects that had my topic.


Not everyone knows the specifics of what to call something or how to  
phrase their question, but picking this way would make finding things  
much easier, and might even allow one to find alternative ways of  
solving the problem.


The key to success here is that items in the index could appear in  
more than one place based on the concept being chased down.


Dennis

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: resolution of Time in Rev

2005-08-19 Thread Alex Tweedly

Jon wrote:

I'm trying to schedule something to happen some time in the future.  
Due to some other complexities, I cannot just do a


send "mouseUp" to me in 1000 seconds

Rather, I have to wake up every 10 seconds and figure out whether it 
is time to do the processing or not.  The current code is presented 
below.


The interesting thing is that, despite the claim that Rev times are in 
seconds, and even in milliseconds, the values I'm seeing are in 
increments of 60 seconds.  I flagged a line in the code below.  Rather 
than seeing "60" and then "50" and then "40", etc, I instead see "60" 
6 times and then "0".  Am I doing something wrong?  Or, rather, what 
am I doing wrong?



Yes :-)
Not entirely sure - there may be multiple things ...

BTW: feel free to show me how I should have written this: it is hugely 
awkward and could be done much easier in languages that I know better.


:)

Jon


on mouseup
  local mostRecentFTPTime
  -- is it time yet?
  convert the date && the time to dateItems
  subtract field "TestFreq" from item 5 of it
  convert it to seconds
  put item 1 of it into currTime
  if currTime < mostRecentFTPTime then
 -- show the user how long before next test
 set the text of field "TimeToGo" to mostRecentFTPTime - currTime 
& " secs to go"  --  this is the line I'm talking about

 send "mouseUp" to me in 10 seconds
 exit mouseUp   end if

 --  do the FTP stuff here!

  convert the date && the time to seconds
  put it into mostRecentFTPTime
  send "mouseUp" to me in 10 seconds
end MouseUp
 


1. I *think* you want the declaration of mostRecentFTPTime to be outside 
the handler.
A local declared inside handler gives you a "handler-local" variable - 
which is reset each time you enter the handler.
A local declared outside any handler is a "script-local" variable, and 
retains its value between calls.


2. Unless you need to for some reason I don't see here, don't mess 
around with date & time.


Does "TestFreq" change ? If not, I'd do something like the following :


local  nextFTPTime
on mouseUp
  if the seconds > nextFTPTime then
 do ftp Stuff
 put the seconds + field "TestFreq" into nextFTPTime
  end if
  send "mouseUp" to me in 10 seconds
end mouseUp


or if you want to monitor it, replace the "end if" by


else
   put nextFTPTime - the seconds & "seconds to go" into field 
"TimeToGo"

end if



If TestFreq does vary, then you need to do more like


local mostRecentFTPTime
on mouseUp
   if the seconds > mostRecentFTPTime + field "TestFreq" then
  do ftp Stuff
  put the seconds into mostRecentFTPTime
   end if
  send "mouseUp" to me in 10 seconds
end mouseUp



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



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.12/77 - Release Date: 18/08/2005

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Sends getting lost

2005-08-19 Thread Jon
I'm writing a program that uses "send mouseup to me in 10 seconds".  
From time to time, the program stops working, as if the Send is getting 
lost.  I would guess that this happens whenever I go into the IDE and 
switch from "run" mode to "edit" mode (the two icons at the top of Tools).


I looked in the documentation for Send, but there is nothing there about 
this issue.  Are there situations where the IDE clears these pending 
messages?  It would be good to be able to distinguish between proper IDE 
operation vs my remaining bugs.


Jon
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the message box

2005-08-19 Thread Stephen Barncard

Jon, if you hate the IDE so much you know you can make your own!
Frankly I'm tired of your constant complaints. They are very non-productive.

sqb


Thanks so much!

Too bad the IDE didn't highlight the reserved word in some special 
color: I might have been able to guess if that were the case!


:)

Jon


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


resolution of Time in Rev

2005-08-19 Thread Jon
I'm trying to schedule something to happen some time in the future.  Due 
to some other complexities, I cannot just do a


send "mouseUp" to me in 1000 seconds

Rather, I have to wake up every 10 seconds and figure out whether it is 
time to do the processing or not.  The current code is presented below.


The interesting thing is that, despite the claim that Rev times are in 
seconds, and even in milliseconds, the values I'm seeing are in 
increments of 60 seconds.  I flagged a line in the code below.  Rather 
than seeing "60" and then "50" and then "40", etc, I instead see "60" 6 
times and then "0".  Am I doing something wrong?  Or, rather, what am I 
doing wrong?


BTW: feel free to show me how I should have written this: it is hugely 
awkward and could be done much easier in languages that I know better.


:)

Jon


on mouseup
  local mostRecentFTPTime
  -- is it time yet?
  convert the date && the time to dateItems
  subtract field "TestFreq" from item 5 of it
  convert it to seconds
  put item 1 of it into currTime
  if currTime < mostRecentFTPTime then
 -- show the user how long before next test
 set the text of field "TimeToGo" to mostRecentFTPTime - currTime & 
" secs to go"  --  this is the line I'm talking about

 send "mouseUp" to me in 10 seconds
 exit mouseUp 
  end if


 --  do the FTP stuff here!

  convert the date && the time to seconds
  put it into mostRecentFTPTime
  send "mouseUp" to me in 10 seconds
end MouseUp
 


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: I give up: how do you continue a line in Rev?

2005-08-19 Thread Peter T. Evensen

How is this different from the existing search option?

At 08:36 AM 8/19/2005, you wrote:

Revers,
Sorry to be so late on this topic.  I'm retired. :-))

If you haven't already, get Wilhelm Sanke's excellent "Search Docs" 
plugin.  Put it in your plugins folder for easy access in Rev.


I typed Jon's first search into it (continue) and "break \" came up as the 
first in the list.


Get the one that's appropriate for you at this web page:

http://www.sanke.org/MetaMedia/index.html

Or on RevOnline under user "sanke".

Happy reving,
Glenn
--
Glenn E. Fisher University of Houston - Retired
22402 Diane Dr. Spring, Tx 77373
[EMAIL PROTECTED] http://www.uh.edu/~fisher
http://home.houston.rr.com/thegefishers/
http://homepage.mac.com/gefisher
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


Peter T. Evensen
http://www.PetersRoadToHealth.com
24-hour recorded info hotline: 1-800-624-7671 


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: I give up: how do you continue a line in Rev?

2005-08-19 Thread Jon

Klaus:

"And I think even a newbie COULD (if not should) know that an option 
menu might have more than 1 ehm... option :-) "


Good point.  I'll have to inspect the UI much more carefully in the 
future for hints about other features! Maybe we can have a contest for 
people who can find some other useful features that are hidden in there 
somewhere!


:)



Klaus Major wrote:


Hi Jon,


On 8/19/05 7:14 AM, "Jon" <[EMAIL PROTECTED]> wrote:

"Of course, because there aren't any keywords that contain that  
string.

But perhaps that's another issue for newbies - understanding the
difference between filter and search..."

Not really.  Since Filter is visible, and search is not, Filter is  the
ONLY facility that anyone would think to use.

There really is a Search?!?



Yes - if you look closely, you'll see that the button that says  "Filter
with:" is an option menu button. You can select "Search for:" as  
another

option in that menu.



Exactly!

And I think even a newbie COULD (if not should) know that an option menu
might have more than 1 ehm... option :-)

I know, the mean, mean IDE...


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



Regards

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

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


how to know if I'm on-line or not

2005-08-19 Thread Jon
I'm writing some software to continually test a web site I created. It 
Posts some data every hour or so and then inspects the HTML that returns 
to verify that the web site responded appropriately. 

Sad to say, I connect to the Internet over a modem, so I'm not on-line 
all of the time.  I would like to have some logic like this, so that I 
don't report an error when I'm not even on-line:


if modem-is-connected then
  test the web site
end if

Is there any way to do this in Rev?

:)

Jon
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: I give up: how do you continue a line in Rev?

2005-08-19 Thread Klaus Major

Hi Jon,


On 8/19/05 7:14 AM, "Jon" <[EMAIL PROTECTED]> wrote:

"Of course, because there aren't any keywords that contain that  
string.

But perhaps that's another issue for newbies - understanding the
difference between filter and search..."

Not really.  Since Filter is visible, and search is not, Filter is  
the

ONLY facility that anyone would think to use.

There really is a Search?!?


Yes - if you look closely, you'll see that the button that says  
"Filter
with:" is an option menu button. You can select "Search for:" as  
another

option in that menu.


Exactly!

And I think even a newbie COULD (if not should) know that an option menu
might have more than 1 ehm... option :-)

I know, the mean, mean IDE...


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


Regards

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

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the message box

2005-08-19 Thread Ken Ray
On 8/19/05 8:57 AM, "Björnke von Gierke" <[EMAIL PROTECTED]> wrote:

> On Aug 19 2005, at 15:51, Jon wrote:
> 
>> ...
>> Any idea why the Message Box is suddenly getting triggered?
>> ...
>> Here is the current code:
>> 
>> on DisplayMessage msg
>>  put the long time & "  " & msg & Return after field "Memo"   set the
>> vScroll of field "Memo" to the formattedHeight of field "Memo"
>> end DisplayMessage
> 
> msg is a reserved word indicating... the message box :) try to use a
> different name for your var and all should be fine.

This is another reason why a lot of us use "Hungarian Notation (lite)"
(http://www.fourthworld.com/embassy/articles/scriptstyle.html), where
variables, parameters, etc. are preceded by a special character. In your
case, since "msg" is a parameter to the DisplayMessage handler, it would be
"pMsg", which doesn't interfere with any reserved words.

Not that it isn't *impossible* to overlap reserved words this (tExt =
'text', sIn = 'sin', etc.), but it *is* very rare that this would happen.

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


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: I give up: how do you continue a line in Rev?

2005-08-19 Thread Ken Ray
On 8/19/05 7:14 AM, "Jon" <[EMAIL PROTECTED]> wrote:

> "Of course, because there aren't any keywords that contain that string.
> But perhaps that's another issue for newbies - understanding the
> difference between filter and search..."
> 
> Not really.  Since Filter is visible, and search is not, Filter is the
> ONLY facility that anyone would think to use.
> 
> There really is a Search?!?

Yes - if you look closely, you'll see that the button that says "Filter
with:" is an option menu button. You can select "Search for:" as another
option in that menu.


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


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


running player makes other things slower

2005-08-19 Thread Ban Nguyen
Hi everyone,

Does anyone run into this problem like I have?

In my rev application, I have a player (playing song and movie) running
just fine but when I scroll up and down the field, the sound is messed
up and slows down other things such as selecting a line in the field
list, clicking on a button


What should I do to fix this problem? Please help.

Thank you






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the message box

2005-08-19 Thread Klaus Major

Hi Jon


...
Too bad the IDE didn't highlight the reserved word in some special  
color: I might have been able to guess if that were the case!


yeah, what a mean, mean IDE...

:-)


Jon


Regards

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

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Revolution running on Ubuntu?

2005-08-19 Thread rev
Had anyone sucess running Revolution under Ubuntu Linux or
Debian?
Best Regards
Peter




--- Werbung ---
>>  JETZT: AT-Domains Erst-Registrierung kostenlos!
und NUR EUR 16,00/Jahr  *   http://www.emerion.com


-
*** sent through http://www.everymail.net FREE e-mail 
 
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the message box

2005-08-19 Thread Jon

Thanks so much!

Too bad the IDE didn't highlight the reserved word in some special 
color: I might have been able to guess if that were the case!


:)

Jon


Björnke von Gierke wrote:



On Aug 19 2005, at 15:51, Jon wrote:


...
Any idea why the Message Box is suddenly getting triggered?
...
Here is the current code:

on DisplayMessage msg
 put the long time & "  " & msg & Return after field "Memo"   set the 
vScroll of field "Memo" to the formattedHeight of field "Memo"

end DisplayMessage



msg is a reserved word indicating... the message box :) try to use a 
different name for your var and all should be fine.



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: the message box

2005-08-19 Thread Björnke von Gierke


On Aug 19 2005, at 15:51, Jon wrote:


...
Any idea why the Message Box is suddenly getting triggered?
...
Here is the current code:

on DisplayMessage msg
 put the long time & "  " & msg & Return after field "Memo"   set the 
vScroll of field "Memo" to the formattedHeight of field "Memo"

end DisplayMessage


msg is a reserved word indicating... the message box :) try to use a 
different name for your var and all should be fine.


--

official ChatRev page:
http://chatrev.bjoernke.com

Chat with other RunRev developers:
go stack URL "http://homepage.mac.com/bvg/chatrev1.3.rev";

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


the message box

2005-08-19 Thread Jon
I have been appending lines to a scrolling field to create a log file 
while running a program.  After a bit, I centralized the creation of 
these lines.  All of a sudden the Message Box started popping up.


I Filtered the Topics in the Documentation for Message Box, but nothing 
was there.  I Filtered on Message, and while something is there, there 
is nothing about the Message Box.


Any idea why the Message Box is suddenly getting triggered?  I must be 
doing something accidentally in this new regime.


Here is the current code:

on DisplayMessage msg
 put the long time & "  " & msg & Return after field "Memo"  
 set the vScroll of field "Memo" to the formattedHeight of field "Memo"

end DisplayMessage




___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to close URL

2005-08-19 Thread Mark Smith
Do you mean how do you close a web page and return to Rev after using 
revGoURL? Or are you talking about after having used a file using the 
URL method?


If the former, it's easiest to just quit the browser yourself, though 
you could use applescript (on mac) or vbscript (on windows) to do it 
for you.


If the latter, the URL scheme in rev does all the opening and closing 
of files for you, so you don't have to worry about it.


Hope this helps,

Mark

On 19 Aug 2005, at 02:02, Lisa Westbrook wrote:

does anyone know how to close a URL after it is opened with Runtime 
Revolution application and return to the application?


thanks,
Lisa

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution







___ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: I give up: how do you continue a line in Rev?

2005-08-19 Thread Glenn E. Fisher

Revers,
Sorry to be so late on this topic.  I'm retired. :-))

If you haven't already, get Wilhelm Sanke's excellent "Search Docs" 
plugin.  Put it in your plugins folder for easy access in Rev.


I typed Jon's first search into it (continue) and "break \" came up as 
the first in the list.


Get the one that's appropriate for you at this web page:

http://www.sanke.org/MetaMedia/index.html

Or on RevOnline under user "sanke".

Happy reving,
Glenn
--
Glenn E. Fisher University of Houston - Retired
22402 Diane Dr. Spring, Tx 77373
[EMAIL PROTECTED]   http://www.uh.edu/~fisher
http://home.houston.rr.com/thegefishers/
http://homepage.mac.com/gefisher
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: open fileName with application

2005-08-19 Thread Klaus Major

Hi Dirk,


Hi,
I am just beginning to convert my stacks and myself  from Hypercard  
to Revolution.


Hypercard has the command: "open fileName with application" to open a
file say with a TeX-program and then continue working  within that  
program.

How do I do this under Revolution?


just replace "open" with "launch" and that's it :-)

See the docs for "launch"...


Dirk


Regards

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

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


How to close URL

2005-08-19 Thread Lisa Westbrook
does anyone know how to close a URL after it is opened with Runtime  
Revolution application and return to the application?


thanks,
Lisa

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


open fileName with application

2005-08-19 Thread Dirk Ferus


Hi,
I am just beginning to convert my stacks and myself  from Hypercard to 
Revolution.


Hypercard has the command: "open fileName with application" to open a
file say with a TeX-program and then continue working  within that 
program.

How do I do this under Revolution?

Dirk


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: I give up: how do you continue a line in Rev?

2005-08-19 Thread Mark Smith
I think the lesson here is that filtering is only a way of narrowing 
down the actual keywords and function names in the dictionary, or the 
topic titles in the topics section. If you don't know and can't guess 
the keyword or whatever, it's necessary to search, instead.


Cheers,

Mark


On 19 Aug 2005, at 13:09, Jon wrote:

Great. You figured out how to make the Help system work successfully.  
Try Filtering the Dictionary and the Topics with"continue".  I get 
NOTHING here.


Working with Rev should not be a game: it should be easy to locate 
this information.   I'm happy that you were able to find the 
information.  I still feel that the fact that I was unable to find it 
is NOT because I was lazy, but because the IDE continues to be 
half-baked.


Jon


Jeanne A. E. DeVoto wrote:


At 3:20 PM -0400 8/18/2005, Jon wrote:

I'm sure the answer to this question (how do you continue a line in 
Rev) is simple.  Where could I have found the answer to this simple 
question in the documentation?  I looked for "continue": no joy. 
"line": no joy.  I looked at the Scripting discussion, and I know 
know all about comments, but nothing about continuing lines onto the 
next line.




"How to break a line in a script:
If a line of code is too long to be easily displayed in the script 
editor, it is convenient to break it into more than one line for 
display, while still having Transcript treat it as a single line.


You use the \ character to break a script line for display, as in the 
following example:


  set the thumbSize of scrollbar 1 to \
 (the height of group 1/the formattedHeight of group 1)

When the above split line is executed, it's treated as a single line 
of code."




The entry for "\" is also the first item returned when you search the 
dictionary for "continue".




Writing documentation starts to seem kind of pointless when a large 
part of its target audience presents convincing proof, often, that 
much of that audience doesn't bother to read it.


(Admittedly, this is one of the places where an index would be really 
useful, since you can set up an index to catch synonyms. On the other 
hand, a search would have succeeded here. Will someone who won't 
search use an index? Maybe, maybe not.)


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution





___ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Online Scripting Conference on Saturday

2005-08-19 Thread Claire Bradin Siskin
Jacque, why don't you tell us about the Online Scripting Conference 
to be held on Saturday, August 20? The last one was so good!


Thanks, Claire

--
Claire Bradin Siskin
Director
Robert Henderson Language Media Center
G 17 Cathedral of Learning
University of Pittsburgh
Pittsburgh, PA  15260
Office Phone: (412) 624-5939
Email: [EMAIL PROTECTED]
http://www.polyglot.pitt.edu
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: I give up: how do you continue a line in Rev?

2005-08-19 Thread Jon

Ken:

"Of course, because there aren't any keywords that contain that string. 
But perhaps that's another issue for newbies - understanding the 
difference between filter and search..."


Not really.  Since Filter is visible, and search is not, Filter is the 
ONLY facility that anyone would think to use.


There really is a Search?!?

*(([EMAIL PROTECTED]&[EMAIL PROTECTED] Rev IDE...

:(

Jon


Ken Ray wrote:


On 8/19/05 3:10 AM, "Mark Wieder" <[EMAIL PROTECTED]> wrote:

 


Jeanne-

Friday, August 19, 2005, 12:00:05 AM, you wrote:

   


The entry for "\" is also the first item returned when you search the
dictionary for "continue".
 


OTOH, filtering on "continu" shows absolutely nothing.
   



Of course, because there aren't any keywords that contain that string. But
perhaps that's another issue for newbies - understanding the difference
between filter and search...

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



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


 


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


  1   2   >