Re: LiveCode community edition is gone

2021-09-02 Thread doc hawk via use-livecode

Rick rumbled,

> It would be nice if the company were willing to provide the final version of 
> the Community 
> version under an MIT license instead of GPL since they will no longer be 
> supporting it at all, and 
> it marks a true fork in the road from the codebase going forward.

While it sounds nice, and would address a certain need, it simply isn’t 
practical.

I wrote the seminal economic paper on the economics of open source for the firm.

A BSD license release would be downright suicidal, as it could be a “most of 
the way there” stepping stone for a commercial competitor.
___
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: Licensing model change

2021-09-01 Thread doc hawk via use-livecode

Kevin kayaked,
>Look what happened to Open Office. It died because no one wanted to work on it.

???

The bulk of the developers bolted and formed LibreOffice from the OO codebase.  
It’s alive and well--I just downloaded a new version this morning.

It isn’t that OO faded or died, but that no-one liked the new overlords when 
Oracle acquired Sun.  The project itself is thriving under the new name.
___
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: httpd library

2021-07-26 Thread doc hawk via use-livecode

Andre added,


> I love when you folks call me a young man :-) I’ve been 41 for a while now 
> and no one asks for my ID when I buy a beer anymore.

That’s why I hang around the knights of columbus—it’s the only place I get 
called “young man” any more . . .

:)

___
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: building standalone FAILS with German Umlaute in app name

2021-06-15 Thread doc hawk via use-livecode

mark muttered,

> It sounds funny but that is the advice given for people with adhesive 
> capsulitis aka “frozen shoulder”. 

I was given this advice for wines.  We eventually figured out that those 
headaches came the night after sharing a bottle of inexpensive white with my 
wife, or even a single glass of chilean red.

I mentioned it to my quack, and his response was, “Oh, we’ve seen that before.  
Just don’t drink those ones.”

By chance, we found that it is probably histamines—because I took 
antihistamines for something eolse one morning.  (And it’s a sinus headache, 
the length of those tissues).  

Oh, and cheap to mid-range distilled liquor; upper mid- and beyond isn’t an 
issue.

Anyway, walking out of the office that day, I realized, “I have Groucho Marx’s 
physician!”

___
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: Find Replace in Script Editor with cr

2021-04-06 Thread doc hawk via use-livecode

sean slipped

> For instance, suppose I have multiple commands on one line separated by ;
> and I want to search for semicolon and replace with semicolon followed by
> return character to drop the remaining script onto a new line.

put the script of someThing into tscript
replace “;” with “;” & cr in script
Set the script of someTHing to tscript
___
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: [ANN] This Week in LiveCode 259

2021-03-25 Thread doc hawk via use-livecode

andre amplified,
>Next time, I’m leaving them in.

Ahh.  The director’s cut . . .

:_)


___
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: Why is livecode sniffing around my network

2021-03-11 Thread doc hawk via use-livecode
The only process that I have anything to do with that could have reached 
off-machine would have been reaching to the Postgres server, but that doesn’t 
use a local address (although the server is indeed local).

This is the business edition, but it has never had an iOS or android 
stack/configuration/anything.
___
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


Why is livecode sniffing around my network

2021-03-11 Thread doc hawk via use-livecode
Little Snitch just reported,

> LiveCode Business 9.6.2 (rc 1) (LiveCode-Business)
wants to connect to docs-12-pro-max.local on TCP port 62078


Why in the world is livecode sniffing about my localnet?

___
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: [ANN] Release 9.6.2 RC-2

2021-02-21 Thread doc hawk via use-livecode
michael mentioned,

> Yesterday I downloaded SuperCard 4.8.1 Trail wich still is maintained.

I still have my SuperCard 1.5 install disks . . . 

I bought it because it could have two windows open at once.

When HyperCard 2.0 came out, it did everything I needed from supercard, but 
there was no back-export available

So some new things got converted to hypercard, using the basic engine I’d 
written, but I didn’t feel like writing the script to turn every object in the 
stack into a text list of its properties and another to create the new 
hypercard stack.

When I started on this project, yikes, a decade ago now, I did manage to 
partway navigate the chain to loading the old stacks, but it was an odd dance 
involving an old MacClassic and reading Mac disks on a freebsd floppy . . . if 
the scsi Zip drive hadn’t failed, it would;d have been a lot easier to transfer 
. . .


___
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: Livecode IDE question

2021-02-12 Thread doc hawk via use-livecode
I don’t know if this helps, but I turn off the icons and just have the text 
buttons, giving back space.

Or you can just hide both . . . macOS can assign keystrokes to application menu 
items in settings


___
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 Friendly customers....

2021-01-26 Thread doc hawk via use-livecode

Bob bumbled,


> WAIT… THAT was a SCAM???

Definitely.

He actually sent the money to me.


There was a great website years ago that I can no longer find, in which a women 
strung along one of these guys, posting what she was doing and the 
correspondence.

She became increasingly salacious, eventually asking about playing games like 
“hide the salami” when they met, and watched these fly over his head.

She also insisted on a personal meeting, and that he come alone.  She found a 
location in Amsterdam, iirc, with a webcam, and watched him arrive to collect 
the money—from her home in the US.

To his indignation that she wasn’t there, she pointed out that she said to come 
alone.

Eventually, she emailed him the address of the website, but his actual English 
was to poor to understand.

And he continued trying to run the scam on her!

He even slipped up and used one of his other identities in onej email, and 
tried to explain it away when she called him on it.

___
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: lock screen

2021-01-22 Thread doc hawk via use-livecode
Not so much either/or as it’s a counter, with 0 being unlocked.

Lock increments the counter, and unlock excrements.

The counter gets set to 0 when the engine idles, as well

-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: Threads in LC

2021-01-05 Thread doc hawk via use-livecode
richard reminisced,

>I wonder if we can tailor an LC approach to more closely resemble it, or at 
>very least arrive
>at a language feature proposal to give us parallelism within a single-thread 
>like Python does.


I put some thought into this a few years ago.

It could begin with some not-quite-implemented language features and 
declarations.  (Perhaps “thread . . .” instead of “send”).

I also produced a master/slave pair of stacks.  Or, rather, a stack that acted 
differently when its filename started with “master” than with “slave”.

It was pretty straightforward to get them talking.

