Retroactive background behavior

2017-03-27 Thread Jim Hurley via use-livecode
As I recall there is a method of retroactively creating a button with background behavior, this is appears on all existing cards. How is my recollection? Jim Hurley ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Re: Yertle the Turtle

2017-02-02 Thread Jim Hurley via use-livecode
I had been promoting Turtle Graphics in RR/LC for many years. Here are 4 implementation of Turtle Graphics in LC: http://jamesphurley.com/Revolution.html Jim > > Message: 19 > Date: Mon, 30 Jan 2017 22:20:10 +0200 > From: Richmond Mathewson

Re: Parsing a PDF file

2016-07-11 Thread Jim Hurley
Kay Lan wrote: In this particular case I found it much easier to open the PDF file in Adobe Acrobat and doing a “Save as — Text (Accessible)” Jim > > On Mon, Jul 11, 2016 at 9:36 AM, Roger Eller > > wrote: >> Since this seems to

Re: Parsing a PDF file

2016-07-10 Thread Jim Hurley
hh wrote: > > [Description for MacOS, works on Win/Linux similar.] > > The best results for extracting tables from PDF I had with the free "RAW" > method: > > = Open the file with Preview. > = Select All (menu Edit). Copy. > = Go to a LC stack with a field "INCOMING" > = Use by a button or the

Re: Parsing a PDF file

2016-07-10 Thread Jim Hurley
ogrammers there, and they love to program. A trait not uncommon among us LC folks. Jim Hurley > > Many of the laws we as citizens of the US are required to follow are not > available for us to read without paying a fee. Cal Malamud, Public > Resource, et al, are working to plac

Re: Parsing a PDF file

2016-07-10 Thread Jim Hurley
Richard Gaskin wrote: > > Jim Hurley wrote: > >> Thanks Richard. >> >> You are so right about releasing data in complex formats. >> I spoke to the election's off about posting election results in PDF >> format. >> I knew there was not use fight

Re: Parsing a PDF file

