P.S.
That simple picture of the velocities being exchanged applies only in a frame
of reference in which the center of mass is fixed.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and
Mark,
Yes! I agree with you about throw.
Do you, or dose anyone, have an example that shows the use of the throw
command in conjunction with the try-catch structure?
Jim
Message: 4
Date: Thu, 22 Mar 2012 22:33:42 -0700
From: Mark Wieder mwie...@ahsoftware.net
To:
It is not just the arrays. It omits things like the foregroundcolor and
backgroundcolor.
I get a rough count of 34 properties using the properties of for a scrollbar
and Richard shows 57.
Jim
Message: 19
Date: Wed, 21 Mar 2012 18:02:35 -0700
From: Mark Wieder mwie...@ahsoftware.net
To:
The dictionary needs an example of how the try command is used to catch an
error.
Anyone have an illustration?
For example, suppose one wanted to catch an error in the statement:
put the {some built-in property of an object] of button soAndso into tProp
Where the built in property may not
Bob,
Yes that would be fine, except that I get a compilation error at the line:
catch theError, theNum
RR says: (try: not a command), char 7
Jim
Bob Sneidar wrote:
try
put foo into myVar
put the value of myVarr
catch theError, theNum
-- breakpoint
answer theNum cr line1
It does give an error here. I get the error message:
button Button: execution error at line n/a (Object: object does not have
this property)
Jim
Message: 2
Date: Thu, 22 Mar 2012 09:55:20 -0700
From: Pete p...@mollysrevenge.com
To: How to use LiveCode use-livecode@lists.runrev.com
Thanks Peter.
The problem now is what do these bloody error numbers translate into.
Is the a list somewhere?
When I try:
on mouseUP
try
put the cantdelete of me into temp
catch tErr
--- if tErr is ??
end try
end mouseUP
I get an error of 348,0,0
Jim
Peter Brigham wrote:
The
The following script will provide a start in finding all the property values of
a given object, in this case the button button
It starts with the propertynames which is a list of ALL built-in property
names in LC.
It then attempts to put the value of each of these properties for the given
-livecode@lists.runrev.com
Subject: Re: Need an example of how to use try and catch
Message-ID: 4f6b6211.3070...@hyperactivesw.com
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On 3/22/12 12:21 PM, Jim Hurley wrote:
Thanks Peter.
The problem now is what do these bloody error
Stephen,
What has me puzzled, maybe you have the answer, is a function to return ALL the
properties of a given object.
As many have said, the properties function is incomplete. For one thing it
omits the foregroundcolor of the scrollbar. (I wonder whether those properties
in the inspector
I have a slider in which the showValue is set to true.
Unfortunately, the card background is gray and the black slider value is very
difficult to read.
The inspector for the slider does not display an option for the foreground
color. Why not?
Using 4W Properties (thank you RIchard) the
I have found (legendary) Renaldi's SmartProperties invalueable. It
allows one to compare side by side the properties to two objects. It is
valuable in finding out why two, apparently identical, controls behave or look
different.
Jim Hurley
Message: 24
Date: Mon, 19 Mar 2012 11:42:46 -0700
Thanks Scott and Colin,
LiveCode and this list make it sooo easy. It is almost embarrassing.
Does anyone know what program, if there is ONE, that opens when you double
click on a jpg or png image in Windows?
What happens when you click on an image.jpg? Does Windows present options?
Jim
(Forgot the Subject line.)
Thanks Scott and Colin,
LiveCode and this list make it sooo easy. It is almost embarrassing.
Does anyone know what program, if there is ONE, that opens when you double
click on a jpg or png image in Windows?
What happens when you click on an image.jpg? Does Windows
Is it possible to export a snapshot so that it opens directly in Preview?
(Where it might be printed.)
What would be the comparable image viewer in Windows? (Where it might be
printed.)
Thanks,
Jim Hurley
___
use-livecode mailing list
use-livecode
The subject line says it all.
I would like the like the clicked line to do something visual that tells the
user that his action has been recognized.
Thanks,
Jim
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to
Peter,
Perfect. I was trying the following:
on mouseUp
put the clickline into tClickline
set the textStyle of line (word 2 of tClickline) of me to bold
wait 1 seconds
set the textStyle of line (word 2 of tClickLine) of me to plain
end mouseUP
But LC ignored the wait time, setting
Hi Francis,
I have used this, suggestion by a list member some time ago, to restrict the
find to a specific field.
You might substitute the card id in place of the field id.
on mouseUP
put the value of the clickline into tText
put the id of field theText into tNum
find empty
find
I guess the question must be asked: Given the lack of attention to the problem
of running Revlets on the web, is RunRev abandoning Revlets, or just very busy
with things that have a higher priority?
I can see that they have a lot on their plate. The neglect of the User Samples
application is
On 1/23/12 2:16 PM, Jim Hurley wrote:
I think I knew how to do this at one time.
I have an app saved for the Web as a revlet
After saving as a standalone (for the web) a page opens in Safari
that says it is a test page--BUT NOT APP. Is the app supposed to open
in Safari as a RevLet
09:56:25 -0600
From: J. Landman Gay jac...@hyperactivesw.com
To: How to use LiveCode use-livecode@lists.runrev.com
Subject: Re: Revlets on the web
Message-ID: 4f1ed4a9.8050...@hyperactivesw.com
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On 1/23/12 2:16 PM, Jim Hurley wrote
PM,
Andre
Garzia wrote:
Jim,
RevLets only work in 32bit mode. There is no way to solve that at this
moment.
=/
On Wed, Jan 25, 2012 at 10:34 PM, Jim Hurley jhurley0305 at sbcglobal.net
wrote:
Addendum to previous post. I upgraded FireFox to the latest version and now
I get
I think I knew how to do this at one time.
I have an app saved for the Web as a revlet
After saving as a standalone (for the web) a page opens in Safari that says it
is a test page--BUT NOT APP. Is the app supposed to open in Safari as a RevLet?
The file created on my drive consists as a
to simply lvrmna.com?
I hate this stuff. I have no idea what's going on under the hood.
Thanks,
Jim Hurley
Mark,
Thank you going into the details. They will be helpful when Heather returns
information about my user name and password..
It has been months since I have used cPanel.
Wish
Oops.
That last message of mine was intended for Mark, not the entire list.
Jim Hurley
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http
Mark,
Thanks Mark. I did as you suggested without results. I am trying to unprotect
the url:
jamesphurley.com/District3
but I still get this message:
To view this page, you must log in to area “District3” on
jamesphurley.com:80.
I have no idea what the :80 suffix means.
District3
P.S.
Below the message (To view this page etc.) are the fields in which to enter a
username and password.
Jim
Mark,
Thanks Mark. I did as you suggested without results. I am trying to unprotect
the url:
jamesphurley.com/District3
but I still get this message:
To view this
Is Rev Online broken? It doesn't seem to be accepting user contributions.
Also, the Browse feature recognizes .rev but not .livecode
Jim Hurley
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe
: text/plain; charset=ISO-8859-1; format=flowed
On 1/2/12 2:37 PM, Jim Hurley wrote:
Thanks Ken,
I see that the dictionary warns against taking control of the mouse,
The discussion concludes with this admonishment: You must use this
power only for good.
I feel evil. I just wanted
Thanks Ken,
I see that the dictionary warns against taking control of the mouse, The
discussion concludes with this admonishment: You must use this power only for
good.
I feel evil. I just wanted to simulate the clicking of a button in my help
script.
I will need to consult my spiritual
Mark,
Thank you going into the details. They will be helpful when Heather returns
information about my user name and password..
It has been months since I have used cPanel.
Wish me luck.
Jim Hurley
Message: 24
Date: Tue, 27 Dec 2011 17:04:59 -0800
From: Mark Wieder mwie
Roger,
Very resourceful of you to discover, not just the typo, but the correction.
It is indeed a livecode file so:
go url http://www.jamesphurley.com/TextToSpeech.livecode;
Jim Hurley
Message: 14
Date: Tue, 27 Dec 2011 12:49:24 -0500
From: Roger Eller roger.e.el...@sealedair.com
I am a novice at this sort of thing, so bear with me.
I have an account on RR's server. The domain servers are listed as:
NS2.ON-REV.COM
NS1.ON-REV.COM
I would like to password protect a page. Is there anything about the RR server
that affects how that should be done?
I'm not looking for
.
Thanks again, vert nice,
Jim Hurley
I have put my Text to Speech app up on the web:
go url http://jamesphurley.com/TextToSpeech.livecode;
Mike Bonner wrote:
Yep, in simplest form its not to bad. I put a bunch of text into a field
then to read it, set the itemdelimter to . put
Roger,
It is even better for proofreading.
I have put my Text to Speech up on the web. Run this in the message box.
go url http://www.jamesphurley.com/TextToSpeech.rev;
Jim Hurley
Roger Eller wrote:
I like it! I used your post as the text to read aloud via your script.
With a little
in pContent
end repeat
if pStr is among the words of pContent then
return num of words of char 1 to offset(pStr,pContent) of pContent
else return 0
end findWord
Hugh Senior
FLCo
Jim Hurley wrote:
Strike most of my last message. It appears that most of the function can
Dave,
Ah! Those mighty regular expressions. Sm day I'll have to study up on them.
Yes that works very nicely.
The other method (one that I understand ;) ) now boils down to this:
on mouseUp
put field 1 into tText
put containsWord(time, tText)
end mouseUp
function containsWord
Bob et. al.
Message: 14
Date: Wed, 21 Dec 2011 08:24:59 -0800
From: Bob Sneidar b...@twft.com
To: How to use LiveCode use-livecode@lists.runrev.com
Subject: Re: is among the words AND find words
Message-ID: ba41a52b-8b6e-4dc0-9996-1253098ea...@twft.com
Content-Type: text/plain;
Thanks, Hugh.
Unfortunately there are a couple of problems. It won't work for this line:
Now is the time.
because of the period.
Nor for the line
Now is the time for all
because of the quotes.
Stripping the lead and trailing characters is cumbersome, but fairly
reliable--except for
Thanks to all for their help with this. I learned a new key word in token.
So far the function below handles everything reasonable I have thrown at it,
including finding time in the less than reasonable text in field 1:
Now is timely the timeless time.-for, all good.
on mouseUp
put
Strike most of my last message. It appears that most of the function can be
replaced with an examination of the entire text (dah) as in:
put tWord is among the tokens of tList into tTest
return tTest
This tests the whole text; it is not necessary to test each string containing
the
)
behave the same with respect to the space delimiter.
Or am I missing something?
Jim Hurley
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http
, but if you set
wholeMatches to true and then use wordOffset(time,field myField) then I
think you will get the results you are looking for. wordOffset() returns 0
when it fails to find a match.
Bob
On Dec 20, 2011, at 4:42 PM, Jim Hurley wrote:
If the sentence:
Now is the time
) or time. or
time, or with quotes on either side, etc.
I wonder what algorithm LC uses in Find word(s) to find only words.
Jim Hurley
Thanks Bob, Good thought, but it still doesn't work.
The script:
on mouseUp
put now is the time, for all good men. into tText
set wholematches to true
I have a tab menu button.
When I open the card I want to set the highlight of a particular tab to true.
How do I address that property?
Thanks,
Jim Hurley
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url
.
When I open the card I want to set the highlight of a particular tab to
true. How do I address that property?
Thanks,
Jim Hurley
I have a tab menu button.
When I open the card I want to set the highlight of a particular tab to
true. How do I address that property
key strokes but not mouse clicks. (See script below.)
Is there some orthodoxy by which I can under stand this?
Jim Hurley
on mouseUP tNum
put the locktext of field id 1003 cr after msg box
if tNum = 3 then set the locktext of field id 1003 to not the locktext of
field id 1003 -- returns
I'll have to wait for the summary list to respond to answers to that last
message, as I still cannot access the RR archives.
Heather?
Jim Hurley
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe
Thanks Peter.
Actually i do want to just toggle the locktext of the field.
I use the field to proofread the text by reading from the clickchunk to the
end using revspeak.
If I encounter an error while speaking, I want to be able to easily click the
field again to allow for edit. The control
Wilhelm et. at.
Here is Heather's response to my question last Friday:
Jim Hurley
On Nov 25, 2011, at 9:46 AM, use-livecode-requ...@lists.runrev.com wrote:
Message: 11
Date: Fri, 25 Nov 2011 07:59:33 +
From: Heather Nagey heat...@runrev.com
To: How to use LiveCode use-livecode
101 - 150 of 150 matches
Mail list logo