My intent was to have one running the application, and having the other send 
the Postgres requests.   However, with an open Postgres connection, things are 
fast enough that it turned out to be unnecessary.  (It also probably helped 
that I included a minimum delay from the last keyUp message before the 
“background” (by send in . . ) task would execute rather than kick itself down 
the clock a few seconds.

Anyway, the existing sockets might be expandable, allowing threads to 
essentially run their own instance of livecode and talk by message.
___
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: Secure connection to server

2020-12-26 Thread doc hawk via use-livecode
There was supposedly an effort to enable secure Postgres connection a few years 
ago, but it seems to have withered and died.

I had to give up on mysql for postgesql one the need to send compound queries.  
AFAIK, you still can’t do a block mysql transaction in mysql with livecode, 
making rollback impossible. (Well, I suppose you *could* do a big runaround 
with timestamps and faux “transaction” keys, but you’re still counting on the 
client end not failing).

If I got forward with the project, I’m going to be encrypting the data at the 
client end.  It limits the types of transactions possible, but that’s fine for 
what I do.  (But an actual secure Postgres connection would be far better . . . 
)


___
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: PDF Manipulation was Design Question

2020-11-19 Thread doc hawk via use-livecode
*IF* the pdf files are simple enough, there are some substitutions that you can 
“just make”.

A string literal can be replaced with a string of the same length.  It could 
also be replaced with a shorter string and space-padded for the extra space.

You want to put a string that is three characters longer, as I understand.   
*IF* there are three characters of white space or comment before the linefeed 
preceding the next “real” data, you could also substitute.

Encryption would obviously stop this.

Also, it’s common in some autogenerated forms to find things like “T e x t” 
instead of “Text”, or even spacing information between characters.


When my ambition comes back, I’m working on livecode to “layer” pdfs for form 
filling.   I just have to get the hang of the spacing.

It seems that a pdf can be included as an object in another pdf.

If the pdf widget could actually, well, output a pdf, rather than a 
screen-density image of it, my life would be *so* much easier and I could sell 
this thing I’ve put together over a decade tomorrow . . .

Or look at the source code of PyPDF2 (it’s BSD/Free licensing, not GPL, so you 
don’t get contaminated), which has all kinds of pdf manipulation stuff (I’ll 
leave it to others to comment on the effects on your health of reading that 
much python . . .



___
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: Livecode server UNIX version (not Linux).

2020-10-31 Thread doc hawk via use-livecode
heriberto harrumphed

>3) Today's macOS is descended from NeXT (which Apple acquired and 
> transitioned macOS to in 1999)

And they got a free Jobs to go with it!

Or did they buy a Jobs, and get a free OS.  I’ve never quite been clear . . 

>  6) The Mach microkernel was replaced with the Appel XNU hybrid kernel

Ooh, I missed that.

> 1) It seems we can run a Livecode headless binary on BSD using the Linux 
> compatibility layer. Is that so?


I’m pretty sure that I ran 5.5 both headless and X under FreeBSD.

Come to think of it, I believe there are multiple threads in the archives, 
probably mid 2012, from when I was asking questions about it.  In there would 
be some discussions as to how far it gets in startup before bouncing off of X 
when not using headless.
___
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: ProtonMail vs Apple

2020-08-10 Thread doc hawk via use-livecode

Jerry jesticulated,


> Are you sure? The W12 used in some Bentleys is made by VW, and many years of 
> Phantoms used a V12 of the proper displacement. Of course they don’t talk 
> about mundane stuff like that! 

But VW now makes “Bentley", while “Rolls” is now a BMW brand.

In either case, you don’t get the real thing, and the Rolls Royce 8 cylinder 
engine is now a bit of history . . .

(And for another odd quirk, Rolls once licensed the GM Turbo 400 transmission 
for use n both, but made “improvements” in it.  That worked "so well” that 
within a couple of years they instead just bought them from GM . . .)
___
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: Q re monetization via ads

2020-07-31 Thread doc hawk via use-livecode
Richard rumbled,
> 
> How many LC devs have earned more than $500 from in-app ads?

For that matter, did *anyone* ever manage to get that company to even run an 
add.

The answer I got back (after an unreasonably long delay) made it pretty clear 
that they weren’t interested until there was a huge installed base . . .
___
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: Downloading LiveCode Slow...

2020-07-08 Thread doc hawk via use-livecode
I've never seen it *not* slow.

When I'm going to download, I clip the link and use "wget -c" from
the command line, so it can continue from where it left off if interrupted.
___
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: Test

2020-06-29 Thread doc hawk via use-livecode
Henry hollered,

>This is a test. Please ignore


Kids have been saying that every time they get a C- for generations . . .


___
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: Sockets (again)

2020-06-29 Thread doc hawk via use-livecode
I have a pair at http://dochawkbk.com/lcImages/ 
 of master and slave stacks to talk to one 
another.

They're meant to be compiled.

They're probably 5.x stacks . . . I haven’t looked at them for a while.

___
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: test

2020-06-20 Thread doc hawk via use-livecode


Jee jee jabbered
> =
> it seems my emails do not always arrive on this use list. Can't find the 
> cause why.

This is usually the mail client, not the mailing list.

Gmail, for example, does not show your own messages until and unless someone 
replies.
___
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: test

2020-06-20 Thread doc hawk via use-livecode
flunk

___
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: Moving object out of a group

2020-06-16 Thread doc hawk via use-livecode


Mark meandedered,
> 
> On 6/15/20 12:32 PM, doc hawk via use-livecode wrote:

>> by scripting the past.

> I thought Jacque was the only who had that superpower…


She had been, but no longer was, once I adjust it.

(Gosh,inter- temporal grammar is hard . . .)

___
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: Moving object out of a group

2020-06-16 Thread doc hawk via use-livecode

Mark mumbled,

> Have I mentioned lately how much I hate the Project Browser?

I still find it far too painful to use.   

A couple of times a year to work around another bug or crash situation, but 
that’s it.
___
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: Moving object out of a group

2020-06-16 Thread doc hawk via use-livecode


Mark mentioned,
> 
> The only way I can ever do something like this is with the messagebox command 
> line.

There appears to be something generally wrong when trying to manipulate the 
layers of objects when groups are involved.  I think this goes back (at least) 
to version 5.

The only consistent way I have found to put something between others is to cut 
and paste *all* items of higher layer number than you want it to land at, and 
paste them back  (which would be a problem for shared groups!) 
___
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: Moving object out of a group

2020-06-15 Thread doc hawk via use-livecode
I believe that I’ve also used cut to get things out of groups by scripting the 
past.

> On Jun 15, 2020, at 11:48 AM, Alex Tweedly via use-livecode 
>  wrote:
> 
> two possible, but not great, answers ... but (something like) this has worked 
> for me in the past.
> 
> 1. - drag/drop the grc rect to the containing group or card (i.e. outside the 
> groups it should not be in)
> 
>  - drag / drop other groups to before it
> 
> 2. - select the group it is in
> 
>- "Ungroup"
> 
>- deselect the rect
> 
>- "Group"
> 
> Alex.
> 
> 
> 
> On 15/06/2020 17:31, Sean Cole (Pi) via use-livecode wrote:
>> Hi all,
>> 
>> This has been a problem for some time now but it's just got so much more
>> frustrating for me. I tend to organise my objects into groups as there are
>> often lots of them and it helps keep them manageable.
>> 
>> However, I have created a rectangle grc I need positioning between two
>> group layers but I can never seem to get it to between them but only inside
>> one or the other. It's not easy to describe so I've created a little video
>> to help demonstrate it. -
>> https://www.dropbox.com/s/w75fapg0pqcgezg/MoveOutOfGrp.mov?dl=0
>> 
>> Ideally, the grc should end up outside of both groups but between them in
>> the list. I've tried drag-drop and by changing the layer number but can't
>> get it to place properly. Is there a way to overcome this?
>> 
>> Thanks
>> 
>> Sean Cole
>> *Pi Digital *
>> ___
>> 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
> 
> ___
> 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


___
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


Is the speech library really there?

2020-06-15 Thread doc hawk via use-livecode

