Re: Navigator update: better conversion to behaviors, better property editing, better version control, and send to private commands

2018-02-05 Thread Geoff Canyon via use-livecode
What are you seeing happen when you do this? One thing I've noticed is that
the script editor window doesn't come to the foreground by itself if the
script is already open in any tab of the editor. So using something like
Edit Behaviors will cause the editor to show that script, but still be
sitting behind whatever other windows are open.

Or maybe you're seeing something else? What LC version and platform?

gc

On Mon, Feb 5, 2018 at 9:46 AM, Mark Talluto via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Geoff,
>
> I am super excited to see you working on Navigator.
>
> I have one little issue with it as it stands. I can not edit behaviors any
> longer. I am sure I am doing something wrong. I did the right click ->
> “Edit Behavior Scripts” on a card that has a behavior associated with it.
> The line is blue in color indicating that it has a behavior.
>
> I will go back to an older version for now.
>
> Best regards,
>
> Mark Talluto
> livecloud.io 
> nursenotes.net 
> canelasoftware.com 
>
>
> > On Feb 3, 2018, at 10:52 PM, Geoff Canyon via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > The update is now available here
> > . I
> haven't
> > updated the documentation yet. The main changes are:
> >
> > 1. The whole convert-to-behaviors and restore-from-behaviors bit has been
> > moved to its own custom palette, opened from Navigator. This makes the
> > whole process much clearer, and setting the options is easier and more
> > forgiving.
> > 2. There's a preview for the naming template process -- again, easier and
> > more foolproof, and a dropdown offers some pre-made options.
> > 3. The dialog's working list is derived from the selection in Navigator
> > when the command is issued, but it's text -- anything can be modified,
> > deleted, or added before processing.
> > 4. There is a button to add enclosed objects. So it's possible to select
> a
> > group, card, or stack in Navigator, select the command, and then add
> > enclosed objects to include all the controls in that container -- or
> > containers, it processes everything in the list.
> > 5. There is a button to add behavior chains, so it's possible to select
> one
> > control that has a chain of fifty behaviors, and click the button to add
> > them all to the list to be processed.
> > 6. Both Convert and Restore have a preview option -- use it and the
> > resulting log will show exactly what will be done, without actually doing
> > any of it.
> >
> > gc
> > ___
> > 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

How to calm down the Standalone Builder?

2018-02-05 Thread Richard Gaskin via use-livecode
I've been tasked with resurrecting an old app that was last built with 
MetaCard.  What I loved about MC was that it only did what I asked it 
to, so when it comes to building a standalone it couldn't be easier: it 
bound the engine to the stack file I wanted and that was it.  If I 
wanted anything else I scripted it.


