Re: [off]sublimeText update

2019-03-15 Thread Geoff Canyon via use-livecode
One of the reasons (the only reason?) I don't do something like this with
Navigator is that there are at least a few people that clone the Navigator
repo directly. I'd rather have everyone (Except Brian!) using the same
exact form of Navigator rather than some using the version with script-only
stacks and the rest using binary.

But I agree that Navigator having a crap-ton of script-only behaviors is
cumbersome in the IDE if you're showing IDE stacks.

gc

On Thu, Mar 14, 2019 at 5:32 PM Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 3/14/19 9:53 AM, Brian Milby via use-livecode wrote:
>
> > I noticed that the plugin was a single file and wondered how you did
> that.  When I convert Navigator, I create a single sub stack and map each
> behavior to a new button with the same name as the script only stack name.
> I’ll need to read your script a little more closely to see what is
> happening.
>
> Yeah... if only we could treat script-only stacks as substacks, eh?
>
> --
>   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
___
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: Relayering Madness

2019-03-15 Thread Geoff Canyon via use-livecode
On Thu, Mar 14, 2019 at 3:09 PM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Thanks Jacque, I did that of course, same result. I forgot that there is a
> way of doing this using Navigator, by starting a drag on the group in
> Navigator, THEN pressing the option key, and dropping it where you want it.
> If you start with the option key it clones it instead. DOH!
>

I don't know what version of Navigator you have, but you shouldn't have to
use the option key except when you want to clone something. If you're using
the latest version and pressing the option key after you start dragging
*doesn't* clone, let me know what you're doing; that's a bug. I just tried
it and I can't replicate 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


Re: Relayering Madness

2019-03-15 Thread Geoff Canyon via use-livecode
On Thu, Mar 14, 2019 at 4:24 PM J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I guess I'm not sure what the problem was, I relayer groups all the
> time. I change the layer number in the group's property inspector
> though, since I don't use the Project Browser. Maybe it's different there.
>

The Project Browser allows you to drag anything to any layer, in a group or
out, and will make it happen. I believe (although I have not looked at the
code lately) that it does this by setting relayerGroupedControls to true.
Evidence for this is the fact that dragging a control to the layer just
above a group -- just below the group in the Project Browser -- will place
the control into the group.



This is how Navigator used to work as well. Several updates ago I changed
Navigator to use a sequence of steps involving editing groups, and setting
relayerGroupedControls to true only if necessary, so that:

1. Dragging to the layer just above a group does *not* place the control
into the group; just to the appropriate layer.
2. Dragging to a layer *in* a group moves the control into the group, at
that layer.
3. The above works even with nested groups (just checked, and I'm very
happy with my past self!) Meaning that if you have this:

stack "Untitled 1"
card id 1002
|  group id 1011 (1011)
|  |  group id 1006 (1006)
|  |  |  button "Button" (1003)
|  |  |  button "Button" (1007)
|  |  |  button "Button" (1004)
|  |  |  button "Button" (1005)
|  |  |  button "Button" (1009)
|  |  button "Button" (1010)
|  |  button "Button" (1008)
|  button "Button" (1012)
|  button "Button" (1013)

And you drag button id 1013 just under button id 1009, you get this:

stack "Untitled 1"
card id 1002
|  group id 1011 (1011)
|  |  group id 1006 (1006)
|  |  |  button "Button" (1003)
|  |  |  button "Button" (1007)
|  |  |  button "Button" (1004)
|  |  |  button "Button" (1005)
|  |  |  button "Button" (1009)
|  |  button "Button" (1013)
|  |  button "Button" (1010)
|  |  button "Button" (1008)
|  button "Button" (1012)

Note that button id 1013 is now in group id 1011, but it is *not* in group
id 1006.

Holding the option/alt key is not needed for any of 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: players misplaced & not functional on Windows 10

2019-03-15 Thread Paul Dupuis via use-livecode
Those grey player bars look like you are using Quicktime for Windows vs 
DirectShow? What version of LiveCode are you using?




On 3/15/2019 7:14 PM, Curt Ford via use-livecode wrote:
I've done a series of modules for a client that involve lots of sound 
files in scrolling groups. To make layout consistent across platforms 
I have a handler that sets the location of the sounds above certain 
paragraphs.


One user on Windows 10 is reporting that the sounds don't play; the 
layout also looks strange: there's an outline of where the sound 
players should be, but the actual grey bars are misplaced, and much 
smaller than they should be.


Here's a screenshot sent in by the client's customer:

https://imgur.com/a/ktDPghI

Here's what the page looks like on my machine, both in standalone and 
in development:


https://imgur.com/a/AWzJk6k

Nobody else has reported this kind of problem. Any ideas?

thanks,

Curt



___
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


players misplaced & not functional on Windows 10

2019-03-15 Thread Curt Ford via use-livecode
I've done a series of modules for a client that involve lots of sound 
files in scrolling groups. To make layout consistent across platforms I 
have a handler that sets the location of the sounds above certain 
paragraphs.


