Re: [OT] unhosing .rev and .livecode files

2016-12-04 Thread Peter M. Brigham
crash, and that taught me that it’s not a matter of *if* a disk will fail, it’s a matter of *when*. Never again. — Peter Peter M. Brigham pmb...@gmail.com > On Dec 4, 2016, at 10:54 AM, Rick Harrison <harri...@all-auctions.com> wrote: > > “Diskwarrior" is a good too

Re: Pattern Matching in Livecode

2016-11-09 Thread Peter M. Brigham
an see the basic function find3words() is pretty compact. Once you have the utilities in place in a library, they can be used in all different kinds of contexts to shortcut things. You might be able to do this with a Regex expression, I don’t know, I’m allergic to Regex. I like to wor

Re: tableField . . . refering to columns

2016-11-04 Thread Peter M . Brigham
able in the Master Library, I believe. Or email me if you’re interested. — Peter Peter M. Brigham pmb...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscriptio

Re: excessive bounces

2016-10-29 Thread Peter M. Brigham
I got the same message, had to re-verify my subscription. Did gmail start doing something different? — Peter Peter M. Brigham pmb...@gmail.com > On Oct 28, 2016, at 3:50 PM, Mike Bonner <bonnm...@gmail.com> wrote: > > Ah k. Thanks for the clarification! > > On Fri, Oc

Re: Using return in a command script

2016-10-28 Thread Peter M. Brigham
Keep in mind that you can use the dialogData to return values from command handlers, or function handlers for that matter: … set the dialogData to “false” end myHandler — Peter Peter M. Brigham pmb...@gmail.com > On Oct 27, 2016, at 10:31 AM, Bob Sneidar <bobsnei...@iotecdigit

Re: Understanding 'the defaultStack'

2016-10-18 Thread Peter M. Brigham
rself -- everyone else is already taken. -- Oscar Wilde — Peter Peter M. Brigham pmb...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http:

Re: Understanding 'the defaultStack'

2016-10-08 Thread Peter M. Brigham
of script, but it only happens in that one place. I don’t know if this is related to the defaultstack issue. — Peter Peter M. Brigham pmb...@gmail.com > On Oct 8, 2016, at 4:54 PM, J. Landman Gay <jac...@hyperactivesw.com> wrote: > > On 10/8/16 3:22 PM, Richard Gaskin wrote: >> Th

Re: OT: Type on Background - Contrast Ratios

2016-10-06 Thread Peter M. Brigham
27, but you can’t read the text at all. — Peter Peter M. Brigham pmb...@gmail.com > On Oct 6, 2016, at 5:34 PM, hh <h...@hyperhh.de> wrote: > >> Jacqueline L.G. wrote: >> Does this work well enough?: >> >> function luminanceRatio c1,c2 -- pass two RGB tripl

Re: 9.0???

2016-10-01 Thread Peter M. Brigham
uests app now.” — Peter Peter M. Brigham pmb...@gmail.com > On Oct 1, 2016, at 1:58 PM, Richmond <richmondmathew...@gmail.com> wrote: > > Ding-Dong, the wicked witch is dead? > > Richmond. > > On 1.10.2016 20:52, Peter Bogdanoff wrote: >> It will be a bel

Re: Can we move the use-list to a Google Chat

2016-09-30 Thread Peter M . Brigham
> On Sep 30, 2016, at 5:24 PM, Mike Kerner wrote: > > I get the inability to search the archive for n00bs. That's a problem. > For those of us who receive these messages in one of our google accounts, > it isn't a problem. In my case I have a hair under 13,000

Re: Can we move the use-list to a Google Chat

2016-09-30 Thread Peter M. Brigham
e a hair under 13,000 threads that I > have received since my arrival in the LC community. I wonder if Edinburgh > has something resembling a searchable index for the n00bs, though. Nabble has a searchable index of the messages posted to the listserv: http://runtime-revolution.278305.n4.na

Re: IDE Script Editor question...

2016-09-27 Thread Peter M. Brigham
ot; of cd "main" of stack "revNewScriptEditor 1", tProgressSoFar) into tOffset > select before line tOffset+tProgressSoFar of \ >fld "script" of grp "editor" of cd "main" of stack > "revNewScriptEditor 1" >