2016-07-09 Thread Jim Hurley
magic on. (The other two text options in Adobe are "Rich Text Format" and "Text (Plain)", neither of which works--only "Text (Accessible)" I was unaware of Apple's Automator. I'll look into it--but it is unnecessary for this project. Thanks again, Jim Hurley > Me

Parsing a PDF file

2016-07-08 Thread Jim Hurley
My County is now publishing the election results to the web as a PDF file: https://www.mynevadacounty.com/nc/elections/docs/2016%20Elections/June%207%2c%202016%2c%20Presidential%20Primary/Election%20Results/precinctreport.pdf Is there a way to parse these PDF files? Thanks, Jim

Re: Get url "file:///..."

2016-06-21 Thread Jim Hurley
Hi Klaus, Yes, that works well. Thank you. But it gives me the html source code. I can live with that, but lots of parsing to get the text You seem to suggest I can get the "text" or (?) or html "source" hh's script (below) does that but it is very unstable, crashing frequently Jim Klaus

Re: Get url "file:///..."

2016-06-21 Thread Jim Hurley
Thank you so much. So useful! Understatement of the year: "Using above "text" instead of "source" may save you some work." It saves a mountain of parsing. Shouldn't this be a part of LiveCode? Jim Hurley > Message: 1 > Date: Mon, 20 Jun 2016 22:

Re: Get url "file:///..."

2016-06-20 Thread Jim Hurley
bably say > "can't open file". You'll need to urldecode to set the folder too if you > decide to go that way. > > On Mon, Jun 20, 2016 at 6:23 PM, Dar Scott wrote: > >> urlDecode() ? >> >>> On Jun 20, 2016, at 5:54 PM, Jim Hurley >> wrote: >>

Get url "file:///..."

2016-06-20 Thread Jim Hurley
I got this web page address from the county election's office: file:///Users/jimhurley/Library/Mail%20Downloads/elec_web/precincts/241.htm It opens when I paste it into the address field in Safari. But get url

Re: The Future of LiveCode in Education

2016-02-29 Thread Jim Hurley
As programmers, most of us on this list think mainly of programming as a tool for solving problems. Of course, that’s how it was born. The original use of the computer was to solve hard science problems. It was assumed that a couple dozen around the world would be sufficient. But, besides

Re: Area of Irregular Polygon

2015-11-15 Thread Jim Hurley
quare bracket > . . . not that that helps at all! > > Cheers, > > Roger > > > > >> On Nov 11, 2015, at 2:35 PM, Jim Hurley <jhurley0...@sbcglobal.net> wrote: >> >> Very interesting discussion. >> >> However, I was puzzled by the

Re: Area of Irregular Polygon

2015-11-11 Thread Jim Hurley
Very interesting discussion. However, I was puzzled by the following term in the sum used to calculate the area of a polygon--labeled the centroid method. x(i)*y(i+1) - x(i+1)y(i) Where does this come from? If one were using the traditional method of calculating the area under a curve

Primitive menu

2015-06-01 Thread Jim Hurley
I have a no frills Livecode stack I wish to save as a Stand Alone, but without a Livecode menu bar. When I do this (on my Mac) I get an Apple Menu headed by the stack name, followed by items: About..., Services, Hide [stack name], Hide others, Show All, Quit [stack name] Which is perfect,

Re: use-livecode Digest, Vol 141, Issue 2

2015-06-01 Thread Jim Hurley
I’m trying to sent a LC stand alone app to a friend. But I when I send it to myself as a test, I get a message: Can’t be opened because it is from an unidentified developer.” Is there a work-around? Jim ___ use-livecode mailing list

Mailing stand alone apps.

2015-06-01 Thread Jim Hurley
Oops, on the Subject of the previous message. I’m trying to email a LC stand alone app to a friend. But I when I send it to myself as a test, I get a message: Can’t be opened because it is from an unidentified developer.” Is there a work-around? Jim

Re: Automated Drawing

2015-05-09 Thread Jim Hurley
:52, Richmond wrote: On 21/03/15 18:17, Jim Hurley wrote: Richmond, I wrote this Turtle Graphics library in the dark ages of RR, before ?sum? became a reserved word. So, comment out the ?sum? handler in the stack script. Jim Having copied your stack script across into my stack I am

Re: Automated Drawing

2015-05-09 Thread Jim Hurley
-ID: 554e3ce3.2030...@gmail.com Content-Type: text/plain; charset=utf-8; format=flowed On 09/05/15 16:52, Richmond wrote: On 21/03/15 18:17, Jim Hurley wrote: Richmond, I wrote this Turtle Graphics library in the dark ages of RR, before ?sum? became a reserved word. So, comment out

Re: Automated Drawing

2015-03-21 Thread Jim Hurley
[ author ] http://lists.runrev.com/pipermail/use-livecode/2015-March/author.html#212901 On 21/03/15 17:09, Richmond wrote: On 21/03/15 13:57, Jim Hurley wrote: Message: 21 Date: Sat, 21 Mar 2015 09:02:23 +0200 From: Richmond richmondmathewson at gmail.com http://lists.runrev.com/mailman

Re: Automated Drawing

2015-03-21 Thread Jim Hurley
-livecode/2015-March/thread.html#212901 [ subject ] http://lists.runrev.com/pipermail/use-livecode/2015-March/subject.html#212901 [ author ] http://lists.runrev.com/pipermail/use-livecode/2015-March/author.html#212901 On 21/03/15 17:09, Richmond wrote: On 21/03/15 13:57, Jim Hurley wrote

Re: Automated Drawing

2015-03-21 Thread Jim Hurley
Message: 21 Date: Sat, 21 Mar 2015 09:02:23 +0200 From: Richmond richmondmathew...@gmail.com mailto:richmondmathew...@gmail.com To: How to use LiveCode use-livecode@lists.runrev.com mailto:use-livecode@lists.runrev.com Subject: Automated Drawing Message-ID: 550d177f.10...@gmail.com

Re: Automated Drawing

2015-03-21 Thread Jim Hurley
:35, Jim Hurley wrote: Automated Drawing Richmond richmondmathewson at gmail.com mailto:use-livecode%40lists.runrev.com?Subject=Re%3A%20Automated%20DrawingIn-Reply-To=%3C550D8A50.20300%40gmail.com%3E Sat Mar 21 16:12:16 CET 2015 Previous message: Automated Drawing http

Re: Can I produce a Google map showing SEVERAL address?

2014-11-11 Thread Jim Hurley
luck! Rick On Nov 10, 2014, at 9:00 PM, Jim Hurley jhurley0...@sbcglobal.net wrote: The following gets me a Google map of a single address: on mouseUP put http://maps.google.com/maps?client=safarirls=enq=; into tPrefix --Mac only ? put 15281 Kimberly Ct, Nevada City, ca, 95959

Can I produce a Google map showing SEVERAL address?

2014-11-10 Thread Jim Hurley
tPrefix tAddress into temp launch url temp end mouseUP The site is marked on the map with an inverted teardrop. Is it possible to get a map showing the location of more than one address at a time? Thanks, Jim Hurley ___ use-livecode mailing list use

Re: Opening a stack stored in dropbox's public fold

2014-11-05 Thread Jim Hurley
://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode; -- https://dl.dropboxusercontent.com/u/47044230/CryptDivisionNew.livecode? go IT end mouseUp Thierry 2014-11-04 16:46 GMT+01:00 Jim Hurley jhurley0...@sbcglobal.net: Hi Gerry, You say your link doesn?t work on your Mac. My link works on my

Re: Opening a stack stored in dropbox's public fold

2014-11-04 Thread Jim Hurley
link is new, my Mac is running Yosemite. Still doesn't work. g On Tue Nov 04 2014 at 1:40:34 AM Jim Hurley jhurley0...@sbcglobal.net wrote: Thanks Jacque. No it is a fresh link. But new information. It (go url Dropbox link) works on my MacBookAir, running 10.9.5 and all versions

Re: Opening a stack stored in dropbox's public fold

2014-11-03 Thread Jim Hurley
Are you using an old link? I had a similar failure recently and found out that Dropbox had changed the link. I coded in the new one and it worked again. It was a little disconcerting that they'd do that. On November 2, 2014 5:01:42 PM CST, Jim Hurley jhurley0...@sbcglobal.net wrote

Re: (Arbitrarily) Long-Division Script

2014-11-03 Thread Jim Hurley
Hi Igor, Some years ago, 2002 to be exact, I built a stack that emulated a puzzle I enjoyed. The puzzle was to decipher a long division problem where all the numbers had been replace by coded letters. My algorithm is cumbersome--I needed dividends and divisors that yielded all 10 digits in the

Opening a stack stored in dropbox's public folder

2014-11-02 Thread Jim Hurley
There was a time when this worked, but not now. I put go url https://dl.dropboxusercontent.com/ etc. And I get no such card If I put the Dropbox's public link into the address line of Safari I get a list of the scripts, so I know the link is OK, Doesn't this work any more in RR?

Re: Getting a list of object properties

2014-10-10 Thread Jim Hurley
Message: 1 Date: Thu, 9 Oct 2014 13:23:09 -0700 From: Peter Haworth p...@lcsql.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: Getting a list of object properties Message-ID: CAGDT7eO+uQWL3+AvOz=N=CMsykF1WMz7=qjocdk6jvsefdu...@mail.gmail.com Content-Type:

Re: Getting a list of object properties

2014-10-10 Thread Jim Hurley
-1252; format=flowed On 10/10/2014, 7:02 AM, Jim Hurley wrote: Jacque, I?m missing something in your explanation of how to use the dictionary. I'm not sure what part isn't clear? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http

M

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

Re: OT: Opening stack from Dropbox--Now Fun with ellipses

2014-07-14 Thread Jim Hurley
, Jim Hurley jhurley0...@sbcglobal.net wrote: Is it possible to do this in the message box: go url xxx where xxx is the shared link created in Dropbox using a control click on the file. And then have the stack open in Livecode? I continually get the message: No such card Thanks

OT: Opening stack from Dropbox

2014-07-13 Thread Jim Hurley
Is it possible to do this in the message box: go url xxx where xxx is the shared link created in Dropbox using a control click on the file. And then have the stack open in Livecode? I continually get the message: No such card Thanks, Jim ___

Re: Conflicting paths

2014-07-12 Thread Jim Hurley
Hi Richard, I think I'm missing something. Why construct the circle (or ellipse) by setting points of a graphic when the graphic oval tool produces a much better result? No matter how many points I use when I set the points of a graphic, I still get jaggies. P.S. I tried to include a

Re: Dragging an object

2014-07-10 Thread Jim Hurley
Message: 19 Date: Thu, 10 Jul 2014 17:24:16 -0700 From: Peter Bogdanoff bogdan...@me.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Dragging an object Message-ID: 14789523-9af4-4531-83cf-ff60644d1...@me.com Content-Type: text/plain; charset=windows-1252 Hi, I

Reading, Writing, Arithmetic, and Lately, Coding

2014-05-12 Thread Jim Hurley
There was an article in this Sunday's NYT that should be of interest to RunRev. It describes how coding is taking its place beside reading 'riting and 'ritmatic in early education. Here is the link to the article:

Re: New chunks

2014-03-16 Thread Jim Hurley
Subject: Re: New chunks Message-ID: 5865b76a-362c-44a2-97e6-1bf49181a...@gmail.com Content-Type: text/plain; charset=windows-1252 On Mar 15, 2014, at 7:05 PM, Jim Hurley wrote: The following app allows one to put any text into a field and search for any or all words (whole words of patricidal

Re: New chunks

2014-03-16 Thread Jim Hurley
but might be worth a look. Pete lcSQL Software On Mar 15, 2014 4:25 PM, Jim Hurley jhurley0...@sbcglobal.net wrote: ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: New chunks

2014-03-15 Thread Jim Hurley
, 2014, at 11:51 AM, Jim Hurley wrote: I have a poor man?s version that is workable. However just ran across a sentence in today?s NYT that I will have to include: (?What they?re offering people is a full stomach and an empty soul.?) I had dealt with the quote beyond the period

Re: New chunks

2014-03-15 Thread Jim Hurley
Just thought of a situation I didn’t deal with. The apostrophe is tricky. In doing a word search, you would want to kept the apostrophe in the word “don’t” but probably not in “Howard’s best friend is his dog.” “Howard’s” should appear in the found sentence but not in the word search, i.e. If

Re: New chunks

2014-03-13 Thread Jim Hurley
Subject: Re: New chunks Message-ID: a9cfc885-71fb-4f78-b7df-df5954511...@runrev.com Content-Type: text/plain; charset=us-ascii On 13 Mar 2014, at 04:48, Jim Hurley jhurley0...@sbcglobal.net wrote: So I really can't see the purpose of RR's sentence chunk. I wish they would explain

Re: New chunks

2014-03-12 Thread Jim Hurley
doubtful a number would end in a period without it being the end of a sentence. Bob On Mar 11, 2014, at 15:34 , Jim Hurley jhurley0...@sbcglobal.net wrote: Can someone explain how the ?sentence chunk would work? How are decimal points, and points in an abbreviation distinguished

Re: New chunks

2014-03-11 Thread Jim Hurley
Can someone explain how the “sentence chunk would work? How are decimal points, and points in an abbreviation distinguished from the “period” that deliniates the end of a “sentence?” Does it presume that the exitsing text has special embedded “periods?” I’ve written my own, but it is very

Re: Wolfram language

2014-02-27 Thread Jim Hurley
Message: 3 Date: Wed, 26 Feb 2014 09:35:12 -0800 From: Richard Gaskin ambassa...@fourthworld.com To: use-livecode@lists.runrev.com Subject: Re: Wolfram language Message-ID: 530e25d0.5030...@fourthworld.com Content-Type: text/plain; charset=windows-1252; format=flowed Jim Hurley wrote

Re: Wolfram language

2014-02-26 Thread Jim Hurley
Message: 29 Date: Tue, 25 Feb 2014 20:22:48 -0800 From: Richard Gaskin ambassa...@fourthworld.com To: use-livecode@lists.runrev.com Subject: Re: Wolfram language Message-ID: 530d6c18.3080...@fourthworld.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Did you see what

Extracting emails from mac mail

2014-02-04 Thread Jim Hurley
I seem to recall that it was possible to extract the text from MAC Mail Mail boxes. Am I dreaming? Jim Hurley ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: the points of graphic

2014-01-19 Thread Jim Hurley
, but with round ends, by using circles). Then, with math wizard code, trace the outer overall shape into the points of a single new polygon. THAT would be uber-useful! ~Roger On Jan 18, 2014 11:04 AM, Jim Hurley jhurley0...@sbcglobal.net wrote: Message: 2 Date: Fri, 17 Jan 2014 16:00:43

Re: the points of graphic

2014-01-19 Thread Jim Hurley
Thanks, Klaus, and sorry Michael. I forgot. I have sine and cosine functions in the stack script: function sine tAngle return sin(tAngle /180*pi) end sine Similarly for the cosine. Jim Hi Michael, Am 19.01.2014 um 16:41 schrieb Michael Kristensen michael-kristensen at dsa-net.dk :

Re: the points of graphic

2014-01-18 Thread Jim Hurley
Message: 2 Date: Fri, 17 Jan 2014 16:00:43 +0200 From: j...@souslelogo.com To: use-revolut...@lists.runrev.com Subject: the points of graphic Message-ID: b058292c0d6ba33b59b2906da17e9271.squirrel@185.8.104.234 Content-Type: text/plain;charset=iso-8859-1 Hi list, Is there a way to

Re: With Apple script no longer supported, how do I....

2013-08-07 Thread Jim Hurley
a killer application. FM, in attempting to make it easy (?) for the novice, made it traumatic for experienced programers. Jim On Tue, Aug 6, 2013 at 5:55 PM, Jim Hurley jhurley0...@sbcglobal.netwrote: Election season is fact approaching in my county. I do a lot of election DB work

With Apple script no longer supported, how do I....

2013-08-06 Thread Jim Hurley
get every record of layout list end try end transaction end tell It was slow but it worked. With Apple script gone, will there remain a way to script in LC a way to extract info from FM? Please tell me this is a naive question, and the answer is easy. Jim Hurley

Re: [OT] Google Math Fun

2013-07-10 Thread Jim Hurley
Hi Scott, Google math is great. It will even evaluate factorials up to about 170. 170! = 7.257416e+306 Most calculators show an overflow beyond 60! But Wolfram alpha will evaluate 300! = 3.0605751221644063603537046129726862938858880417 × 10^614 And God knows how much further. Live code

Re: [OT] Google Math Fun

2013-07-10 Thread Jim Hurley
Curses! And recurses! I meant recursive not iterative. Jim Hi Scott, Google math is great. It will even evaluate factorials up to about 170. 170! = 7.257416e+306 Most calculators show an overflow beyond 60! But Wolfram alpha will evaluate 300! =

Re: Polygon's share of its rectangle inconsistent?

2013-06-09 Thread Jim Hurley
Message: 1 Date: Sat, 8 Jun 2013 11:06:05 -0600 From: Dar Scott d...@swcp.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: Polygon's share of its rectangle inconsistent? Message-ID: eb5d4974-e672-4afd-9b5f-c353e4aa5...@swcp.com Content-Type: text/plain;

Re: Polygon's share of its rectangle inconsistent?

2013-06-07 Thread Jim Hurley
Hi David, Would it help if you could calculate the area of the polygons? The following determines the area of any singly connected (the area of a figure 8 is zero) closed polygon: on mouseUp put the points of grc polygon into tPoints put line 1 of tPoints into tStart put the number of

Re: Alternative To A Specific Switch Statement

2013-03-15 Thread Jim Hurley
Hi Ender, I don't know how this trig function arose in you application, but you may want to take a look at the atan2 function in Live Code. It handles all the funny things that happen at the branch cuts in the trig functions beautifully. It dispenses with the need for a switch function. Jim

Re: Editing polygon points

2013-03-07 Thread Jim Hurley
line to the Points and then reposition the points. And then, as you know, there are Bezier curves. Jim Hurley Message: 27 Date: Thu, 07 Mar 2013 13:28:18 + From: John Craig j...@splash21.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Editing polygon points Message

Re: Physics Engine support

2013-02-27 Thread Jim Hurley
And then, there is physics in the Physics Engine support. Jim Hurley ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman

The love formula

2013-02-15 Thread Jim Hurley
This is a little late for Valentine's day, but I was being smothered in affection yesterday ;) Here is a link to show the formula for a heart:

RE: OT: Super duper scripts in MS Word

2013-01-20 Thread Jim Hurley
Paul and Bob, Thanks. I see now. And apparently I saw this some time ago. Using the character dialog box you suggested, I see that in my existing sample, the superscript of my superscript is elevated by 3 points. I have absolutely no recollection of having set that elevation. I wish I could

OT: Super duper scripts in MS Word

2013-01-18 Thread Jim Hurley
, without success. I have tried the obvioius: FIrst create Y to the Z power, and then apply this as a superscript for X. But the power of X become YZ. Z is no longer a superscript of Y. Is there even a way to look at the underlying Word code to see how I achieves this? Jim Hurley I am thinking

Re: Capture the Trig Function from an Option Menu Button

2012-12-10 Thread Jim Hurley
It turns out that Do is fast enough. Here is the Do script: (The script might read a litle better by using x in the repeat loop instead of i.) on mouseUp put the label of btn myOptionMenu into tTrigFunction --It might be necessary to take care in using the following replacements

Re: Capture the Trig Function from an Option Menu Button

2012-12-10 Thread Jim Hurley
, having apparently produced it in less than an hour!! My script appears to be slightly slower using a switch/case structure. I'll test it out when I get a moment. Thanks very much, Roger On Dec 10, 2012, at 8:59 AM, Jim Hurley jhurley0...@sbcglobal.net wrote: It turns out that Do

Re: Capture the Trig Function from an Option Menu Button

2012-12-10 Thread Jim Hurley
--positive down. If you want to use the traditional cartesian y-axis--positive up-- change y0 + y to y0 - y Otherwise you trig curves will all look upside down. Jim On Dec 10, 2012, at 8:59 AM, Jim Hurley wrote: get put the tTrigFunctionof tAngleinto y do

Re: Capture the Trig Function from an Option Menu Button

2012-12-09 Thread Jim Hurley
Well, Mark, maybe not so flexible. For example, to use Do with the arctan() function in LC, as you suggest, would require you to replace the arctan text with atan text, or more likely the atan2 text, as that is how LC expresses that trig funciton. That might not be easy if arctan text

Re: Capture the Trig Function from an Option Menu Button

2012-12-09 Thread Jim Hurley
Hi Mark I can recall one case where Do was the perfect solution for me. It was a tutorial to help students understand the physics of the rainbow. It provided them with a mini-programing language, that allowed them to control how a ray of light might interact with a drop of water. They would

Re:Capture the Trig Function from an Option Menu Button

2012-12-08 Thread Jim Hurley
Hi Roger I'm sure I missed the point of this thread. I'll go through it more carefully. But could you tell me how this mouseUP handle fails to do the job? Thanks, Jim on mouseUp put field 1 into tAngle put tAngle*pi/180 into tAngle --put the label of btn myOptiionMenu into sOption

Reversing the end point arrow

2012-12-08 Thread Jim Hurley
In RR the start arrow and the end arrow point away from each other. I needed a line with the more traditional arrows, both pointing in the same direction along the line. The following handler will reverse the direction of the start arrow. It does so by introducing a third point ON THE LINE

Re: Badge in answer modal?

2012-11-22 Thread Jim Hurley
script if you like put end preOpenStack into line tLineNo of tScript set the script of card 1 of stack answer dialog to tScript -- Or you might just change the new script line to set the loc of this stack to the screenLoc end mouseUp Jim Hurley On Nov 22, 2012, at 10:00 AM, use-livecode-requ

Re: Badge in answer modal?

2012-11-21 Thread Jim Hurley
but it continued to show in at the original screenLoc. The new script didn't seem to take. Is there a way to change the loc of the answer dialog box? There are times when it is just very inconvenient. I seem to recall a discussion of this topic some time ago. Jim Hurley On Nov 21, 2012, at 10:00 AM, use

Livecode's appetite

2012-11-13 Thread Jim Hurley
I just happened to notice Livecode's CPU appetite,--as reported in the Activity Monitor. It is takes up 6.7% of the CPU available usage, even while I am using MS Word. On the other hand, Excel is using only .2% There is probably a good reason for LC's appetite. Jim

Re: Livecode's appetite

2012-11-13 Thread Jim Hurley
Hi Mark, Thanks for your thoughtful reply. Very interesting. Quick first response: It appears there is a problem similar to that of the Uncertainty Principle in quantum mechanics, where one cannot observe the system without changing it. I went to my existing app that was open in Livecode to

The inverse of Interset

2012-11-10 Thread Jim Hurley
and so using is among on the keys is not an option. Jim Hurley ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo

Re: The inverse of Interset

2012-11-10 Thread Jim Hurley
Hi Phil, Thanks very much. You solved my problem. I was unaware of delete variable myArray[tKey] That is very fast. It appears that this works as well: repeat for each key tKey in the keys of arrayOne delete variable arrayTwo[tKey] end repeat This provided a very simple way to subtract

Re: [OT] Looking For OS X Troubleshooting Suggestions 22

2012-09-15 Thread Jim Hurley
@lists.runrev.com Subject: Re: [OT] Looking For OS X Troubleshooting Suggestions 22 Message-ID: CA+uh5kjsfnJQpD3F2hNQJiBfnnO8KdSXVEZNo---=x27ltj...@mail.gmail.com Content-Type: text/plain; charset=ISO-8859-1 On Fri, Sep 14, 2012 at 3:07 AM, Jim Hurley jhurley0...@sbcglobal.netwrote: But I have

Re: [OT] Looking For OS X Troubleshooting Suggestions 22

2012-09-13 Thread Jim Hurley
-- Message: 6 Date: Thu, 13 Sep 2012 08:53:37 -0700 From: Bob Sneidar b...@twft.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: [OT] Looking For OS X Troubleshooting Suggestions Message-ID: e6ae58af-e925-49d7-853e-1420d6524...@twft.com

Re: Word chunk includes punctuation

2012-08-15 Thread Jim Hurley
Message: 27 Date: Tue, 14 Aug 2012 14:41:48 -0500 From: J. Landman Gay jac...@hyperactivesw.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: Word chunk includes punctuation Message-ID: 502aa9fc.3000...@hyperactivesw.com Content-Type: text/plain; charset=ISO-8859-1;

Re: Word chunk includes punctuation

2012-08-15 Thread Jim Hurley
would post a line or two of text, the quintessential challenge, to demonstrate where the problems lie. Jim Hurley ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: making a graphic the shape of a bitmap

2012-07-29 Thread Jim Hurley
seem to be a way to edit a graphic's shape how do you mean? There is Reshape graphic under the Object menu for manual editing. Or did you mean something more sophisticated? Jim Hurley ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Any suggestions?

2012-07-24 Thread Jim Hurley
Message: 7 Date: Mon, 23 Jul 2012 20:54:14 -0500 From: J. Landman Gay jac...@hyperactivesw.com To: How to use LiveCode use-livecode@lists.runrev.com Subject: Re: Any suggestions? Message-ID: 500e0046.2010...@hyperactivesw.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Re: The future of LiveCode

2012-07-20 Thread Jim Hurley
theory. Jim Hurley Emeritus Professor of Physics, Univ. of California Message: 22 Date: Fri, 20 Jul 2012 09:02:17 -0400 (EDT) From: stgoldb...@aol.com stgoldb...@aol.com To: use-livecode@lists.runrev.com Subject: The future of LiveCode Message-ID: 8cf348f062ed786-11ec-...@webmail-m025

Re: Hanoi Tower programming challenge...

2012-07-19 Thread Jim Hurley
have any idea what I'm talking about, how many lines of LiveCode would you need to print out all the steps of solving a Hanoi Tower game? Colin, How about this? I think this is the classic recursive solution. Jim Hurley on mouseUp ask How many disks are there? tower it , A, B , C end

Re: Hanoi Tower programming challenge...

2012-07-19 Thread Jim Hurley
Bob, Everybody finds these recursive algorithms hard, really hard, especially the Tower of Hanoi. Trouble is you can't start at the top. Start recursion with the factorial function. The factorial of 9 is 9 * factorial(8) and so on. Therefore: function Factorial n if n = 1 then

Re: ANN: Stars

2012-06-23 Thread Jim Hurley
Hi Alejandro, I never taught such a course. I did write a book some time back: Turtle Physics, Holt, Reinhard, and Winston, 1985. Also in Spanish: Fisica con Logo. That implementation of TG was in LOGO, not LiveCode. LOGO was a product of the MIT multimedia lab and was an outgrowth of an MIT

Re: ANN: Stars

2012-06-23 Thread Jim Hurley
Ken, Look at this website published by Jim Hurley: http://home.infostations.net/jhurley/ Ken Corey wrote [snip] Why should Mr. Miller and crew implement turtle graphics when it's quite possible for an enterprising teacher such as yourself to provide a library that does the same

Re: ANN: Stars

2012-06-23 Thread Jim Hurley
Hi Ken, I agree with you about RevOnline being a priority. Surly, if they haven't the time for that, they haven't the time to promote LC in education. If that should ever happen, I believe TG would have to be integral to LC, if it is to be taken seriously. Libraries do not provide the

ANN: Stars

2012-06-22 Thread Jim Hurley
As LiveCode announcements go, this one is pretty low key. All Stars does is provide the code for drawing a star. But there is a lesson for LiveCode to learn from the lowly five-pointed star, the one on the US flag. A star may be viewed in two ways: 1) Analytical Cartesian Geometry: A

