Should I forget HC? Honestly?

2019-01-25 Thread Ingar Roggen via use-livecode
Hi, all of you!
Twice I have asked through this list for help to get an idea about how much it 
would cost «to make HC great again», that is, to facilitate its use by means of 
an LC-app. I may not succeed in getting a Norwegian sponsor, but again I might. 
But certainly not without an approximate suggestion of the price. My email at 
the University of Oslo is ingar.rog...@sosiologi.uio.no. Why not give it a try?
Ingar

Sendt fra min iPhone
___
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 7.2rc1 is available

2019-01-25 Thread Geoff Canyon via use-livecode
The fold control bar uses this stack as its behavior: stack
"rev_g_groupFoldBar"

That script is:

on mouseUp
   put getID(barClickLine()) into CL
   if the number of lines of CL > 1 or word 1 of CL is not "group" then
exit mouseUp
   setFolded CL
   doUpdateDisplay true
end mouseUp

So it's pretty much down to three things:

1.a. Does barClickLine() return the proper line?
1.b. Does getID() return the right ID? And is it the long ID?
2. Does setFolded work?
3. Does doUpdateDisplay do something to reset the folds before displaying?
(This is what was wrong the last time).

One thing to try would be this:

dispatch "setFolded" to stack "revNavigator" with (the long id of ),true

Navigator won't immediately update its display, but clicking in Navigator's
list or selecting Update List Now on the Action menu should do it, and then
that group should be displayed folded. I just did this and it worked for
me. If this works for you then we've narrowed the problem down to 1. If it
doesn't work, then 2 or 3.

gc

On Fri, Jan 25, 2019 at 3:11 PM Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Nope. Running LC 9.0.2 Community, MacOS 10.14.2, Navigator 7.2 RC1. If you
> point me to where the folding code actually happens, I can turn on rev
> development and trace it.
>
> Bob S
>
>
> > On Jan 25, 2019, at 14:16 , Geoff Canyon via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > I'm not seeing this? I tried both with a specific stack and (what I
> > remember from the last time) "this card of the topstack". Folding is
> > working for me, both by clicking in the margin, and by selecting a fold
> > level on the popup menu for a card or group.
> >
> > Any specific recipe?
> >
> > 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: Howto play live video from webcam on OSX?

2019-01-25 Thread hh via use-livecode
http://lists.runrev.com/pipermail/use-livecode/2018-December/251858.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: revMoveFolder on Windows

2019-01-25 Thread Knapp Martin via use-livecode
Well this turned out to be a default folder issue. So just before I move the 
folder, I set the default folder to something other than where the user stacks 
are stored and then the move works fine. It only seems to be an issue on 
Windows. Thanks to Ralph and Brian.

Marty

> On Jan 24, 2019, at 5:32 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> I've seen that with Excel with either the file or the folder(can't remember). 
> I opened a spreadsheet and closed it but the file/folder was still locked 
> until I closed Excel.
> 
> 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 Brian Milby via use-livecode
> Sent: Thursday, January 24, 2019 8:22 PM
> To: How to use LiveCode
> Cc: Brian Milby
> Subject: RE: revMoveFolder on Windows
> 
> I think programs can lock a folder by having it set as the default folder (or 
> it could just be a side effect of them storing something there).  I’ve seen 
> it every once in a while in other programs, but can’t remember the last time. 
>  I have not tried to see if I could reproduce in LiveCode yet.  Ralph’s 
> suggestion sounds like a good thing to try.
> 
> Thanks,
> Brian
> On Jan 24, 2019, 7:05 PM -0600, Ralph DiMola via use-livecode 
> , wrote:
>> Beyond the obvious of having files open in the folder could it be that 
>> if you trying to move LC's current defaultfolder it causes a problem 
>> on Windows?
>> 
>> 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 Knapp Martin via use-livecode
>> Sent: Thursday, January 24, 2019 7:21 PM
>> To: Use Livecode
>> Cc: Knapp Martin
>> Subject: revMoveFolder on Windows
>> 
>> I have an app that allows users to create documents and store then in 
>> a specified folder. Via a preference setting they can move the folder 
>> to a location of their choosing. I use revMoveFolder to do this. You 
>> can also move the folder where you want and then drag and drop it on 
>> the preference stack to establish the path to where it is.
>> 
>> This works fine on Mac but not on Windows - it fails. In fact when the 
>> app is open and I try to manually move the folder, Windows tells me 
>> "The action can't be completed because the folder is open in another 
>> program."
>> 
>> I understand that if a file was open by the app that this would come 
>> into play but how is a folder open to another program? Is there a way 
>> around this?
>> 
>> Marty
>> ___
>> 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
> 
> 
> ___
> 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

Howto play live video from webcam on OSX?

2019-01-25 Thread David Bovill via use-livecode
I'm trying to show live webcam footage in a Livecode stack on OSX.

*Browser*
The following works well in the browser but requires permissions to be
agreed with a browser dialogue that does not show in the embedded browser.

   - https://davidwalsh.name/demo/camera.php

