Re: AW: AW: How do you handle the poor performance of LC 7?

2015-06-01 Thread Dr. Hawkins
On Mon, Jun 1, 2015 at 2:06 AM, Dave Kilroy wrote: > > I say 'in general' because v7 seems to be more fragile than earlier > versions > because sometimes when I hit an error in my code the IDE becomes sluggish > afterwards "becomes" sluggish Mine *starts* with a 2s or so delay to switch pa

Re: How do you handle the poor performance of LC 7?

2015-05-30 Thread Dr. Hawkins
On Sat, May 30, 2015 at 2:05 PM, Mark Wieder wrote: > On 05/30/2015 12:40 PM, Mark Wieder wrote: > > along the way or are new converts to LiceCode. And add to those >> > > Oops. Obviously I meant LiveCode. LiceCode: the hairiest programming experience you will ever have. The compiler is trul

Re: AW: How do you handle the poor performance of LC 7?

2015-05-30 Thread Dr. Hawkins
On Sat, May 30, 2015 at 10:33 AM, Tiemo Hollmann TB wrote: > I made some more performance benchmarks with my real life data > I deactivated my "special sort" xSortListe handler and replaced it just by: > 1. sort lines of tListe numeric > 2. sort lines of tListe international > (though it is not a

Re: How do you handle the poor performance of LC 7?

2015-05-30 Thread Dr. Hawkins
On Sat, May 30, 2015 at 8:07 AM, Richard Gaskin wrote: > It turned out that the acquiring company is very generous with their > developers, outfitting them with the very latest and fastest Macs loaded > with maximum RAM and the fastest HDDs on the market. I hit the opposite of this during my di

Re: Button icons

2015-05-30 Thread Dr. Hawkins
On Sat, May 30, 2015 at 6:13 AM, Martin Koob wrote: > And none of his buttons had icons which didn't help. :-) > Not needed; he's an iconic figure in his own right. :) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use

Re: AW: How do you handle the poor performance of LC 7?

2015-05-30 Thread Dr. Hawkins
On Sat, May 30, 2015 at 7:16 AM, Mike Bonner wrote: > Malte, it might help if you don't sort the keys on each keystroke, instead > put the keys into a list and sort them once, then keep referring to that > same list as you do your filtering. Its faster to pop the full sorted list > into a working

Re: How do you handle the poor performance of LC 7?

2015-05-29 Thread Dr. Hawkins
On Fri, May 29, 2015 at 9:29 AM, Mark Waddingham wrote: > The important thing here (which reinforces me saying 'real world > scenarios' are important) is that if my goal was to optimise the engine to > make simpleArrayTest fast then I could. Indeed, it would be possible to > make it take virtuall

Re: How do you handle the poor performance of LC 7?

2015-05-29 Thread Dr. Hawkins
On Fri, May 29, 2015 at 8:27 AM, Andrew Kluthe wrote: > As a personal rule of thumb, I don't use anything post-6.x.x for anything > but trying out the bleeding edge features. I have no choice; I absolutely need the adjustable scaling on the desktop. So I deal with performance by a lot of screa

Re: that odd text property that preserves formatting on copy (like sharedText)

2015-05-28 Thread Dr. Hawkins
[*bump*] Anyone? I just can't remember the name of the property. On Wed, May 27, 2015 at 9:28 AM, Dr. Hawkins wrote: > hours into this, I remember fighting and solving it before . . > > As I copy groups from one stack to another, some of the fields lose their > custom pr

that odd text property that preserves formatting on copy (like sharedText)

2015-05-27 Thread Dr. Hawkins
hours into this, I remember fighting and solving it before . . As I copy groups from one stack to another, some of the fields lose their custom properties and text formatting, but not their text. It seems to me that there was a field property that isn't in the property inspector that governs this

Re: field properties changing when group copied

2015-05-27 Thread Dr. Hawkins
On Sun, Dec 8, 2013 at 3:34 PM, Dr. Hawkins wrote: > What is particularly hitting me is the fixed line height. I have my > sharedText set, and the text survives the paste with its formatting. I set > the fixed line height to on, and 12, to match the court forms. > I just confirmed

maintaining text formatting during copy/paste

2015-05-25 Thread Dr. Hawkins
I go through this battle every few months . . . At the moment, making my forms, I am pasting text from the official pdfs I have to create into label fields and then clearing that information. I have a maintenance routine that sets the fontSize of these fields to the fntSiz of those fields when se

Re: Edit the script of a stack without opening it