Re: Sort of a problem

2012-05-12 Thread Jim Hurley
Thanks Peter. But I live in a very conservative county. None of yer fancy diagonals here. NW indeed! Actually it is the County election database, and a search reveals only N, E, S, and W. I think I finally get the phrase by of each. Live Code does pretty much what I did, except I'm sure

Re: Sort of a problem

2012-05-11 Thread Jim Hurley
Thanks Jerry. That is what I was looking for. There is some magic going on behind the scenes with that by ... of each that I never really caught on to. Jim Message: 5 Date: Thu, 10 May 2012 21:23:36 -0700 From: Jerry Jensen j...@jhj.com To: How to use LiveCode

Sort of a problem

2012-05-10 Thread Jim Hurley
sorts in Live Code. I confess, I never understood them. Is there a custom sort available in Live Code to do this kind of sort? Thanks, JIm Hurley Here is the bubble sort: on mouseUp put field 1 into tList put N E S W into tWordsToIgnore put the number of lines in tList into n repeat

Re: Animation

2012-04-22 Thread Jim Hurley
Hi J, LC can handle the game of 9 ball pool fairly well, and that is fairly computationally intensive--handling the collisions between multiple moving balls. You can find it at http://jamesphurley.com/Revolution.html To download a stack from that web site, get the link and run this in the

