Re: Quit Command corrupts standalone (stack called by standalone splash)

2018-02-23 Thread Phil Davis via use-livecode

Roland,

I believe Tom is exactly right. I would restructure your two closing 
handlers like this:



local sMyFilename

on closeStack
    put the filename of me into sMyFilename
    saveMe
    send "quitMe" in 1 second
end closeStack


command saveMe
   lock cursor /* Tested with and without locking and showing cursor */
   set the cursor to watch
   save this stack /* auto save, takes a long time, between 10-30 secs */
end saveMe


command quitMe
   if there is a file sMyFilename then
  unlock cursor
  lock messages
  quit
   else
  send "quitMe" to me in 0.5 seconds -- or in your preferred time
   end if
end quitMe


The above was not tested but it should solve the problem.

HTH -
Phil Davis



On 2/23/18 3:20 PM, tbodine via use-livecode wrote:

Hi Roland.

The "~" file is the original  (uncorrupted, unsaved) version of your stack
before LC executed your Save cmd. If you remove the "~" from the filename,
you'll probably find you can open that. LC creates the "~" file at the start
of the save operation and, if all goes well, removes that file when save is
complete.

My guess is your problem is rooted in the lengthy save time in the quit
routine. Here are a couple ideas of how you could deal with that:

1) Do the save within a try/catch statement so you can deal with any error.

2) If you are just saving some user data like prefs or fairly minor stuff,
then why not save that into a separate substack outside of your main
application stack? That should greatly shorten the time it takes to save.

Hope that helps.

Tom Bodine



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



--
Phil Davis


___
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: Quit Command corrupts standalone (stack called by standalone splash)

2018-02-23 Thread tbodine via use-livecode
Hi Roland.

The "~" file is the original  (uncorrupted, unsaved) version of your stack
before LC executed your Save cmd. If you remove the "~" from the filename,
you'll probably find you can open that. LC creates the "~" file at the start
of the save operation and, if all goes well, removes that file when save is
complete. 

My guess is your problem is rooted in the lengthy save time in the quit
routine. Here are a couple ideas of how you could deal with that:

1) Do the save within a try/catch statement so you can deal with any error. 

2) If you are just saving some user data like prefs or fairly minor stuff,
then why not save that into a separate substack outside of your main
application stack? That should greatly shorten the time it takes to save. 

Hope that helps.

Tom Bodine



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


Quit Command corrupts standalone (stack called by standalone splash)

2018-02-23 Thread R.H. via use-livecode
 // Quit Command corrupts standalone (stack called by standalone splash)
Using Indy 8.1.9 desktop standalone without encryption (same problem with
earlier versions and community version), Windows 7, 8, 10, different
machines and different users of a large company. //

Before filing a bug report or sending a help request, maybe there is a help
here...

This is an urgent question as it is highly critical for the in-house
distribution of this LiveCode application to the sales team of a large
company right now.

I can not really reproduce the problem using my own machine, but it
happened on my machine, on other peoples machines, more or less often.

I developed the app using the splash stack method (small login stack that
is made to be a standalone and actual application stack in a subfolder
called). It works. At least for all users when opening the first time.

Problems appear when opening the app through the splash screen login stack
a second time after quitting. The compiled LiveCode engine of the splash
stack often enough cannot find the application stack any longer because it
is corrupted.

Analyzing the situation, I think, it seems to be a problem quitting the
standalone app resulting in a corrupt application stack (the splash screen
standalone is not affected).

In case of corruption of the application stack, I then find two visible
files in the subfolder with the original filename of the application stack,
one shows a tilde "̃̃˜" at the end of the filename (an indication of
corruption).

Currently, I do not know how to generate a detailed error report for such
standalone. I have a friend who experiences this problem each time, and
each time he wants to use my app, he then takes a fresh copy that is good
only for a 1-time-usage ))).

The quit command is sent from the application stack.

Here are the handlers in the application stack:

on closeStack
saveAndQuit
pass closeStack /* goes to splash stack, engine ... tested with and
without. */
end closeStack