Trying to build with LC is a nightmare.  It's fine for things that I've 
built specifically for the LC IDE (and since it's been years since I've 
used MC that's pretty much everything I work on), but this one is 
driving me crazy.


I'll spare you the step by step of all the weirdness I'm seeing (the 
duplicate stack warning about stacks in a "Windows" directory that 
doesn't exist, or the error dialog at the end that just displays raw 
error data, and everything in between), and just get to what I think is 
the point:


How do I tell LC's SB to not do a damn thing but attach the engine to my 
specified stack file?


I think what it's doing is running through the stackfiles property and 
then loading every stack in those files trying to 
remove/alter/preserver/gawdknowswhat with profiles.  But I never use 
profiles, never needed 'em, never cared for the idea, and all I really 
want is for LC to just stop poking around in things that aren't the 
stack file I'm trying to bind to.  But it seems all my guesses about the 
profile options are wrong, since I can't find a combination which is the 
equivalent of "Stop mucking around in other stack files and just do what 
I'm telling you to do!".


I can write a handler for the pre- and post-build messages, stripping 
and restoring the stackfiles listing.  If needed.  Seems silly to need 
that, though.


Am I mising something obvious to get LC's Standalone Builder to calm 
down and just do the one thing I need it to do?


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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


Re: any tricks to make SHELL non blocking?

2018-02-05 Thread Stephen Barncard via use-livecode
seriously, back on topic...
on mac -- El Capitan
calling shell
I have this open sourced app

ffmpeg

and I need to copy the first file from a CD, convert it to a wav file, name
it, and save it to a file on a hard drive.
(the executable is located in the same folder as the stack, hence the ./ )
so my generated command used with the shell command is:

*./ffmpeg -i '/Volumes/Audio CD/1 Audio Track.aiff' '/Volumes/20160518 KJAZ
ARCHIVE MASTER/JULY - JAN 2017/20040315-2-JD0211b.wav'*

this works fine, LC just doesn't return control until it's fully imported
the file off of the CD.
I just want to keep a simple counter going during the file import.

I've tried these variations below without success. It's true, I get screwed
by syntax and quotes all the time, but I still have not found why these
won't work. Sometimes these will copy the file, but does not release until
done.

./ffmpeg -i "/Volumes/Audio CD/1 Audio Track.aif" "/Volumes/20160518 KJAZ
ARCHIVE MASTER/JULY - JAN 2017/20180204 TEST1.wav &"

./ffmpeg -i "/Volumes/Audio CD/1 Audio Track.aif" "/Volumes/20160518 KJAZ
ARCHIVE MASTER/JULY - JAN 2017/20180204 TEST1.wav" &

(./ffmpeg -i '/Volumes/Audio CD/1 Audio Track.aiff' '/Volumes/20160518 KJAZ
ARCHIVE MASTER/JULY - JAN 2017/20040315-2-JD0211b.wav' &)

thanks for any suggestions... you guys rock.

sqb







--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org

On Mon, Feb 5, 2018 at 2:43 PM, Dr. Hawkins via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On Mon, Feb 5, 2018 at 2:18 PM, Mark Wieder via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > On 02/05/2018 12:02 PM, Dr. Hawkins via use-livecode wrote:
> >
> > disintegrated (and so did that plumber).
> >>
> >
> > !!!
> >
> >
> *shrug*
>
> So I'm a vengeful homeowner.
>
> :)
>
> --
> 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
>
___
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: Super weird drag and drop/mouseMove/mouseRelease issue

2018-02-05 Thread Geoff Canyon via use-livecode
Just did another test, and it's literally enough to do this:

on mouseMove
   if the optionkey is down
   then set the hScrollbar of me to false
   else  set the hScrollbar of me to true
   if amDragging then dispatch "trackMovement" to this cd of stack
"revDragExample"
end mouseMove

and hold down the option key while dragging through the forbidden zone.

On Mon, Feb 5, 2018 at 6:00 PM, Geoff Canyon  wrote:

> I'm working on extending drag and drop into/out of Navigator. To do that,
> when a drag leaves Navigator I'm using a blendlevel'd stack to represent
> the dragged objects as the pointer moves around the screen. This is in LC
> 8.1.8, on a Mac.
>
> This works fine until the drag goes both to the right and below the list
> field, and then the list field receives a mouseRelease message, and the
> drag stops/fails.
>
> Even weirder, it seems the stack representing the drag *starts* getting
> mouseMove messages when the list field stops. I managed to tape together a
> handoff routine that makes for a really odd workaround, but it's not a good
> solution, obviously.
>
> After some time whittling down the code to narrow down the issue, it ended
> up being the field's horizontal scrollbar -- if it's set, the drag fails;
> not set, everything's fine.
>
> http://quality.livecode.com/show_bug.cgi?id=20957
>
> (phew!)
>
___
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: this session has lapsed?

2018-02-05 Thread Stephen Barncard via use-livecode
I don't need to ask again. What I said is what I heard from Heather.

--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org

On Mon, Feb 5, 2018 at 6:02 PM, Monte Goulding via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> > On 6 Feb 2018, at 1:00 pm, Stephen Barncard via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > subscriptions ending shouldn't kill a long installed app, no matter what
> > the status.
> > I've been told that the subscriptions are for updates and support.
> > If that's not true, I need to know.
>
> Probably best to take up any licensing questions with supp...@livecode.com
> 
>
> Cheers
>
> Monte
> ___
> 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: this session has lapsed?

2018-02-05 Thread Monte Goulding via use-livecode

> On 6 Feb 2018, at 1:00 pm, Stephen Barncard via use-livecode 
>  wrote:
> 
> subscriptions ending shouldn't kill a long installed app, no matter what
> the status.
> I've been told that the subscriptions are for updates and support.
> If that's not true, I need to know.

Probably best to take up any licensing questions with supp...@livecode.com 


Cheers

Monte
___
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


Super weird drag and drop/mouseMove/mouseRelease issue

2018-02-05 Thread Geoff Canyon via use-livecode
I'm working on extending drag and drop into/out of Navigator. To do that,
when a drag leaves Navigator I'm using a blendlevel'd stack to represent
the dragged objects as the pointer moves around the screen. This is in LC
8.1.8, on a Mac.

This works fine until the drag goes both to the right and below the list
field, and then the list field receives a mouseRelease message, and the
drag stops/fails.

Even weirder, it seems the stack representing the drag *starts* getting
mouseMove messages when the list field stops. I managed to tape together a
handoff routine that makes for a really odd workaround, but it's not a good
solution, obviously.

After some time whittling down the code to narrow down the issue, it ended
up being the field's horizontal scrollbar -- if it's set, the drag fails;
not set, everything's fine.

http://quality.livecode.com/show_bug.cgi?id=20957

(phew!)
___
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: this session has lapsed?

2018-02-05 Thread Stephen Barncard via use-livecode
subscriptions ending shouldn't kill a long installed app, no matter what
the status.
I've been told that the subscriptions are for updates and support.
If that's not true, I need to know.

sqb

--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org

On Mon, Feb 5, 2018 at 5:55 PM, Monte Goulding via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
>
> > On 6 Feb 2018, at 12:47 pm, Richard Gaskin via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Can't say.  Hopefully someone from the mother ship will chime in on this.
>
> Hi Folks
>
> Yes I believe that there is random check for license expiry/update. Things
> like cancelled subscriptions happen and this accounts for that. I don’t
> know the complete details though.
>
> It appears a wordpress update broke some things and it is in the midst of
> being fixed.
>
> Cheers
>
> Monte
>
>
> ___
> 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: this session has lapsed?

2018-02-05 Thread Monte Goulding via use-livecode


> On 6 Feb 2018, at 12:47 pm, Richard Gaskin via use-livecode 
>  wrote:
> 
> Can't say.  Hopefully someone from the mother ship will chime in on this.

Hi Folks

Yes I believe that there is random check for license expiry/update. Things like 
cancelled subscriptions happen and this accounts for that. I don’t know the 
complete details though.

It appears a wordpress update broke some things and it is in the midst of being 
fixed.

Cheers

Monte


___
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: uh oh. Have to reactivate every LC and the activation server is down?

2018-02-05 Thread Brian Milby via use-livecode
At least until the current subscription is lapses.
On Mon, Feb 5, 2018 at 7:28 PM Stephen Barncard via use-livecode <
use-livecode@lists.runrev.com> wrote:

> this should not happen once authorized, connected or not.
>
> sqb
>
> --
> Stephen Barncard - Sebastopol Ca. USA -
> mixstream.org
>
> On Mon, Feb 5, 2018 at 3:08 PM, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > well that worked
> >
> > On Mon, Feb 5, 2018 at 6:04 PM, Brian Milby via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > Before I’ve heard that you can disconnect internet to launch. Once
> > running,
> > > you can turn the internet connection back on.
> > > On Mon, Feb 5, 2018 at 5:02 PM Mike Kerner via use-livecode <
> > > use-livecode@lists.runrev.com> wrote:
> > >
> > > > Something bad happened.  I can't seem to get any copy of LC of any
> > > version
> > > > to just launch.  All of them want to be activated, and the activation
> > > > server doesn't like me, either.  Anyone else?
> > > >
> > > > --
> > > > On the first day, God created the heavens and the Earth
> > > > On the second day, God created the oceans.
> > > > On the third day, God put the animals on hold for a few hours,
> > > >and did a little diving.
> > > > And God said, "This is good."
> > > > ___
> > > > 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
> >
> >
> >
> >
> > --
> > On the first day, God created the heavens and the Earth
> > On the second day, God created the oceans.
> > On the third day, God put the animals on hold for a few hours,
> >and did a little diving.
> > And God said, "This is good."
> > ___
> > 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

Re: this session has lapsed?

2018-02-05 Thread Richard Gaskin via use-livecode

Can't say.  Hopefully someone from the mother ship will chime in on this.

--
 Richard Gaskin
 Fourth World Systems

Stephen Barncard wrote:

disconnecting the net allowed things to work.
But why should this happen at all?
I'd turned off "check for updates" for a long time as I run into issues
upgrading to and using 8 or 9 due to my use of three screens.


--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org

On Mon, Feb 5, 2018 at 5:36 PM, Richard Gaskin via use-livecode <
use-livecode at lists.runrev.com> wrote:


Stephen Barncard wrote:

> My copy of LC 7.14 was installed activated days ago. Why am I getting
> "this session has lapsed" messages, refusing to let me go on?
> does this mean that LC "phones home" every time I start the app??
> Unacceptable, disturbing and annoying.

I don't know if this is related to that specific notice, but you can turn
off the "Check for updates" features in the "Updates" pane of the
"Preferences" window.

--
 Richard Gaskin
 Fourth World Systems



___
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: this session has lapsed?

2018-02-05 Thread Stephen Barncard via use-livecode
disconnecting the net allowed things to work.
But why should this happen at all?
I'd turned off "check for updates" for a long time as I run into issues
upgrading to and using 8 or 9 due to my use of three screens.


--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org

On Mon, Feb 5, 2018 at 5:36 PM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Stephen Barncard wrote:
>
> > My copy of LC 7.14 was installed activated days ago. Why am I getting
> > "this session has lapsed" messages, refusing to let me go on?
> > does this mean that LC "phones home" every time I start the app??
> > Unacceptable, disturbing and annoying.
>
> I don't know if this is related to that specific notice, but you can turn
> off the "Check for updates" features in the "Updates" pane of the
> "Preferences" window.
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  
>  ambassa...@fourthworld.comhttp://www.FourthWorld.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: this session has lapsed?

2018-02-05 Thread Richard Gaskin via use-livecode

Stephen Barncard wrote:

> My copy of LC 7.14 was installed activated days ago. Why am I getting
> "this session has lapsed" messages, refusing to let me go on?
> does this mean that LC "phones home" every time I start the app??
> Unacceptable, disturbing and annoying.

I don't know if this is related to that specific notice, but you can 
turn off the "Check for updates" features in the "Updates" pane of the 
"Preferences" window.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.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


Re: uh oh. Have to reactivate every LC and the activation server is down?

2018-02-05 Thread Stephen Barncard via use-livecode
this should not happen once authorized, connected or not.

sqb

--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org

On Mon, Feb 5, 2018 at 3:08 PM, Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> well that worked
>
> On Mon, Feb 5, 2018 at 6:04 PM, Brian Milby via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Before I’ve heard that you can disconnect internet to launch. Once
> running,
> > you can turn the internet connection back on.
> > On Mon, Feb 5, 2018 at 5:02 PM Mike Kerner via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > Something bad happened.  I can't seem to get any copy of LC of any
> > version
> > > to just launch.  All of them want to be activated, and the activation
> > > server doesn't like me, either.  Anyone else?
> > >
> > > --
> > > On the first day, God created the heavens and the Earth
> > > On the second day, God created the oceans.
> > > On the third day, God put the animals on hold for a few hours,
> > >and did a little diving.
> > > And God said, "This is good."
> > > ___
> > > 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
>
>
>
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
> ___
> 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

this session has lapsed?

2018-02-05 Thread Stephen Barncard via use-livecode
My copy of LC 7.14 was installed activated days ago. Why am I getting "this
session has lapsed" messages, refusing to let me go on?
does this mean that LC "phones home" every time I start the app??
Unacceptable, disturbing and annoying.

sqb


--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.org
___
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: uh oh. Have to reactivate every LC and the activation server is down?

2018-02-05 Thread Mike Kerner via use-livecode
well that worked

On Mon, Feb 5, 2018 at 6:04 PM, Brian Milby via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Before I’ve heard that you can disconnect internet to launch. Once running,
> you can turn the internet connection back on.
> On Mon, Feb 5, 2018 at 5:02 PM Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Something bad happened.  I can't seem to get any copy of LC of any
> version
> > to just launch.  All of them want to be activated, and the activation
> > server doesn't like me, either.  Anyone else?
> >
> > --
> > On the first day, God created the heavens and the Earth
> > On the second day, God created the oceans.
> > On the third day, God put the animals on hold for a few hours,
> >and did a little diving.
> > And God said, "This is good."
> > ___
> > 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




-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: uh oh. Have to reactivate every LC and the activation server is down?

2018-02-05 Thread Brian Milby via use-livecode
Before I’ve heard that you can disconnect internet to launch. Once running,
you can turn the internet connection back on.
On Mon, Feb 5, 2018 at 5:02 PM Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Something bad happened.  I can't seem to get any copy of LC of any version
> to just launch.  All of them want to be activated, and the activation
> server doesn't like me, either.  Anyone else?
>
> --
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>and did a little diving.
> And God said, "This is good."
> ___
> 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

uh oh. Have to reactivate every LC and the activation server is down?

2018-02-05 Thread Mike Kerner via use-livecode
Something bad happened.  I can't seem to get any copy of LC of any version
to just launch.  All of them want to be activated, and the activation
server doesn't like me, either.  Anyone else?

-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: any tricks to make SHELL non blocking?

2018-02-05 Thread Dr. Hawkins via use-livecode
On Mon, Feb 5, 2018 at 2:18 PM, Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 02/05/2018 12:02 PM, Dr. Hawkins via use-livecode wrote:
>
> disintegrated (and so did that plumber).
>>
>
> !!!
>
>
*shrug*

So I'm a vengeful homeowner.

:)