One user on Windows 10 is reporting that the sounds don't play; the 
layout also looks strange: there's an outline of where the sound players 
should be, but the actual grey bars are misplaced, and much smaller than 
they should be.


Here's a screenshot sent in by the client's customer:

https://imgur.com/a/ktDPghI

Here's what the page looks like on my machine, both in standalone and in 
development:


https://imgur.com/a/AWzJk6k

Nobody else has reported this kind of problem. Any ideas?

thanks,

Curt
--
Sent from Postbox 


___
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: Tree view widget for mobile use

2019-03-15 Thread Brian Milby via use-livecode
I’ve already submitted PRs in the 9.1 line but they don’t really address what 
you have requested.  I could implement 1 in a way that could be incorporated 
into the official version.  I could fork a version that hid a portion of the 
key on display for 2 as well.  3 would take some discussion.

The only other thing I am aware of is the new code that Trevor released with a 
tree view plugin for Levure (but could be used elsewhere with some effort).

Thanks,
Brian
On Mar 15, 2019, 6:09 PM -0400, J. Landman Gay via use-livecode 
, wrote:
> I'd like to use the tree view widget in a mobile app but the existing
> one isn't suitable. I need:
>
> 1. A way to set the textheight/line spacing to accomodate larger font
> sizes. The default size and textheight is far too small for mobile phones.
>
> 2. A way to allow entries to be displayed in a given order. It's okay if
> I need to add numerical indices, as long as they don't show.
>
> 3. Normal scrolling behavior for mobile devices. I can overlay a native
> scroller if necessary but a built-in one would save a lot of scripting.
>
> If anyone is willing to tinker with the widget to add these things,
> there's some funding available.
>
> Alternately, is there a scripted one somewhere already so I don't have
> to re-invent it?
>
> --
> 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
___
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

Cross-platform media formats...

2019-03-15 Thread Paul Dupuis via use-livecode
I have compiled a list of formats supported by Apple Video Foundation 
(AVF) and Microsoft DirectShow (and Quicktime for both OSX and Windows 
for good measure), but I'd like to confirm this by asking if anyone one 
else (hello mothership?) has a list they are willing to share.


It gets complicated with different audio and video codec in the same 
general format (i.e. MPEG4), which is sad because MPEG was supposed to 
be a "Standard" and with everybody doing their own codecs, it really isn't



___
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


Tree view widget for mobile use

2019-03-15 Thread J. Landman Gay via use-livecode
I'd like to use the tree view widget in a mobile app but the existing 
one isn't suitable. I need:


1. A way to set the textheight/line spacing to accomodate larger font 
sizes. The default size and textheight is far too small for mobile phones.


2. A way to allow entries to be displayed in a given order. It's okay if 
I need to add numerical indices, as long as they don't show.


3. Normal scrolling behavior for mobile devices. I can overlay a native 
scroller if necessary but a built-in one would save a lot of scripting.


If anyone is willing to tinker with the widget to add these things, 
there's some funding available.


Alternately, is there a scripted one somewhere already so I don't have 
to re-invent it?


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


Livecode 9 and Directshow...

2019-03-15 Thread Paul Dupuis via use-livecode
I am seeing a very odd behavior using DirectShow under LiveCode 9.0.1, 
9.0.2, and 9.0.3rc-1


I have a simple stack with a fixed size player and a few buttons to open 
various video files. The buttons just set the filename of the player to 
the selected file. The player is set to alwaysBuffer


When opening video in the IDE or built as a standalone that DirectShow 
supports like .avi and .wmv I get a white frame in the player and while 
the audio plays, I get no picture


Earlier, these formats played fine. The player object was resized in the 
IDE and subsequently, the white frame. Restarting LC or even restarting 
Windows does not change anything.


Has anyone seen anything like this? Any idea what may be going on?


PS to LiveCode, Ltd. IF you really want to make LiveCode 10 something 
spectacular, just make it so the same media formats play without issues 
across platforms! Dealing with multi-platform media is such a huge pain 
in the @ss!


___
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: Ineffective lazy screenRect

2019-03-15 Thread Bob Sneidar via use-livecode
Ya know, I remember a good while back, several years, that in the process of 
debugging I would get into these unstable states. It was something in my code 
that was throwing an error, but the debugger instead of catching it and 
stopping at the line, basically looked like it completed. But it didn't. It was 
like a script was still running but I was able to interact with the UI to some 
extent. 

Bob S


> On Mar 14, 2019, at 12:31 , J. Landman Gay via use-livecode 
>  wrote:
> 
> It sort of fits with what I've seen in all versions of LC 9. Things start 
> failing inexplicably -- handlers available moments ago suddenly can't be 
> found, keyboard shortcuts stop working, the message path gets skewed or lost, 
> etc. A restart of LC fixes things until it happens again. In many cases, if I 
> don't restart, I'll eventually crash.
> 
> No recipe, no logic to it. But I think it has something to do with debugging, 
> since I most often see things go wrong after or during a debugging session.