It would be great to get that working as there is a lot that can be done
once it;s in the browser widget.

*mergAVPlayer*
The alternative is Indy and mergAVPlayer

   - http://mergext.com/home/mergav/

*Player object*
Once upon a time we could use af few tricks with the player object or use
revVideoGrab...

Any idea how to achieve this - the browser widget based option would be my
favourite?
___
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 7.2rc1 is available

2019-01-25 Thread Bob Sneidar via use-livecode
Nope. Running LC 9.0.2 Community, MacOS 10.14.2, Navigator 7.2 RC1. If you 
point me to where the folding code actually happens, I can turn on rev 
development and trace it. 

Bob S


> On Jan 25, 2019, at 14:16 , Geoff Canyon via use-livecode 
>  wrote:
> 
> I'm not seeing this? I tried both with a specific stack and (what I
> remember from the last time) "this card of the topstack". Folding is
> working for me, both by clicking in the margin, and by selecting a fold
> level on the popup menu for a card or group.
> 
> Any specific recipe?
> 
> 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: Navigator 7.2rc1 is available

2019-01-25 Thread Geoff Canyon via use-livecode
I'm not seeing this? I tried both with a specific stack and (what I
remember from the last time) "this card of the topstack". Folding is
working for me, both by clicking in the margin, and by selecting a fold
level on the popup menu for a card or group.

Any specific recipe?

gc

On Fri, Jan 25, 2019 at 1:32 PM Geoff Canyon  wrote:

> Bah, I’ll take a look later today.
>
> gc
>
> > On Jan 25, 2019, at 1:19 PM, Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hate to do this to you Geoff but the groups are not folding again.
> >
> > I click in the shaded area nothing. I right click on the name of the
> group and select fold level 1, nothing.
> >
> > Bob S
> >
> >
> > ___
> > 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: Navigator 7.2rc1 is available

2019-01-25 Thread Geoff Canyon via use-livecode
Bah, I’ll take a look later today. 

gc

> On Jan 25, 2019, at 1:19 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Hate to do this to you Geoff but the groups are not folding again. 
> 
> I click in the shaded area nothing. I right click on the name of the group 
> and select fold level 1, nothing. 
> 
> Bob S
> 
> 
> ___
> 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: Navigator 7.2rc1 is available

2019-01-25 Thread Bob Sneidar via use-livecode
Hate to do this to you Geoff but the groups are not folding again. 

I click in the shaded area nothing. I right click on the name of the group and 
select fold level 1, nothing. 

Bob S


___
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: revMoveFolder on Windows

2019-01-25 Thread Knapp Martin via use-livecode
I made a simple test stack to move folders, saved as a standalone and it works 
fine - even moving the folder I’m trying to move in my real app. In my app 
where I’m having trouble (works fine on Mac but not on Windows) the result is 
returning “1” which isn’t really helpful!

Marty
> On Jan 24, 2019, at 5:32 PM, Ralph DiMola via use-livecode 
>  wrote:
> 
> I've seen that with Excel with either the file or the folder(can't remember). 
> I opened a spreadsheet and closed it but the file/folder was still locked 
> until I closed Excel.
> 
> 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 Brian Milby via use-livecode
> Sent: Thursday, January 24, 2019 8:22 PM
> To: How to use LiveCode
> Cc: Brian Milby
> Subject: RE: revMoveFolder on Windows
> 
> I think programs can lock a folder by having it set as the default folder (or 
> it could just be a side effect of them storing something there).  I’ve seen 
> it every once in a while in other programs, but can’t remember the last time. 
>  I have not tried to see if I could reproduce in LiveCode yet.  Ralph’s 
> suggestion sounds like a good thing to try.
> 
> Thanks,
> Brian
> On Jan 24, 2019, 7:05 PM -0600, Ralph DiMola via use-livecode 
> , wrote:
>> Beyond the obvious of having files open in the folder could it be that 
>> if you trying to move LC's current defaultfolder it causes a problem 
>> on Windows?
>> 
>> 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 Knapp Martin via use-livecode
>> Sent: Thursday, January 24, 2019 7:21 PM
>> To: Use Livecode
>> Cc: Knapp Martin
>> Subject: revMoveFolder on Windows
>> 
>> I have an app that allows users to create documents and store then in 
>> a specified folder. Via a preference setting they can move the folder 
>> to a location of their choosing. I use revMoveFolder to do this. You 
>> can also move the folder where you want and then drag and drop it on 
>> the preference stack to establish the path to where it is.
>> 
>> This works fine on Mac but not on Windows - it fails. In fact when the 
>> app is open and I try to manually move the folder, Windows tells me 
>> "The action can't be completed because the folder is open in another 
>> program."
>> 
>> I understand that if a file was open by the app that this would come 
>> into play but how is a folder open to another program? Is there a way 
>> around this?
>> 
>> Marty
>> ___
>> 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
> 
> 
> ___
> 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