Re: Syntax: mouseUp mouseButtonNumber

2016-09-27 Thread Peter M. Brigham
you’ve done it, you have contextual menus on demand with just a line or Two of script. — Peter Peter M. Brigham pmb...@gmail.com —— function popChoose -- popChoose() is the equivalent of the "answer" command, but for a pop-up list -- pops up a list of options, returns the opt

Re: Random topic: What script font do you like/use?

2016-09-27 Thread Peter M. Brigham
> > So... > > What fonts do you like best for code? > Or does everybody just fall back on Courier? ;-) I use Monaco 12. Monospaced, differentiates zero / “O,” and “1” / lower-case “L” / upper-case “i,” has built-in bold style. — Peter Peter M. Brigham pmb...@gmail.com

Re: How to extract specific columns/line items from a CSV file?

2016-09-27 Thread Peter M. Brigham
g column range: "5-3" -- or a combination "7,4-5,2,11-9" -- based on deleteColumns() by Hugh Senior & Michael Doub et. al., use-LC list -- adjusted by Peter M. Brigham, pmb...@gmail.com -- requires howMany() if pColNbrs = empty then return pData

Re: detecting currently connected printer - Mac

2016-09-16 Thread Peter M. Brigham
Fantastic! That does it. Many thanks. — Peter Peter M. Brigham pmb...@gmail.com > On Sep 16, 2016, at 2:22 PM, Colin Holgate <colinholg...@gmail.com> wrote: > > I found this, which lets you see all devices connected to USB: > > ioreg -p IOUSB -w0 | sed 's/[^o]*o //; s/@.*

Re: detecting currently connected printer - Mac

2016-09-16 Thread Peter M. Brigham
; On Sep 16, 2016, at 2:02 PM, Mike Bonner <bonnm...@gmail.com> wrote: >>> >>> does-- lpstat -p give the info you need? (from shell) >>> >>> On Fri, Sep 16, 2016 at 11:52 AM, Peter M. Brigham <pmb...@gmail.com> >> wrote: >>> >>&g

detecting currently connected printer - Mac

2016-09-16 Thread Peter M. Brigham
d anything resembling a printer in the IO registry list. Any ideas? — Peter Peter M. Brigham pmb...@gmail.com <mailto:pmb...@gmail.com> ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe

Re: Threading (plus random question)

2016-09-10 Thread Peter M. Brigham
On Sep 9, 2016, at 7:00 PM, Bob Sneidar wrote: > I bet that is why you could never get the browse part to work. ;-) > > Bob S > > > On Sep 9, 2016, at 06:19 , Peter M. Brigham > <pmb...@gmail.com<mailto:pmb...@gmail.com>> wrote: > >set the too

Re: Threading (plus random question)

2016-09-09 Thread Peter M. Brigham
" else set the tool to "browse ttol" end if else pass tabkey end if end tabkey Works on a Mac. -- Peter Peter M. Brigham pmb...@gmail.com On Sep 8, 2016, at 12:23 PM, Mike Kerner wrote: > The thing I don't like about ctrl/cmd 0 and 9 is that it's

Re: [TOT] Totally Off . . .

2016-08-26 Thread Peter M. Brigham
It should be possible without too much sweat and tears to pull the HTML version into LC, parse the text, and put it into a searchable and bookmarkable stack. -- Peter Peter M. Brigham pmb...@gmail.com ___ use-livecode mailing list use-livecode@lists.ru

Re: Strict is in; lax is out

2016-08-26 Thread Peter M. Brigham
On Aug 22, 2016, at 3:16 PM, Mike Kerner wrote: > And long live synonyms. And beginning sentences or sentence fragments with > conjunctions. "This is the sort of English up with which I shall not put." -- Winston Churchill -- Peter Peter M. Brigham

Re: wouldn't it be neat...

2016-08-21 Thread Peter M. Brigham
fldNbr put word 4 of selCh into theCharNbr put the selectedtext into selText put length(selText) into origLength if getLongDate then -- long date put sr(item 2 to 3 of the long date) into tDate else -- short date put the short date into tDate end if put tDat

