Re: Exiting Browser Widget

2016-05-27 Thread Sannyasin Brahmanathaswami
Hmmm… I don’t have control over the JS attached to a youtube page… makes for an 
interesting challenge

On 5/26/16, 7:43 PM, "use-livecode on behalf of David Bovill" 
 wrote:

>You would need to get javascript to call a Livecode handler.
>
>So that means doing something like:
>
>set the javaScriptHandlers of widget "Browser" to "takeMeHome"
>
>
>And then using a bit of javascript in the displayed web page:
>
>liveCode. takeMeHome("myMessage", 12345);
>
>
>to call your Livecode script handler:
>
>on takeMeHome
>>go to cd 1
>>end takeMeHome

___
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: [blog] Quicktime Dependency Solved

2016-05-27 Thread Alejandro Tejada
Hi All,

How difficult could be to leverage 
audio (.ogg) and video (webM) 
playback from Chromium Embedded 
Framework (CEF) within LiveCode 8?

Using current LC8, How could we do this: 

1) play a webM video from script
and LC8 just create an instance of 
RevBrowserCEF and put in the card 
a browser of webM movie size 
(without any extra borders).

2) play an .ogg sound file from script
and LC8 create a new instance of
RevBrowserCEF and put in the card
a browser with an audio player control.

Al



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/blog-Quicktime-Dependency-Solved-tp4705232p4705263.html
Sent from the Revolution - User mailing list archive at Nabble.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: the keys of the dragData?

2016-05-27 Thread David Bovill
Thanks everyone.

My mistake. the keys of the dragdata does actually work.

Interestingly the keys of (the dragdata) also works - but with different
results :)

On 27 May 2016 at 16:54, Ali Lloyd  wrote:

> You should also be able to do
> > *put* the keys of (the dragData) into dragKeys
>
>
> On Fri, May 27, 2016 at 4:05 PM Matt Maier  wrote:
>
> > I think it should be "the keys of the dragData of something" or just "the
> > keys of dragData".
> > On May 27, 2016 17:58, "David Bovill"  wrote:
> >
> > This isn't working for me in 8.1:
> >
> > > *put* the keys of the dragData into dragKeys
> >
> >
> > Is this a bug or am I doing something silly?
> > ___
> > 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


Re: Alternative interfaces

2016-05-27 Thread RM

I went lateral today:

http://forums.livecode.com/viewtopic.php?f=25&t=27328&p=143042#p143042

Richmond.

___
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: the keys of the dragData?

2016-05-27 Thread Ali Lloyd
You should also be able to do
> *put* the keys of (the dragData) into dragKeys


On Fri, May 27, 2016 at 4:05 PM Matt Maier  wrote:

> I think it should be "the keys of the dragData of something" or just "the
> keys of dragData".
> On May 27, 2016 17:58, "David Bovill"  wrote:
>
> This isn't working for me in 8.1:
>
> > *put* the keys of the dragData into dragKeys
>
>
> Is this a bug or am I doing something silly?
> ___
> 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: [blog] Quicktime Dependency Solved

2016-05-27 Thread Paul Dupuis
On 5/27/2016 9:52 AM, Richard Gaskin wrote:
> think everyone on the team has made it clear that this work in
> response to Apple's deprecation of Quicktime or Windows would be
> specific to Windows.
>
> But in all fairness, I can appreciate the longing to have video and
> audio playback restored on Linux.  This used to work many years ago,
> but it got progressively worse over the years and for the last few
> years hasn't been possible at all.

Pus there was the cross-platform media player that was a stretch goal in
the original open source Kickstarter. While recent work was promised for
Windows only, there are people still looking for that deliverable which,
I know, will eventually be there.

As a developer who uses LiveCode for (among may reasons) the write once,
deploy everywhere model, I really would like to see more features that
are abstracted to work across all supported platforms.

I think LiveCode 9 should be the "robustness" release and just focus on
bugs, documentation, and extending features that should work everywhere
to working everywhere.

___
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: [blog] Quicktime Dependency Solved

2016-05-27 Thread Peter TB Brett

On 27/05/2016 16:01, Mark Wieder wrote:

On 05/27/2016 03:11 AM, Peter TB Brett wrote:

On 27/05/2016 06:27, Mark Wieder wrote:

On 05/26/2016 09:11 AM, Heather Laine wrote:

Folks,

A fine blog post from Iain MacPhail regarding his recent work on the
LiveCode Player Object:


Dang!
I was really hoping this was going to work on linux.


I'm really curious what made you think that that was at all likely to
happen.


Possibly it was the part in the blog post that said "a new version of
the LiveCode player object has been created that doesn’t directly call
the underlying system calls that are specific to one implementation or
another"... but yeah, just wishful thinking on my part.


Ah.  Yes, there's quite a difference between creating an abstraction 
between per-platform implementations, and actually writing a specific 
platform's implementation to use with the abstraction... a difference of 
about 90% of the work, probably.


I suspect that if someone was to implement the abstract platform player 
class for Linux, they would probably want to use the gstreamer API.


Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/