-- 
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: any tricks to make SHELL non blocking?

2018-02-05 Thread Mark Wieder via use-livecode

On 02/05/2018 12:02 PM, Dr. Hawkins via use-livecode wrote:


disintegrated (and so did that plumber).


!!!

--
 Mark Wieder
 ahsoftw...@gmail.com

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


Re: "module format not supported"

2018-02-05 Thread BNig via use-livecode
Hi Ben,

I posted a stack to the forum, that forces recompilation of widgets that
were automatically compiled from 8 to 9 format. 

http://forums.livecode.com/viewtopic.php?f=104=30433=163580#p163580

Kind regards
Bernd



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
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: Navigator update: better conversion to behaviors, better property editing, better version control, and send to private commands

2018-02-05 Thread Mark Talluto via use-livecode
Hi Geoff,

I am super excited to see you working on Navigator.

I have one little issue with it as it stands. I can not edit behaviors any 
longer. I am sure I am doing something wrong. I did the right click -> “Edit 
Behavior Scripts” on a card that has a behavior associated with it. The line is 
blue in color indicating that it has a behavior.

I will go back to an older version for now.

Best regards,

Mark Talluto
livecloud.io 
nursenotes.net 
canelasoftware.com 


> On Feb 3, 2018, at 10:52 PM, Geoff Canyon via use-livecode 
>  wrote:
> 
> The update is now available here
> . I haven't
> updated the documentation yet. The main changes are:
> 
> 1. The whole convert-to-behaviors and restore-from-behaviors bit has been
> moved to its own custom palette, opened from Navigator. This makes the
> whole process much clearer, and setting the options is easier and more
> forgiving.
> 2. There's a preview for the naming template process -- again, easier and
> more foolproof, and a dropdown offers some pre-made options.
> 3. The dialog's working list is derived from the selection in Navigator
> when the command is issued, but it's text -- anything can be modified,
> deleted, or added before processing.
> 4. There is a button to add enclosed objects. So it's possible to select a
> group, card, or stack in Navigator, select the command, and then add
> enclosed objects to include all the controls in that container -- or
> containers, it processes everything in the list.
> 5. There is a button to add behavior chains, so it's possible to select one
> control that has a chain of fifty behaviors, and click the button to add
> them all to the list to be processed.
> 6. Both Convert and Restore have a preview option -- use it and the
> resulting log will show exactly what will be done, without actually doing
> any of it.
> 
> gc
> ___
> 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: Pasting tabs into Excel