Re: Wouldn't it be neat...

2016-08-21 Thread Peter M. Brigham
work on a Mac), but you could change this easily. -- Peter Peter M. Brigham pmb...@gmail.com - on controlkeydown whichKey -- put this in a frontscript universally available in LC put the long name of the target into tarName put the shiftkey is down into shK switch whichKey

Re: put one array after another

2016-08-11 Thread Peter M. Brigham
something Bob Sneider posted to this list. function arrayToKeyList @pArray, _theKeyList -- from Bob Sneider, use-LC list, originally named altPrintKeys() -- adjusted by Peter M. Brigham, pmb...@gmail.com -- returns a list of all the elements of pArray, --with their keys, in the fo

Re: Set DoubleClickInterval very low!

2016-08-04 Thread Peter M. Brigham
the single click action too. Your ideas for fixing this with the clickcount method sound good, as it would allow the engine to sort out the clicks so as to obviate the need for additional scripting. -- Peter Peter M. Brigham pmb...@gmail.com On Aug 4, 2016, at 3:02 AM, Mark Waddingham wrote

Re: Set DoubleClickInterval very low!

2016-08-03 Thread Peter M. Brigham
dition to the mousedoubledown/up actions. To make it clearer: on mouseup show grc "test1" end mouseup on mousedoubleup show grc "test2" end mousedoubleup the mousedoubleup action will always show both graphics, but I want it to only show grc "test2". ??? -- Peter Pet

Re: [ANN] Release 8.1.0 DP 2

2016-07-07 Thread Peter M. Brigham
ty figures: like > religious (and 'religious') people ascribing everything wise to their > scripture. The trouble with quotes on the internet is that sometimes they are attributed to the wrong people. -- Benjamin Franklin -- Peter Peter M. Brigham pmb...@gmail.com _

Re: use LiveCode list

2016-06-17 Thread Peter M. Brigham
My impression is that this is different now from the past. I recall loads of questions from beginners a couple years ago. I don't follow the forums (maybe I should check them out) so I was unaware that beginner questions have now migrated there. My mistake. -- Peter Peter M. Brigham pmb

use LiveCode list

2016-06-17 Thread Peter M. Brigham
worry that LC newcomers might be feeling that this list is all about LC esoterica and not really for beginners. I just want to offer a reminder: simpler questions are welcome here too -- this is not just a list for professional developers working at the bleeding edges of LC. -- Peter Peter M

Re: csvToText Repository

2016-06-14 Thread Peter M. Brigham
Be my guest. -- Peter Peter M. Brigham pmb...@gmail.com On Jun 14, 2016, at 9:46 AM, Mike Kerner wrote: > Peter B, > If you don't mind, I would like to add your goodies to the codebase we're > building for csv handling. I'll want to tweak it so that we use the other > code we

Re: csvToText Repository

2016-06-14 Thread Peter M. Brigham
Although incorporating this into the engine is clearly the way to go, here are a couple of pure LC functions that are possibly relevant. They could be generalized to arbitrary line- and item-delimiters. -- Peter Peter M. Brigham pmb...@gmail.com --- function tabTableToArray pTable

Re: Random? changes to textAlign

2016-05-30 Thread Peter M. Brigham
My software never has any bugs, just lots of random features. -- Peter Peter M. Brigham pmb...@gmail.com On May 29, 2016, at 5:44 PM, Mike Bonner wrote: > I love random features. > > On Sun, May 29, 2016 at 3:23 PM, Dar Scott <d...@swcp.com> wrote: > >> I'm wonde

Re: Project Browser

2016-05-24 Thread Peter M. Brigham
-- LiveCode. So… thanks! :-) -- Peter Peter M. Brigham pmb...@gmail.com ___ 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/mail

Re: Infinite LiveCode - Message from CEO

2016-05-13 Thread Peter M. Brigham
On May 13, 2016, at 3:02 PM, Paul Dupuis wrote: > It is *always* worth noting that statistics can be unintentionally > misleading, take out of context, and intentionally misinterpreted. 42.7% of statistics are made up on the spot. -- Peter Peter M. Brigham pmb...@gma