___
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: the keys of the dragData?

2016-05-27 Thread Matt Maier
I think it should be "the keys of the dragData of something" or just "the
keys of dragData".
On May 27, 2016 17:58, "David Bovill"  wrote:

This isn't working for me in 8.1:

> *put* the keys of the dragData into dragKeys


Is this a bug or am I doing something silly?
___
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: [blog] Quicktime Dependency Solved

2016-05-27 Thread Mark Wieder

On 05/27/2016 03:11 AM, Peter TB Brett wrote:

On 27/05/2016 06:27, Mark Wieder wrote:

On 05/26/2016 09:11 AM, Heather Laine wrote:

Folks,

A fine blog post from Iain MacPhail regarding his recent work on the
LiveCode Player Object:


Dang!
I was really hoping this was going to work on linux.


I'm really curious what made you think that that was at all likely to
happen.


Possibly it was the part in the blog post that said "a new version of 
the LiveCode player object has been created that doesn’t directly call 
the underlying system calls that are specific to one implementation or 
another"... but yeah, just wishful thinking on my part.


--
 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: the keys of the dragData?

2016-05-27 Thread Mark Schonewille

Hi David,

The dragData isn't an array but a property. By putting the dragData into 
a variable, you convert it into an array and you'll be able to get the keys.


Kind regards,

Mark Schonewille
http://economy-x-talk.com
https://www.facebook.com/marksch

Buy the most extensive book on the
LiveCode language:
http://livecodebeginner.economy-x-talk.com

Op 27-May-16 om 16:58 schreef David Bovill:

This isn't working for me in 8.1:


*put* the keys of the dragData into dragKeys



Is this a bug or am I doing something silly?



___
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


the keys of the dragData?

2016-05-27 Thread David Bovill
This isn't working for me in 8.1:

> *put* the keys of the dragData into dragKeys


Is this a bug or am I doing something silly?
___
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: [blog] Quicktime Dependency Solved

2016-05-27 Thread Peter TB Brett

On 27/05/2016 14:52, Richard Gaskin wrote:


In the meantime, with the focus of the current work indeed on Windows,
it may be helpful to review this thread describing some of the issues
people have found on Windows (yes, I've asked them to submit bug
reports, but relative newcomers are not yet accustomed to filing
reports, and double-checking issues with other users in the forums can
sometimes be helpful):




Thanks for pointing out that discussion to me -- I've flagged it up to 
the development team.


   Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/

___
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: [blog] Quicktime Dependency Solved

2016-05-27 Thread Richard Gaskin

Peter TB Brett wrote:

> On 27/05/2016 06:27, Mark Wieder wrote:
>> Dang!
>> I was really hoping this was going to work on linux.
>
> I'm really curious what made you think that that was at all likely to
> happen.  I thought that Kevin and I had been _very_ clear, from the
> point at which this work was first announced, that this was going to
> be a revision of the _Windows_ player, specifically to deal with the
> Quicktime problem.  Maybe our communication was ambiguous or unclear
> in some way.

I think everyone on the team has made it clear that this work in 
response to Apple's deprecation of Quicktime or Windows would be 
specific to Windows.


But in all fairness, I can appreciate the longing to have video and 
audio playback restored on Linux.  This used to work many years ago, but 
it got progressively worse over the years and for the last few years 
hasn't been possible at all.


In broad terms this would be a regression, but the degradation occurred 
before the current definition of "regression" has been followed (and 
quite well, to be honest, in that things working in the last Stable 
build tend to get high priority if found not to be working in a newer DP 
or RC).


Hopefully with the audio recording funded there we'll also have the 
ability to play back what we record.


In the meantime, with the focus of the current work indeed on Windows, 
it may be helpful to review this thread describing some of the issues 
people have found on Windows (yes, I've asked them to submit bug 
reports, but relative newcomers are not yet accustomed to filing 
reports, and double-checking issues with other users in the forums can 
sometimes be helpful):




--
 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: OT Livecode and Intego Virus Barrier

2016-05-27 Thread Mike Kerner
Not entirely related, but on some of our Win machines, every time I build a
new win executable with LC, Norton complains and blocks it.  I then have to
tell Norton on those machines that the the executable is, indeed
trustworthy.

On Fri, May 27, 2016 at 9:35 AM, Matthias Rebbe <
matthias_livecode_150...@m-r-d.de> wrote:

> I filed a bug now Bug 17748 <
> http://quality.livecode.com/show_bug.cgi?id=17748>
> http://quality.livecode.com/show_bug.cgi?id=17748 <
> http://quality.livecode.com/show_bug.cgi?id=17748>
>
> Feel free to add a comment.
>
>
>
>
> > Am 27.05.2016 um 12:12 schrieb Peter TB Brett  >:
> >
> > On 27/05/2016 09:19, Matthias Rebbe wrote:
> >> so there´s no need for me to file a bug, right?
> >>
> >> Or should i report it? I do not to bother the team with unnecessary
> things.
> >
> > Maybe it would be worth filing a bug report about the tools log grows
> continuously rather than being kept to a sensible maximum size.
> >
> > Peter
> >
> > --
> > Dr Peter Brett 
> > LiveCode Technical Project Manager
> >
> > LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/
> >
> > ___
> > 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: OT Livecode and Intego Virus Barrier