I tried to play with the speech library this morning, and on business 9.6, I 
can’t even prove that it’s there! (I would think that if nothing else, it would 
hit the online version of the dictionary

Even more interesting, when I try “speechInitializeLibrary” it comes up with 
*no* results . . .

I see a few pages written by folks that must have got it moving, but . . .
___
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: checking we are back

2020-06-15 Thread doc hawk via use-livecode



 Heather hailed,

>If you see this, no need to reply.

Not required, but permissive?

:_)


___
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: on cheese

2020-06-08 Thread doc hawk via use-livecode
Martin mentioned,

> Suppose someone made a cheese related app

I tried that once but the code was full of holes.

On the bright side, I could debug it just by heating it . . .
___
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: Times ARE changing

2020-06-06 Thread doc hawk via use-livecode

On Jun 6, 2020, at 1:29 PM, PEL via use-livecode 
 wrote:

>  They pointed out, correctly, that “Little Black Sambo” was Indian, not 
> African. And it was obvious that most protesters had not “read” the book.


I don’t think this went whereto meant :)

However, skids, we thought Sambo was cool, and admired outwitting the tiger .. 
. . 
___
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: [ANN] Release 9.6.0

2020-06-02 Thread doc hawk via use-livecode

> 
Panos protested,
> I have not seen that error before, 

Now *those* are words to make one shudder . . . 

:_)

But I once got a new high-end laptop from it . . . 

Remember several years ago, when the MacBooks had a problem when switching 
video cards (the Pros had two, one for performance, and one for battery life)?  
 


I had one of the first (maybe the first) machines on which it could be 
replicated.   Mine kernel panicked several nights a week.

I brought it in, and it was spitting codes that weren’t even in Cupertino’s 
database.  The third time, they wanted to do an autopsy, I think . . . so they 
refunded my machine, and sold me the newer version (the middle 15” Pro) for the 
same price—and commented that they (at the store) had two reasons:  I always 
brought in interesting questions, and the I’d actually understand and 
appreciate what they were doing.


___
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: Most obscure HC question

2020-05-02 Thread doc hawk via use-livecode

On May 2, 2020, at 4:46 PM, Colin Holgate via use-livecode 
 wrote:
> 
> That is the whole reference guide. I have physical copies of that! Was there 
> a particular part that might help with the ‘maximize’ card size problem?


I was thinking the menu reference, but that didn’t survive pasting the link .  
I was thinking at about 1-36 on resizing the card window.

I remember that I *did* this stuff.

And thinking again, I believe you could specify size in code in 1.x, at least 
on a larger screen.  It *must* have been possible, as there was a single stack, 
and I created page size stacks for printing forms.

But it’s been, uhm, over 30 years, now that I think of it . . .
___
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: Most obscure HC question

2020-05-02 Thread doc hawk via use-livecode

Colin called,
> 
> But between you all you may remember something that will help me. I have a 
> standalone HC application, and it opens with a window that shows that you are 
> only seeing part of the card window. The card window doesn’t resize, and I 
> can’t remember how to make it be bigger. Here’s things that didn’t work:


Does this help?

https://cancel.fm/stuff/share/HyperCard_Reference_1.pdf 


It’s for 2.5, but seems to cover it.

I had to switch from hypercard to supercars to have multiple windows.  Once 
Hypercard 2.0 came out with multiple views, I would have had to copy/paste 
every last control to go back, so only transferred the main script for other 
applications of my tech.

___
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: Best relational database for IOS / Android

2020-04-29 Thread doc hawk via use-livecode
Rick remanded,

> Nice!

Not just nice, but necessary for consistency—if I have a variable change which 
also causes two more to change, it is absolutely critical that either all three 
change, or that the whole thing fail.  You just can’t do that without 
begin/end, AFAIK, unless you have a followup that checks all three once all are 
done—and what if you lose power or otherwise crash before that happens?

___
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: Best relational database for IOS / Android

2020-04-29 Thread doc hawk via use-livecode


Rick rejoined,

> I have a preference for PostgreSQL.

I recoded for Postgres from mysql a few years ago simply because, at the time 
at least, livecode can send a compound transaction to Postgres, and only single 
transactions to mysql.
___
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: Wildcard? replaceText, offset?

2020-04-26 Thread doc hawk via use-livecode

On Apr 26, 2020, at 11:24 AM, Rick reasoned

> In the middle-end part of the string I have “(x)” where x represents some 
> integer.
> it could be (4) or (10) or (5) etc.


If you’re certain that this is the only, or even the first, integer, a regular 
expression search and replace or [0-9]+  would  do the trick.
___
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: What is a real?

2020-04-25 Thread doc hawk via use-livecode

On Apr 25, 2020, at 10:19 AM, Kee Nethery via use-livecode 
 wrote:
> 
> In FORTRAN, any variable that starts with a letter in the alphabet from “I” 
> to “N” is an INteger. All other variables are reals (something expressed in 
> scientific notation).

Leading to the observation that “GOD is REAL, unless declared INTEGER” . . . 

[that said, the first non-comment line in any Fortran I write is “Implicit 
None”.   My livecode is also always set to require explicit declaration, and 
I’m the odd one out here in really wonting to add strong types to livecode . . 
.]


___
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: What is a real?

2020-04-25 Thread doc hawk via use-livecode


Mark mumbled,

> If it helps any (hint: it doesn't) it's the currency of Brazil.

I think it has something to do with strawberry fields . . .

___
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: Which git service suits a LiveCoder best?

2020-04-23 Thread doc hawk via use-livecode
Andreas announced,
> Thanks everyone for your feedback and insights. Nothing speaks against 
> GitHub, it seems, so I’ll give that a try then.

I’m curious though:  *how* are you gong to do this?

Don’t you need to reduce the stacks to text files first?


___
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: Which git service suits a LiveCoder best?

2020-04-22 Thread doc hawk via use-livecode
It’s no substitute for GitHub and the like, but I have a rather simple system 
that intercepts saveStackRequest, checks the date, and saves a new version with 
the date as part of the name.  I also have a bmpVrsn routine that can be used 
to advance a letter during the day, so things like 200422b for the second 
version of a stack from today.

I did a simple presentation with handout code for this at last year’s developer 
conference.

I can probably find them around somewhere.

The current problem with GitHub and stuff is the lack of a text file based 
storage, although I know someone has an add-on for that.


> On Apr 22, 2020, at 1:45 AM, Andreas Bergendal via use-livecode 
>  wrote:
> 
> Hi everybody, first time posting to this list, so I hope I get it right… :)
> 
> I need your wisdom on a slightly off-topic issue, though seen in the LiveCode 
> perspective:
> I’ve never used git, but I want to start now. 
> 
> I’m working on several LC projects, some with co-developers, several with 
> commercial potential, so I need to get more professional with version control 
> and other benefits that come with git.
> 
> I’ll educate myself on how to use it, but: Step one seems to be to select a 
> git host/system.
> GitHub is the obvious giant, but is it the best for my needs?
> 
> - I use LiveCode, obviously, so is any git service in any way more suited for 
> that?
> - I’m not very familiar with using the command line, so I’d prefer a git 
> service that has software that handles that, as far as possible. (Yeah, I’m a 
> developer, I can learn, but hey, we promote the xTalk way here, no? Command 
> line seems very much in the opposite side of the spectrum of readable code…)
> - I develop on Mac, in case that is a factor when choosing git solution?
> 
> So, in short: How do I best get started with git when working with LiveCode 
> on Mac, in small teams or alone, wishing minimal use of command line?
> 
> Do I just let gravity pull me into the GitHub gas giant, or join a rebel 
> moon? :)
> 
> Best
> Andreas
> (xTalker since HyperCard days, in other forums aka SWEdeAndy or WhenInSpace)
> ___
> 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