Re: VLC and GPL and LC on iOS (was: Re: MergEXT now included with Indy/Business IDE)

2016-05-06 Thread Peter M. Brigham
; and "libre".' Off topic, but I have a bumpersticker that makes use of the ambiguity: If money = speech then speech is not free. -- Peter Peter M. Brigham pmb...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Revenue and the Open Source edition

2016-05-02 Thread Peter M. Brigham
Richmond, as soon as I wrote that I just knew it would be a set-up line for you. -- Peter Peter M. Brigham pmb...@gmail.com On May 2, 2016, at 4:05 PM, RM wrote: > The Scots have been running the world for at least 300 years. > > Why do you think that about 50% of all Canadians, a

Re: Revenue and the Open Source edition

2016-05-02 Thread Peter M. Brigham
On May 2, 2016, at 3:44 PM, Peter TB Brett wrote: > On 02/05/2016 20:20, Peter M. Brigham wrote: >> >> Back in the day, Apple marketed heavily to the teaching/educational >> market, and the result was a generation of kids who grew up using >> Macs. IMO, Edinburgh wou

Re: Revenue and the Open Source edition

2016-05-02 Thread Peter M. Brigham
xtremely good investment in the long run, even if there were scanty short-run returns. -- Peter Peter M. Brigham pmb...@gmail.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage yo

Re: Beeing a developer after 40

2016-05-01 Thread Peter M. Brigham
I've got white-blond hair, a white mustache, and black eyebrows. 67yo. Can't afford to retire. Not a professional coder, but at it for over 25 years on the side. I just hope that all of us aren't over 40. Is LC going to disappear with the boomers? -- Peter Peter M. Brigham pmb...@gmail.com

Re: Clearing local variables

2016-04-30 Thread Peter M. Brigham
t -- e = 1 to 10 -- more processing end repeat -- d = 1 to 10 -- more processing end repeat -- c = 1 to 10 -- more processing end repeat -- b = 1 to 10 -- more processing end repeat -- a = 1 to 10 -- Peter Peter M. Brigham pmb...@gmail.com _

Re: Vertical Scroll Bar in Scrolling Field

2016-04-29 Thread Peter M. Brigham
Try: set the vscrollbar of fld "myFld" to (the height of fld "myFld" < the formattedheight of \ fld "myFld") and call it in a closefield or textchanged handler. -- Peter Peter M. Brigham pmb...@gmail.com On Apr 28, 2016, at 10:27 PM, Sannyasin Bra

Re: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-26 Thread Peter M. Brigham
need to “determine which line the > user clicked on” is should return 0 and set the hilted lines of the field to > none. > > At least, that was my “naïve” expectation” Well, this kind of thing is why I prefer to use listBehavior = false and script it for myself. -- Peter Peter M.

Re: List Field Not receiving Mouse messages unless a line is clicked?

2016-04-26 Thread Peter M. Brigham
I actually seldom use list fields because of these anomalies (anomalies if you compare them to normal field behavior). I usually script my own behavior in the field script. But the way list fields work is actually fairly rational once you understand it. -- Peter Peter M. Brigham pmb...@gmail.co

Re: Can't Display Keyboard Shortcuts in Popups

2016-04-20 Thread Peter M. Brigham
20/2016 2:20 PM, Peter M. Brigham wrote: >> On Apr 20, 2016, at 1:45 PM, Richard Gaskin wrote: >> >>> If this item isn't also in the menu bar, you can put the shortcut into the >>> context menu item but with two downsides: >>> >>> 1. It won't

Re: Can't Display Keyboard Shortcuts in Popups

2016-04-20 Thread Peter M. Brigham
hat you're paying attention to existing commandkey shortcuts. If the user types ctrl-A and the focus is on an editable field then the text of the field will be selected and your own handler won't fire off. If this is a standalone then you have more control. -- Peter Peter

Re: Can't Display Keyboard Shortcuts in Popups