command saveAndQuit
   lock cursor /* Tested with and without locking and showing cursor */
   set the cursor to watch
   save this stack /* auto save, takes a long time, between 10-30 secs */
   wait 100 milliseconds with messages /* does it help? Probably not. */
   unlock cursor /* Testing with or without*/
   lock messages /* Force quit. Tested with and without. */
   quit /* Should quit safely and not corrupt the stack, but stack
sometimes is corrupted */
end saveAndQuit


Any suggestions I highly appreciated.

Thanks to all
Roland
___
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

Help needed / corrupted application stack after quit through splash stack

2018-02-23 Thread R.H. via use-livecode
Using Indy 8.1.9 desktop standalone without encryption (same problem
with earlier versions and community version), Windows 7, 8, 10, different
machines and different users of a large company.

Before filing a bug report or sending a help request, maybe there is a help
here...

This is an urgent question as it is highly critical for the in-house
distribution of this LiveCode application to the sales team of a large
company right now.

I can not really reproduce the problem using my own machine, but it
happened on my machine, on other peoples machines, more or less often.

I developed the app using the splash stack method (small login stack that
is made to be a standalone and actual application stack in a subfolder
called). It works. At least for all users when opening the first time.

Problems appear when opening the app through the splash screen login stack
a second time after quitting. The compiled LiveCode engine of the splash
stack often enough cannot find the application stack any longer because it
is corrupted.

Analyzing the situation, I think, it seems to be a problem quitting the
standalone app resulting in a corrupt application stack (the splash screen
standalone is not affected).

In case of corruption of the application stack, I then find two visible
files in the subfolder with the original filename of the application stack,
one shows a tilde "̃̃˜" at the end of the filename (an indication of
corruption).

Currently, I do not know how to generate a detailed error report for such
standalone. I have a friend who experiences this problem each time, and
each time he wants to use my app, he then takes a fresh copy that is good
only for a 1-time-usage ))).

The quit command is sent from the application stack.

Here are the handlers in the application stack:

on closeStack
saveAndQuit
pass closeStack /* goes to splash stack, engine ... tested with and
without. */
end closeStack

command saveAndQuit
   lock cursor /* Tested with and without locking and showing cursor */
   set the cursor to watch
   save this stack /* auto save, takes a long time, between 10-30 secs */
   wait 100 milliseconds with messages /* does it help? Probably not. */
   unlock cursor /* Testing with or without*/
   lock messages /* Force quit. Tested with and without. */
   quit /* Should quit safely and not corrupt the stack, but stack
sometimes is corrupted */
end saveAndQuit


Any suggestions I highly appreciated.

Thanks to all
Roland
___
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 back on TIOBE

2018-02-23 Thread Richard Gaskin via use-livecode
For the first time in a while, LiveCode is back on the TIOBE Index of 
the top 100 most popular programming languages:


https://www.tiobe.com/tiobe-index/

During the Kickstarter campaign and for a year or so after, LC was there 
off and on every few months.  But though I don't check monthly, I 
haven't seen it there in a while, so this is encouraging.


If it remains on the list consistently going forward, we'll have a 
reasonably good indicator of overall language adoption growth.


FWIW, this is the first month I can recall seeing where LiveCode was on 
this list but Xojo wasn't.



Other observations of note in the Feb 2018 index:

- Swift is still in the top 50 (#16, pretty good), but trending down,
  with a double-arrow suggesting more decline over last month than
  others in decline.

- Python and VB.net are up, VB up more.  Both VB editions are IIRC
  now open source and available for multiple platforms.

- If you look at the line chart in the middle of the page, even the most
  popular languages have an overall slight downward trend, suggesting
  greater diversification.

My take on this:

- Multi-platform languages are growing more than platform-specific ones.

- Programming is becoming increasingly polyglot, where fixation on one
  or two languages across one's career is gone in favor of expertise
  with a wider range of languages, each for different tasks.

For LC fans this could bode well, since at this stage few pros are in a 
position to replace their tooling with LC, but everyone can augment 
their tooling with it, since probably nothing else is a productive for 
making multi-platform GUIs.


--
 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: LiveCode Widget Factory

2018-02-23 Thread Lagi Pittas via use-livecode
Hi Todd,

One thing that is REALLY missing is a widget to print from Android -
specifically Receipt printers preferably via bluetooth and via Wifi -
both for people out and about on business, either having a portable
printer.
It seems google cloudprint doesnt have any reciept printers
(epson/star/Fujitsu using the epson ESC protocol) on its list of
supported printers. So I am using 8 inch Windows 10 tablets for ease
of use - the customers don't care but I do.
I also  attach a printer to a windows tablet with an app running on
the tablet waiting for the information to print from the Android
tablet .

There are two ways of doing it that I can see.

1 - An app that is installed on the android tablet that you invoke
with a pdf of what needs to be printed - Worldwide developer market
for that - just look at stackoverflow -- which could bring new people
into the fold.
2. A widget priced on two levels with or without source although I
would open source this (but still charge - any developer who wouldn't
pay for it should be shot at dawn without a last meal) because many
people will add to the printers supported. If you can't or won't then
charge extra for the source code , cos as sure as eggs is eggs it will
need to be tweaked.

The other important widget is that for the Beacons which is on your
list - If you can give access to the low level routines in the widget
- or even create a script only stack that would mean more flexibility
so we can "override" certain defaults - unless you've thought of
everything ;-)

Thanks and good luck

Regard Lagi

On 22 February 2018 at 11:38, Todd Fabacher via use-livecode
 wrote:
> Thanks...But nobody gave any suggestions
>
>
> Roger Eller wrote: do you mean it should work on ANY of the
> "LiveCode-supported" platforms, both desktop and/or mobile?
>
> --Honestly, our main focus will be mobile at first, but our goal is all
> platforms. As you can see in the list, many are mobile issues that
> LiveCode currently has no access to.We will try but all platforms may come
> after we have completed the mobile and worked out the bugs for LCB.
>
>
> hh wrote: Please start with *cross-platform-native* widgets for all of the
> UI elements in
> the LC Tools (which all are "basic").
>
> --Yes, Ali has provided a good multiplatform example of a button. We are
> taking this example and creating a structure/template for all basic UI
> widgets.  This is our goal, but the #1 goal right now is mobile and getting
> them in a widget store for people to purchase and use. But before 2021
> should not be an issue. We need to get the LC platform access to Native
> functionality to the coders because the competition is doing this. We need
> it to get new members and keep existing community members.
>
> BTW HH, thanks for the LBC property sample app you did, it was helpful.
>
>
> --Todd
> ___
> 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: Password Checker

2018-02-23 Thread Brian Milby via use-livecode
That is built in for LC9. You can use sha1digest though.
On Fri, Feb 23, 2018 at 7:52 AM Roger Eller via use-livecode <
use-livecode@lists.runrev.com> wrote:

> There seems to be a missing handler, "messageDigest".
>
> ~Roger
>
>
> On Thu, Feb 22, 2018 at 11:50 PM, Brian Milby via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Read this interesting article about a half billion PW database of
> > compromised passwords that I thought I'd share:
> >
> > *https://www.troyhunt.com/ive-just-launched-pwned-passwords-version-2/
> > *
> >
> > *on* mouseUp
> >*local* tSHAData, tSHAHex, tList
> >*put* messageDigest(the text of field "password", "SHA-1") into
> tSHAData
> >*repeat* for each byte tByte in tSHAData
> >   *put* format("%02X",bytetonum(tByte)) after tSHAHex
> >*end* *repeat*
> >*put* url ("https://api.pwnedpasswords.com/range/; & char 1 to 5 of
> > tSHAHex) into tList
> >*delete* char 1 to 3 of tList *-- delete the BOM*
> >*filter* tList with (char 6 to -1 of tSHAHex) & "*"
> >*set* the itemdel to ":"
> >*put* item 2 of tList into field "hits"
> > *end* mouseUp
> >
> > I've written some code that uses the new v2 API.  You send the first 5
> > characters of the SHA1 of your password and get a list back of matches.
> > You can then see if the rest of the hash is in the list and get the
> number
> > of times it appears on the list.  "123123" appears 2048411 times for
> > example.
> >
> > I'm sure that someone can tighten it up some, but just wanted to make
> > something in LiveCode that could use the API.
> >
> > You can also download the full database of SHA1 values (8.75GB) if you
> > would want to use to provide a service.  Links are in the article (he
> > prefers that you use a torrent).
> >
> > Thanks,
> > Brian
> > ___
> > 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: Password Checker