2018-02-05 Thread Richard Burkett via use-livecode
This is clearly closely related to the problem I had recently copying text from 
Livecode into Mac Mail. 
YES, Livecode should copy PLAIN text when you ask it to copy PLAIN unformatted 
text. That said, 

Here’s the script that I ended up using that work for copying a list of tabbed 
data into Excel. It’s a little different than Brian’s which he sent to help my 
question (thanks again!). It works in both cases (Mail and Excel), and is set 
up to work on three platforms.

Richard Burkett
richard.burk...@sbcglobal.net 

Here it is, as a version to copy text from a field in my test stack:

on mouseUp
   put fld "myField" into tClip
   lock the clipBoard
   set the ClipboardData to empty
   set the ClipboardData to tClip
   put the clipboardData["text"] into tClip
   set the rawclipBoardData to empty
   if the platform is "MacOS" then
  set the rawClipboardData["public.utf8-plain-text"] \
to textEncode(tClip, "UTF-8" )   -- OSX
   else if the platform is "Linux" then
  set the rawClipboardData["text/plain;charset=utf-8"] \
to textEncode(tClip, "UTF-8" ) -- Linux
   else if the platform contains "Win" then
  set the rawClipboardData["CF_UNICODE"] \
to textEncode(tClip, "UTF-16" ) -- Windows
   end if
   unlock the clipBoard