2016-04-20 Thread Peter M. Brigham
s a , what is supposed to happen? Given that just typing ctrl-A doesn't give the "audio" command (whatever that does) any context to work from? And if the audio command doesn't need a context, then why put it into a contextual popup in the first place? I guess I don't understand what your

Re: Can't Display Keyboard Shortcuts in Popups

2016-04-20 Thread Peter M. Brigham
shortcuts (and the menu choices associated with them) are generally more global in scope. If you really need to have shortcuts listed in a popup menu, you could construct them yourself on the fly -- on mousedown; put "Audio ctrl+A" into btn "myPopup"; popup btn "my

Re: Default tool on open stack

2016-04-12 Thread Peter M. Brigham
DE loads and then my stack loads I get the pointer tool. Luckily I locloc all my buttons and fields or I'd be moving things around inadvertently until I remember I have to change to browse mode. I would love to be able to change this behavior in LC

Re: Widgets' Use Cases and Bytes Added to App

2016-04-07 Thread Peter M. Brigham
On Apr 7, 2016, at 4:31 PM, Bob Sneidar wrote: > >> On Apr 6, 2016, at 06:16 , Peter M. Brigham <pmb...@gmail.com> wrote: >> >> On Apr 5, 2016, at 10:10 PM, Sannyasin Brahmanathaswami wrote: >> >>> Oh No! I think I just lit a fire that will put me y

Re: Widgets' Use Cases and Bytes Added to App

2016-04-06 Thread Peter M. Brigham
" -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.ru

Re: Script Only Stack Architecture

2016-04-01 Thread Peter M. Brigham
of…" But as I say, I don't use behaviors as much as I should, perhaps. Those who use them a lot will be better able to chime in on how useful or superfluous the idea might be. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Mar 31, 2016, at 3:43 PM,

Re: Using Behaviors for Triggering UI Design - Run Time

2016-03-31 Thread Peter M. Brigham
"Something" to the long id of stack "rsrc" > > ...or even more simply, since stack names are already unique: > > set the behavior of btn "Something" to the name of stack "rsrc" FWIW, here are some handlers that return these &q

Re: Small regex project for pay [CLOSED]

2016-03-19 Thread Peter M. Brigham
int end repeat return item 1 to -1 of offsetList -- delete trailing comma end offsets -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url t

Re: ≠ or not equal

2016-03-19 Thread Peter M. Brigham
shiftkey, rather than on opposite sides of the keyboard, one with shift key and one not. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe

Re: Small regex project for pay [CLOSED]

2016-03-19 Thread Peter M. Brigham
Too late to the party on this one, but I have native LC functions that do all of what you wanted. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Mar 16, 2016, at 2:27 PM, Paul Dupuis wrote: > Wow! > > I was both surprised and delighted by the number

Re: LC8DP15 feedback-IDE Issues