___
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: Even Distribution

2020-04-17 Thread doc hawk via use-livecode
Bob belabored,

> BAs I said, all else being equal, roughly same work required, localized 
> territory, no chance of a job being rescheduled, etc. Use a Round Robin 
> approach. 

For that matter, if it is an ongoing situation, where this is simply a daily 
load of randomly sized tasks, round robin works in the long and even 
intermediate term.  So would random assignment, but it would have more short 
term spikes.

Or a modified round robin, with assignment to either the next available, or to 
the next driver with only one item in his queue


___
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: Even Distribution

2020-04-16 Thread doc hawk via use-livecode

On Apr 16, 2020, at 7:23 PM, Skip Kimpel via use-livecode 
 wrote:
> 
> I have 15 "jobs" that need to be assigned to 7 "drivers". How would you
> evenly distribute the jobs to the drivers? 

Fire two drivers.

:_)

If they complain, fire two more, and it’s still easy . . .


___
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: Damn You Unicode!

2020-04-14 Thread doc hawk via use-livecode
I’m thinking that possibly there is a violated assumption as to what the other 
end is using within that, yes. 

Or that the other end makes an assumption, and puts the “wrong” type back in.

Which kind of SQL server is that?  Microsofts?

I can probably rig access to my Postgres server if you need to try it for a 
test case.

(It would probably do me good to remember how that works :)


___
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: Damn You Unicode!

2020-04-14 Thread doc hawk via use-livecode
Mark mumbled

> and in doing so you could unUnicode it. OK I made up that word, but still…


Verbing nouns again, the man is . . .


___
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: Damn You Unicode!

2020-04-14 Thread doc hawk via use-livecode


Mark mentioned
> 
> Try a picnic basket instead

Given that someone actually implemented RFC 1149, why not?


___
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: Damn You Unicode!

2020-04-14 Thread doc hawk via use-livecode
Shooting from the hip, but could it be differences in cr, lf, and the like 
getting processed differently?

That is, being intrereted by your yogi as a break in one implementation and not 
another?  (Which, of course, would be a boo-boo.)

pawk, who couldn’t manage to get “Cindy” or “ranger smith” into the last 
paragraph . . .
___
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: Go to card has become slow

2020-04-06 Thread doc hawk via use-livecode

On Apr 5, 2020, at 11:18 AM, Bob Sneidar via use-livecode 
 wrote:
> 
> I don’t think LC accepts multiple statement transactions at all, does it?

I’d be dead int the water if it didn’t. ;)

I’m flat out *dependent* on these—opening a debtor in my software requires 
several hundred entries to be pulled, and at event few milliseconds of latency, 
this would be brutal.  I had an old version running with livecode’s mySQL 
version several years ago, and even after coming back for it to finish loading, 
the overhead from latenciy for repeated transactions made it simply unusable ( 
I think this was before I was stashing in a memory SQLite.  [I started with a 
file-bases SQLITE and an array of internal variables, and with a couple of 
intermediate steps, ended up with :memory: SQLite, and asynchronously  tapping 
Postgres every 30 seconds or so with updates.
___
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: Go to card has become slow

2020-04-05 Thread doc hawk via use-livecode
If server performance is at all an issue, SQLite may be the wrong choice.

It has a kind of, very reluctant, simultaneous access that the developers warn 
you not to use.

They suggest PostgreSQL for heavy loads.

I use SQLite within the application (the in-memory access is blindingly fast), 
and an external Postgres server (where I basically stash the statements to 
create the sqlite records, and update).

I tried mysql first, but LiveCode  doesn’t support multiple statement 
transactions on it (or at least didn’t at the time), resulting in hundreds of 
transactions where I could have used one 
___
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: Our first Community Zoom Session

2020-04-02 Thread doc hawk via use-livecode


On Apr 2, 2020, at 12:05 PM, Pi Digital via use-livecode 
 wrote:
> 
> That article is based on out of date information. 


Yeah.

Zoom has enough recent issues without resorting to the old ones!

:_)
___
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: Our first Community Zoom Session

2020-04-02 Thread doc hawk via use-livecode
I actually create a throwaway user account on my Mac, and run zoom from the 
.dmg file . . .
___
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: Our first Community Zoom Session

2020-04-02 Thread doc hawk via use-livecode
I think you’re right.

I added 5 from London to EST, and 3 more to the et.

So (no longer trueing my time math), 8AM PST?


Err, and Friday still in PST, right?


___
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: Our first Community Zoom Session

2020-04-02 Thread doc hawk via use-livecode
I think the that’s midnight PST . . .

Also, I would ask that you to *not* submit our email address to zoom, but 
instead send the code to the lit, or by your own servers to our email—it came 
out in the last couple of days that, just a zoom was nearing a whole week 
without  a new security or privacy sue, that they’d globe email in a way to 
make them accessible . . .



> On Apr 2, 2020, at 3:31 AM, Heather Laine via use-livecode 
>  wrote:
> 
> Dear list folks,
> 
> I have now scheduled our first zoom meeting, open to anyone who wishes to 
> discuss LiveCode, share hints and tips and see a friendly face during this 
> period of isolation for many. I will be there in a moderation capacity, to 
> facilitate discussion. Panos will be joining me to help out. The actual 
> debate, discussion, conversation and topics is down to you guys and gals! 
> Come along and bring a topic you'd like to share/learn information on. Just 
> to reiterate, the usual list rules apply: we're talking LiveCode, we're not 
> talking religion or politics, and cheese should be kept to a minimum :)
> 
> To give us an idea of numbers and how to best manage the meeting, I have 
> turned on registration for this meeting, so you can click on the link below 
> to register. It would be helpful if you can do this in advance. The meeting 
> will be tomorrow, Friday 3rd April, at 4pm UK time, (we've just switched to 
> Summer Time here). To see what time that is for you, please go here:
> 
> https://www.timeanddate.com/ 
> 
> or just click the registration link and you will be able to specify a 
> timezone to see what time it will be for you.
> 
> The invitation:
> 
> You are invited to a Zoom meeting. 
> 
> When: Apr 3, 2020 04:00 PM London 
> 
> Register in advance for this meeting:
> 
> https://zoom.us/meeting/register/v50kdeGuqjstQaRWOduQAUs31lqtQJOVdA 
> 
> After registering, you will receive a confirmation email containing 
> information about joining the meeting.
> 
> Warm Regards, and see you tomorrow!
> 
> Heather
> 
> Heather Laine
> Customer Services Manager
> LiveCode Ltd
> www.livecode.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/mailman/listinfo/use-livecode


___
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: Using Shift + Cmd + 1 as a menu short in LiveCode

2020-03-30 Thread doc hawk via use-livecode


On Mar 30, 2020, at 8:02 AM, Bob Sneidar via use-livecode 
 wrote:
> 
> Cmd-E will eject a mounted removable disk. I've never heard of Cmd-Shift-1. 