2015-05-23 Thread Dr. Hawkins
On Sat, May 23, 2015 at 9:10 AM, J. Landman Gay wrote: > It usually works for me to click the Messages button in the toolbar (to > turn off messages) before opening the stack. That prevents a crash if the > problem is script related. You can still use the editor and other IDE > stacks, and you ma

Re: Livecode <=> SQL?

2015-05-23 Thread Dr. Hawkins
On Sat, May 23, 2015 at 9:12 AM, Pierre Sahores wrote: > > An http solution would be blocking, > > Yes (in theory) and no (in practice) as long as each cgi thread opened by > the http server (ideally openLiteSpeed instead of Apache 2) acts > independently from each other. It would be blocking a

Re: Livecode <=> SQL?

2015-05-23 Thread Dr. Hawkins
On Fri, May 22, 2015 at 6:13 PM, Pierre Sahores wrote: >> >> Oh, I see what you mean. At the moment, I'm taking the approach of >> using a persistent server app, as the time to open a postgres database >> is significant, and could happen every couple or few seconds for each >> client. > > Should’

Re: SQL IN() function

2015-05-22 Thread Dr. Hawkins
On Fri, May 22, 2015 at 1:13 PM, Bob Sneidar wrote: > Because it is a list of integers, which is a string. I suppose I could have > used archer, but when I am uncertain how many values might end up in the > column, I always go with some kind of blob to be safe. There is also TEXT, which has no

Re: Livecode <=> SQL?

2015-05-22 Thread Dr. Hawkins
On Thu, May 21, 2015 at 7:58 PM, Pierre Sahores wrote: >> I'm not sure what you're saying here--I'm assuming a central server being >> hit by >> clients around the country, wo how can locahost handle that? > > The remote client -> HTTPS -> Apache -> (LC-Server -> PostgreSQL, both those > two la

Re: Livecode <=> SQL?

2015-05-21 Thread Dr. Hawkins
On Sun, May 17, 2015 at 3:57 PM, Pierre Sahores wrote: > > > > Le 18 mai 2015 à 00:23, Dr. Hawkins a écrit : > > > > > There are definitely a couple of *whopping* holes: > > * cannot connect securely to Postgres > > Why don’t you access it in localhost

Re: Livecode <=> SQL?

2015-05-17 Thread Dr. Hawkins
On Sunday, May 17, 2015, Pierre Sahores wrote: > > > I never understood some discussions about the urgent need of their > improvement. They just works as fine as our SQL queries well build are > (complex inner joints support, etc…). There are definitely a couple of *whopping* holes: * cannot

Re: Kickstarter 2013 Revisited

2015-05-10 Thread Dr. Hawkins
On Sun, May 10, 2015 at 10:34 AM, Paul Dupuis wrote: > Resolution Independence - DONE > Well, sort of. The next project in my queue is dealing with the wonky side affects of changing resolution on the desktop. I don't have where it's weird nailed down, but the screen coordinates just ain't rig

Re: Kickstarter 2013 Revisited

2015-05-10 Thread Dr. Hawkins
On Sun, May 10, 2015 at 10:11 AM, Lynn Fredricks < lfredri...@proactive-intl.com> wrote: > I think this one may have been a good thing. MS is retooling their OS > strategy and it looks like there will be better integration and > compatibility between various platforms. > That's just the cover sto

Re: polling only on socket, or can there be a trigger?

2015-05-09 Thread Dr. Hawkins
On Sat, May 9, 2015 at 12:03 PM, Mark Waddingham wrote: > The reason I wrote the outline as a 'ping-pong' of reads and writes is > because that is what most protocols entail, but you could schedule a > sequence of 'read with message' and/or a sequence of 'write with message' > and they would be s

Re: muddling around in the source for revOpenDatabase()for postgresq

2015-05-09 Thread Dr. Hawkins
arn them again, and then forget all but the most basic syntax when I stop]) On Sat, Apr 4, 2015 at 10:16 AM, Dr. Hawkins wrote: > After letting ideas percolate in my head for a few months, I realized that > it would probably only take a couple or few lines of code to let > revOpenDat

arghh. Neither postgres nor mySQL fully supported, even in 7.

2015-05-09 Thread Dr. Hawkins
Trying to have something usable by others while I get the server going, I took another try at mySQL today--and, after a few hours and web searches, got reminded why I stopped . . . Livecode can't handle multi-line mySQL transactions in a single livecode transaction! You need to send the commands

Re: polling only on socket, or can there be a trigger?