2016-03-04 Thread Peter M. Brigham
the browse and edit tools with Control-Tab. If any other tool is > selected, it will toggle the tool to Edit. I did the exact same thing, only using control-` [backquote]. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig _

Re: Apple Automator

2016-03-04 Thread Peter M. Brigham
use for creating strings that contain quotes --eg, for constructing ask/answer dialogs, error messages, etc. -- default is to use "^" as quote placeholder, can be overridden -- eg, --qInString("fld ^text^ of card ^apple^ of stack ^fruits^") -- returns: --

Re: LC8 DP15 error message?

2016-03-04 Thread Peter M. Brigham
rrorsList of card 1 of stack "revErrorDisplay") \ after tErrMsg if tHint <> empty then put " — hint:" && tHint after tErrMsg end if put tErrMsg & cr after errorlist end repeat return sr(errorlist) end expandError function

Re: LC 8 hard question...

2016-03-01 Thread Peter M. Brigham
Hofstadter's Law: It always takes longer than you expect, even when you take Hofstadter's Law into account. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-livecode mailing list use-livecode@lists.runrev.com Pl

Re: LiveCode for Educators (was LiveCode for the Hobbyists)

2016-02-29 Thread Peter M. Brigham
On Feb 28, 2016, at 4:21 PM, J. Landman Gay wrote: > On 2/28/2016 9:07 AM, Peter M. Brigham wrote: >> The old RevOnline/User Samples was an attempt at this, but most >> people these days are used to using a browser to download files and >> resources. That has the added ad

Re: Possible enhancement

2016-02-28 Thread Peter M. Brigham
+1 -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Feb 27, 2016, at 4:21 PM, Mark Wieder wrote: > On 02/27/2016 12:53 PM, Peter Haworth wrote: > >> Worth an enhancement request? > > What I'd rather see, and I think Robert Calliau has sug

Re: LiveCode for Educators (was LiveCode for the Hobbyists)

2016-02-28 Thread Peter M. Brigham
to suggest linking to a repository from the case studies page at LC, but "LiveCode stories" seems to be the current iteration of this, and when I click on that link on the LC homepage I get an empty webpage. (OTOH, my Firefox browser has been acting a little squirrelly lately.) -- Pete

Re: changing the size of the image that's combined with text

2016-02-16 Thread Peter M. Brigham
- returns: --fld "text" of card "apple" of stack "fruits" -- shorter, and easier to proofread than --put "fld" && quote & "text" & quote && "of card" && quote & "apple" \

Re: Release 8.0 DP 14

2016-02-09 Thread Peter M. Brigham
of > time. And then multiply such assessment with the factor of 4. The first 90% of the task takes 90% of the time, and the last 10% takes the other 90% of the time. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-live

Re: How to create a hyperlink within a text field?

2016-02-05 Thread Peter M. Brigham
-- duplicates are stripped out -- note: to get the last lineOffset of a string in a container (often useful) --use "item -1 of lineOffsets(...)" -- by Peter M. Brigham, pmb...@gmail.com — freeware -- requires offsets() if matchWhole = empty then put false into matc

Re: mobile acceleration/rotation

2016-01-14 Thread Peter M. Brigham
ld get if you were in space and accelerating at 1g along the y axis. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscri

Re: mobile acceleration/rotation

2016-01-14 Thread Peter M. Brigham
ld get if you were in space and accelerating at 1g along the y axis. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscri

Re: Getting Finder results into LiveCode

2016-01-13 Thread Peter M. Brigham
On Jan 13, 2016, at 12:21 AM, Kay C Lan wrote: > On Wed, Jan 13, 2016 at 4:39 AM, Peter M. Brigham <pmb...@gmail.com> wrote: > >> I use a utility called Alfred on my Mac... > > > >> It allows you to search for files whose name contain , and also >&g

Re: Getting Finder results into LiveCode

2016-01-12 Thread Peter M. Brigham
Thanks. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jan 12, 2016, at 11:00 AM, Klaus major-k wrote: > Hi Peter, > >> Am 12.01.2016 um 16:50 schrieb Peter M. Brigham <pmb...@gmail.com>: >> >> mdls doesn't like spaces in the fil

Re: Getting Finder results into LiveCode

2016-01-12 Thread Peter M. Brigham
Right, I found on a google search that single quotes are safer than double quotes. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jan 12, 2016, at 11:33 AM, Dr. Hawkins wrote: > On Tue, Jan 12, 2016 at 8:00 AM, Klaus major-k <kl...@major-k.de> wrote:

Re: Getting Finder results into LiveCode

2016-01-12 Thread Peter M. Brigham
with memory -- see a list of the past 40 or 50 pieces of text you've copied and insert the one you want with a keypress. Plus a whole lot more. And the basic app is free. "Alfred" like the butler in Batman…. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Ja

Re: Getting Finder results into LiveCode

2016-01-12 Thread Peter M. Brigham
mdls doesn't like spaces in the file path. What do I do to escape spaces here? -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jan 11, 2016, at 9:48 AM, Martin Koob wrote: > Any time I see "can you get this info on a Mac" I head for the shell.

Re: Does user have network connection?

2016-01-10 Thread Peter M. Brigham
Then that's the end of the world as we know it…. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Jan 10, 2016, at 12:24 PM, Ray wrote: > What if Google is out of business :) > > On 1/9/2016 5:24 PM, John Dixon wrote: >> on mouseUp >>put &

Re: Weird crash when stack is in use

2016-01-02 Thread Peter M. Brigham
* the current stack and before any objects in the backScripts. [emphasis added] You could consider calling the function using the value() function -- look it up. put value(myFunction(x,y,z), stack "myMainStack") into functionOutput -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.n

Re: Scrolling Smoothly through Large Scripts

2015-12-24 Thread Peter M. Brigham
ak case "65309" -- down set the scroll of sFld to oldScr - txtHt break default pass rawkeydown end switch end rawkeydown -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Dec 24, 2015, at 11:59 AM, Ray wrote: > S

Re: Stacks Losing their Size and Location

2015-12-17 Thread Peter M. Brigham
> means the title bar is not accessible, and therefore not draggable. Here's a routine I have in my library that allows scrolling of a window that is partially offscreen, might come in handy for this kind of problem. Option[alt]- scroll to move the stack. -- Peter Peter M. Brigham pmb...@gm

Re: Improving the LiveCode release notes

2015-12-15 Thread Peter M. Brigham
ific version, or notes related to a specific feature, or... -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: Improving the LiveCode release notes

2015-12-15 Thread Peter M. Brigham
On Dec 15, 2015, at 4:07 PM, Richard Gaskin wrote: > Peter M. Brigham wrote: > > I'm hardly a database expert, but it sounds as if a database of > > release notes with a flexible front end is the way to go. > > It's not like there are that many of them - why not roll them i

Re: Animations on iOS

2015-12-15 Thread Peter M. Brigham
+1. I forgot this one, haven't played it in a while, and it's beautiful and challenging. So my list of total games played in my lifetime is: JQBoggle, Monument Valley, The Room. (Oh, I tried Angry Birds a few times.) -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig

Re: Script Indenting?

2015-12-15 Thread Peter M. Brigham
OMG, Jeanne DeVoto! I had no idea you were following this list. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Dec 15, 2015, at 2:09 AM, Jeanne A. E. DeVoto wrote: > At 1:29 PM +0100 12/12/2015, Lyn Teyla wrote: >> Some years back, pressing the key t

Re: Probably a pointless question about using sort to search..

2015-12-12 Thread Peter M. Brigham
Just to be clear, it's not my function, it came from someone else on the list. It could easily be revised to handle the case of cr's within data chunks, though. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Dec 11, 2015, at 6:51 PM, Alex Tweedly wrote: >

Re: Script Indenting?

2015-12-12 Thread Peter M. Brigham
riptEditor" send "revSEColorize thisScript,default" to stack "revNewScriptEditor" end try _internal script colorize line 1 to tNum of field "script" If this doesn't point you in the right direction, maybe Mark knows more. -- Peter Peter M. Brigham

Re: Script Indenting?

2015-12-12 Thread Peter M. Brigham
Sorry, read your post too fast, you want to do indenting, not colorizing. But it sounds as if Mark Wieder has delved into some aspects of the script editor scripts, so maybe he can chime in. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Dec 12, 2015, at 5:37 AM

Re: Probably a pointless question about using sort to search..

2015-12-12 Thread Peter M. Brigham
from one of the LC lessons, and was used to prepare an array for a function to search the contents of an array that scales logarithmically rather than linearly. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig --- on sortArray @pArray, pSortMode, pDelim -- sort

Re: [OT] For Peter B.

2015-12-04 Thread Peter M. Brigham
On Dec 3, 2015, at 8:58 PM, Simon wrote: > This will make you happy; > http://www.telegraph.co.uk/news/uknews/12031540/Dash-cam-footage-of-dangerous-overtaking-lands-driver-in-jail-in-UK-first.html Not sure if this was meant for me, if so, not sure why… -- Peter Peter M. Brigh

Re: [OT] Free Game for iOS and Android

2015-12-04 Thread Peter M. Brigham
On Dec 4, 2015, at 12:32 AM, J. Landman Gay wrote: > On 12/3/2015 11:46 AM, Peter M. Brigham wrote: >> It's the only game I play besides Jaques' JQ Boggle. > > Wow. That's an upper. I'm having one of those terrible, rotten, no good, > awful days where everything goes wrong --

Re: [OT] For Peter B.

2015-12-04 Thread Peter M. Brigham
On Dec 4, 2015, at 12:49 PM, Simon wrote: > Sorry Peter M. Brigham, > This is for Peter Brett, he has some relevant postings to the article on his > blog. > > Simon Is the server down? no messages for 6 hours. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comc

Re: [OT] For Peter B.

2015-12-04 Thread Peter M. Brigham
On Dec 4, 2015, at 12:49 PM, Simon wrote: > Sorry Peter M. Brigham, > This is for Peter Brett, he has some relevant postings to the article on his > blog. Ah. For a moment I thought you had some video of MY driving. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.ne

Re: [OT] Free Game for iOS and Android

2015-12-03 Thread Peter M. Brigham
+1 -- no, +3. I'm not into games generally but this one is beautiful, creative, and challenging. It's the only game I play besides Jaques' JQ Boggle. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Dec 2, 2015, at 12:05 PM, J. Landman Gay wrote: > I fell into

Re: ASK dialog box

2015-11-25 Thread Peter M. Brigham
licks "OK" then it = empty and the result = empty if user doesn't enter text and then clicks "cancel" then it = empty and the result = "cancel" -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Nov 25, 2015, at 12:17 PM, Randy Heng

Re: Special Paste

2015-11-18 Thread Peter M. Brigham
I don't know, does it? I'm a relative troglodyte, as I work in 5.5 mostly, but I don't see why it wouldn't work in later versions. With the newer additions to the language there are probably other ways to accomplish the task. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net

Re: Special Paste

2015-11-17 Thread Peter M. Brigham
To expand on this, below are the handlers I have in my LC frontscript, so I can paste and match style anywhere in LC. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig -- on commandKeyDown pKey -- to paste plain text --(matching the formatting

Re: Vector Images and the SVGL stack

2015-11-13 Thread Peter M. Brigham
et, tired calling me "Marilyn". > > However, surely the answer here should be; "Where did this tangentialism lose > contact > with LiveCode?" It didn't -- tan() is a valid LC function, and tan("Vector Images and the SVGL stack") = &quo

Re: Calculating the sum of a *lot* of primes

2015-11-11 Thread Peter M. Brigham
There may be other factors more important for speed, but one thing is to avoid having to access the contents of a field 1.5 billion times, by putting fld 1 into a variable, say "maxNbr", and then doing repeat until i > maxNbr… -- Peter Peter M. Brigham pmb...@gmail.com http://hom

Re: Tab control-multiple cards or hidden groups?

2015-11-08 Thread Peter M. Brigham
t repeat for each item i in gpList set the visible of group i to (i = tGroup) end repeat end showGroup and if the group names are the same as the tab labels, it's quite straightforward: on menuPick pItemName showGroup pItemName end menuPick -- Peter Peter M. Brigham pmb...@gmai

Re: recursion limit when creating file list of harddrive

2015-10-30 Thread Peter M. Brigham
Here is a version that puts the trailing "/" on folders and adjusts the input parameters for the function. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig -- function directoryListing pWhatFolder, pInvisibleFiles, pDepth -- returns a fu

Re: "lineAtOffset"?

2015-10-30 Thread Peter M. Brigham
to build something more efficient into the engine. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig - function lineOffsets str, pContainer, matchWhole -- returns a comma-delimited list of all the lineOffsets of str --in pContainer

Re: glx2

2015-10-30 Thread Peter M. Brigham
really work without error every time or people would die. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Oct 30, 2015, at 5:38 AM, Kay C Lan wrote: > On Fri, Oct 30, 2015 at 12:25 PM, Mark Wieder <mwie...@ahsoftware.net> > wrote: > >&

Re: Why won't this work.

2015-10-30 Thread Peter M. Brigham
looks at the contents of the variable and sees that it's an object reference and proceeds on that basis. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig On Oct 30, 2015, at 1:12 AM, Geoff Canyon wrote: > To describe the other aspect of this, you can only

  1   2   3   4   5   6   7   8   >