end mouseUp


> From: "J. Landman Gay"  >
> 
> On 2/3/18 12:23 PM, Brian Milby via use-livecode wrote:
>> Try this function (LC 8/9):
>> 
>> *on*  stripClipboard
>>*local*  tData
>>*lock*  the clipboard
>>*put*  the rawClipboardData["public.utf8-plain-text"] into tData
>>*set*  the rawClipboardData to empty
>>*set*  the rawClipboardData["public.utf8-plain-text"] to tData
>>*unlock*  the clipboard
>> *end*  stripClipboard
>> 
>> This will ensure the only thing on the clipboard is the text format (no RTF
>> and no HTML).  Even when I use this function after putting the text on the
>> clipboard, I get the same results.  And I get the same in LC 6 & 7 too.
>> 
>> You mentioned raw clipboard, what did you try there?
> 
> Your handler works. :) I haven't used rawClipboardData much and I don't 
> have that particular experiment any more, but I think I just used the 
> example verbatim from the dictionary.
> 
> -- 
> Jacqueline Landman Gay | jac...@hyperactivesw.com 
> 
> HyperActive Software   | http://www.hyperactivesw.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

Re: [OT] any tricks to make SHELL non blocking?

2018-02-05 Thread Bob Sneidar via use-livecode
AAARRRGGGHHH!!!