2016-05-27 Thread Matthias Rebbe
I filed a bug now Bug 17748 
http://quality.livecode.com/show_bug.cgi?id=17748 


Feel free to add a comment.




> Am 27.05.2016 um 12:12 schrieb Peter TB Brett :
> 
> On 27/05/2016 09:19, Matthias Rebbe wrote:
>> so there´s no need for me to file a bug, right?
>> 
>> Or should i report it? I do not to bother the team with unnecessary  things.
> 
> Maybe it would be worth filing a bug report about the tools log grows 
> continuously rather than being kept to a sensible maximum size.
> 
> Peter
> 
> -- 
> Dr Peter Brett 
> LiveCode Technical Project Manager
> 
> LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/
> 
> ___
> 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

AW: [blog] Quicktime Dependency Solved

2016-05-27 Thread Tiemo Hollmann TB
Good news indeed!
Thank you
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Heather Laine
Gesendet: Donnerstag, 26. Mai 2016 18:12
An: How to use LiveCode 
Betreff: [blog] Quicktime Dependency Solved

Folks,

A fine blog post from Iain MacPhail regarding his recent work on the
LiveCode Player Object:

https://livecode.com/removing-quicktime-dependency-from-livecodes-player-obj
ect/


Enjoy!

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: OT Livecode and Intego Virus Barrier

2016-05-27 Thread Peter TB Brett

On 27/05/2016 09:19, Matthias Rebbe wrote:

so there´s no need for me to file a bug, right?

Or should i report it? I do not to bother the team with unnecessary  things.


Maybe it would be worth filing a bug report about the tools log grows 
continuously rather than being kept to a sensible maximum size.


 Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/

___
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: [blog] Quicktime Dependency Solved

2016-05-27 Thread Peter TB Brett

On 27/05/2016 06:27, Mark Wieder wrote:

On 05/26/2016 09:11 AM, Heather Laine wrote:

Folks,

A fine blog post from Iain MacPhail regarding his recent work on the
LiveCode Player Object:


Dang!
I was really hoping this was going to work on linux.


I'm really curious what made you think that that was at all likely to 
happen.  I thought that Kevin and I had been _very_ clear, from the 
point at which this work was first announced, that this was going to be 
a revision of the _Windows_ player, specifically to deal with the 
Quicktime problem.  Maybe our communication was ambiguous or unclear in 
some way.


 Peter

--
Dr Peter Brett 
LiveCode Technical Project Manager

LiveCode 2016 Conference: https://livecode.com/edinburgh-2016/

___
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 Livecode and Intego Virus Barrier

2016-05-27 Thread Matthias Rebbe
Fraser,

so there´s no need for me to file a bug, right?

Or should i report it? I do not to bother the team with unnecessary  things.

Matthias



> Am 27.05.2016 um 09:28 schrieb Fraser Gordon :
> 
> On 27/05/16 02:39, Lyn Teyla wrote:
>> 2. The method used by LiveCode to write to LiveCodeToolsLog.txt (presumably 
>> multiple times) might not be ideal. Could be a "write to file" vs "put into 
>> url" issue.
>> 
>> Better yet, perhaps the writing to this log file should not be performed by 
>> default, unless a debug setting is set via Preferences.
>> 
> 
> The main purpose of the IDE log file is diagnosing problems with the IDE 
> starting up. Unfortunately, this means that it can't be toggled by a 
> preference because if the IDE is failing, you can't toggle the preference.
> 
> Because of this purpose, the way the file is written is very conservative - 
> every time a line is logged, the file is opened, the line is appended and 
> then the file is closed again. This ensures that in the event of an engine 
> crash, the logging data is not lost.
> 
> One thing that is definitely worth considering is deleting the current 
> contents of the file when the IDE starts up rather than preserving the 
> content indefinitely.
> 
> Fraser
> 
> ___
> 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: OT Livecode and Intego Virus Barrier

2016-05-27 Thread Fraser Gordon

On 27/05/16 02:39, Lyn Teyla wrote:

2. The method used by LiveCode to write to LiveCodeToolsLog.txt (presumably multiple times) might 
not be ideal. Could be a "write to file" vs "put into url" issue.

Better yet, perhaps the writing to this log file should not be performed by 
default, unless a debug setting is set via Preferences.



The main purpose of the IDE log file is diagnosing problems with the IDE 
starting up. Unfortunately, this means that it can't be toggled by a 
preference because if the IDE is failing, you can't toggle the preference.


Because of this purpose, the way the file is written is very 
conservative - every time a line is logged, the file is opened, the line 
is appended and then the file is closed again. This ensures that in the 
event of an engine crash, the logging data is not lost.


One thing that is definitely worth considering is deleting the current 
contents of the file when the IDE starts up rather than preserving the 
content indefinitely.


Fraser

___
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