Re: ANN and OT: Calling All SETI Enthusiasts

2012-03-28 Thread Jim Hurley
Roger and RIchard, Two more distinctions: 1) Theories that supersede vs. theories that overturn The General theory of relativity superseded Newton's theory of gravity and QM superseded Newtonian dynamics. In each case, the second is the classical limit of the first. On the other hand,

Re: ANN: ScaleMatic

2012-03-28 Thread Jim Hurley
Roger, I was able to post to RevOnLine this morning. Jim Message: 7 Date: Wed, 28 Mar 2012 12:10:41 -0600 From: Roger Guay i...@mac.com To: use-livecode@lists.runrev.com Subject: ANN: ScaleMatic Message-ID: 1116b76a-8c30-4aff-a1cf-b2601961c...@mac.com Content-Type: text/plain;

Re: Collisions

2012-03-26 Thread Jim Hurley
Richard, That 9 ball stack is a bit wonkish. I have extracted from that stack the basic elements that illustrate the collision process. It can be found in: go url http://jamesphurley.com/jhurleyFolder/TwoBallCollisions.livecode; It illustrates the physics of the ideal collision. The

Re: Collisions

2012-03-25 Thread Jim Hurley
, and how to deal with enclosures that are may be convex. Jim Hurley I'm working on a very simple iPad app where 4 large shapes randomly float around on the screen. What I'd like to do is have them be able to bounce off each other if they happen to touch. Are there any tutorial pages

Re: Collisions

2012-03-25 Thread Jim Hurley
with different shapes, and how to deal with enclosures that are may be convex. Jim Hurley I'm working on a very simple iPad app where 4 large shapes randomly float around on the screen. What I'd like to do is have them be able to bounce off each other if they happen to touch

Re: Collisions

2012-03-25 Thread Jim Hurley
') into vT' put vR*cos(tCa) - vT*sin(tCa) into vxx put vR*sin(tCa) + vT*cos(tCa) into vyy put vR'*cos(tCa) - vT'*sin(tCa) into vxx' put vR'*sin(tCa) + vT'*cos(tCa) into vyy' return vxx,vyy,vxx',vyy' end resetVel Jim Hurley Geoff Canyon wrote: This works only if the balls hit head

  1   2   >