___
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: Ineffective lazy screenRect

2019-03-15 Thread Bob Sneidar via use-livecode
I knew once but I forgot. 

Bob S


> On Mar 13, 2019, at 13:59 , Mark Wieder via use-livecode 
>  wrote:
> 
>> Had that happened initially I would not have started this thread.
> 
> I think there's a valuable lesson to be learned here.
> I'm not sure what it is.
> 
> -- 
> 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: get an overview of all scripts (e.g total lines of all scripts) of a stack

2019-03-15 Thread Bob Sneidar via use-livecode
I can think of one use case. A developer might charge for lines of code instead 
of hours spent. 

Bob S


> On Mar 14, 2019, at 08:10 , Richard Gaskin via use-livecode 
>  wrote:
> 
> So dear readers, please understand that I'm rather eager to produce exactly 
> what you're looking for, if I can learn more specifically what it is you want 
> and how it helps your development process.
> 
> Consider this an open invitation to discuss the business case for project 
> metrics, and which ones are especially valuable to your work and which one's 
> aren't.


___
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: Drag-and-Drop with Desktop Files

2019-03-15 Thread Bob Sneidar via use-livecode
I'll toss together an Applescript for you when I get a chance. 

Bob S


> On Mar 14, 2019, at 06:25 , R.H. via use-livecode 
>  wrote:
> 
> I am referring to:
> Message: 17, Date: Thu, 14 Mar 2019 00:44:05 +0100, From: hh > 
> 
> Regarding MacOS I can not say much, but I use Windows, and IT WORKS.
> 
> 'hh ' = Hermann's contribution, right? This fantastic. I never expected
> anybody to have a solution. I had searched Git and whatever.
> 
> Well, first it did not actually work because spaces in the folder- and
> filenames are breaking the script. There will be an error message. So, I
> have added these script lines to what 'hh' had posted:

___
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: Address and phone to the office

2019-03-15 Thread Andre Garzia via use-livecode
Thanks friends! :-)

On Mon, Mar 11, 2019, 16:48 Graham Samuel via use-livecode <
use-livecode@lists.runrev.com> wrote:

> According to their web site, it’s
>
> LiveCode Ltd.
> 66 Albion Road
> Edinburgh
> Scotland, UK
> EH7 5QZ
>
> +44 (0) 845 219 8923
>
> This is probably right - it’s certainly different from the address they
> had last year, and I know they’ve moved.
>
> HTH
>
> Graham
>
>
> > On 11 Mar 2019, at 15:19, Andre Garzia via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hey,
> >
> > Anyone here know the current address of LiveCode office and their
> > phone number?
> >
> > Cheers
> > Andre
> > ___
> > 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: Android and attachments

2019-03-15 Thread panagiotis merakos via use-livecode
Hello Ludovic,

This bug will be fixed in LC 9.0.4 rc1:

See the pull request for more details:

https://github.com/livecode/livecode/pull/6887

Regards,
Panos
--

On Fri, 15 Mar 2019 at 10:37, Ludovic THEBAULT via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> > Le 15 mars 2019 à 09:24, Ludovic THEBAULT via use-livecode <
> use-livecode@lists.runrev.com> a écrit :
> >
> > I've been told some bugs when you want to share a file (by «
> mobileComposeMail ») from an application designed with Livecode (9.02)
> under Android :
> > With Google Drive, a zip file is saved without a name and extension but
> remains valid.
> > With Outlook, the same.
> > But with another application, no problem.
> >
> > Where can this come from? The zip file is saved with the
> specialfolderpath ("external documents") and the option "Write external
> storage" is enabled for the application.
> >
> > Thank you for your lights!
> >
>
> And with Gmail the email with the zip attachment stay in the outbox...
>
>
> ___
> 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: Android and attachments

2019-03-15 Thread Ludovic THEBAULT via use-livecode

> Le 15 mars 2019 à 09:24, Ludovic THEBAULT via use-livecode 
>  a écrit :
> 
> I've been told some bugs when you want to share a file (by « 
> mobileComposeMail ») from an application designed with Livecode (9.02) under 
> Android :
> With Google Drive, a zip file is saved without a name and extension but 
> remains valid.
> With Outlook, the same.
> But with another application, no problem.
> 
> Where can this come from? The zip file is saved with the specialfolderpath 
> ("external documents") and the option "Write external storage" is enabled for 
> the application.
> 
> Thank you for your lights!
> 

And with Gmail the email with the zip attachment stay in the outbox...


___
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

Android and attachments

2019-03-15 Thread Ludovic THEBAULT via use-livecode
I've been told some bugs when you want to share a file (by « mobileComposeMail 
») from an application designed with Livecode (9.02) under Android :
With Google Drive, a zip file is saved without a name and extension but remains 
valid.
With Outlook, the same.
But with another application, no problem.

Where can this come from? The zip file is saved with the specialfolderpath 
("external documents") and the option "Write external storage" is enabled for 
the application.

Thank you for your lights!

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