2018-02-23 Thread Roger Eller via use-livecode
There seems to be a missing handler, "messageDigest".

~Roger


On Thu, Feb 22, 2018 at 11:50 PM, Brian Milby via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Read this interesting article about a half billion PW database of
> compromised passwords that I thought I'd share:
>
> *https://www.troyhunt.com/ive-just-launched-pwned-passwords-version-2/
> *
>
> *on* mouseUp
>*local* tSHAData, tSHAHex, tList
>*put* messageDigest(the text of field "password", "SHA-1") into tSHAData
>*repeat* for each byte tByte in tSHAData
>   *put* format("%02X",bytetonum(tByte)) after tSHAHex
>*end* *repeat*
>*put* url ("https://api.pwnedpasswords.com/range/; & char 1 to 5 of
> tSHAHex) into tList
>*delete* char 1 to 3 of tList *-- delete the BOM*
>*filter* tList with (char 6 to -1 of tSHAHex) & "*"
>*set* the itemdel to ":"
>*put* item 2 of tList into field "hits"
> *end* mouseUp
>
> I've written some code that uses the new v2 API.  You send the first 5
> characters of the SHA1 of your password and get a list back of matches.
> You can then see if the rest of the hash is in the list and get the number
> of times it appears on the list.  "123123" appears 2048411 times for
> example.
>
> I'm sure that someone can tighten it up some, but just wanted to make
> something in LiveCode that could use the API.
>
> You can also download the full database of SHA1 values (8.75GB) if you
> would want to use to provide a service.  Links are in the article (he
> prefers that you use a torrent).
>
> Thanks,
> Brian
> ___
> 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: LC 9 DP11 hangs with "Loading Libraries" on Windows 10

2018-02-23 Thread Matthias Rebbe via use-livecode
Hi Panos,

thanks for your comment.

Unfortunately i cannot see anything helpful. The log stops at "Loading library 
revIDELibrary"

I will file a bug.

Regards,
Matthias


> Am 23.02.2018 um 13:42 schrieb panagiotis merakos via use-livecode 
> :
> 
> Hi Matthias,
> 
> The IDE writes to a log file every time it is launched. The file is:
> 
> C:/Users/your_username/AppData/Local/RunRev/Logs/LiveCodeToolsLog.txt
> 
> This file contains logs from *every* LC version, and from *every* LC
> edition. So you might want to delete it (or rename it to
> LiveCodeToolsLog_old.txt) first and *then* restart LC, so as the new file
> "LiveCodeToolsLog.txt" will contain only the current log.
> 
> If you don't see anything helpful at the log, file a bug report and attach
> the file to the report so as we investigate this further.
> 
> Best,
> Panos
> --
> 
> 
> 
> On Fri, Feb 23, 2018 at 12:19 PM, Matthias Rebbe via use-livecode <
> use-livecode@lists.runrev.com > wrote:
> 
>> Hi,
>> 
>> i am using LC 9 DP11 on Mac OSX since its release without any noteworthy
>> problems.
>> 
>> Today i installed LC 9 DP11 on a Windows 10 Pro 64bit and have the problem
>> that LC stops loading right after the splash screen pops up and shows the
>> text "Loading libraries".
>> With a newly installed LC 8.1.9 i do not see this behavior.
>> 
>> What i´ve tried so far:
>> - disabled Antivirus / Firewall
>> - deleted the preferences file
>> - reinstalled LC9 DP11
>> 
>> All without success.
>> 
>> Does anyone else run into this?
>> 
>> What should i try next?
>> 
>> Regards,
>> Matthias
>> 
>> 
>> 
>> 
>> ___
>> 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 
>> 
> 
> 
> 
> 
> -- 
> 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 
> 
___
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: LC 9 DP11 hangs with "Loading Libraries" on Windows 10