Bob S


> On Feb 4, 2018, at 11:23 , J. Landman Gay via use-livecode 
>  wrote:
> 
> On 2/4/18 12:13 PM, prothero--- via use-livecode wrote:
>> Totally ot,
>> My mother in law had an iron drain deteriorate, with roots and cracks all 
>> through it, 
> 
> Not totally off-topic. If you drop a large enough shell into a pipe it will 
> be blocking.
> 
> -- 
> Jacqueline Landman Gay


___
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: FormattedHeight of a field and its contents

2018-02-05 Thread Bob Sneidar via use-livecode
Fonts have natural margins that vary widely. A decorative or cursive font may 
have ascenders and descenders much higher and lower than a book typeface. That 
means the leading between the lines needs to be larger. I use display font for 
the labels for my forms, called Verdana has an automatic 16 point margin at 14 
point font size, even though there is nothing about the font itself requiring 
it! It's just how the font is done. 

Bob S


> On Feb 3, 2018, at 09:12 , Ralph DiMola via use-livecode 
>  wrote:
> 
> David,
> 
> Nice I've been wrestling with this. I am going to see how your 
> observations translate into mobile. I'm going to apply your of findings to my 
> app and see if I get better results than I get now. There have been a few 
> threads in the past few years addressing vertically centering text in a 
> field. None of them seem to address all font size cases. This 6px thingy 
> might explain a lot! 
> 
> Thanks again for all your work.
> 
> Ralph DiMola
> IT Director
> Evergreen Information Services
> rdim...@evergreeninfo.net
> 
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf 
> Of David Epstein via use-livecode
> Sent: Friday, February 02, 2018 9:38 PM
> To: use-livecode@lists.runrev.com
> Cc: David Epstein
> Subject: Re: FormattedHeight of a field and its contents
> 
> Thanks for the responses on this.  I used Bernd’s tool and did some more 
> tests, and found some things that may be helpful to others.
> 
> While the left and right margins of a field are meant literally (a 5 pixel 
> left margin leaves 5 white pixels to the left of the text), the top margin is 
> more complicated, no doubt owing to the variety of textHeights that need to 
> be accommodated.  For example, a margin of "0" will often clip the top of the 
> text--as if "0" meant a "negative margin".
> 
> 6 seems to be a magic default value for a field's top margin, which avoids 
> clipping the content.  With horizontal gridlines visible, a 6 pixel buffer 
> makes the top row the same height as the other rows.  And with a 6 pixel 
> buffer the formattedHeight of the field will exactly match the 
> formattedHeight of the field's content (although a non-zero borderwidth or a 
> horizontal scrollbar changes this).
> 
> Thus--what I wondered about in my original post--with a margin less than 6 
> the formattedHeight of the field is less than the formattedHeight of the 
> content; the content is in effect clipped.  At smaller textHeights this will 
> be visible, while at larger textHeights only white space above the characters 
> is clipped.
> 
> I was trying to answer two questions, and I think I'm pretty close.
> 
> 1. How do I make sure that the field's contents are all visible if I set the 
> field's height to the formattedHeight?  Answer: Set the top and bottom 
> margins to 6. For the left and right margins, even 1 pixel should be enough 
> to keep everything visible.
> 
> 2. What margins will provide a symmetrical look for a text box?
> A top margin of 6 doesn’t look like a 6 pixel margin; how it looks depends on 
> the textHeight.  I estimate that its apparent height is one fourth of the 
> effective textHeight, and I use this to size the other margins in the 
> “tightMargins” handler below.
> While the top margin of 6 looks good with horizontal gridlines, without them 
> (and especially if you show a text baseline) it looks too small compared to 
> the space between subsequent lines.  To match that larger space, in effect 
> doubling the apparent top margin, add one third of the effective textHeight.  
> See “niceMargins” handler below.
> 
> Example of usage:
> set the margins of fld 1 to the niceMargins of fld 1 set the height of fld 1 
> to the formattedHeight of fld 1
> 
> getProp niceMargins
>   put the effective textHeight of the target into t
>   put round(t*7/12) into m1
>   put round(t/3) into m2
>   return m1,6+m2,m1,m1
> end niceMargins
> 
> getProp tightMargins
>   put round(.25*the effective textHeight of the target) into m
>   return m,6,m,max(6,m)
> end tightMargins
> 
> Improvements to these are welcomed.
> 
> David Epstein
> 
> 
> ___
> 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