2015-05-09 Thread Dr. Hawkins
On Sat, May 9, 2015 at 11:46 AM, William Prothero wrote: > I’ve been following this thread with interest. Thanks for the code. Now > I’m wondering how I might use this capability. Can I set up a multi-user > game using this? I must have to somehow get the user’s ip address. There > are probably s

Re: polling only on socket, or can there be a trigger?

2015-05-09 Thread Dr. Hawkins
On Sat, May 9, 2015 at 10:54 AM, Mark Waddingham wrote: > The idea here is that each time you get a 'newClient' message you have a > newly named socket 'pClientSocket' which is the other end of the connection > the client initiated. You can have as many of these client-connected > sockets as you

Re: polling only on socket, or can there be a trigger?

2015-05-09 Thread Dr. Hawkins
One other possibility I've contemplated: the socket routine never closes until the socket does. So on the initial socket, something like on newClient sckt repeat while socket is among the lines of the openSockets read from socket sckt if it is not empty then doSomething it end if wait 2 seconds w

Re: polling only on socket, or can there be a trigger?

2015-05-09 Thread Dr. Hawkins
On Fri, May 8, 2015 at 9:37 PM, Phil Davis wrote: > > There are two basic approaches you can take, which you probably know but > I'll lay them out for clarity. And maybe you're already doing one of them - > from what you've told us, I couldn't tell. > > What I have working is similar to the secon

Re: Simulator, externals and LC 7.0.5

2015-05-08 Thread Dr. Hawkins
On Fri, May 8, 2015 at 2:19 PM, J. Landman Gay wrote: > You were lucky. Blame never works on my husband. > Whether I had anything to do with it or not, my wife blames me . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing

Re: polling only on socket, or can there be a trigger?

2015-05-08 Thread Dr. Hawkins
On Fri, May 8, 2015 at 8:05 AM, Dr. Hawkins wrote: > It does??? > > I guess I'm misunderstanding the docs, then--I though it would stay at > that line, rather than going on to execute. I'll have to experiment some > more. > Now I'm even more confused. I ac

Re: polling only on socket, or can there be a trigger?

2015-05-08 Thread Dr. Hawkins
On Fri, May 8, 2015 at 7:48 AM, Mark Waddingham wrote: > On 2015-05-08 16:40, Dr. Hawkins wrote: > >> accept and open socket cause routines to execute, and have callbacks. >> >> Is there a way either end to be triggered when receiving a message other >> than by poll

polling only on socket, or can there be a trigger?

2015-05-08 Thread Dr. Hawkins
accept and open socket cause routines to execute, and have callbacks. Is there a way either end to be triggered when receiving a message other than by polling/reading to see if anything is there? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-l

Re: Can I set up a delayed message queue?

2015-05-07 Thread Dr. Hawkins
On Thu, May 7, 2015 at 11:41 AM, William Prothero wrote: > Yes, I had tried to send multiple delayed messages and now I find that the > simple way just works. I can set more than one delayed send message and > they seem to queue properly. Sorry for the goof. I guess I’m jumping in to > ask a ques

Re: SQLite Table Exists

2015-05-05 Thread Dr. Hawkins
On Tue, May 5, 2015 at 10:55 AM, Richard Gaskin wrote: > Dr. Hawkins wrote: > > On Tue, May 5, 2015 at 7:27 AM, Richard Gaskin wrote: > > > >> The example given in the Dictionary entry for the > >> revDatabaseTableNames function may do what you need: > >>

Re: SQLite Table Exists

2015-05-05 Thread Dr. Hawkins
On Tue, May 5, 2015 at 7:27 AM, Richard Gaskin wrote: > The example given in the Dictionary entry for the revDatabaseTableNames > function may do what you need: > >if tTableName is among the lines of \ >revDatabaseTableNames(sgDatabaseId) then > But be cautious--I've found that the l

Re: documentation for open socket using certificate and key, sccept only ssl