2018-02-23 Thread panagiotis merakos via use-livecode
Hi Matthias,

The IDE writes to a log file every time it is launched. The file is:

C:/Users/your_username/AppData/Local/RunRev/Logs/LiveCodeToolsLog.txt

This file contains logs from *every* LC version, and from *every* LC
edition. So you might want to delete it (or rename it to
LiveCodeToolsLog_old.txt) first and *then* restart LC, so as the new file
"LiveCodeToolsLog.txt" will contain only the current log.

If you don't see anything helpful at the log, file a bug report and attach
the file to the report so as we investigate this further.

Best,
Panos
--



On Fri, Feb 23, 2018 at 12:19 PM, Matthias Rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi,
>
> i am using LC 9 DP11 on Mac OSX since its release without any noteworthy
> problems.
>
> Today i installed LC 9 DP11 on a Windows 10 Pro 64bit and have the problem
> that LC stops loading right after the splash screen pops up and shows the
> text "Loading libraries".
> With a newly installed LC 8.1.9 i do not see this behavior.
>
> What i´ve tried so far:
> - disabled Antivirus / Firewall
> - deleted the preferences file
> - reinstalled LC9 DP11
>
> All without success.
>
> Does anyone else run into this?
>
> What should i try next?
>
> Regards,
> Matthias
>
>
>
>
> ___
> 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




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

LC 9 DP11 hangs with "Loading Libraries" on Windows 10

2018-02-23 Thread Matthias Rebbe via use-livecode
Hi,

i am using LC 9 DP11 on Mac OSX since its release without any noteworthy 
problems.

Today i installed LC 9 DP11 on a Windows 10 Pro 64bit and have the problem that 
LC stops loading right after the splash screen pops up and shows the text 
"Loading libraries".
With a newly installed LC 8.1.9 i do not see this behavior.

What i´ve tried so far:
- disabled Antivirus / Firewall
- deleted the preferences file
- reinstalled LC9 DP11

All without success.

Does anyone else run into this?

What should i try next?

Regards,
Matthias




___
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: mergAVPlayerCreateFromURL in IDE

2018-02-23 Thread Sean Cole (Pi) via use-livecode
The reason for using this as opposed to the engine/mobile controls is CODE
ONCE. mergAV works for both Mac AND iOS which are the two platforms my
client requires it for. According to the dictionary, the player object is
only for Mac, Windows and Linux still. So I would have to set up a heap of
conditionals for iOS and then Mac. But, seeing as this bug won't get fixed
anytime soon and my client is waiting for this new feature to be added I'm
going to have to go down this route anyway. This is the issue I face all
too often with LiveCode. Hunting for hours for the reason why something
small doesn't do what it's supposed to (this has taken 8hrs to track down!
) and then coming to the realisation that the bug fix cycle is too damned
long compared to the quick turnarounds I have with my clients (often
between a few days to a couple of weeks) so end up spending more time
coming up with workarounds.

Here's a recipe:


   1. New stack and card with a single button.
   2. mouseUp handler in button to call showMedia
   3. Card script contain:

local sPlayerID

on showMedia

put 0,0,512,384 into tRect