Re: "module format not supported"

2018-02-05 Thread Ben Rubinstein via use-livecode

Thanks Hermann, that filled me in.

Ben

On 05/02/2018 11:50, hh via use-livecode wrote:

There is also a forum thread to that problem with an answer
by LC-Mark.

http://forums.livecode.com/viewtopic.php?p=162674#p162674



___
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: "module format not supported"

2018-02-05 Thread hh via use-livecode
There is also a forum thread to that problem with an answer
by LC-Mark.

http://forums.livecode.com/viewtopic.php?p=162674#p162674



___
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


[ANN] This Week in LiveCode 115

2018-02-05 Thread panagiotis merakos via use-livecode
Hi all,

Read about new developments in LiveCode open source and the open source
community in today's edition of the "This Week in LiveCode" newsletter!

Read issue #115 here: https://goo.gl/4x53uZ

This is a weekly newsletter about LiveCode, focussing on what's been
going on in and around the open source project. New issues will be
released weekly on Mondays. We have a dedicated mailing list that will
deliver each issue directly to you e-mail, so you don't miss any!

If you have anything you'd like mentioned (a project, a discussion
somewhere, an upcoming event) then please get in touch.


-- 
Panagiotis Merakos 
LiveCode Software Developer

Everyone Can Create Apps 
___
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: "module format not supported"

2018-02-05 Thread hh via use-livecode
I'll answer only question 1 for a first aid.
Leave others to the team.