2015-05-03 Thread Dr. Hawkins
On Sun, May 3, 2015 at 3:01 AM, Mark Waddingham wrote: > As the 'secure' layer is a protocol layered on top of the basic byte > stream, it requires both sides to be talking the 'secure' protocol - in > particular, there is a handshake at the start that must happen to establish > the initial (symm

Re: documentation for open socket using certificate and key, sccept only ssl

2015-05-02 Thread Dr. Hawkins
On Sat, May 2, 2015 at 2:33 PM, Mark Wieder wrote: > Try 'secure socket' rather than 'open socket' (v6.6 and above) > According to the dictionary in 7.0.4, secure socket is used after the socket is opened. It also causes a sudden crash of livecode itself when attempting to execute . . . now b

documentation for open socket using certificate and key, sccept only ssl

2015-05-02 Thread Dr. Hawkins
The dictionary specifies that there is a [using certificate *certificate* and key *key*] option on open socket. google reports a whopping three results for livecode "open socket" "using certificate" key Is there anything resembling documentation for this? I would prefer to keep my own keys/cer

Re: Need Help With FTP

2015-04-27 Thread Dr. Hawkins
On Mon, Apr 27, 2015 at 1:28 PM, Richard Gaskin wrote: > > But does it support ftp protocol? I though it needed ssh access. > > It does require SSH, and moreover if used within LiveCode requires shared > SSH keys to avoid the password prompt, which is why I'd provided the link > to the tutorial

Re: Need Help With FTP

2015-04-27 Thread Dr. Hawkins
On Mon, Apr 27, 2015 at 11:38 AM, Richard Gaskin wrote: > I most commonly use the "-avz" options when transferring outside my local > network (just "-av" for local, since the compression isn't as useful over > Gb ethernet): > I use -auvz by finger memory. The u skips files that are newer on the

Re: Need Help With FTP

2015-04-27 Thread Dr. Hawkins
On Fri, Apr 24, 2015 at 5:43 AM, Gregory Lypny wrote: > > Thanks for the detailed handler! I’ll give it a whirl. Blocking is not > really the problem for me; it’s the session timeouts or dropped connection > when downloading many files in a loop Unless you're using windows look at the command l

Re: compress & decompress

2015-04-20 Thread Dr. Hawkins
On Sat, Mar 28, 2015 at 10:10 AM, Peter Haworth wrote: > Right, hut does the URL specify "file:" or "binfile:". > And this was, indeed, the problem. It didn't occur to me that the incoming file wouldn't be an exact binary copy, or that there would be a difference on a text file . .. -- Dr. R

Re: Large Scripts Run too Slowly

2015-04-20 Thread Dr. Hawkins
On Mon, Apr 20, 2015 at 7:28 AM, Ray wrote: > I've got a stack script of over 15,000 lines. It's recently started > running too slow to work with. Everything is painfully slow from plain > typing to searches to scrolling. Stepping through lines with the debugger > is almost impossible. Execu

Re: another day lost to the ide and crashes

2015-04-20 Thread Dr. Hawkins
On Sun, Apr 19, 2015 at 9:08 AM, J. Landman Gay wrote: > > Does it happen if you open the stack from the LC menu instead of double > clicking the stack in Finder to launch? > Yes. I had to open LC, turn off messages, and then open file to place my checkpoints. > Just to verify, this is a cras

Re: confirmation dialog opening on second screen can't be answered

2015-04-19 Thread Dr. Hawkins
On Sat, Apr 18, 2015 at 11:09 PM, J. Landman Gay wrote: > If it happens again, try typing the return key if you didn't already. > Tried that. Hmm, maybe I should have tried focusing on the primary screen for that. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___

Re: another day lost to the ide and crashes

2015-04-19 Thread Dr. Hawkins
On Sat, Apr 18, 2015 at 11:14 PM, J. Landman Gay wrote: > Red dot breakpoints don't always trigger early in the startup sequence but > often typing the word "breakpoint" into the script will work. It's a useful > way to debug in pre-whatever handlers. I wasn't even fighting red dots yesterday,

confirmation dialog opening on second screen can't be answered

2015-04-18 Thread Dr. Hawkins
No idea how to reproduce *this* one; it bit three or four times today. all windows on main screen, except the application browser, which overlapped both. Yosemite, but with that separate workspaces nonsense turned off. At times, it would pop the "are you sure"/save boxes on the second screen. I

another day lost to the ide and crashes

2015-04-18 Thread Dr. Hawkins
I spent a full *five* hours today trying to track a presumably bad line of code--because whichever it was, it was causing the ide to crash, rather than throw an error. This nonsense has *got* to stop. It appears to be related to sending a message that assumes the existence of a file or edit windo

wild variance in compile times

2015-04-16 Thread Dr. Hawkins
On the same stack, I'm getting complile times ranging from about a minute to several minutes. 7.0.4, about a dozen substacks in a 9.1mb file. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@lists.runrev.com Plea

Re: answer dialog duplication on building standalone?

2015-04-16 Thread Dr. Hawkins
On Thu, Apr 16, 2015 at 3:46 PM, Dr. Hawkins wrote: > I'm now getting a warning when building stacks to the effect that there is > already a stack named answer dialog, > In fact, it occurs twice. -- Dr. Richard E. Hawkins, Esq.

answer dialog duplication on building standalone?

2015-04-16 Thread Dr. Hawkins
I'm now getting a warning when building stacks to the effect that there is already a stack named answer dialog,and that livecode won't be able to tell them apart. There is no such stack in my own stacks. Is anyone else seeing this? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _

Re: copying from password protected substacks

2015-04-14 Thread Dr. Hawkins
On Tue, Apr 14, 2015 at 2:50 PM, Peter Haworth wrote: > Error 558 is "stack: invalid key". Not much help but perhaps the passkey > you're supplying isn't the correct one? Not likely I guess since it > apparently works in the IDE. > There is no password set in the IDE; it's all at compile time.

Re: copying from password protected substacks

2015-04-14 Thread Dr. Hawkins
On Tue, Apr 14, 2015 at 2:09 PM, Scott Rossi wrote: > Does it work for you in the IDE? > Yes. However, the password only gets set at compile time. > Also, you're not using the Community Edition are you? > *shudder*, no. Far too much work into this to risk GPL contamination/taiint of my cod

Re: copying from password protected substacks

2015-04-14 Thread Dr. Hawkins
On Tue, Apr 14, 2015 at 12:03 PM, Scott Rossi wrote: > There shouldn't be anything infuriating about it. > > You have a password protected stack. You set the passkey of that stack to > your password value. You should then be able to access/copy objects from > that stack. > but that doesn't see

Re: copying from password protected substacks

2015-04-14 Thread Dr. Hawkins
On Sat, Apr 11, 2015 at 5:26 PM, Scott Rossi wrote: > If you set the passkey of the protected stack (to the password) before > copying, you should be able to copy what you want > This is getting infuriating . . . what *is* the scope of the passkey? I've tried setting it during stack initializ

Re: Why can't LC do what PencilCase does?

2015-04-14 Thread Dr. Hawkins
On Tue, Apr 14, 2015 at 8:17 AM, Geoff Canyon wrote: > > If they can do it, shouldn't LC be able to as well? Or is there something > I'm not thinking of? > How are they getting past Apple's ban on downloading code??? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _

Re: copying from password protected substacks

2015-04-11 Thread Dr. Hawkins
On Sat, Apr 11, 2015 at 3:59 PM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > You can't copy controls from password protected stacks, because that would > allow you to paste controls on unprotected stacks and read the scripts. > Thanks. But this will make life *much* more diffic

Re: copying from password protected substacks

2015-04-11 Thread Dr. Hawkins
On Sat, Apr 11, 2015 at 3:52 PM, Dr. Hawkins wrote: > have found that when I try to copy a group from a stack that I clone > (turns out to be much faster to add objects to that group and delete the > group than to delete individual items), I get a "can't cut object. Also, a

copying from password protected substacks

2015-04-11 Thread Dr. Hawkins
I absolutely need my source stacks encrypted. I have found that when I try to copy a group from a stack that I clone (turns out to be much faster to add objects to that group and delete the group than to delete individual items), I get a "can't cut object. Stack is password protected" error in t

bottom of card off screen, but bottom < item 4 of screenloc

2015-04-11 Thread Dr. Hawkins
I'm scratching my head here. Am I missing something obvious (again), or is something off kilter here? The bottom of a stack is off the screen. Yet "the bottom of stack out4" yields (which should be on screen; this is a 27" iMac!), while the "working screenRect" is 0,22,2560,1436 (which appea

Re: Database error?

2015-04-11 Thread Dr. Hawkins
On Sat, Apr 11, 2015 at 8:27 AM, Peter Haworth wrote: > SQL injection attacks alter the SQL statements sent by a valid user so the > attacker doesn't need to know a username/password. > But they would need the encryption key, too. mySQL *can* be set to take only secure connections, can't it? P

Re: no stack revMenuBar in standalones?

2015-04-11 Thread Dr. Hawkins
On Sat, Apr 11, 2015 at 1:26 AM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > if the environment contains "dev" then > set the defaultMenuBar to the long id of grp "revMenuBar" of stack > "revMenubar" > end if > > (mind line wraps). If you do this, would you have a situation whe

no stack revMenuBar in standalones?

2015-04-10 Thread Dr. Hawkins
My standalones are choking on the line set the defaultMenuBar to the long id of grp "revMenuBar" of stack "revMenubar" A check found that exists() denies that there is any such objects. Is this one of those stacks that gets loaded late, or is there some ohter equivalent? Do I need to copy th

Re: [OT] Market Share

2015-04-08 Thread Dr. Hawkins
On Wed, Apr 8, 2015 at 9:12 AM, Richard Gaskin wrote: > But either way, Linux isn't taking over the desktop any time soon, and > neither is Mac I dropped the original version of my program in '91 or '92, as it was HyperCard/SuperCard dependent, and mac only made about a 1% intrusion into law of

unable to install 7.0.4-rc3 on vista

2015-04-08 Thread Dr. Hawkins
I don't use this machine a lot, but it's my backup, and my retina is in pieces. the 7.0.4-rc3 installer removed rc2, and failed to install 3--it hangs until windows stops it. I've tried multiple times. Has anyone solved this? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _

muddling around in the source for revOpenDatabase()for postgresq

2015-04-04 Thread Dr. Hawkins
After letting ideas percolate in my head for a few months, I realized that it would probably only take a couple or few lines of code to let revOpenDatabase() open a postgres database with the ssl option. So I started poking around github. It seems like the first piece of code is for *revdb.cpp

Re: Menu Builder and submenues

2015-03-31 Thread Dr. Hawkins
On Tue, Mar 31, 2015 at 11:10 AM, J. Landman Gay wrote: > Whatever follows the slash will become the keyboard shortcut. Whatever > follows the pipe will be the "label" of the menu, so that you can localize > the menus without changing their actual names. That way the scripts will > always work bu

Menu Builder and submenues

2015-03-30 Thread Dr. Hawkins
I have a menu group in stack out0, which is never seen by the user. Stack out1 is created when needed by cloing stack out1 (and similarly for out2, etc.) When entering the menu builder, though, out0 is not among the choice of stacks. Once cloned, out1 appears as a choice. Huh? is there somethi

Re: compress & decompress

2015-03-28 Thread Dr. Hawkins
On Thu, Mar 26, 2015 at 6:52 PM, J. Landman Gay wrote: > Is the file opened as a binary file? For writing, yes. It isn't opened on read; i just put the url: put url infile into theData -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-liveco

compress & decompress

2015-03-26 Thread Dr. Hawkins
In my attempts to provide backups of databases, I have a sequence that gathers the commands and executes open file outfile for binary write write compress(theData )to file outfile Another routine has put url infile into theData switch case infile ends with ".gz" put dec

Re: [OT] And You Thought Richmond Kept Old Macs Alive

2015-03-26 Thread Dr. Hawkins
On Thu, Mar 26, 2015 at 10:55 AM, Marian Petrides MD < mpetri...@earthlink.net> wrote: > Gotcha all beat. I still have my Apple ][+ (purchased 4/4/1980) and it > still works—did a power supply transplant 20 years ago. Plus three Apple ][ > GSs—two work, one is parts for the others. > Well, that's

Re: [OT] And You Thought Richmond Kept Old Macs Alive

2015-03-26 Thread Dr. Hawkins
On Wed, Mar 25, 2015 at 5:59 PM, Kay C Lan wrote: > Was rummaging through boxes of stuff looking for something when I came > across a few ADB keyboards and mice. Thought to myself, 'it's about time to > turf these, no one, not even Richmond, could possible want them'. Seems > like I could be wron

Re: outsmarted myself with menus?

2015-03-25 Thread Dr. Hawkins
On Tue, Mar 24, 2015 at 5:24 PM, Terry Judd wrote: > Try one or more of focusedObject(), selectedField(), selectedChunk() > Naturally, when I went back, the menu *was *getting called. One more intermittent thing to debug . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _

Re: outsmarted myself with menus?

2015-03-25 Thread Dr. Hawkins
On Tue, Mar 24, 2015 at 7:26 PM, J. Landman Gay wrote: > I've never used behaviors in menus. The Edit menu is the easiest to > script, the engine keeps track of everything for you. You only need a > single word for each switch item to cover the basic stuff. Here's my > standard Edit menu: The s

Re: SQL lite adding records

2015-03-24 Thread Dr. Hawkins
On Tue, Mar 24, 2015 at 8:19 PM, JB wrote: > I have not heard of BEGIN TRANSACTION > but I will give it a try. > At least assuming a disk stored db, it is likely also faster. In my case, I pull several hundred records from a remote postgres db, and stash them into a memory sqlite db. My enemy

Re: SQL lite adding records

2015-03-24 Thread Dr. Hawkins
On Tue, Mar 24, 2015 at 6:52 PM, Peter Haworth wrote: > You should issue a BEGIN statement right before your repeat statement and > move your revCommitDatabase to right after the end repeat. Better > performance and guarantees db integrity. > Also, you can build a large statement for a single t

outsmarted myself with menus?

2015-03-24 Thread Dr. Hawkins
I've created menus and handlers, and use behaviors for them. But when I want to paste, the handler can't find where I was. If I'm in a field, "me" and "the target" both point to the menu button, not the field; the selectedObject contains nothing, and I can't find something like "menuSource". THi

Re: 7.0 just let me paste from a PDF!

2015-03-22 Thread Dr. Hawkins
On Sat, Mar 21, 2015 at 3:13 PM, Mike Bonner wrote: > Some pdf's are just that. An image of a page, so it would probably only > work for some pdfs. However, if you can get an entire page showing on > screen appearing as you like it, you might be able to set up a hotkey for > "import snapshot" w

7.0 just let me paste from a PDF!

2015-03-21 Thread Dr. Hawkins
OSX/Yosemite. I apparently selected the entire page by accident while selecting text to cut and paste. I ended up with the entire page as an image when pasting into livecode. But I can't replicate it. This would be *really* useful . . . Even better would be converting it to fields, but . . .)

Re: unsetting defaultMenuBar

2015-03-21 Thread Dr. Hawkins
On Sat, Mar 21, 2015 at 11:18 AM, J. Landman Gay wrote: > > That's when I usually turn on editmenus. That would be going the other direction :) I just want the plain old IDE. If these stacks are open, it's bec ause the user is me, and I am editing them. At which point I have various traps &

Re: unsetting defaultMenuBar

2015-03-21 Thread Dr. Hawkins
On Sat, Mar 21, 2015 at 10:03 AM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > It looks like setting the defaultMenubar to empty doesn't work (I'm using > LC 7 today). Instead, you could set the menubar to the long id of grp > "revMenuBar" of stack "revMenubar". This will restore

unsetting defaultMenuBar

2015-03-21 Thread Dr. Hawkins
Once the defaultMenubar is set, is there any way to unset it? Particularly, when in the IDE, I want to set it to empty while editing my "source" graphical stacks that the user never sees -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode m

Re: Speaking of modals...

2015-03-20 Thread Dr. Hawkins
On Fri, Mar 20, 2015 at 1:33 PM, Bob Sneidar wrote: > Is there a way to un-modalize a stack that is already open? I suppose I > could lock messages then close and reopen the stack, but it would have to > be done in a script outside the affected stack or it won’t close. I read the dictionary as

Re: Modals Blown Away

2015-03-20 Thread Dr. Hawkins
On Fri, Mar 20, 2015 at 8:53 AM, Ray wrote: > Jackie - thanks for jumping in here. No, that's no it. What I'm finding > though is that things start working again when I "stop using" a certain > stack. I would think locking messages before issuing the modal command > would eliminate any conflic

Re: Laughing my socks off again.

2015-03-20 Thread Dr. Hawkins
On Fri, Mar 20, 2015 at 12:30 AM, Terence Heaford wrote: > In my opinion LC should remove all these bugs from the database, > arbitrarily back to a date(?) and start again. > > This is effectively being done: messages go out that unless the reporter takes the time to confirm with a newer version,

Re: Modals Blown Away

2015-03-20 Thread Dr. Hawkins
On Fri, Mar 20, 2015 at 6:32 AM, Richard Gaskin wrote: > I use modals extensively and haven't seen this, but I haven't used v7.0.2 > in weeks and only briefly when I did, so I have no input on that specific > version. > I've used pretty much every version and subrelease since around 7.0.1, I thi

Re: Release 6.7.4 RC 2 / 7.0.4 RC 2

2015-03-19 Thread Dr. Hawkins
On Thu, Mar 19, 2015 at 12:32 PM, Richmond wrote: > That's good to know; although that makes me wonder slightly how they can > say that the next release > will be "GM" [ presumably that means 'STABLE' ??? ] > Definitely outside of what the words used mean . . . and that bug is killing me; I wil

Re: more menus oddities

2015-03-17 Thread Dr. Hawkins
On Tue, Mar 17, 2015 at 2:21 PM, Richard Gaskin wrote: > It wasn't reported until Paul Hilbert filed the report for someone else on > the 5th. It was fixed on the 10th, but was just outside the window for > 7.0.4 DP1, now expected for DP 2. > > I must have been in a hurry that day (or particular

Re: more menus oddities

2015-03-17 Thread Dr. Hawkins
On Tue, Mar 17, 2015 at 1:08 PM, J. Landman Gay wrote: > Don't try to adjust the menu group. I suspect you are issuing a "print > this card" command. > open printing to pdf outpath ... print otCd into 18,18,576+18,756 It used to be print otCd from 18,18,576+18,756 into 18,18,576+18,756 until

more menus oddities

2015-03-17 Thread Dr. Hawkins
Exporting my first PDFs , I found another oddity: on a mac, the menubar appears on the exported PDF, even though it isn't visible on screen. This was easy enough to solve, with my script stashing, falsing and resetting the vis of the menu. However, the adjustment in screen height apparently mean

Re: menuitems accumulating extra ( in them?

2015-03-16 Thread Dr. Hawkins
Ack, early release. the dictionary seems to suggest such foolish behavior: so when used to disable a menu item, the disable menu command adds an open parenthesis at the beginning of the specified line. Without checking to see if one is already there??? On Mon, Mar 16, 2015 at 7:52 AM, Dr

menuitems accumulating extra ( in them?

2015-03-16 Thread Dr. Hawkins
I am seeing one menuItem in particular (hmm, the only one I disable) pick up multiple ( in front of it. Is the correct behavior of "disable menuItem foo" to simply stick a ( before its line of the text of the button in question? Should I be checking for whether or not it's already disabled (seem

Re: Glyph Text in LC7 Won't Wrap

2015-03-15 Thread Dr. Hawkins
On Sun, Mar 15, 2015 at 4:15 PM, Richard Gaskin wrote: > It's the fixEngine global property. :) > > Which is assigned to the DWIM key -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@lists.runrev.com Please vi

Re: [OT] Apple Wireless mouse

2015-03-15 Thread Dr. Hawkins
On Sun, Mar 15, 2015 at 12:37 PM, Peter Haworth wrote: > Found this free app named MagicPrefs that gives you the capability of > configuring all sorts of things on the Magic Mouse (and trackpad and laptop > finger pads). > ... > I also have configured it to issue a right click when I click anywhe

Re: [OT] Apple Wireless mouse

2015-03-15 Thread Dr. Hawkins
On Sun, Mar 15, 2015 at 8:21 AM, Peter Haworth wrote: > I'm putting it down to my electric personality. > > Seriously though, I wonder if it is due to static electricity > Your flesh near it certainly changes the dielectric constant of the air and such things. The mouse surface uses capacitance

Re: What property does "set as stack menubar" set?

2015-03-15 Thread Dr. Hawkins
On Sun, Mar 15, 2015 at 12:50 PM, J. Landman Gay wrote: > On 3/15/2015 8:12 AM, Dr. Hawkins wrote: > >> put the editMenus of stack out0, the vis of grp stk_menu of stack out0, >> the >> menubar of stack out0 >> >> yields >> fase, true, >> >>

Re: Does 'exists' work on arrays?

2015-03-15 Thread Dr. Hawkins
On Sun, Mar 15, 2015 at 9:50 AM, Graham Samuel wrote: > put exists(myArray[“gpx”]) > > I got ‘false’, but the IDE seems to say that the top key in this > multidimensional array is “gpx”, so why isn’t it true? > put ( "gpx" is among the words of the keys of myArray) -- Dr. Richard E. Hawkins

Re: What property does "set as stack menubar" set?

2015-03-15 Thread Dr. Hawkins
On Sat, Mar 14, 2015 at 7:11 PM, J. Landman Gay wrote: > No, leave it visible so Windows users will see it and you will too during > development. > There's no direct development on this stack. When I need an output window, stack out0 gets cloned (out 1, out 2, etc.), but it is never seen itself

Re: What property does "set as stack menubar" set?

2015-03-14 Thread Dr. Hawkins
On Sat, Mar 14, 2015 at 3:20 PM, J. Landman Gay wrote: > On 3/14/2015 4:42 PM, Dr. Hawkins wrote: > >> I just can't find the property being set or unset by "set as stack >> menubar" in the menuBuilder. >> > > It's the "menubar", and

Re: Getting use of menus straight

2015-03-14 Thread Dr. Hawkins
On Sat, Mar 14, 2015 at 11:34 AM, J. Landman Gay wrote: > On 3/14/2015 12:02 PM, Dr. Hawkins wrote: > >> Before I blow off another limb, I need to see if I have this straight. >> > > Advice I received early on is that if your stack will have menus, develop > for Windo

<    3   4   5   6   7   8   9   10   11   12   >