put mergAVPlayerCreateFromURL("
https://livecode.pidigital.co.uk/HappyClip.mp4;) into sPlayerID

mergAVPlayerSet sPlayerID, "visible", "true"

mergAVPlayerSet sPlayerID, "rect", tRect

mergAVPlayerSet sPlayerID,"visible","true"

mergAVPlayerSet sPlayerID, "rect", tRect

put mergAVPlayerGet(sPlayerID,"rect") into tRect2

put mergAVPlayerGet(sPlayerID,"rate") into tRate

put mergAVPlayerGet(sPlayerID,"visible") into tVis

put mergAVPlayerGet(sPlayerID,"duration") into tDuration

put mergAVPlayerGet(sPlayerID,"current time") into tCurr

put (sPlayerID & gMedia & tRect & tRect2 & tVis & tRate &
cr& tDuration & tCurr)

mergAVPlayerDo sPlayerID, "play"

end showMedia


on AVPlayerItemDidPlayToEndTimeNotification pPlayerID

mergAVPlayerRelease pPlayerID

end AVPlayerItemDidPlayToEndTimeNotification


Notice what happens when you delete the last line that sets the Rect.
Setting the Visible property has no effect but the order of Visible and
Rect setters have an effect on the Rect value. On an iOS device and the
simulator, it works fine either way. Mac and IDE it does not.


Have fun. I'll copy paste this into a bug report. Then get on to making the
workaround so my client can finally get what he could have had yesterday!
#LCneverFitForPurpose




Sean Cole
*Pi Digital *


On 23 February 2018 at 03:07, Monte Goulding via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hmm… that seems unpleasant. Unfortunately it probably hasn’t been used
> much before on mac so if you can post a bug report with your issues that
> would be good. What was the reason you are using mergAVPlayer instead of
> the engine player/mobile control options?
>
> Cheers
>
> Monte
>
> > On 23 Feb 2018, at 1:34 pm, Sean Cole (Pi) via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Ok, weird. So, after working out that mergAVPlayerCreateFromURL needs to
> > use a 'put' command as a function, the video would play but not be
> > visible despite that property being set to true. Further investigation
> > showed that the rect when set to 0,0,1024,768 would read back (using
> > mergAVPlayerGet) as 0,-768,1024,768. If I set it to 0,0,512,384, it
> returns
> > 0,-384,512,384. Setting to 0,200,512,384 returns 0,-384,512,184.
> >
> >
> > Sean Cole
> > *Pi Digital Productions Ltd*
> > www.pidigital.co.uk
> > +44(1634)402193
> > +44(7702)116447
> > 'Don't try to think outside the box. Just remember the truth: There is no
> > box!'
> > 'For then you realise it is not the box you are trying to look outside
> of,
> > but it is yourself!'
> >
> > eMail Ts & Cs    Pi Digital
> > Productions Ltd is a UK registered limited company, no. 5255609
> >
> > On 22 February 2018 at 22:14, Monte Goulding via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >>
> >> Yes it should work on Mac in the IDE. I don’t know if it has ever been
> >> used much because player objects make more sense on desktop. Looks like
> you
> >> need to set the visible to true after creating it but on iOS that
> probably
> >> isn’t required...
> >>
> >> Cheers
> >>
> >> Monte
> >>
> >>> On 23 Feb 2018, at 3:20 am, Sean Cole (Pi) via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>>
> >>> Hi,
> >>>
> >>> Is there any way to get mergAVPlayerCreateFromURL to work within the
> >> IDE? I
> >>> would like to test it without building a standalone for bug locating.
> >>>
> >>> Thanks
> >>> Sean Cole
> >>> *Pi Digital *
> >>> ___
> >>> use-livecode mailing list
> >>> use-livecode@lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >>
> >> ___
> >> use-livecode 

Re: LiveCode Widget Factory

2018-02-23 Thread Kevin Miller via use-livecode
In my LiveCode Global team report in January.

Kind regards,

Kevin

Kevin Miller ~ ke...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps




On 22/02/2018, 15:42, "use-livecode on behalf of Richard Gaskin via
use-livecode"  wrote:

>Todd Fabacher wrote:
>
> > As Kevin announced before...
>
>Where was this announced?
>
>-- 
>  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



___
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