Newbie :)

It seems to have disappeared some time ago.

I know that I used it some years ago on a CD, to my surprise.

-3 and -4 are still live, but the whole set were very, very low level way back 
when.

I bring it up because even thought apparently not implemented any more, there 
might still be some system intercept that catches it under some OSX variants.


___
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: Ordering text

2020-03-29 Thread doc hawk via use-livecode



As more cobwebs and dust fall away . . .

First impose a (temporary?)  index column, idx, ordering the transactions, with 
a step of 1.

And then you do something like

UPDATE theTable SET tBal=tBal(idx -1) + charge WHERE idx > MIN(idx);




___
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: Ordering text

2020-03-29 Thread doc hawk via use-livecode
I haven’t fully followed the queries that led to this, but would something like

SELECT SUM(OLD -NEW) FROM some_table WHERE need_to_calc IS true;

get you anywhere?


I’m also thinking of a lag within the list, to assign them all at once, but the 
commands coming to memory are from statistical packages, Fortran, spreadsheets, 
 and other matrix math . . .



___
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: Idea to keep us all connected

2020-03-25 Thread doc hawk via use-livecode

On Mar 25, 2020, at 12:33 PM, Mark Wieder via use-livecode 
 wrote:
> 
> On 3/25/20 12:11 PM, doc hawk via use-livecode wrote:
> 
>> I used yesterday’s version, and not installed globally (ran from the opened 
>> dmg).  And will purge that account today, and make another if I need to 
>> again.
> 
> Interesting. I didn't realize it could be run from the dmg. Another option 
> would be to run it in a container.


It seems that *most* things can.

At one point, I found that I was running livecode that way . . .


___
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: Idea to keep us all connected

2020-03-25 Thread doc hawk via use-livecode

On Mar 25, 2020, at 11:37 AM, Mark Wieder via use-livecode 
 wrote:
> 
> the problem being that the server daemon was still active after ending a zoom 
> session.

And also that it was done without user consent, and in violation of the rules 
enforcedly apple . . .


I used yesterday’s version, and not installed globally (ran from the opened 
dmg).  And will purge that account today, and make another if I need to again.

Suspicious? Who, me?

:)

___
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: Using Shift + Cmd + 1 as a menu short in LiveCode

2020-03-25 Thread doc hawk via use-livecode
Isn’t that the key sequence for ejecting the internal floppy, err, first 
removable disk?

It does seem to be removed from recent releases, though (although -3 an -4 
still work, though not quite how they used to . . )

These were in the original release for the 128k . . .
___
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: Idea to keep us all connected

2020-03-25 Thread doc hawk via use-livecode

On Mar 25, 2020, at 10:37 AM, Sean Cole (Pi) via use-livecode 
 wrote:
> 
> Zoom is fantastic. A

Be very cautious with zoom, and note it’s snarky privacy policy which 
acknowledges they sell data about you . . .

I had to use it yesterday for a nonprofit board meeting.   I created a 
throw-away user account.  I found that it could *not* run in TOR, and had to 
settle for a private safari window.

And it *did* attempt to access my downloads folder!  (OSX caught this).

They have also in the past deliberately circumvented apple’s tulles to install 
a malware web browser to avoid getting permission to use the camera—and third 
parties compromised machines with this.
___
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: Guessing the encoding of a test file... [OT]

2020-03-20 Thread doc hawk via use-livecode


On Mar 20, 2020, at 4:04 PM, Mark Wieder via use-livecode 
 wrote:
> 
> Even Morse code got a new character recently.

But does livecode support that character?

:)
___
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: Guessing the encoding of a test file... [OT]

2020-03-20 Thread doc hawk via use-livecode


On Mar 20, 2020, at 12:51 PM, Ralph DiMola via use-livecode 
 wrote:
> 
> Just for a laugh... one of the more esoteric codings I used in the quasi 
> modern error (besides EBCDIC) was the 5 bit Quotron stock ticker system in 
> the mid 90s. It used different codes for requesting/receiving quotes because 
> 2^5 is only 32 possible characters. Alpha in/numeric out.

They created a *new* five bit, shifted code, rather than just using Baudot


___
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: Guessing the encoding of a test file...

2020-03-20 Thread doc hawk via use-livecode

On Mar 20, 2020, at 11:09 AM, Paul Dupuis via use-livecode 
 wrote:
> 
> Okay, now you going for the low blow :-)\

What part of “lawyer” wasn’t clear? B b

:_)


> Next, you'll be suggesting I need to check for EBCDIC encodings!

That will be a start, but it’s not done until you include Baudot.

Morse, however, is optional . . .
___
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: Guessing the encoding of a test file...

2020-03-20 Thread doc hawk via use-livecode

On Mar 19, 2020, at 1:31 PM, Paul Dupuis via use-livecode 
 wrote:
> 
> “ASCII"

Wait, you’re not going to distinguish between six and seven bit ASCII?

:_)

___
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: ChangeImage Widget

2020-02-24 Thread doc hawk via use-livecode
You got my hopes up at first glance . . . I bought it said “champagne” widget . 
. .

:)
___
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: Progressive Web App (PWA)

2020-02-16 Thread doc hawk via use-livecode

On Feb 16, 2020, at 5:15 AM, Paul Dupuis via use-livecode 
 wrote:
> 
> "A progressive web application is a type of application software delivered 
> through the web, built using common web technologies including HTML, CSS and 
> JavaScript. It is intended to work on any platform that uses a 
> standards-compliant browser.”


And foolish me thought we were going to have a political discussion . . .

:)

___
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: SQL(ite) question

2020-01-13 Thread doc hawk via use-livecode


On Jan 13, 2020, at 11:39 AM, Mark Wieder via use-livecode 
 wrote:
> 
> Single command? No.

Also, note that you *can* submit compound commands from LiveCode to SQLite and 
PostgreSQL, unlike with mySQL.  (Or, maybe the interface to mySQL has changed 
in the years since I learned this the hard way).


___
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: shell() and pdftotext

2020-01-13 Thread doc hawk via use-livecode
To elaborate further, if you can use pdftotext from the command line, but this 
is failing, it is because the path declared for your login shell is not getting 
picked up, or a different shell is being used by livedcode.

Come to think of it, I have *no* idea which shell livecode defaults to—I’d 
assume the system default, which sometimes varies over versions of a particular 
OS.

So if you use tcsh, but your system defaults to bash, all of those 
customizations and variables that apply at the command line may not come into 
play.
___
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: using stdout

2019-12-18 Thread doc hawk via use-livecode

On Dec 18, 2019, at 1:24 PM, JB via use-livecode 
 wrote:
> 
> Thank you very much!
> 

You’re quite welcome. 
> I will be playing around with these a lot.
> 

I’m interested to see what you do with it.

Also, at the conference this year, I asked panagiotis, who bounced me to Mark 
on the question (“if *anyone* knows, it would be mark”), who immediately gave 
the answer.

I was interested in the slave not showing up in the dock.  Mark replied that 
there is a simple visibility option in the, o heck, I forget the name, but the 
“dossier” of options/declarations that happens in the build.  So it’s a one 
line edit.
___
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: using stdout

2019-12-18 Thread doc hawk via use-livecode

On Dec 18, 2019, at 1:03 PM, JB via use-livecode 
 wrote:
> 
> Actually as I said in the first post I do not really need it.  I was
> reading the manual about something else which I have already
> forgot and I ran across the code so I tried it.

Investigate “sockets” in the dictionary.

> 
> But I am interested in messing around with writing to another
> application if you have any examples.  Also if you needed
> the c code let me know and I can probably dig it out for you.
> 

I emailed you master and slave, since we can’t attach to the list.

It’s by no means an example of how to do it; it’s my partway-done experiment 
from when I wanted a helper application to allow non-blocking database actions. 
 Switching from mySQL to postgreSQL solved my problem far more cleanly (I don’t 
know if it’s still the case, but LiveCode could only send a single mySQL 
transaction at the time, and startup took several hundred sequential commands . 
. .).  I may use it again someday, but not for now.

Anyway, it really doesn’t do much more than take something from the input 
window in one application, encrypt it, and send it across a socket to the other.

I *want* to say that master launches slave when it starts up, but it’s been a 
few years.
___
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: using stdout

2019-12-18 Thread doc hawk via use-livecode

On Dec 18, 2019, at 12:51 PM, JB via use-livecode 
 wrote:
> 
> A year or so ago I was messing around with the terminal in c code
> and found some code that opens two terminals and they talk to
> each other.
> 
> Is that something I can use to communicate with live code too?

Conceivably, but you’re going to have to know how to launch Terminal with 
options (and I haven’t a clue how to do that).

If you can open them so that they have a known socket, livecode can deal with 
that.

Why the interest in Terminal for this?  It’s pretty straightforward to create 
your own standalone if all you want to do is write to a second application for 
output.

___
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: using stdout

2019-12-18 Thread doc hawk via use-livecode

On Dec 18, 2019, at 12:38 PM, JB via use-livecode 
 wrote:
> 
> open process "/Applications/Utilities/Terminal.app" for write
> write tMessage && the long time & return to stdout

*That* is the problem.

If you open a terminal from within livecode, that doesn’t turn it into stdout, 
which already existed (even if null).


In a terminal,

/Applications/LiveCode\ Business\ 9.5.0.app/Contents/MacOS/LiveCode-Business 

(Or whatever).

That terminal will be stdout for livecode, at which you can write to it.

There might be a way to open a terminal from lived ode to which it could write, 
but it won’t become stdout.

If you look through the archives (or maybe it’s on the message board due to 
attachments), you should be able to find my master/slave pair which open a 
socket to one another and can talk.  It’s been a few years, though.
___
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: using stdout

2019-12-18 Thread doc hawk via use-livecode

On Dec 18, 2019, at 11:06 AM, Bob Sneidar via use-livecode 
 wrote:
> 
> Well, sudo already offers a mechanism to prevent volatile teminal activity. 

But that’s a privilege restriction about superuser.

Generally, I would think that a process shouldn’t be able to write to a random 
other process, even if owned by the same user.

Unix keeps the tree of which process spawns what.
___
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: using stdout

2019-12-18 Thread doc hawk via use-livecode

On Dec 18, 2019, at 9:36 AM, JB via use-livecode 
 wrote:
> 
> I didn’t know you needed to launch it from
> the command line.

Without that, I don’t think that livecode could be associated with any 
particular terminal.

In fact, I suspect that OSX would block any attempt from any non-descendent  
application trying to write to a terminal (or at least hope so . . .)

And are you you using “open”, or actual using a direct command such as 
/Applications/LiveCode\ Business\ 9.5.0.app/Contents/MacOS/LiveCode-Business ?
___
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] Hmmm...

2019-11-09 Thread doc hawk via use-livecode

On Nov 9, 2019, at 4:03 PM, Richard Rumbled,
> 
> 
> Did everyone stop using LiveCode, or is this mailserve down again?

You didn’t get the memo?

We all switched to NewHyper.

(So why is the list still running at all?)
___
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: checking the list is here

2019-11-07 Thread doc hawk via use-livecode

On Nov 7, 2019, at 1:29 AM, Heather Laine via use-livecode 
 wrote:
> 
> No need to respond…


Hmm, a conspiracy of silence.

Indeed, a coverup,.

:)



___
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: "empty" background in printed pdf is actually grey

2019-11-02 Thread doc hawk via use-livecode

On Nov 1, 2019, at 5:42 PM, Mark mentioned,

> 
> Is it possible to pick up the background color from the mouseColor or the 
> backgroundColor or something and set the background color of the field to 
> that? (and obviously forget the bit about setting the blendlevel)

The problem there is that there may be writing underneath my field in the 
“source” pdf that I am “filling”, and I can’t obscure that.

Pdf can handle transparencies, and placing partially transparent images over 
others.

If I’m not missing something, it’s a bug in Livecode if it generates a pdf of a 
field with no backgroundColor and false opaque for Sheffield, card, and stack.

And as I mentioned, the “effective opaque” of the field reports as false.



___
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: "empty" background in printed pdf is actually grey

2019-11-01 Thread doc hawk via use-livecode

On Nov 1, 2019, at 10:03 AM, Richard rumbled
> 
> I'm certain that I don't understand the layout, because from the description 
> it sounds like you have an object which is not visible and therefore cannot 
> be printed but which is causing a problem when printed.
> 
> I'm sure you've considered simply hiding the thing you don't want shown 
> during printing, so clearly there's something else in play here.
> 
> What does the object contribute to printing?


What I need to do is place livecode output over an existing pdf.

I had been making as close as possible duplicates of the forms (still ideal, 
but runs into issues with trustees), which worked smoothly.

I can’t use pdf widgets, as the rasterization to 72dpi (or less, it appears) 
makes text to fuzzy to read.

This leaves me with using the court’s and trustees’ pdfs, and putting output on 
them (and simply using the pdf “standard” to fill fields isn’t an option, as 
some are just plain wrong, and other’s are only accessible with the most up to 
date version of acrobat).

So my current approach is to display on screen using a widget behind the data I 
place, and then an external program, such as PyPDF2, to merge the original pdfs 
and my livecode output.

While on screen, my generated objects act correctly, being just black text with 
transparent background.   When merging, though, the livecode pdf has grey 
instead of clear for the entire object generated with print to pdf.
___
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: "empty" background in printed pdf is actually grey

2019-10-31 Thread doc hawk via use-livecode

On Oct 31, 2019, at 5:42 PM, J. Landman Gay via use-livecode 
 wrote:
> 
> A light gray is the system default on OS X windows. You might have better 
> luck setting the stack background to opaque and white. But take that with a 
> grain of salt, I've never done what you're attempting.


But if the background is opaque, it will block the text underneath it for the 
form I’m filling.

I *may* have to go to not even generating a LiveCode pdf, but instead PyPDF2 
commands to place text . . .  [yuckier and yuckier . . .]
 
___
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: Red Dot Breakpoint Crashes

2019-10-28 Thread doc hawk via use-livecode
I *am* truly fascinated that for once, I’m the one not having problems while 
others are being terrorized by the dreaded Pirate Code Dots . . . .

They sill move around the script in odd ways at times, but the ones that stay 
put do indeed stop execution where they’re supposed to . . . 
___
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: Can I find out what handler I am in?

2019-10-25 Thread doc hawk via use-livecode