This is due to the *automatic* compilation by LC 9.0.0-dp11. This is
an idea that only makes sense for code which runs in both LC 8.1.8
and LC 9.0.0-dp11 and for modules that should only be used in LC9.

The result means your code wouldn't compile in LC 9.0.0-dp11.
Probably you have some "post" or "execute script" things to another
handler, for example from OnCreate to OnOpen.

First Aid: Uninstall the module and recompile it with LC 8.1.8.

Currently there are only two ways to avoid that.

(a) Don't use LC 9.0.0-dp11 (LC 9.0.0-dp10 is OK)
or
(b) Remove the lcb file from the lce (the lce is an ordinary zip,
so you can do that with revZip).Then it cannot be automatically
recompiled, shows only "module format not supported in LC 9". But
runs always in LC 8 (version > 8.1.4).

I use currently variant (b).

___
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: "module format not supported"

2018-02-05 Thread panagiotis merakos via use-livecode
Hi Ben,

The module format has changed between LC 8 and 9, so any custom widget
built in LC 8 will NOT work out of the box in LC 9 and vice versa, but all
you have to do is rebuild the widget (i.e. recompile the .lcb file) using
the LC version that shows that error.

Also note that there were some changes between LC 9 DP-9 and DP-10, so if
you built the widget *before* DP-10 AND the widget uses the "post" or
"send" syntax, you'll need to rebuild it with DP-10 or DP-11.

Hope this helps,
Panos
--

On Mon, Feb 5, 2018 at 11:03 AM, Ben Rubinstein via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I had a little module (two actually - both derivatives of the LiveCode
> Line Graph widget). In a stack that I only used in the IDE, so this is
> nothing to do with standalones. I last used this stack two weeks ago -
> almost certainly under LC 8.1.8, if not 8.1.7.
>
> Last week I installed and at least briefly used both LC 8.1.9 rc 1 and
> 9.0.0. dp 11.
>
> Today I went to use this stack again, and found the component on the page
> empty. Looking at the Extension Manager, both widgets are labelled "Module
> format not supported".  Quit and relaunch doesn't help. Just in case my
> memory is faulty, I tried opening the stack in 8.1.7 - one of the widgets
> doesn't appear in the list at all, the other is labelled "Module format not
> supported".
>
> So I have two questions:
>
> 1) What does this mean and what should I do about it
>
> 2) Should launching a newer build of LC do something to corrupt user
> modules in this way?
>
>
> I assume that there's been a change in module format, and LC 9 (I assume)
> automatically updated the ones it found to the new format, thus breaking
> them for earlier versions.  Obviously given that LC9 is dp, so it's
> reasonable to assume that the user is still running something more stable
> in parallel with reviewing LC9, it would be polite to at least ask the user
> if they want these modules updated or ignored.
>
> So my third question is where should I have read something that would have
> told me about this change?
>
> TIA,
>
> Ben
>
> ___
> 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


"module format not supported"

2018-02-05 Thread Ben Rubinstein via use-livecode
I had a little module (two actually - both derivatives of the LiveCode Line 
Graph widget). In a stack that I only used in the IDE, so this is nothing to 
do with standalones. I last used this stack two weeks ago - almost certainly 
under LC 8.1.8, if not 8.1.7.


Last week I installed and at least briefly used both LC 8.1.9 rc 1 and 9.0.0. 
dp 11.


Today I went to use this stack again, and found the component on the page 
empty. Looking at the Extension Manager, both widgets are labelled "Module 
format not supported".  Quit and relaunch doesn't help. Just in case my memory 
is faulty, I tried opening the stack in 8.1.7 - one of the widgets doesn't 
appear in the list at all, the other is labelled "Module format not supported".


So I have two questions:

1) What does this mean and what should I do about it

2) Should launching a newer build of LC do something to corrupt user modules 
in this way?



I assume that there's been a change in module format, and LC 9 (I assume) 
automatically updated the ones it found to the new format, thus breaking them 
for earlier versions.  Obviously given that LC9 is dp, so it's reasonable to 
assume that the user is still running something more stable in parallel with 
reviewing LC9, it would be polite to at least ask the user if they want these 
modules updated or ignored.


So my third question is where should I have read something that would have 
told me about this change?


TIA,

Ben

___
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