On Oct 25, 2019, at 10:32 AM, Tom Glod via use-livecode 
 wrote:
> 
> Phil.NICE! ...everything seems like a no brainer in hindsight.

That actually came up in litigation over the patent for the shaving cream can.

The challenger claimed that it was too obvious, and not patentable.

The judge ruled to the effect of, “It was only obvious *after* you saw it.  
That you spent $7M in your own unsuccessful attempt to make such a thing shows 
that it is not obvious!”


___
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: Push Card

2019-10-22 Thread doc hawk via use-livecode

On Oct 22, 2019, at 8:49 AM, Bob Sneidar via use-livecode 
 wrote:
> 
> I have tried push and pop before but you really have to keep track of the 
> pushed cards or you end up somewhere unexpected. 

Every time I’ve tried to use push/pop, it’s been more trouble than it was 
worth—with the lone exception being a three line sequence of push, do something 
that absolutely had to use the current card, pop.

___
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: My old man vs LC Standalone

2019-10-22 Thread doc hawk via use-livecode

On Oct 21, 2019, at 8:02 PM, kee nethery via use-livecode 
 wrote:
> 
> My wife built a Hypercard stack standalone that was protected by a dongle. 
> But, every call to the dongle was something you could search for in the 
> scripts. So she had scripts that did hashes of the scripts that talked to the 
> dongle. And she had scripts that did hashes of the scripts that checked the 
> hashes of the scripts …


“Those who hashed the hasher, have been hashed!”  ???

Wait, that’s not quite how it goes . . . hmm . . .
___
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: Merge PDF

2019-10-21 Thread doc hawk via use-livecode


On Oct 17, 2019, at 12:04 PM, hh via use-livecode 
 wrote:
> I'll publish this weekend on SampleStacks a pdfLib (split and merge)
> based on a JS library (via a browser widget). Already 95% are done.

Did it publish?

And will this only be for server?

Do I sound anxious?

:)
___
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: Merge PDF

2019-10-17 Thread doc hawk via use-livecode

On Oct 17, 2019, at 9:27 AM, FlexibleLearning.com via use-livecode 
 wrote:
> 
> Has anyone got an LC-based method to merge pdf files?


LC business can’t even output a pdf widget save as low density raster at the 
moment.

I’m currently working on an interim solution that creates a PyPdf2 script, 
after which I may translate parts of that into livecode.

The process is ultimately pretty simple, but will involve learning more pdf 
than most people (including me) have any interest in . . . it would be *much* 
easier (at least for my purposes involving cropped sections of pages) in 
straight postscript . . .

Also, if you look through the archives for my bug report on the pdf widgets 
rasterizing output to 72pdf (it may actually be less; they’re *that* blurry), I 
attached a couple of example files where I force-merged pdf files by hand
___
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: Set font dynamically to fit text

2019-10-13 Thread doc hawk via use-livecode

On Oct 12, 2019, at 8:05 PM, Brian Milby via use-livecode 
 wrote:
> 
> You probably could get close with math but line breaks would not be uniform 
> and will introduce variability.  You could probably get it down to 2 or 3 
> checks.

This.

Font scaling itself is nonlinear enough, but the way margins scale with font 
size is downright psychotic (enough so, that I’d advocate for redoing it with a 
useOldMarginBehavior property that can be set.).  Changing margin size can 
change what size font fits in the wrong direction, or by more points than the 
change, or . . .

But the approach of an initial mathematical computation , followed by the 
iterations—which must happen in both directions unless a hit is made.

___
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: high resolution when printing to pdf, either from images or pdf widgets

2019-09-07 Thread doc hawk via use-livecode

On Sep 7, 2019, at 4:29 AM, Mark Waddingham via use-livecode 
 wrote:
> 
> On 2019-09-06 21:10, Dr. Hawkins via use-livecode wrote:
>> On Aug 28, 2019, at 12:07 AM, Mark Waddingham via use-livecode
>>  wrote:
>>> On 2019-08-27 17:24, Dr. Hawkins via use-livecode wrote:
>>> I'm not entirely clear what Monte meant by 'print to pdf directly' in one
>>> of those comments... The 'print to pdf' mechanism in the engine isn't
>>> really any different from the normal printing mechanism, its just that
>>> rather than funnel the sequence of paths, images, text being rendered
>>> through the system printer it funnels it through libcairo's 
>>> (https://cairographics.org/)
>>> PDF output functionality.
>> Can this be adjusted for higher resolution?
>> *is* there a way to send out at full resolution?
> 
> I'm not sure I entirely follow - PDF is primarily a vector format so there is
> 'resolution' as such. In regards to images then the engine/pdfprinter tries
> to preserve the original image when printing - so if you print a large JPEG
> scaled down to 100x100, the original JPEG will be passed into the PDF and then
> that will be scaled down when rendered (i.e. as much information in the 
> original
> is preserved in the output).

'
Currently, the pdf gets 72’d when the engine renders.   Could it simply be 
adjusted for, say, 300 dpi resolution on output?



> 
>> I don’t need it to be the original, but rather visually indistinguishable.
> 
> Then that changes things slightly - particularly if your originals are scans
> which contain images rather than vectors... In this case, the render the PDF
> at a larger size and scale down approach should be able to give you want you
> want.


My originals are almost if not entirely text, lines, and boxes.

> 
>> As I think about it, I don’t think I’ve ever said *anything* nice
>> about pdf.  I’ve generally called it a bastardization
>> of postscript, but in this case, “castration” might be a better word .
>> . . (but then, when talking about cars,
>> I refer to the period from the early 70s to the mid 90s as “the Great
>> Emasculation” . . .)
> 
> Heh - the main thing to remember about PDF is that it is designed to be a
> description of what a postscript interpreter would output before things
> get rasterized. The idea is that it is a flat sequence of things to render
> and thus doesn't require the 'overhead' of a full programming language VM
> to do so. Of course, whilst it is that, it has also become a rather 
> complicated
> on-disk data structure.

That’s not making me dislike it less :)


>> My first attempt seemed to work, save for an approximately 25% size
>> reduction I can’t explain.  more below . . .
>> I get a graphic of the same size as the pdf started, but the image is
>> about 3/4 the original
>> size.  The rest is transparent area.
>> My screen density is 108.79, but livecode doesn’t know that at the
>> user code level, does it?
>> However, that reduction *is* similar to 72/108.79 .  .
> 
> Physical screen density is irrelevant here - the engine uses a fixed
> notion of 72dpi... The 3/4 reduction suggests something PDF side is actually
> using 96dpi (72/96 = 3/4)... Perhaps Monte could chime in and comment?
> 
> It might be you just have to adjust the zoom factor to scale up the PDF
> slightly more so it fills the rect you want.

I’m thinking that a variable density would be derivable here.

Just increasing the zoom seem likely to do it, though:  I start with a 612 wide 
pdf widget (8.5”), zoom it 
400%, and get a graphic 4x612 wide.  However, only the left and top 3/4 or so 
of the graphic is used,
With the rest being blank.  The right and bottom are transparent. 

On top of that, when I change the width back to 612, the resolution is 
apparently downscaled with it.


___
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


Transparent layer between pdf widget and field?

2019-08-01 Thread doc hawk via use-livecode
As I’ve had to build every form myself in the past, they were constructed of 
fields, lines, and boxes.  As such, with them not being opaque, I could put a 
rectangle behind the group that was turned visible when the group was active, 
as a visual  cue.

Now that I’m using pdfs, this isn’t working as well, as I have fields laying 
over the pdf in many cases.

Is it the colorOverlay property I need to do, with my rect above the pdf and 
below my fields?

I want the pdf visible enough to read, but the fields in front of it.


___
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: 9.5.0 crash to desktop

2019-08-01 Thread doc hawk via use-livecode

On Aug 1, 2019, at 2:26 PM, JJS via use-livecode 
 wrote:
> 
> what are you doing, or what is running when that happens?


When I’ve seen it with the dp and rc, it tends to be after I move objects,  or 
perhaps copy and paste objects, and then a delay,  a brief moment of returning 
to apparent function,  and then *wham*.

Particularly, when  I use  the  group  editor.

I don’t  think  I”ve had a working screen recorder for four  or five years . . 
. 


___
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: breakpoint conditions scrambled

2019-07-29 Thread doc hawk via use-livecode

On Jul 29, 2019, at 6:14 AM, dunbarxx via use-livecode 
 wrote:
> 
> Do you mean that if you have:
> 
> if  then breakpoint


No.   I mean if I set a condition on the pirate code  dots.  The first one or 
two I set work, at least for the moment, but then they seem to  start scarfing 
up  one another’s code.

I used to make *extensive*  use of the  ask/breakpoint pair you mention, but 
recent versions seem to almost always honor the breakpoint, making it 
unnecessary.
___
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: Purge a stack from memory

2019-07-26 Thread doc hawk via use-livecode

On Jul 26, 2019, at 3:40 PM, Bob Sneidar via use-livecode 
 wrote:
> 
> K!

Don’t be scared.

Be *very* scared . . .

There is something wonky about the whole  in and out of memory thing.

My  project is (during development) a bunch of   main s tacks,   with an mcp  
to  rule  them all .  . .

Anyway, when I bump the version of one of them that has already been used,  
something seems to stick around, so that I get an endless cycle of the two  
stacks causing popups asking what to do with the other.

I’ve taking to quitting livecode after bumping and just plain reloading . . .


___
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: Rename object

2019-07-04 Thread doc hawk via use-livecode

On Jul 4, 2019, at 1:30 AM, Klaus major-k via use-livecode 
 wrote:
> 
> set the name of last img to “XXX_2"

Also

clone control “gizmo”
set the  name of it to “blivet"

Will  handle your new object.

If I’m going to work with the  new object for a few lines, I always use

put the long id of it into tgTg

As the next  line, just in case I do something  that changes “it”


___
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: CTD meaning?

2019-06-28 Thread doc hawk via use-livecode

Dar delivered,

> Only those who write code that crashes. ;-)

Uhm, don’t all of us here use livecode?

4-5 times an hour for 9.5 at the moment . . . fortunately, I have an autosave 
every 30 seconds when not in the group editor . . .

And I never did get 6 to stay up long enough to use (or to respect any form of 
breakpoint . . .)_


___
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: CTD meaning?

2019-06-28 Thread doc hawk via use-livecode

Bob belabored,

> I thought ALL developers knew what that meant! :-)

Some of us just call it, “Damnit!”

9.5 is doing a *lot* of damniting . . .


___
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: anyone still using altMobileResizer?

2019-06-28 Thread doc hawk via use-livecode


J jbied,
> . It's not so big but good enough (2x3mtr) :)

I sure hope that that’s the pool and not the yard . . .

:)

___
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: Using shell as administrator on Windows 10

2019-06-28 Thread doc hawk via use-livecode

dar delivered,
> 
> There is a note on open process in the Dictionary that says that on OS X 
> systems you can start an application but not a Unix process,

Tha’ts not right:

From the message box,


put shell("pwd")

Yields

/Applications/LiveCode Business 9.5.0 (dp 1).app

(Under Catalna)

___
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

Group misbehavior in 9.5

2019-06-28 Thread doc hawk via use-livecode

I can’t come up with a recipe for this one, either . . .

When using the group editor and cutting a subgroup, it seems not to lose all of 
its information.  I then paste back in, and it frequently becomes part of its 
prior owner, and sometimes part of another group.

So if I edit group A, and from group B of A I cut group C, the expected 
behavior on paste is to become part of group A, but it seems to have an 
affinity for B.

Other times, it may become part of D of A. 

I’ve even seen it become part of another subgroup that itself incorrectly 
attached.

Additionally, fresh pasting from elsewhere can attache to a subgroup of the 
group being edited.

There are also inconsistencies at times between what the message box thinks, 
and what the application browser and engine things (the latter two seem to 
agree).

So fir I cut C of B of A, and then paste, the message box may report that it is 
indeed C of A, while the application browser and other things done by the 
engine (e.g., moving) show that it is C of B of A again.

I managed to come up with a workaround of creating a new stack, and pasting 
there to form my new top level group, and then pasting that back to the 
original card (outside of the group editor).

Hawk
___
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: LC905rc1 Standalone Weirdness with External Stacks

2019-06-28 Thread doc hawk via use-livecode

On Jun 28, 2019, at 8:24 AM, Paul Dupuis via use-livecode 
 wrote:
> 
> When the standalone opens the external stack (which could be in an older 
> stack file format), when the mouse is in the external stack window, LiveCode 
> thinks the mouse is about 30-40 pixels ABOVE where the mouse actual is.

I may be seeing something related to this in the IDE, I think, under High 
Sierra.  It didn’t do it in 9.0.

I see it manifest most often when the application browser is on the secondary 
screen.  And then *mumble* happens, and when I select a control on the from the 
list to open an inspector, I get an inspector for the wrong object.

Hmm, on further thought, maybe not:   it seems to select the correct item on 
screen, and inquiries about the selectedObject yield the correct object.

If I move the application browser back to the main screen, release, and drag. 
Back, sometimes (but not always) it fixes this


___
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: Groups do not receive mouseEnter messages?

2019-06-25 Thread doc hawk via use-livecode


bob belabored,
> 
> You are probably right. But the workaround is so simple, putting an opaque 
> green graphic in the group behind all the other objects, that it would be a 
> lot of work to implement just so we didn't have to put a graphic in a group. 

I actually use that background rectangle to change colo as the mouse enters and 
leaves, to hi light the active row (a group).

However, I *do* have issues with not always catching mouseLeave, especially 
when the cursor is moving quickly.

___
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: Setting conditional breakpoints

2019-06-24 Thread doc hawk via use-livecode

On Jun 24, 2019, at 8:11 AM, Bob Sneidar via use-livecode 
 wrote:
> 
> True, but I need itto break AT the line of code that changes a property of a 
> stack. If there is a script running while when the send in time command is 
> due, the existing script will continue to run, THEN at the first idle, the 
> send in time will run. 

It hasn’t occurred to me to try *any* conditional breakpoints in years—they 
caused crashes at least since 5.x, and I hadn’t heard that they’d been fixed.

Anyway, if you use setProp handlers instead of directly setting properties, you 
could stick a little red PCD in *that*  handler.


Do a global search for  

set the someProperty of this stack to 

and replace with

setProp someProperty,

or something similar; check your own code.
___
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

  1   2   >