Re: Curved text possible?

2022-05-18 Thread William de Smet via use-livecode
Hi Sean,

Incredible to see what HH did.
That is way over my head.
And so is LCB.




groeten,

William




Op wo 18 mei 2022 om 14:16 schreef Sean Cole via use-livecode <
use-livecode@lists.runrev.com>:

> Actually, HH had put up this on his site and kept open for us kindly.
> https://hh.on-rev.com/widgets/svgtext.html
>
> At the bottom he describes that it is possible to use SVG to define paths
> for the text. How good are you at LCB in being able to manipulate what he
> had achieved here?
>
> Sean
>
>
> On Wed, 18 May 2022 at 12:57, William de Smet via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > @Sean: Yes, a widget would be the best thing of course.
> > Much appreciated!
> >
> > groeten,
> >
> > William
> >
> >
> >
> >
> > Op wo 18 mei 2022 om 11:41 schreef Pi Digital via use-livecode <
> > use-livecode@lists.runrev.com>:
> >
> > > There is a better way to do this using LCB. If you don’t mind waiting I
> > > can pull something up. I’m out of office at the moment so can’t get to
> my
> > > files.
> > >
> > > Sean Cole
> > > Pi Digital Productions Ltd
> > >
> > > eMail Ts & Cs
> > >
> > >
> > > > On 18 May 2022, at 09:40, William de Smet via use-livecode <
> > > use-livecode@lists.runrev.com> wrote:
> > > >
> > > > Hi there,
> > > >
> > > > I posted a curved text example (with use of the browser widget) on
> the
> > > > forum:
> > > > https://forums.livecode.com/viewtopic.php?f=120=37027
> > > >
> > > > It works ok but still not satisfied with transparency.
> > > > Maybe someone has a better idea on how to do that?
> > > >
> > > >
> > > >
> > > > groeten,
> > > >
> > > > William
> > > >
> > > >
> > > >
> > > >
> > > > Op do 28 apr. 2022 om 17:42 schreef William de Smet <
> > > williamdes...@gmail.com
> > > >> :
> > > >
> > > >> Thanks!
> > > >>
> > > >> I came up with sort of the same idea yesterday evening and I am
> > > >> tetsting it now.
> > > >> I load a local html file within the browser widget with
> circletype.js
> > > >> added to the html file.
> > > >>
> > > >> A native textfield (and some extra code) writes back into the html
> > file
> > > >> and then I refresh the card.
> > > >> A snapshot gives me the curved text.
> > > >>
> > > >> There is also Arctext,js that I want to test.
> > > >>
> > > >> I will come back later with my result.
> > > >>
> > > >> groeten,
> > > >>
> > > >> William
> > > >>
> > > >>
> > > >>
> > > >>
> > > >> Op do 28 apr. 2022 om 17:24 schreef Ralph DiMola via use-livecode <
> > > >> use-livecode@lists.runrev.com>:
> > > >>
> > > >>> +1
> > > >>>
> > > >>> 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 Bob Sneidar via use-livecode
> > > >>> Sent: Thursday, April 28, 2022 11:18 AM
> > > >>> To: How to use LiveCode
> > > >>> Cc: Bob Sneidar
> > > >>> Subject: Re: Curved text possible?
> > > >>>
> > > >>> Great ideas Martin. I'm going to grant you an honorary doctorate
> from
> > > the
> > > >>> institute of Sly Laboratories.
> > > >>>
> > > >>> Bob S
> > > >>>
> > > >>>
> > > >>>> On Apr 28, 2022, at 08:10 , Martin Koob via use-livecode
> > > >>>  wrote:
> > > >>>>
> > > >>>> I was thinking that SVG might work as someone else has said.
> > > >>>>
> > > >>>> At first I thought you could create individual files for each
> letter
> > > and
> > > >>> number and put

Re: Curved text possible?

2022-05-18 Thread William de Smet via use-livecode
@Sean: Yes, a widget would be the best thing of course.
Much appreciated!

groeten,

William




Op wo 18 mei 2022 om 11:41 schreef Pi Digital via use-livecode <
use-livecode@lists.runrev.com>:

> There is a better way to do this using LCB. If you don’t mind waiting I
> can pull something up. I’m out of office at the moment so can’t get to my
> files.
>
> Sean Cole
> Pi Digital Productions Ltd
>
> eMail Ts & Cs
>
>
> > On 18 May 2022, at 09:40, William de Smet via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi there,
> >
> > I posted a curved text example (with use of the browser widget) on the
> > forum:
> > https://forums.livecode.com/viewtopic.php?f=120=37027
> >
> > It works ok but still not satisfied with transparency.
> > Maybe someone has a better idea on how to do that?
> >
> >
> >
> > groeten,
> >
> > William
> >
> >
> >
> >
> > Op do 28 apr. 2022 om 17:42 schreef William de Smet <
> williamdes...@gmail.com
> >> :
> >
> >> Thanks!
> >>
> >> I came up with sort of the same idea yesterday evening and I am
> >> tetsting it now.
> >> I load a local html file within the browser widget with circletype.js
> >> added to the html file.
> >>
> >> A native textfield (and some extra code) writes back into the html file
> >> and then I refresh the card.
> >> A snapshot gives me the curved text.
> >>
> >> There is also Arctext,js that I want to test.
> >>
> >> I will come back later with my result.
> >>
> >> groeten,
> >>
> >> William
> >>
> >>
> >>
> >>
> >> Op do 28 apr. 2022 om 17:24 schreef Ralph DiMola via use-livecode <
> >> use-livecode@lists.runrev.com>:
> >>
> >>> +1
> >>>
> >>> 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 Bob Sneidar via use-livecode
> >>> Sent: Thursday, April 28, 2022 11:18 AM
> >>> To: How to use LiveCode
> >>> Cc: Bob Sneidar
> >>> Subject: Re: Curved text possible?
> >>>
> >>> Great ideas Martin. I'm going to grant you an honorary doctorate from
> the
> >>> institute of Sly Laboratories.
> >>>
> >>> Bob S
> >>>
> >>>
> >>>> On Apr 28, 2022, at 08:10 , Martin Koob via use-livecode
> >>>  wrote:
> >>>>
> >>>> I was thinking that SVG might work as someone else has said.
> >>>>
> >>>> At first I thought you could create individual files for each letter
> and
> >>> number and put the path for a letter into a svg widget which you could
> >>> rotate or scale.
> >>>> you would then have to calculate the angle of rotation and location of
> >>> each svg widget on a path.   But then when I tried rotating the svg
> widget
> >>> its scale would change as it rotated because the bounds of the rect
> were
> >>> changing. Then you would have to calculate the scale depending on the
> >>> rotation angle and that seemed a bit much.
> >>>>
> >>>> I also thought you could import the svg file as an image and perhaps
> >>> that
> >>> would not have the odd behaviour when rotating.  I did not try that
> >>> though.
> >>>>
> >>>> Then I found this.
> >>>>
> >>>> https://css-tricks.com/snippets/svg/curved-text-along-path/
> >>> <https://css-tricks.com/snippets/svg/curved-text-along-path/>
> >>>>
> >>>> it shows how to use css to put text along a SVG path.  At the LiveCode
> >>> Dev
> >>> Con there were a few unconventional uses of the browser widget beyond
> >>> displaying webpages that add features that can add features that
> LiveCode
> >>> does not have natively.  So I thought maybe this is one of them.  So
> what
> >>> I
> >>> thought could be done is display the above in a browser widget or,  If
> you
> >>> did not want to show the browser widget, use the browser widget to
> render
> >>> the curved text, thentake a snapshot of the rendered text and then s

Re: Curved text possible?

2022-05-18 Thread William de Smet via use-livecode
Hi there,

I posted a curved text example (with use of the browser widget) on the
forum:
https://forums.livecode.com/viewtopic.php?f=120=37027

It works ok but still not satisfied with transparency.
Maybe someone has a better idea on how to do that?



groeten,

William




Op do 28 apr. 2022 om 17:42 schreef William de Smet :

> Thanks!
>
> I came up with sort of the same idea yesterday evening and I am
> tetsting it now.
> I load a local html file within the browser widget with circletype.js
> added to the html file.
>
> A native textfield (and some extra code) writes back into the html file
> and then I refresh the card.
> A snapshot gives me the curved text.
>
> There is also Arctext,js that I want to test.
>
> I will come back later with my result.
>
> groeten,
>
> William
>
>
>
>
> Op do 28 apr. 2022 om 17:24 schreef Ralph DiMola via use-livecode <
> use-livecode@lists.runrev.com>:
>
>> +1
>>
>> 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 Bob Sneidar via use-livecode
>> Sent: Thursday, April 28, 2022 11:18 AM
>> To: How to use LiveCode
>> Cc: Bob Sneidar
>> Subject: Re: Curved text possible?
>>
>> Great ideas Martin. I'm going to grant you an honorary doctorate from the
>> institute of Sly Laboratories.
>>
>> Bob S
>>
>>
>> > On Apr 28, 2022, at 08:10 , Martin Koob via use-livecode
>>  wrote:
>> >
>> > I was thinking that SVG might work as someone else has said.
>> >
>> > At first I thought you could create individual files for each letter and
>> number and put the path for a letter into a svg widget which you could
>> rotate or scale.
>> > you would then have to calculate the angle of rotation and location of
>> each svg widget on a path.   But then when I tried rotating the svg widget
>> its scale would change as it rotated because the bounds of the rect were
>> changing. Then you would have to calculate the scale depending on the
>> rotation angle and that seemed a bit much.
>> >
>> > I also thought you could import the svg file as an image and perhaps
>> that
>> would not have the odd behaviour when rotating.  I did not try that
>> though.
>> >
>> > Then I found this.
>> >
>> > https://css-tricks.com/snippets/svg/curved-text-along-path/
>> 
>> >
>> > it shows how to use css to put text along a SVG path.  At the LiveCode
>> Dev
>> Con there were a few unconventional uses of the browser widget beyond
>> displaying webpages that add features that can add features that LiveCode
>> does not have natively.  So I thought maybe this is one of them.  So what
>> I
>> thought could be done is display the above in a browser widget or,  If you
>> did not want to show the browser widget, use the browser widget to render
>> the curved text, thentake a snapshot of the rendered text and then show
>> that
>> in an image.
>> >
>> > Not sure if it will work but the sessions at the conference have really
>> got me thinking of new ways to leverage the technology in that widget.
>> >
>> > Martin Koob
>>
>>
>> ___
>> 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


LibKiosk by André Garzia

2022-05-12 Thread William de Smet via use-livecode
Hi there,

I found some information about LibKiosk André Garzia released 15 years ago.
Is there still a download available somewhere or is it deprecated now?


groeten,

William
___
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: Error: Unable to install app - Mac OS 11.5.2 , Xcode 13.2 (13C90), LC 9.6.7 en iOS 15.2

2022-05-09 Thread William de Smet via use-livecode
Hi there,

Thanks for answering my questions.
First off all I downloaded a newer version of Xcode 13.2.1 yesterday but
that didn't make a difference.
Then Jaque replied on the forum and suggested an issue with Apple
Intermediate Certificate: https://developer.apple.com/support/expiration/
After checking Apple Keychain I noticed that there were double entries and
one of them was not attached to apps.
So first I downloaded all 4 certificates as advised on the Apple developer
page.
Then I deleted the wrong entry in Keychain, restarted my Mac and now it
works again.

Happy days!



groeten,

William




Op zo 8 mei 2022 om 22:01 schreef panagiotis m via use-livecode <
use-livecode@lists.runrev.com>:

> Hello William,
>
> Could it be the case you have checked the "beta version" checkbox in the
> iOS standalone settings?
>
> Cheers,
> Panos
>
> On Sun, 8 May 2022, 17:12 Mark Smith via use-livecode, <
> use-livecode@lists.runrev.com> wrote:
>
> > Hi William,
> >
> > In the Standalone Application setting for iOS there are options to build
> > for “iPod and iPhone” or two options for building for iPad (“iPad” only
> and
> > “iPod, iPhone, iPad”). I was going to suggest checking those, but then,
> > just to be sure I rebuilt one of my own apps with “iPod and iPhone”
> > setting, and it installed and ran just fine on my iPad. I tried with both
> > the Test button in LC and installing the app with Xcode and in both cases
> > it worked ok, so that can’t be the problem. Do let us know if you track
> > down the cause.
> >
> > Cheers,
> > Mark
> >
> >
> > > On May 7, 2022, at 9:06 AM, William de Smet via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> > >
> > > Hi there,
> > >
> > > Mac OS 11.5.2 , Xcode 13.2 (13C90), LC 9.6.7 en iOS 15.2
> > > Yesterday I tried to put an app on my iPad 2020 with iOS 15.2 on it.
> > > Building the app is no problem and gives no error message on my Mac
> > > Putting the app with Xcode on my iPad however gives an error: Unable to
> > > Install App
> > >
> > > I checked the Provisioning Profile but the iPad is listed on it.
> > > I did know this because there are other apps on it.
> > > I did work before.
> > >
> > > Am I overseeing something?
> > >
> > > ,
> > >
> > > greetings,
> > >
> > > William
> > > ___
> > > 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


Error: Unable to install app - Mac OS 11.5.2 , Xcode 13.2 (13C90), LC 9.6.7 en iOS 15.2

2022-05-07 Thread William de Smet via use-livecode
Hi there,

Mac OS 11.5.2 , Xcode 13.2 (13C90), LC 9.6.7 en iOS 15.2
Yesterday I tried to put an app on my iPad 2020 with iOS 15.2 on it.
Building the app is no problem and gives no error message on my Mac
Putting the app with Xcode on my iPad however gives an error: Unable to
Install App

I checked the Provisioning Profile but the iPad is listed on it.
I did know this because there are other apps on it.
I did work before.

Am I overseeing something?

,

greetings,

William
___
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: Curved text possible?

2022-04-28 Thread William de Smet via use-livecode
Thanks!

I came up with sort of the same idea yesterday evening and I am tetsting it
now.
I load a local html file within the browser widget with circletype.js added
to the html file.

A native textfield (and some extra code) writes back into the html file and
then I refresh the card.
A snapshot gives me the curved text.

There is also Arctext,js that I want to test.

I will come back later with my result.

groeten,

William




Op do 28 apr. 2022 om 17:24 schreef Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com>:

> +1
>
> 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 Bob Sneidar via use-livecode
> Sent: Thursday, April 28, 2022 11:18 AM
> To: How to use LiveCode
> Cc: Bob Sneidar
> Subject: Re: Curved text possible?
>
> Great ideas Martin. I'm going to grant you an honorary doctorate from the
> institute of Sly Laboratories.
>
> Bob S
>
>
> > On Apr 28, 2022, at 08:10 , Martin Koob via use-livecode
>  wrote:
> >
> > I was thinking that SVG might work as someone else has said.
> >
> > At first I thought you could create individual files for each letter and
> number and put the path for a letter into a svg widget which you could
> rotate or scale.
> > you would then have to calculate the angle of rotation and location of
> each svg widget on a path.   But then when I tried rotating the svg widget
> its scale would change as it rotated because the bounds of the rect were
> changing. Then you would have to calculate the scale depending on the
> rotation angle and that seemed a bit much.
> >
> > I also thought you could import the svg file as an image and perhaps that
> would not have the odd behaviour when rotating.  I did not try that though.
> >
> > Then I found this.
> >
> > https://css-tricks.com/snippets/svg/curved-text-along-path/
> 
> >
> > it shows how to use css to put text along a SVG path.  At the LiveCode
> Dev
> Con there were a few unconventional uses of the browser widget beyond
> displaying webpages that add features that can add features that LiveCode
> does not have natively.  So I thought maybe this is one of them.  So what I
> thought could be done is display the above in a browser widget or,  If you
> did not want to show the browser widget, use the browser widget to render
> the curved text, thentake a snapshot of the rendered text and then show
> that
> in an image.
> >
> > Not sure if it will work but the sessions at the conference have really
> got me thinking of new ways to leverage the technology in that widget.
> >
> > Martin Koob
>
>
> ___
> 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: Curved text possible?

2022-04-27 Thread William de Smet via use-livecode
Hi Paul,

It will be an iOS app.


groeten,

William




Op wo 27 apr. 2022 om 17:45 schreef Paul Dupuis via use-livecode <
use-livecode@lists.runrev.com>:

> There is not a native way to do this in LiveCode.
>
> An approach might be to use the shell() function (see Dictionary) to
> pass the text to some external graphics utility that renders and image
> of it curved and then import the image back into Livecode. There may be
> other work-arounds.
>
> On 4/27/2022 11:12 AM, William de Smet via use-livecode wrote:
> > Hi There,
> >
> > I am in the need for curved text.
> > User input via a text field need to have a copied curved text output.
> > Is this even possible in Livecode?
> > I was thinking of text to the points of a path? Something like that?
> >
> >
> > Greetings William
> > ___
> > 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: Curved text possible?

2022-04-27 Thread William de Smet via use-livecode
Hi Craig,

The text will mostly be names at start (but could also be more words in the
future).
Draw with polyLines. Didn't think of that. A lot of coding I think.

Then I could also use SVG files to replace the text of the field.
Maybe easier to enlarge, rotate a bit and give another backgroundcolor?

The number of chars of fld "name" gives me the number of letters.
Is there a quick way to define which letter on which place in the name?




groeten,

William




Op wo 27 apr. 2022 om 17:21 schreef Craig Newman via use-livecode <
use-livecode@lists.runrev.com>:

> How large is this curved text?
>
> You could certainly create an entire alphabet with polyLines, and insert
> them as needed to replace a body of text. But if you need 12 point size,
> those graphics are going to be, er, difficult to do nicely.
>
> Craig
>
> > On Apr 27, 2022, at 11:12 AM, William de Smet via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi There,
> >
> > I am in the need for curved text.
> > User input via a text field need to have a copied curved text output.
> > Is this even possible in Livecode?
> > I was thinking of text to the points of a path? Something like that?
> >
> >
> > Greetings William
> > ___
> > 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


Curved text possible?

2022-04-27 Thread William de Smet via use-livecode
Hi There,

I am in the need for curved text.
User input via a text field need to have a copied curved text output.
Is this even possible in Livecode?
I was thinking of text to the points of a path? Something like that?


Greetings William
___
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: Is there a better way to check if images are the same? I now use imagedata

2021-12-29 Thread William de Smet via use-livecode
Thanks for the replies.
I just put it on the forum as well and attached an image with it to get a
better idea of what I want to do.
https://forums.livecode.com/viewtopic.php?f=8=36585

greetings,,

William




Op wo 29 dec. 2021 om 17:51 schreef William Prothero via use-livecode <
use-livecode@lists.runrev.com>:

> William,
> My basic suggestion is that you use the location data of each connected
> dot, rather than the image data.
> Good luck,
> Bill P
>
> Sent from my iPad
>
> > On Dec 29, 2021, at 8:42 AM, William Prothero via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > William,
> > I understand that you want to see if the dots that are connected in one
> path are also connected in another path which may have them connected in a
> different order. Seems you could just loop through each dot in the
> reference path, then see if the same dots are included in the user’s path.
> You would need to include a name for each reference point, of course.
> That’s if I understand your problem correctly.
> >
> > Bill
> >
> >
> > Sent from my iPad
> >
> >> On Dec 29, 2021, at 1:58 AM, William de Smet via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>
> >> Hi there,
> >>
> >> Is there a better way to check if images are the same?
> >> I now use imagadata.
> >>
> >> In my app I have an example drawn image (5x5 matrix with dots, a
> Geoboard).
> >> These dots are important because by touching them their Loc is used
> >> (gStartLoc and gStartLoc)
> >> Two dots will be connected by setting the points of the last grc to
> >> gStartLoc & return & gStartLoc.
> >> No problem here.
> >>
> >> The idea is that the user copies my example on their matrix/geoboard by
> >> connecting the dots.
> >> To check if the made images (geoboards) are the same I make a snapshot
> of
> >> both and compare the imagadata of these images.
> >> Everything is fine as long as the user connects the same dots as the way
> >> (length between dots) it is done in the example.
> >> Then the imagadat is the same.
> >>
> >> The geoboards can look the same but the connected dots can be different
> in
> >> length so use imagadata to compare these is not the way to get it right.
> >>
> >> Any ideas for a better way?
> >>
> >>
> >>
> >> greetings,
> >>
> >> William
> >> ___
> >> 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


Is there a better way to check if images are the same? I now use imagedata

2021-12-29 Thread William de Smet via use-livecode
Hi there,

Is there a better way to check if images are the same?
I now use imagadata.

In my app I have an example drawn image (5x5 matrix with dots, a Geoboard).
These dots are important because by touching them their Loc is used
(gStartLoc and gStartLoc)
Two dots will be connected by setting the points of the last grc to
gStartLoc & return & gStartLoc.
No problem here.

The idea is that the user copies my example on their matrix/geoboard by
connecting the dots.
To check if the made images (geoboards) are the same I make a snapshot of
both and compare the imagadata of these images.
Everything is fine as long as the user connects the same dots as the way
(length between dots) it is done in the example.
Then the imagadat is the same.

The geoboards can look the same but the connected dots can be different in
length so use imagadata to compare these is not the way to get it right.

Any ideas for a better way?



greetings,

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


Strange thing: older App Store app fullscreen shown on iOS 15.2

2021-12-24 Thread William de Smet via use-livecode
Hi there,

I got a new iPad 2021 with iOS 15.2 (10.2 inch) and downloaded some of my
own older apps on it from the App Store.
These apps have been there for several years and the last update was from
2019.
I noticed that these apps are shown fullscreen and that is strange because
none of these apps contain fullscreen scripting.
They were all made for the 9.7 inch iPads.

When I put a test app on it with LC 9.9.6 and Xcode13.2  the app is not
shown full screen.

Is this Apple and iOS 15?
Does iOS 15 show apps from the App Store fullscreen?



greetings,

William
___
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: [ANN] Release 10.0.0 DP-1

2021-11-23 Thread William de Smet via use-livecode
Been playing all day with LC 10 DP-1 and mostly testing Web/html5 and I can
confirm Firefox is also the fastest in WASM on a remote webserver.
Safari is the slowest. Most people I know use the Chrome browser however.
On Chrome OS speed varies depending on the state of the Chromebook (age).


Op di 23 nov. 2021 om 14:14 schreef Andre Garzia via use-livecode <
use-livecode@lists.runrev.com>:

> Brave, Edge, and Chrome are all using the same engine. They should perform
> the same. IIRC Firefox still has the best WASM performance, mostly because
> it was invented there and they had more time to optimize.
>
> That the way the web browsers works is that "they really hate opening local
> HTML files with file:// protocol". Opening a file like that will switch on
> a lot of protection in the browser and restrict many APIs. The correct way
> to test WASM files is by running a local web server and opening it using
> HTTPS (or HTTP if you must).
>
> Be aware that the most important change regarding performance between WASM
> and the previous ASM.JS based engine will not be visible when running a
> local server. To load an ASM.JS based webapp, the browser needs to fetch
> all the files before loading them into memory and parsing them. The new
> WASM technology allows a browser to load the files while the transfer still
> happening. It is a streaming kind of tech. This means that besides all the
> other benefits, you don't need to deal with the latency of waiting for
> transfers to complete before the app starts to load. When running locally,
> the transfer is so fast that you can see this benefit, but try placing
> those files in a remote server and the difference should be night and day,
> specially for really large builds.
>
> On Tue, 23 Nov 2021 at 09:34, Bernard Devlin via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Thanks Panos. That kind of works. It always opens in the default browser
> > i.e. trying to select another browser as the test target has no effect.
> Is
> > this a known bug?
> >
> > From test/save with browser closed (compile to standalone, then let IDE
> > launch browser):
> > Load time LC 10 - 5 secs
> > Load time LC 9.6.1 - 7 secs
> >
> > Loading same saved stack with browser already open (re-using URL):
> > Load time LC 10 - 2 secs
> > Load time LC 9.6.1 - 5 secs
> >
> > I tested with both Brave and Edge, but couldn't detect any difference in
> > load speed between them.
> >
> > These tests were just wall clock time.
> >
> > On Mon, Nov 22, 2021 at 3:48 PM panagiotis m via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > Hello Bernard,
> > >
> > > Trying to open the local html file will fail due to CORS - Firefox may
> or
> > > may not work - I think it needs some tweaks, and not sure if this is
> > still
> > > possible in the latest versions. We probably need to update this
> lesson.
> > >
> > > The correct way to test is to use the Development -> Test Target ->
> >  > > your browser> and then Development -> Test
> > >
> > > Hope this helps.
> > >
> > > Panos
> > > --
> > >
> > >
> > ___
> > 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
> >
>
>
> --
> https://www.andregarzia.com 
> Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia
> ___
> 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: How do I change the textcolor of the selected text in a native iOS field?

2021-04-14 Thread William de Smet via use-livecode
Thanks for pointing me to "selectedRange".

put mobileControlGet ("field1", "selectedRange") into myTest
-- answer myTest  //gives range 1,5
mobileControlSet "field1", "textColor", "255,0,0"

This doesn't work because all text will be colored and not just the
selectedRange.


greetings,

William




Op di 13 apr. 2021 om 21:11 schreef J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com>:

> On 4/13/21 6:15 AM, William de Smet via use-livecode wrote:
> > Hi there,
> >
> > How do I get the selectedText of a native iOS field?
> > I want to change the color of the text selection in the field.
>
> I think you want "selectedRange" which returns the start index and the
> length of the text
> selected. Judging from the dictionary it looks like it only works on
> multiline fields.
>
>
> --
> 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


How do I change the textcolor of the selected text in a native iOS field?

2021-04-13 Thread William de Smet via use-livecode
Hi there,

How do I get the selectedText of a native iOS field?
I want to change the color of the text selection in the field.

How do I adapt this code I made? (this obviously only returns the first
char of the text in red)

-
on changeColor
mobileControlDo "field1", "focus", true
put mobileControlGet ("field1", "text") into tText
put char 1 of tText into tColor
mobileControlSet "field1" , "text", "" & tColor
mobileControlSet "field1", "textcolor", "255,0,0"
on changeColor


greetings,

William
___
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: XCode 12.4 not working with LiveCode

2021-03-23 Thread William de Smet via use-livecode
Hi André,

I use xcode 12.1 with LC 9.6.2 (rc 3)

Greetings,

William

> Op 23 mrt. 2021 om 10:52 heeft Andre Garzia via use-livecode 
>  het volgende geschreven:
> 
> Hi Folks,
> 
> I have XCode 12.4 here and I don't seem to be able to select it on the
> LiveCode preferences. It complains about not having the iOS SDK needed but
> I think it does, or at least it has the correct simulators.
> 
> Anyone have any clue how to make it work? I'm not running a beta version or
> anything, this is just the current released version.
> 
> Best
> A
> 
> -- 
> https://www.andregarzia.com 
> Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia
> ___
> 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


What is the easiest way to add another snapshot from the same rect to the same PDF file?

2021-03-22 Thread William de Smet via use-livecode
Hi there,

In an existing iOS app I do this:
---
export snapshot from grc "printmarge" to tPDF as PNG
put specialFolderPath("documents") & "/file.pdf"  into tFilePath
set the printPaperOrientation to "portrait"
set the printMargins to 36,72,36,72
open printing to PDF tFilePath
print this cd from 61,207 to 961,542
close printing


What is the easiest and fastest way to add another snapshot from the same
rect to the same PDF file?


greetings,

William
___
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 do I change the icon after sound is ready?

2021-03-18 Thread William de Smet via use-livecode
Hi there,

How do I change the icon back to "play" after the played sound is ready in
my script below?

if the iconPath of widget "dummy" is the iconPath of widget "play"
then
set the iconPath of widget "dummy" to the iconPath of widget "pause"
play specialFolderPath("documents") & slash & "recording1.wav"
else
set the iconPath of widget "dummy" to the iconPath of widget "play"
play empty
end if


Any suggestions are welcome.


greetings,

William
___
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: How to share a recorded sound on iOS?

2021-03-18 Thread William de Smet via use-livecode
Hi Matthias,

What I tried with mergPopActivity was a little different and it didn't work:
put specialfolderpath("documents") & "/" & "recording1.wav" into tPath

Now it does.
Thanks!



greetings,

William




Op do 18 mrt. 2021 om 00:27 schreef matthias rebbe via use-livecode <
use-livecode@lists.runrev.com>:

> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
>
> > Am 18.03.2021 um 00:00 schrieb William de Smet via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > Hi Matthias,
> >
> > Yes I want something like the standard share sheet on iOS.
> > And for instance I want to share the .WAV file with Apple Messages.
> >
> Now i understand.
>
> > Do I need to associate the .WAV file with other apps?
> > Then I have to use custom URL schemes, I think.
> > Is that what you mean?
> >
> The custom url scheme settings in the standalone builder is for the ios
> app itself, not for other apps on the iOS device.
>
> I just did a short test with mergPopActivity. I am able to send/share the
> .caf file located in the documents folder with Telegram, Signal and other
> apps installed on my iPhone, but not with messages.
>
> But i was able  to copy the file to the clipboard using mergPopActivity
> and then to paste it into Messages.
>
> Seems Messages does not support the .caf file type.
>
> I used this code for my test
>mergPopActivity "Share with...","" ,"file:" documents folder
> &"/output.caf"
>
>
>
> >
> > greetings,
> >
> > William
> >
> >
> >
> >
> > Op wo 17 mrt. 2021 om 23:29 schreef matthias rebbe via use-livecode <
> > use-livecode@lists.runrev.com>:
> >
> >>
> >> Sorry, i do not get it.
> >> You want to record it on the iOS device and then you want to have access
> >> to it with an other app on the same iOS device?
> >> So the question is with what or whom do you want to share the
> recordings?
> >>
> >>
> >>> Am 17.03.2021 um 23:21 schrieb William de Smet via use-livecode <
> >> use-livecode@lists.runrev.com>:
> >>>
> >>> Hi Matthias,
> >>>
> >>> With sharing I mean like the iOS share sheet.
> >>> A bit like using the mergPop with mergPopActivity but then with .WAV
> >> files.
> >>>
> >>> I got it working with 'mobileComposeMail (with an attachment)' but in
> >> this
> >>> way you need to have an actived mailacoount on your iOS device.
> >>> And mailaccounts are not present on the iOS devices that will be used.
> >>>
> >>>
> >>>
> >>> greetings,
> >>>
> >>> William
> >>>
> >>>
> >>>
> >>>
> >>> Op wo 17 mrt. 2021 om 23:05 schreef matthias rebbe via use-livecode <
> >>> use-livecode@lists.runrev.com>:
> >>>
> >>>> William,
> >>>>
> >>>> what do you mean with sharing?
> >>>>
> >>>> Do you want to connect your iOS device to iTunes on Win/Mac and want
> to
> >>>> get access to that recorded files in iTunes?
> >>>> If that's the case, then go to the Standalone Settings for your iOS
> >> stack,
> >>>> switch to Requirements and check the "File Sharing" option.
> >>>> This should allow iTunes to get access to the documents folder.
> >>>>
> >>>> If this is not what you want to do, then please explain it a little
> bit
> >>>> more.
> >>>>
> >>>>
> >>>>
> >>>> -
> >>>> Matthias Rebbe
> >>>> Life Is Too Short For Boring Code
> >>>>
> >>>>> Am 17.03.2021 um 19:51 schrieb William de Smet via use-livecode <
> >>>> use-livecode@lists.runrev.com>:
> >>>>>
> >>>>> Hi there,
> >>>>>
> >>>>> I am developing a simple stack to record sounds with mergMicrophone.
> >>>>> Is there a way to share the recorded sounds which are located in
> >>>>> specialFolderPath("documents")?
> >>>>>
> >>>>>
> >>>>> Greetings,
> >>>>>
> >>>>> William
> >>>>> ___
> >>>>> use-livecode mailing list
> >>>>> use-l

Re: How to share a recorded sound on iOS?

2021-03-17 Thread William de Smet via use-livecode
Hi Matthias,

Yes I want something like the standard share sheet on iOS.
And for instance I want to share the .WAV file with Apple Messages.

Do I need to associate the .WAV file with other apps?
Then I have to use custom URL schemes, I think.
Is that what you mean?


greetings,

William




Op wo 17 mrt. 2021 om 23:29 schreef matthias rebbe via use-livecode <
use-livecode@lists.runrev.com>:

>
> Sorry, i do not get it.
> You want to record it on the iOS device and then you want to have access
> to it with an other app on the same iOS device?
> So the question is with what or whom do you want to share the recordings?
>
>
> > Am 17.03.2021 um 23:21 schrieb William de Smet via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > Hi Matthias,
> >
> > With sharing I mean like the iOS share sheet.
> > A bit like using the mergPop with mergPopActivity but then with .WAV
> files.
> >
> > I got it working with 'mobileComposeMail (with an attachment)' but in
> this
> > way you need to have an actived mailacoount on your iOS device.
> > And mailaccounts are not present on the iOS devices that will be used.
> >
> >
> >
> > greetings,
> >
> > William
> >
> >
> >
> >
> > Op wo 17 mrt. 2021 om 23:05 schreef matthias rebbe via use-livecode <
> > use-livecode@lists.runrev.com>:
> >
> >> William,
> >>
> >> what do you mean with sharing?
> >>
> >> Do you want to connect your iOS device to iTunes on Win/Mac and want to
> >> get access to that recorded files in iTunes?
> >> If that's the case, then go to the Standalone Settings for your iOS
> stack,
> >> switch to Requirements and check the "File Sharing" option.
> >> This should allow iTunes to get access to the documents folder.
> >>
> >> If this is not what you want to do, then please explain it a little bit
> >> more.
> >>
> >>
> >>
> >> -
> >> Matthias Rebbe
> >> Life Is Too Short For Boring Code
> >>
> >>> Am 17.03.2021 um 19:51 schrieb William de Smet via use-livecode <
> >> use-livecode@lists.runrev.com>:
> >>>
> >>> Hi there,
> >>>
> >>> I am developing a simple stack to record sounds with mergMicrophone.
> >>> Is there a way to share the recorded sounds which are located in
> >>> specialFolderPath("documents")?
> >>>
> >>>
> >>> Greetings,
> >>>
> >>> William
> >>> ___
> >>> 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


Re: How to share a recorded sound on iOS?

2021-03-17 Thread William de Smet via use-livecode
Hi Matthias,

With sharing I mean like the iOS share sheet.
A bit like using the mergPop with mergPopActivity but then with .WAV files.

I got it working with 'mobileComposeMail (with an attachment)' but in this
way you need to have an actived mailacoount on your iOS device.
And mailaccounts are not present on the iOS devices that will be used.



greetings,

William




Op wo 17 mrt. 2021 om 23:05 schreef matthias rebbe via use-livecode <
use-livecode@lists.runrev.com>:

> William,
>
> what do you mean with sharing?
>
> Do you want to connect your iOS device to iTunes on Win/Mac and want to
> get access to that recorded files in iTunes?
> If that's the case, then go to the Standalone Settings for your iOS stack,
> switch to Requirements and check the "File Sharing" option.
> This should allow iTunes to get access to the documents folder.
>
> If this is not what you want to do, then please explain it a little bit
> more.
>
>
>
> -
> Matthias Rebbe
> Life Is Too Short For Boring Code
>
> > Am 17.03.2021 um 19:51 schrieb William de Smet via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > Hi there,
> >
> > I am developing a simple stack to record sounds with mergMicrophone.
> > Is there a way to share the recorded sounds which are located in
> > specialFolderPath("documents")?
> >
> >
> > Greetings,
> >
> > William
> > ___
> > 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 share a recorded sound on iOS?

2021-03-17 Thread William de Smet via use-livecode
Hi there,

I am developing a simple stack to record sounds with mergMicrophone.
Is there a way to share the recorded sounds which are located in
specialFolderPath("documents")?


Greetings,

William
___
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: Considering work with livecode server

2021-01-19 Thread William de Smet via use-livecode
WebAssembly is on the roadmap.
https://livecode.com/resources/roadmap/



> Op 19 jan. 2021 om 20:43 heeft William Prothero via use-livecode 
>  het volgende geschreven:
> 
> Dan:
> I just did a bit of Googling and wow! It sounds like a capability to compile 
> to WebAssembly would put LiveCode in the big time. I wonder if there is any 
> interest from the dev team. Sounds much more useful than HTML5.
> 
> Best,
> Bill
> 
>> On Jan 19, 2021, at 11:13 AM, Dan Brown  wrote:
>> 
>> When livecode supports WebAssembly as a build target you'll be able to do 
>> what you've asked
>> 
>> On Tue, 19 Jan 2021, 20:46 William Prothero via use-livecode, 
>> mailto:use-livecode@lists.runrev.com>> wrote:
>> Thanks, all, for your comments. It would sure be nice if there was some 
>> equivalent to shockwave, back in the days. Of course, downloadable plug-ins 
>> like shockwave and flash apparently have too many security issues and are 
>> not allowed anymore. 
>> 
>> HTML5 eventually? I assume HTML5 apps would run in a browser.
>> 
>> Thanks again,
>> Bill
>> 
 On Jan 19, 2021, at 8:57 AM, Bob Sneidar via use-livecode 
 mailto:use-livecode@lists.runrev.com>> 
 wrote:
>>> 
>>> If only!
>>> 
>>> Bob S
>>> 
>>> 
 On Jan 19, 2021, at 5:56 AM, Andre Garzia via use-livecode 
 >>> >> wrote:
>>> 
>>> A website from 1995
>>> needs to be just as valid to the browser as one from 2021.
>>> 
>>> ___
>>> 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 
>>> 
>> 
>> William A. Prothero
>> https://earthlearningsolutions.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 
>> 
> 
> William A. Prothero
> https://earthlearningsolutions.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
___
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: Printing a com.livecode.widget.browser

2020-12-10 Thread William de Smet via use-livecode
Hi Terry,

Can you use lockscreen?



Greetings

William




Op do 10 dec. 2020 om 10:15 schreef Terence Heaford via use-livecode <
use-livecode@lists.runrev.com>:

> Clearly you can’t print a card that contains a browser widget as livecode
> is unable to do this.
>
> I don’t understand why because Safari can and I believe they are both
> based on webkit.
>
> Anyway I have come up with a semi acceptable workflow that involves.
>
> 1. Exporting a screenshot of the screen with the widget into a variable.
>
> 2. Pasting via script into a LC image object.
>
> 3. Then print the portion of the card containing the image.
>
> The problem is this.
>
> I have both the image and widget on the same card and hide the widget when
> I want to print the image and vice versa when going back to the widget.
>
> There is a noticeable flash when hiding and showing the objects.
>
> I am looking for ideas as to how I can minimise this flash or camouflage
>   it for the user.
>
>
> Thanks
>
> Terry
> ___
> 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: How do I shorten this script? Use 'repeat with'?

2020-11-12 Thread William de Smet via use-livecode
I added 'the name of grc "k1" to the script and now it works.
Thanks!

set the loc of grc "k1" to cardWidth/2,cardHeight/2
put the name of grc "k1" into tPrevious
repeat with x = 2 to 5
put "k" & x into tName
set the topleft of grc tName to (item 1 of topright of grc tPrevious -1,
item 2 of topright of grc tPrevious)
put tName into tPrevious
end repeat


greetings,

William




Op do 12 nov. 2020 om 15:14 schreef William de Smet :

> Yes, two variables must be the way!
>
> Your suggestion however throws an error (no such object).
>
> greetings,
>
> William
>
>
>
>
>
> Op do 12 nov. 2020 om 14:57 schreef :
>
>> You could use two variables like tName and tPrevious
>>
>> set the loc of grc "k1" to cardWidth/2,cardHeight/2
>> put ”k1” into tPrevious
>> repeat with i = 2 to 5
>>put ”k” & i into tName
>>set the topleft of grc tName to the topright of grc tPrevious
>>    put tName into tPrevious
>> end repeat
>>
>> Coding out of my head so reserve for mistakes!
>>
>> :-Håkan
>> On 12 Nov 2020, 14:50 +0100, William de Smet via use-livecode <
>> use-livecode@lists.runrev.com>, wrote:
>>
>> Hi there,
>>
>> Another question today.
>> How do I shorten this script?
>> 
>> set the loc of grc "k1" to cardWidth/2,cardHeight/2
>> set the topleft of grc "k2" to (item 1 of topright of grc "k1" -1, item 2
>> of topright of grc "k1")
>> set the topleft of grc "k3" to (item 1 of topright of grc "k2" -1, item 2
>> of topright of grc "k2")
>> set the topleft of grc "k4" to (item 1 of topright of grc "k3" -1, item 2
>> of topright of grc "k3")
>> set the topleft of grc "k5" to (item 1 of topright of grc "k4" -1, item 2
>> of topright of grc "k4")
>> 
>>
>> I know I should use 'repeat with' but I am stuck.
>> repeat with x = 2 to 4
>> put "k" & x into tName
>> set the topleft of grc tName to (item 1 of topright of. grc? ,
>> item
>> 2 of topright of grc ...?)
>> end repeat
>>
>>
>> Any help is appreciated!
>>
>>
>>
>> greetings,
>>
>> William
>> ___
>> 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: How do I shorten this script? Use 'repeat with'?

2020-11-12 Thread William de Smet via use-livecode
Yes, two variables must be the way!

Your suggestion however throws an error (no such object).

greetings,

William





Op do 12 nov. 2020 om 14:57 schreef :

> You could use two variables like tName and tPrevious
>
> set the loc of grc "k1" to cardWidth/2,cardHeight/2
> put ”k1” into tPrevious
> repeat with i = 2 to 5
>put ”k” & i into tName
>set the topleft of grc tName to the topright of grc tPrevious
>put tName into tPrevious
> end repeat
>
> Coding out of my head so reserve for mistakes!
>
> :-Håkan
> On 12 Nov 2020, 14:50 +0100, William de Smet via use-livecode <
> use-livecode@lists.runrev.com>, wrote:
>
> Hi there,
>
> Another question today.
> How do I shorten this script?
> 
> set the loc of grc "k1" to cardWidth/2,cardHeight/2
> set the topleft of grc "k2" to (item 1 of topright of grc "k1" -1, item 2
> of topright of grc "k1")
> set the topleft of grc "k3" to (item 1 of topright of grc "k2" -1, item 2
> of topright of grc "k2")
> set the topleft of grc "k4" to (item 1 of topright of grc "k3" -1, item 2
> of topright of grc "k3")
> set the topleft of grc "k5" to (item 1 of topright of grc "k4" -1, item 2
> of topright of grc "k4")
> 
>
> I know I should use 'repeat with' but I am stuck.
> repeat with x = 2 to 4
> put "k" & x into tName
> set the topleft of grc tName to (item 1 of topright of. grc? , item
> 2 of topright of grc ...?)
> end repeat
>
>
> Any help is appreciated!
>
>
>
> greetings,
>
> William
> ___
> 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 do I shorten this script? Use 'repeat with'?

2020-11-12 Thread William de Smet via use-livecode
Hi there,

Another question today.
How do I shorten this script?

set the loc of grc "k1" to cardWidth/2,cardHeight/2
set the topleft of grc "k2" to (item 1 of topright of grc "k1" -1, item 2
of topright of grc "k1")
set the topleft of grc "k3" to (item 1 of topright of grc "k2" -1, item 2
of topright of grc "k2")
set the topleft of grc "k4" to (item 1 of topright of grc "k3" -1, item 2
of topright of grc "k3")
set the topleft of grc "k5" to (item 1 of topright of grc "k4" -1, item 2
of topright of grc "k4")


I know I should use 'repeat with' but I am stuck.
repeat with x = 2 to 4
put "k" & x into tName
set the topleft of grc tName to (item 1 of topright of. grc? , item
2 of topright of grc ...?)
end repeat


Any help is appreciated!



greetings,

William
___
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: Best way to add an image to an oval graphic?

2020-11-12 Thread William de Smet via use-livecode
Thanks all for directing me into a different approach!

greetings,

William




Op wo 11 nov. 2020 om 19:19 schreef Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com>:

> Using the backgroundPattern seems intuitive, but read the fine print:
> image dimensions have very specific requirements, and not heeding those
> can yield unpredictable results.
>
> Earlier this year I had a project that used backgroundPattern as a way
> to use the graphic shape to mask an image.  It worked well in most
> circumstances, with a satisfying range of images sizes - until it didn't.
>
> We eventually found some images that would render at a fraction of
> actual size, tiling across.
>
> I had to ditch it and find another approach, which led to the thread
> here a few months ago about keyhole effect.
>
> The result of that is you can use a graphic placed on top of an image as
> a mark, with the graphic's backgroundColor set to black and the ink set
> to blendDstIn.
>
> That combo will give you a lot of flexibility for centering and even
> resizing your masking graphic over the image.
>
> --
>   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: Best way to add an image to an oval graphic?

2020-11-11 Thread William de Smet via use-livecode
Hi Graig,

I think I understand it a bit better now.
The image I used has different dimensions than the graphic oval.
See screenshot: https://ibb.co/0tXkLHy

I could scale the image down to the same size (width) as the oval graphic
but then I don;t get the center of the image.
Because it is a pattern?
Is it possible to get the center of the image in the oval graphic?

LC 9.6.1



greetings,


William




Op wo 11 nov. 2020 om 15:51 schreef Craig newman via use-livecode <
use-livecode@lists.runrev.com>:

> Hi.
>
> I made an oval graphic and set the backGroundPattern to the ID of a random
> image I imported to the card. It filled the grc perfectly. Do you have a
> screenshot of what you are seeing?
>
> Craig
>
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
> Behalf
> Of William de Smet via use-livecode
> Sent: Wednesday, November 11, 2020 6:38 AM
> To: How to use LiveCode 
> Cc: William de Smet 
> Subject: Best way to add an image to an oval graphic?
>
> Hi there,
>
> When I set the BackgroundPattern of an graphic oval to the image ID, the
> image is not centered inside the oval graphic.
> What is a better way to add an image to a graphic oval (and center it?
>
>
> greetings,
>
> William
> ___
> 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


Best way to add an image to an oval graphic?

2020-11-11 Thread William de Smet via use-livecode
Hi there,

When I set the BackgroundPattern of an graphic oval to the image ID, the
image is not centered inside the oval graphic.
What is a better way to add an image to a graphic oval (and center it?


greetings,

William
___
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: How to divide card with/in 3 vertical lines?

2020-10-28 Thread William de Smet via use-livecode
Thanks all,

The use of 1. or (cardWidth/4)*3 did it!


Greetings,

William




Op wo 28 okt. 2020 om 21:28 schreef Brian Milby via use-livecode <
use-livecode@lists.runrev.com>:

> Need to either use 1. or for exact (in this case) (cardWidth/4)*3
>
> Sent from my iPhone
>
> > On Oct 28, 2020, at 4:16 PM, William de Smet via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi Scott,
> >
> > Line 3 should be at loc 768,384 but is now at loc 770,384 (stack
> 1024x768).
> > This is because 'cardWidth/1.33' is not precise enough?
> >
> > Greetings,
> >
> > William
> >
> >
> >
> >
> > Op wo 28 okt. 2020 om 20:54 schreef scott--- via use-livecode <
> > use-livecode@lists.runrev.com>:
> >
> >> When you say "almost perfect but not quite” what exactly are you
> meaning?
> >>
> >> —Scott
> >>
> >>> On Oct 28, 2020, at 11:04 AM, William de Smet via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>>
> >>> Hi there,
> >>>
> >>> I need 3 vertical lines in my iOS app with equal distance and from top
> to
> >>> bottom.
> >>> So I use the script below. It is almost perfect but not quite.
> >>> Is there a better way to do this?
> >>> --
> >>> *s*et the loc of grc "line1" to cardWidth/4, cardHeight/2
> >>> set the loc of grc "line2" to cardWidth/2, cardHeight/2
> >>> set the loc of grc "line3" to cardWidth/1.33, cardHeight/2
> >>>
> >>> set the height of grc "line1" to cardHeight
> >>> set the height of grc "line2" to cardHeight
> >>> set the height of grc "line3" to cardHeight
> >>> --
> >>>
> >>> greetings,
> >>>
> >>> William
> >>> ___
> >>> 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


Re: How to divide card with/in 3 vertical lines?

2020-10-28 Thread William de Smet via use-livecode
Hi Scott,

Line 3 should be at loc 768,384 but is now at loc 770,384 (stack 1024x768).
This is because 'cardWidth/1.33' is not precise enough?

Greetings,

William




Op wo 28 okt. 2020 om 20:54 schreef scott--- via use-livecode <
use-livecode@lists.runrev.com>:

> When you say "almost perfect but not quite” what exactly are you meaning?
>
> —Scott
>
> > On Oct 28, 2020, at 11:04 AM, William de Smet via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi there,
> >
> > I need 3 vertical lines in my iOS app with equal distance and from top to
> > bottom.
> > So I use the script below. It is almost perfect but not quite.
> > Is there a better way to do this?
> > --
> > *s*et the loc of grc "line1" to cardWidth/4, cardHeight/2
> > set the loc of grc "line2" to cardWidth/2, cardHeight/2
> > set the loc of grc "line3" to cardWidth/1.33, cardHeight/2
> >
> > set the height of grc "line1" to cardHeight
> > set the height of grc "line2" to cardHeight
> > set the height of grc "line3" to cardHeight
> > --
> >
> > greetings,
> >
> > William
> > ___
> > 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 divide card with/in 3 vertical lines?

2020-10-28 Thread William de Smet via use-livecode
Hi there,

I need 3 vertical lines in my iOS app with equal distance and from top to
bottom.
So I use the script below. It is almost perfect but not quite.
Is there a better way to do this?
--
*s*et the loc of grc "line1" to cardWidth/4, cardHeight/2
set the loc of grc "line2" to cardWidth/2, cardHeight/2
set the loc of grc "line3" to cardWidth/1.33, cardHeight/2

set the height of grc "line1" to cardHeight
set the height of grc "line2" to cardHeight
set the height of grc "line3" to cardHeight
--

greetings,

William
___
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: iOS Emoji keyboard does not print to PDF?!

2020-10-26 Thread William de Smet via use-livecode
Thanks for answering Scott!
Not a big issue for me at the moment.

Greetings,

William


Op ma 26 okt. 2020 om 03:57 schreef scott--- via use-livecode <
use-livecode@lists.runrev.com>:

> I think that emojis not rendering to PDF has been a longstanding issue…
> and I thought that I had filed a bug report on this but looking at
> bugzilla, I failed to find it. (sigh). I have code in two of my apps that
> alert the user, should PDF creation fail, that they should remove emojis
> from their text.  I have on my to-do list a workaround project that would
> use imageSource to substitute for known emoji codes. So, while none of this
> is of any help, I feel your pain :- )
>
> --
> Scott Morrow
>
> Elementary Software
> (Now with 20% less chalk dust!)
> web   https://elementarysoftware.com/
> email sc...@elementarysoftware.com
> booth1-360-734-4701
> --------------
>
> > On Oct 25, 2020, at 2:34 PM, William de Smet via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi Richmond,
> >
> > That’s the short version of the code.
> > Like I said it works fine as long as it is text only. When an Emoji from
> the iOS keyboard is added the Emoji is not printed in the PDF.
> >
> >
> >
> >
> >
> >
> >> Op 25 okt. 2020 om 21:13 heeft Richmond via use-livecode <
> use-livecode@lists.runrev.com> het volgende geschreven:
> >>
> >> " 'export snapshot' to PDF as PNG" sounds a bit odd.
> >>
> >>> On 25.10.20 21:47, William de Smet via use-livecode wrote:
> >>> Hi there,
> >>>
> >>> A simple iOS app in which the user chooses the iOS keyboard to add
> text and
> >>> an Emoji to a standard LC text field.
> >>> I use 'export snapshot' to PDF as PNG to print to PDF.
> >>> When there is only text in the field all text is printed to the PDF but
> >>> when an Emoji is added the Emoji is not printed to the PDF.
> >>> Am I missing something?
> >>> Do I need to add some code?
> >>>
> >>> iOS 13
> >>> LC 9,6,1 Indy
> >>>
> >>>
> >>> greetings,
> >>>
> >>> William
> >>> ___
> >>> 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: iOS Emoji keyboard does not print to PDF?!

2020-10-25 Thread William de Smet via use-livecode
Hi Richmond,

That’s the short version of the code.
Like I said it works fine as long as it is text only. When an Emoji from the 
iOS keyboard is added the Emoji is not printed in the PDF. 






> Op 25 okt. 2020 om 21:13 heeft Richmond via use-livecode 
>  het volgende geschreven:
> 
> " 'export snapshot' to PDF as PNG" sounds a bit odd.
> 
>> On 25.10.20 21:47, William de Smet via use-livecode wrote:
>> Hi there,
>> 
>> A simple iOS app in which the user chooses the iOS keyboard to add text and
>> an Emoji to a standard LC text field.
>> I use 'export snapshot' to PDF as PNG to print to PDF.
>> When there is only text in the field all text is printed to the PDF but
>> when an Emoji is added the Emoji is not printed to the PDF.
>> Am I missing something?
>> Do I need to add some code?
>> 
>> iOS 13
>> LC 9,6,1 Indy
>> 
>> 
>> greetings,
>> 
>> William
>> ___
>> 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


iOS Emoji keyboard does not print to PDF?!

2020-10-25 Thread William de Smet via use-livecode
Hi there,

A simple iOS app in which the user chooses the iOS keyboard to add text and
an Emoji to a standard LC text field.
I use 'export snapshot' to PDF as PNG to print to PDF.
When there is only text in the field all text is printed to the PDF but
when an Emoji is added the Emoji is not printed to the PDF.
Am I missing something?
Do I need to add some code?

iOS 13
LC 9,6,1 Indy


greetings,

William
___
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: Chromebook apps?

2020-06-22 Thread William de Smet via use-livecode
I am a longtime user of Chromebooks in education and most 'cheap'
Chromebooks' come with only 4 GB RAM.
The Chrome browser itself uses a lot of RAM already and my experience with
Android apps on Chromebooks is that they are slow (lack of available RAM)
or sometimes not fully functional/compatible.


greetings,

William




Op ma 22 jun. 2020 om 20:53 schreef Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com>:

> William Prothero wrote:
>
>  > Probably HTML5 would be better, ultimately. But, I look at the HTML5
>  > postings, limitations, and quirks and it would most likely require me
>  > to become an expert in javascript and various server technologies that
>  > put me over the interest level that would be required.
>
> If your app doesn't depend on server tech beyond downloading, a web app
> wouldn't either.
>
> That said, I hear you on this:
>
>  > I’m fine with programming in livecode, but I don’t think the payoff
>  > for me to get into HTML5 is worth what I would get out of it. My
>  > programming is a combination of personal apps that I can use (like
>  > managing my 6 water meters and fruit tree drip system) and updating a
>  > plate tectonics app that students at UCSB use. My two sons are both
>  > 5’th grade teachers, one of whom uses chromebooks in his school, so
>  > collaborating with him on a nice app for his students is attractive,
>  > but only so far.
>
> Writing in HTML/CSS/JavaScript is a world apart from LiveCode.  When the
> business opportunity merits it, it can be rewarding (oh the joys of
> never needing to genuflect at an OS vendor's app store, or give up a
> third of your revenue for the privilege of their control).
>
> And because the nature of the browser is so radically different from
> native app development, I agree that attempting to port LC stacks to the
> web via the Emscripten option is pretty much a non-starter for most
> things people have ever made in LC.
>
> I haven't yet deployed to a Chromebook so I have nothing to offer there
> with regard to LC compatibility. But with the core of Android well
> represented in ChromeOS, I would hope it's no more difficult than
> deploying to a tablet.  Please keep us posted with what you learn.
>
> --
>   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: Pinch-Zoom gesture on native textfield. How to?

2020-06-08 Thread William de Smet via use-livecode
Hi Tom,

You got it working?
Have you got any code to share?


greetings,

William




Op ma 9 mrt. 2020 om 16:38 schreef Tom Glod via use-livecode <
use-livecode@lists.runrev.com>:

> I need to do this also in the app I am working on..I will be working on it
> next weekso I will share what I got unless someone already knows of a
> solution.
>
> On Mon, Mar 9, 2020 at 7:35 AM William de Smet via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Hi there,
> >
> > Is it possible to pinch zoom on a native text field to make the text
> > bigger/smaller?
> > Has anyone done this?
> >
> > Any pointers / script snippets are welcome.
> >
> > greetings,
> >
> > William
> > ___
> > 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
> >
>
>
> --
> Tom Glod
> Founder & Developer
> MakeShyft R.D.A (www.makeshyft.com)
> Mobile:647.562.9411
> ___
> 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: Pinch-Zoom gesture on native textfield. How to?

2020-03-10 Thread William de Smet via use-livecode
Thanks!

I tested the code on a normal/standard field and it kinda works.
I changed the multitouch-pinch code form image to fld and added a  'set
textSize ...'.
However it doesn't work as expected. The field is changing faster and
bigger then the text inside the field.

Then I found this script on the forum:
https://forums.livecode.com/viewtopic.php?f=53=13435=64556=pinch+zoom+text+field=bc8d11d77d2ab8de722b07bc4863fb09#p64556
Text is resizing but not smooth.


Greetings,

William




Op ma 9 mrt. 2020 om 18:58 schreef hh via use-livecode <
use-livecode@lists.runrev.com>:

>
> http://lessons.livecode.com/m/4069/l/29112-how-do-i-use-native-text-controls-on-mobile
>
> http://lessons.livecode.com/m/4069/l/11509-how-do-i-implement-a-multi-touch-pinch-motion
> ___
> 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


Pinch-Zoom gesture on native textfield. How to?

2020-03-09 Thread William de Smet via use-livecode
Hi there,

Is it possible to pinch zoom on a native text field to make the text
bigger/smaller?
Has anyone done this?

Any pointers / script snippets are welcome.

greetings,

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


Requirements for private distribution on Apple Business Manager?

2020-01-08 Thread William de Smet via use-livecode
Hi there,

Is it possible with an Indy License to publish apps that are 'Available for
private distribution to specific organizations on Apple Business Manager'
?
Any other requirements?


greetings,

William
___
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: How do I select graphics that are on top of each other with mousedown?

2019-11-25 Thread William de Smet via use-livecode
Hi there,

"pointInShape" looks very interesting,
Too much for now. MouseControl does the job.
Thanks!

groeten,

William




Op ma 25 nov. 2019 om 19:45 schreef hh via use-livecode <
use-livecode@lists.runrev.com>:

> Yet another option is to use the technique from "pointInShape":
> http://forums.livecode.com/viewtopic.php?p=129274#p129274
>
> ___
> 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: How do I select graphics that are on top of each other with mousedown?

2019-11-25 Thread William de Smet via use-livecode
Hi Peter,

MouseControl works fine.
Thanks.


greetings,

William




Op ma 25 nov. 2019 om 19:31 schreef Peter Bogdanoff via use-livecode <
use-livecode@lists.runrev.com>:

> William,
>
> You could try working with the mouseControl.
>
> Peter
>
> > On Nov 25, 2019, at 10:19 AM, William de Smet via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Hi there,
> >
> > I have to square graphics (line style) on top of each other.
> > They have the same width and height and form a letter X.
> >
> > How do I select the different graphics?
> >
> > Mousedown, MouseLoc and points of graphic?
> > Any pointers are welcome.
> >
> >
> > greetings,
> >
> > William
> > ___
> > 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 do I select graphics that are on top of each other with mousedown?

2019-11-25 Thread William de Smet via use-livecode
Hi there,

I have to square graphics (line style) on top of each other.
They have the same width and height and form a letter X.

How do I select the different graphics?

Mousedown, MouseLoc and points of graphic?
Any pointers are welcome.


greetings,

William
___
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: New app update: four errors in plist

2019-11-22 Thread William de Smet via use-livecode
Hi there,

Another app update with the same errors.
And another 'ITMS-90683: Missing Purpose String in Info.plist'
This time 'NSBluetoothAlwaysUsageDescription' (and the app doesn't use
Bluetooth).

Did several updates this week and only one got this error back.
But within a day approved.
So from now on I wait for the review before uploading a new binary.


greetings,

William




Op vr 15 nov. 2019 om 20:56 schreef Sannyasin Brahmanathaswami via
use-livecode :

> FYI, you click "Beta Test" in standalone settings and you will get the
> "beta entitlement", properly installed , which is required if you want to
> use Test Flight.
>
>
>
>
>
> In standalone settings I see three options: Required, Prohibited, n/a.
> Do you mean the plist always contains a location option even if "n/a" is
> selected? That doesn't seem right.
>
> On 11/15/19 4:47 AM, William de Smet via use-livecode wrote:
> Hi Jacqueline,
> One of the two options is always selected.
> You can't select none.
> The 'problem' is that there is one required key missing now so you have to
> add it yourself bij editing the plist.
> After editing the plist the app update was approved within 6 hours #quick
> greetings,
> William
> Op vr 15 nov. 2019 om 02:07 schreef J. Landman Gay via use-livecode <
> mailto:use-livecode@lists.runrev.com>:
> Is the location key included in the plist if you don't select location
> services in standalone settings? (I haven't built for iOS in a long time.)
>
> --
> Jacqueline Landman Gay | mailto:jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On November 14, 2019 3:05:17 PM Ralph DiMola via use-livecode
> <mailto:use-livecode@lists.runrev.com> wrote:
>
> ITMS-90339: from iOS 12(or 13?) an app automatically does NOT exit on
> suspend. You need this key for legacy OS versions. You will not be
> rejected
> for this(yet).
> ITMS-90078: will also not get you rejected. This is caused by some
> library
> binding issue that Mark explained a while back.
> ITMS-90191: Also a warning. This is for Beta testing. You can enable the
> beta entitlement when generating a provisioning profile.
> ITMS-90683: This is the one that will get you rejected. For example if
> you
> use location services you will have to hack the IDE to change the text of
> the location request text. This can be a pain because you have to do it
> every time the IDE is started. What I do:
> 1) In the message box ==> "put the script of "revSaveAsIosStandalone"
> into
> url ("/somePath/someFilename")
> 2) Edit the text file(See QCC 22150)
>
> After that every time you want to submit to the app store do this in the
> message box ==> set the script of "revSaveAsIosStandalone" to url
> ("/somePath/someFilename")
>
> Ralph DiMola
> IT Director
> Evergreen Information Services
> mailto:rdim...@evergreeninfo.net
>
> -Original Message-
> From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
> Behalf
> Of William de Smet via use-livecode
> Sent: Thursday, November 14, 2019 2:00 PM
> To: How to use LiveCode
> Cc: William de Smet
> Subject: New app update: four errors in plist
>
> Hi there,
>
> Today I uploaded an update for one of my apps to the App Store.
> Now I have four errors coming back from Apple.
> Still need to edit the info.plist but it'd easy to make a mistake with
> this.
> When will this be fixed?
>
> -
> Got this notification back:
> ITMS-90339: Deprecated Info.plist Key - The Info.plist contains a key
> 'UIApplicationExitsOnSuspend' in bundle shutthebox [shutthebox.app] that
> will soon be unsupported. Remove the key, rebuild your app and resubmit.
>
> ITMS-90078: Missing Push Notification Entitlement - Your app appears to
> register with the Apple Push Notification service, but the app
> signature's
> entitlements do not include the "aps-environment" entitlement. If your
> app
> uses the Apple Push Notification service, make sure your App ID is
> enabled
> for Push Notification in the Provisioning Portal, and resubmit after
> signing
> your app with a Distribution provisioning profile that includes the
> "aps-environment" entitlement. Xcode does not automatically copy the
> aps-environment entitlement from provisioning profiles at build time.
> This
> behavior is intentional. To use this entitlement, either enable Push
> Notifications in the project editor's Capabilities pane, or manually add
> the
> entitlement to your entitlements file. For more information, see
>
>
> https://developer.apple.com/library/content/documentation/NetworkingInternet
>
>
> /Conceptual/RemoteNotifica

Re: New app update: four errors in plist

2019-11-15 Thread William de Smet via use-livecode
Hi Ralph,

I used a custom plist and add it to the 'Copy files pane' of the standalone
settings.
Works fine but you need to focus :-)

After editing the plist the app update was approved within 6 hours
#quick


greetings,

William




Op do 14 nov. 2019 om 22:04 schreef Ralph DiMola via use-livecode <
use-livecode@lists.runrev.com>:

> ITMS-90339: from iOS 12(or 13?) an app automatically does NOT exit on
> suspend. You need this key for legacy OS versions. You will not be rejected
> for this(yet).
> ITMS-90078: will also not get you rejected. This is caused by some library
> binding issue that Mark explained a while back.
> ITMS-90191: Also a warning. This is for Beta testing. You can enable the
> beta entitlement when generating a provisioning profile.
> ITMS-90683: This is the one that will get you rejected. For example if you
> use location services you will have to hack the IDE to change the text of
> the location request text. This can be a pain because you have to do it
> every time the IDE is started. What I do:
> 1) In the message box ==> "put the script of "revSaveAsIosStandalone" into
> url ("File://somePath/someFilename")
> 2) Edit the text file(See QCC 22150)
>
> After that every time you want to submit to the app store do this in the
> message box ==> set the script of "revSaveAsIosStandalone" to url
> ("File://somePath/someFilename")
>
> 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 William de Smet via use-livecode
> Sent: Thursday, November 14, 2019 2:00 PM
> To: How to use LiveCode
> Cc: William de Smet
> Subject: New app update: four errors in plist
>
> Hi there,
>
> Today I uploaded an update for one of my apps to the App Store.
> Now I have four errors coming back from Apple.
> Still need to edit the info.plist but it'd easy to make a mistake with
> this.
> When will this be fixed?
>
> -
> Got this notification back:
> ITMS-90339: Deprecated Info.plist Key - The Info.plist contains a key
> 'UIApplicationExitsOnSuspend' in bundle shutthebox [shutthebox.app] that
> will soon be unsupported. Remove the key, rebuild your app and resubmit.
>
> ITMS-90078: Missing Push Notification Entitlement - Your app appears to
> register with the Apple Push Notification service, but the app signature's
> entitlements do not include the "aps-environment" entitlement. If your app
> uses the Apple Push Notification service, make sure your App ID is enabled
> for Push Notification in the Provisioning Portal, and resubmit after
> signing
> your app with a Distribution provisioning profile that includes the
> "aps-environment" entitlement. Xcode does not automatically copy the
> aps-environment entitlement from provisioning profiles at build time. This
> behavior is intentional. To use this entitlement, either enable Push
> Notifications in the project editor's Capabilities pane, or manually add
> the
> entitlement to your entitlements file. For more information, see
>
> https://developer.apple.com/library/content/documentation/NetworkingInternet
>
> /Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_r
> ef/doc/uid/TP40008194-CH6-SW1
> <https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1>
> .
>
> ITMS-90191: Missing beta entitlement - Your app does not include the
> beta-reports-active entitlement. If you intend to distribute this build via
> TestFlight for beta testing, please re-build this app with an App Store
> Distribution provisioning profile. Do not use ad-hoc profiles.
>
> ITMS-90683: Missing Purpose String in Info.plist - Your app's code
> references one or more APIs that access sensitive user data. The app's
> Info.plist file should contain a NSLocationAlwaysUsageDescription key with
> a
> user-facing purpose string explaining clearly and completely why your app
> needs the data. Starting Spring 2019, all apps submitted to the App Store
> that access user data are required to include a purpose string. If you're
> using external libraries or SDKs, they may reference APIs that require a
> purpose string. While your app might not use these APIs, a purpose string
> is
> still required. You can contact the developer of the library or SDK and
> request they release a version of their code that doesn't contain the APIs.
> Learn more (
>
> https://developer.apple.com/documentation/uikit/core_app/protecting_the_user
> _s_privacy
> ).
> -
&

Re: New app update: four errors in plist

2019-11-15 Thread William de Smet via use-livecode
Hi Jacqueline,

One of the two options is always selected.
You can't select none.
The 'problem' is that there is one required key missing now so you have to
add it yourself bij editing the plist.

After editing the plist the app update was approved within 6 hours #quick


greetings,

William




Op vr 15 nov. 2019 om 02:07 schreef J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com>:

> Is the location key included in the plist if you don't select location
> services in standalone settings? (I haven't built for iOS in a long time.)
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On November 14, 2019 3:05:17 PM Ralph DiMola via use-livecode
>  wrote:
>
> > ITMS-90339: from iOS 12(or 13?) an app automatically does NOT exit on
> > suspend. You need this key for legacy OS versions. You will not be
> rejected
> > for this(yet).
> > ITMS-90078: will also not get you rejected. This is caused by some
> library
> > binding issue that Mark explained a while back.
> > ITMS-90191: Also a warning. This is for Beta testing. You can enable the
> > beta entitlement when generating a provisioning profile.
> > ITMS-90683: This is the one that will get you rejected. For example if
> you
> > use location services you will have to hack the IDE to change the text of
> > the location request text. This can be a pain because you have to do it
> > every time the IDE is started. What I do:
> > 1) In the message box ==> "put the script of "revSaveAsIosStandalone"
> into
> > url ("File://somePath/someFilename")
> > 2) Edit the text file(See QCC 22150)
> >
> > After that every time you want to submit to the app store do this in the
> > message box ==> set the script of "revSaveAsIosStandalone" to url
> > ("File://somePath/someFilename")
> >
> > 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 William de Smet via use-livecode
> > Sent: Thursday, November 14, 2019 2:00 PM
> > To: How to use LiveCode
> > Cc: William de Smet
> > Subject: New app update: four errors in plist
> >
> > Hi there,
> >
> > Today I uploaded an update for one of my apps to the App Store.
> > Now I have four errors coming back from Apple.
> > Still need to edit the info.plist but it'd easy to make a mistake with
> this.
> > When will this be fixed?
> >
> > -
> > Got this notification back:
> > ITMS-90339: Deprecated Info.plist Key - The Info.plist contains a key
> > 'UIApplicationExitsOnSuspend' in bundle shutthebox [shutthebox.app] that
> > will soon be unsupported. Remove the key, rebuild your app and resubmit.
> >
> > ITMS-90078: Missing Push Notification Entitlement - Your app appears to
> > register with the Apple Push Notification service, but the app
> signature's
> > entitlements do not include the "aps-environment" entitlement. If your
> app
> > uses the Apple Push Notification service, make sure your App ID is
> enabled
> > for Push Notification in the Provisioning Portal, and resubmit after
> signing
> > your app with a Distribution provisioning profile that includes the
> > "aps-environment" entitlement. Xcode does not automatically copy the
> > aps-environment entitlement from provisioning profiles at build time.
> This
> > behavior is intentional. To use this entitlement, either enable Push
> > Notifications in the project editor's Capabilities pane, or manually add
> the
> > entitlement to your entitlements file. For more information, see
> >
> https://developer.apple.com/library/content/documentation/NetworkingInternet
> >
> /Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_r
> > ef/doc/uid/TP40008194-CH6-SW1
> > .
> >
> > ITMS-90191: Missing beta entitlement - Your app does not include the
> > beta-reports-active entitlement. If you intend to distribute this build
> via
> > TestFlight for beta testing, please re-build this app with an App Store
> > Distribution provisioning profile. Do not use ad-hoc profiles.
> >
> > ITMS-90683: Missing Purpose String in Info.plist - Your app's code
> > references one or more APIs that access sensitive user data. The app's
> > Info.plist file should contain a NSLocationAlwaysUsageDescription key
> with a
> > user-facing purpose string explaining clearly and compl

New app update: four errors in plist

2019-11-14 Thread William de Smet via use-livecode
Hi there,

Today I uploaded an update for one of my apps to the App Store.
Now I have four errors coming back from Apple.
Still need to edit the info.plist but it'd easy to make a mistake with this.
When will this be fixed?

-
Got this notification back:
ITMS-90339: Deprecated Info.plist Key - The Info.plist contains a key
'UIApplicationExitsOnSuspend' in bundle shutthebox [shutthebox.app] that
will soon be unsupported. Remove the key, rebuild your app and resubmit.

ITMS-90078: Missing Push Notification Entitlement - Your app appears to
register with the Apple Push Notification service, but the app signature's
entitlements do not include the "aps-environment" entitlement. If your app
uses the Apple Push Notification service, make sure your App ID is enabled
for Push Notification in the Provisioning Portal, and resubmit after
signing your app with a Distribution provisioning profile that includes the
"aps-environment" entitlement. Xcode does not automatically copy the
aps-environment entitlement from provisioning profiles at build time. This
behavior is intentional. To use this entitlement, either enable Push
Notifications in the project editor's Capabilities pane, or manually add
the entitlement to your entitlements file. For more information, see
https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1
.

ITMS-90191: Missing beta entitlement - Your app does not include the
beta-reports-active entitlement. If you intend to distribute this build via
TestFlight for beta testing, please re-build this app with an App Store
Distribution provisioning profile. Do not use ad-hoc profiles.

ITMS-90683: Missing Purpose String in Info.plist - Your app's code
references one or more APIs that access sensitive user data. The app's
Info.plist file should contain a NSLocationAlwaysUsageDescription key with
a user-facing purpose string explaining clearly and completely why your app
needs the data. Starting Spring 2019, all apps submitted to the App Store
that access user data are required to include a purpose string. If you're
using external libraries or SDKs, they may reference APIs that require a
purpose string. While your app might not use these APIs, a purpose string
is still required. You can contact the developer of the library or SDK and
request they release a version of their code that doesn't contain the APIs.
Learn more (
https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy
).
-

Greetings,

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


App rejected - add parental gate

2019-03-16 Thread William de Smet via use-livecode
Hi there,

An app update was rejected due to the fact I ticked the ‘Kids category’ in the 
initial version of the app. In the app they can share an image outside the app. 
The current quidelines say I have to add a parental gate now. 
Is there anyone who has an example on how to do this?
https://developer.apple.com/app-store/parental-gates/

Greetings, 

William

___
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: Sound delay

2018-03-15 Thread William de Smet via use-livecode
Hi Bob,

It's on iOS.
Sound files are ok and sound ok on my Mac.

In the app the second time it plays faster/immediately.
Like it needs to buffer first?





groeten,

William



2018-03-15 15:58 GMT+01:00 Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com>:

> Hard to say, since I don't have that file. Have you attempted in the OS to
> double click the file or if on Mac, play the file in preview mode?
>
> Bob S
>
>
> > On Mar 15, 2018, at 07:55 , William de Smet via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > play specialFolderPath("engine") & slash & "sounds/pop.mp3"
>
>
> ___
> 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


Sound delay

2018-03-15 Thread William de Smet via use-livecode
Hi there,

Why is there a short delay when playing a sound for the first time?
And how do I solve this?

play specialFolderPath("engine") & slash & "sounds/pop.mp3"


greetings,

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


App rejected because of camera permission modal alert!

2018-03-13 Thread William de Smet via use-livecode
Hi there,

My new app 'FotoPuzzel' is rejected by Apple because the app needs camera
permission.
I did not clarify the use of this feature in the modal alert?
How do I change this?
Can I change this?

I just use MobilePickPhoto "camera"

The standard modal alert says:
FotoPuzzel would like to access the camera
This application requires access to the device's camera.


Apple's response:
-
We noticed that your app requests the user’s consent to access their camera
but does not clarify the use of this feature in the permission modal alert.
Please see attached screenshots for details.
Next Steps
To resolve this issue, please revise the permission modal alert to specify
why the app is requesting access to the user's camera.


Any advice on this?

LC 8.1.8


greetings,

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

Slide puzzle question

2018-03-07 Thread William de Smet via use-livecode
Hi there,

I am making a 9 piece slide puzzle.
How many pieces should be in the right place at start to solve the puzzle?



greetings,

William
___
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: Reverse 'pixelcoloring' and total amount of colors

2018-03-06 Thread William de Smet via use-livecode
Hi Mike,

The 'put into field instructions2' was in there to check what was going on.
It works now the way I like it.
Thanks again!


greetings,

William



2018-03-05 21:37 GMT+01:00 Mike Bonner via use-livecode <
use-livecode@lists.runrev.com>:

> Hmm. In this case, you know the condition of failure, so if everything else
> is working as you need, i'd just check for that condition and act
> accordingly..
> if char 1 of the last item of tInstructions is "W" and the number of items
> of tInstructions > 1 then..
>
> Do you want tInstructions to be empty in the case of 7 white squares?  And
> W7 to be put into field instructions2?
>
> Either way..
> if there is only 1 item in tInstructions, and char 1 of tInstructions is
> "W" then
>put whatever into field "instructions2" that you need
>put empty into tInstructions
> else
>put whatever into field "instructions2" that you need
>delete item -1 of tInstructions
> end if
>
> Not sure what end results you want, or how if fails, but maybe something ^
> there will help.
>
> On Mon, Mar 5, 2018 at 12:13 PM, William de Smet via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Thanks Mike that helped a lot!
> > I extended your script with this:
> >
> > 
> > repeat with x= 1 to the number of items of tInstructions
> > put char 2 of item x of tInstructions into tChar
> > put "v" into tNaam
> > set the label of btn tNaam to tChar
> > set the showname of btn tNaam to true
> > put char 1 of item x of tInstructions into tLetter
> > if tLetter is "W"
> > then
> > set the backgroundcolor of btn tNaam to 255,255,255
> > else
> > set the backgroundcolor of btn tNaam to 90,200,250
> > end if
> > end repeat
> > ---
> >
> > Now it almost looks like this:
> > http://www.camelcaps.nl/pixelcoding/pixelcoding.jpg
> >
> > One thing left:
> > If the last button(s) is/are white it doesn't have to be shown on the
> > instruction.
> > So how do I leave it out?
> > When I add this it almost works:
> > --
> > if char 1 of the last item of tInstructions is "W"
> > then
> > put the last item of tInstructions into fld "instructions2"
> > delete the last item of tInstructions
> > --
> > This fails if the last item is the first and only item (when there are 7
> > white buttons).
> > Any thoughts on this?
> >
> >
> >
> > greetings,
> >
> > William
> >
> >
> >
> > 2018-03-05 17:41 GMT+01:00 Mike Bonner via use-livecode <
> > use-livecode@lists.runrev.com>:
> >
> > > Ah, I understand better now.
> > > Something like this should work.  Its just a quicky, no time to really
> > test
> > > before my doc appointment.
> > >
> > >
> > > on mouseup
> > > local tInstructions -- gotta have this cause a non declared isn't seen
> as
> > > empty
> > >
> > >repeat with i = 1 to 4
> > >   switch
> > >  case the backgroundcolor of button ("b" & i) is "255,255,255"
> > > if tInstructions is empty then put "W0" into tInstructions
> > > if char -2 of tInstructions is not "W" then put comma &
> "W0"
> > > after tInstructions
> > > add 1 to char -1 of tInstructions
> > > break
> > >      case the backgroundcolor of button ("b" & i) is "0,0,255"
> > > if tInstructions is empty then put "B0" into tInstructions
> > > if char -2 of tInstructions is not "B" then put comma &
> "B0"
> > > after tInstructions
> > > add 1 to char -1 of tInstructions
> > > break
> > >  default
> > > if tInstructions is empty then
> > >put "E" into tInstructions
> > > else
> > >put comma & "E" after tInstructions
> > > end if
> > >   end switch
> > >end repeat
> > >
> > >put tInstructions
> > > end mouseup
> > >
> > > On Mon, Mar 5, 2018 at 8:28 AM, William de Smet via use-livecode <
> > > use-livecode@lists.runrev.com> wrote:
> > >
> > > > Hi Mike,
> > > >
> > > > Thanks for your answer!
> > > > The exercises are a

Re: Reverse 'pixelcoloring' and total amount of colors

2018-03-05 Thread William de Smet via use-livecode
Thanks Mike that helped a lot!
I extended your script with this:


repeat with x= 1 to the number of items of tInstructions
put char 2 of item x of tInstructions into tChar
put "v" into tNaam
set the label of btn tNaam to tChar
set the showname of btn tNaam to true
put char 1 of item x of tInstructions into tLetter
if tLetter is "W"
then
set the backgroundcolor of btn tNaam to 255,255,255
else
set the backgroundcolor of btn tNaam to 90,200,250
end if
end repeat
---

Now it almost looks like this:
http://www.camelcaps.nl/pixelcoding/pixelcoding.jpg

One thing left:
If the last button(s) is/are white it doesn't have to be shown on the
instruction.
So how do I leave it out?
When I add this it almost works:
--
if char 1 of the last item of tInstructions is "W"
then
put the last item of tInstructions into fld "instructions2"
delete the last item of tInstructions
--
This fails if the last item is the first and only item (when there are 7
white buttons).
Any thoughts on this?



greetings,

William



2018-03-05 17:41 GMT+01:00 Mike Bonner via use-livecode <
use-livecode@lists.runrev.com>:

> Ah, I understand better now.
> Something like this should work.  Its just a quicky, no time to really test
> before my doc appointment.
>
>
> on mouseup
> local tInstructions -- gotta have this cause a non declared isn't seen as
> empty
>
>repeat with i = 1 to 4
>   switch
>  case the backgroundcolor of button ("b" & i) is "255,255,255"
> if tInstructions is empty then put "W0" into tInstructions
> if char -2 of tInstructions is not "W" then put comma & "W0"
> after tInstructions
> add 1 to char -1 of tInstructions
> break
>  case the backgroundcolor of button ("b" & i) is "0,0,255"
> if tInstructions is empty then put "B0" into tInstructions
> if char -2 of tInstructions is not "B" then put comma & "B0"
> after tInstructions
> add 1 to char -1 of tInstructions
> break
>  default
> if tInstructions is empty then
>        put "E" into tInstructions
> else
>put comma & "E" after tInstructions
> end if
>   end switch
>end repeat
>
>put tInstructions
> end mouseup
>
> On Mon, Mar 5, 2018 at 8:28 AM, William de Smet via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Hi Mike,
> >
> > Thanks for your answer!
> > The exercises are actually binary exercises but the children don't know.
> > All they know is a 'puzzle' to solve with pixelcoloring.
> > Funny I can solve it this way :-)
> > Still figuring how to do it because the children instruction is not just
> > binary writing as you explained it.
> >
> > Did you see my picture?
> > http://www.camelcaps.nl/pixelcoding/pixelcoding.jpg
> >
> >
> > greetings.
> >
> > William
> >
> >
> >
> > 2018-03-05 16:10 GMT+01:00 Mike Bonner via use-livecode <
> > use-livecode@lists.runrev.com>:
> >
> > > If you want to know which "pixel" is on in a row, you could treat them
> as
> > > binary bits.  Farthest right in a row is bit 1, next to the left is bit
> > 2..
> > >
> > > So your buttons could be   0   0   1   0   1   0  1
> > >   64 32 16  8   4   2   1
> > > for a total of 21 which would then tell you the "bit patteren" of your
> > row.
> > >
> > > Not fully awake yet, so if there is anything wrong with my example,
> > > hopefully it still makes sense.
> > >
> > > On Mon, Mar 5, 2018 at 5:50 AM, William de Smet via use-livecode <
> > > use-livecode@lists.runrev.com> wrote:
> > >
> > > > Thanks for your reply!
> > > > Your app is the same as what I did before and that's quit easy to do.
> > > >
> > > > For now I want to build instruction cards based upon a pixel drawing.
> > > > First you makel your drawing and then it gives you your instruction
> > card.
> > > > The other way around.
> > > >
> > > > My question is how to do that?
> > > >
> > > >
> > > >
> > > > groeten,
> > > >
> > > > William
> > > >
> > > >
> > > >
> > > > 2018-03-05 13:40 GMT+01:00 Jose Enrique Montero via use-livecode <
> > > > use-livecode

Re: Reverse 'pixelcoloring' and total amount of colors

2018-03-05 Thread William de Smet via use-livecode
Hi Mike,

Thanks for your answer!
The exercises are actually binary exercises but the children don't know.
All they know is a 'puzzle' to solve with pixelcoloring.
Funny I can solve it this way :-)
Still figuring how to do it because the children instruction is not just
binary writing as you explained it.

Did you see my picture?
http://www.camelcaps.nl/pixelcoding/pixelcoding.jpg


greetings.

William



2018-03-05 16:10 GMT+01:00 Mike Bonner via use-livecode <
use-livecode@lists.runrev.com>:

> If you want to know which "pixel" is on in a row, you could treat them as
> binary bits.  Farthest right in a row is bit 1, next to the left is bit 2..
>
> So your buttons could be   0   0   1   0   1   0  1
>   64 32 16  8   4   2   1
> for a total of 21 which would then tell you the "bit patteren" of your row.
>
> Not fully awake yet, so if there is anything wrong with my example,
> hopefully it still makes sense.
>
> On Mon, Mar 5, 2018 at 5:50 AM, William de Smet via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Thanks for your reply!
> > Your app is the same as what I did before and that's quit easy to do.
> >
> > For now I want to build instruction cards based upon a pixel drawing.
> > First you makel your drawing and then it gives you your instruction card.
> > The other way around.
> >
> > My question is how to do that?
> >
> >
> >
> > groeten,
> >
> > William
> >
> >
> >
> > 2018-03-05 13:40 GMT+01:00 Jose Enrique Montero via use-livecode <
> > use-livecode@lists.runrev.com>:
> >
> > > I made a similar application, you can look,
> > > https://play.google.com/store/apps/details?id=com.kaikuse.
> babygrid=es
> > >
> > > best regards
> > >
> > >
> > > 2018-03-05 3:55 GMT-04:00 William de Smet via use-livecode <
> > > use-livecode@lists.runrev.com>:
> > >
> > > > Hi there,
> > > >
> > > > This is quite a challenge for me.
> > > > I an trying to build a template in which users (small children) can
> > > > 'pixeldraw' something and based on the drawing the instruction will
> be
> > > > made.
> > > > The instruction is needed for other children to make the pixel
> drawing.
> > > > The instruction is quite special.
> > > >
> > > > The template is a square with 49 buttons (7x7) for the coloring and
> 49
> > > > fields for the instruction.
> > > > The coloring of the buttons is no problem. The 'reverse' coloring is
> > the
> > > > problem.
> > > > I can get the amount of a colors in a row (5 x white and 2 x blue)
> but
> > > how
> > > > do I determine on which place (in which buttons) these colors are.
> > > > The first row is: 3 white - 1 blue - 2 white - 1 blue
> > > > But how do I output it like: 3 - 1- 2 - 1 ? And each number needs to
> be
> > > in
> > > > another field.
> > > >
> > > > ---
> > > > on mouseup
> > > > if the backgroundcolor of btn "f1" is 255,255,255 then add "1" to
> field
> > > > "v1"
> > > > end mouseup
> > > >
> > > > or
> > > >
> > > > on mouseup
> > > > repeat with x=1 to 7
> > > > put "f" into tButton
> > > > if the backgroundcolor of btn tButton is 255,255,255
> > > > then
> > > > add "1" to field "v1"
> > > > else
> > > > add "1" to field "v2"
> > > > end if
> > > > end mousep
> > > >
> > > > ---
> > > >
> > > > What is the best way to do this?
> > > >
> > > > Any pointers are welcome.
> > > >
> > > >
> > > > To easier understand what i am trying to do, see this image:
> > > > http://www.camelcaps.nl/pixelcoding/pixelcoding.jpg
> > > >
> > > >
> > > >
> > > > greetings,
> > > >
> > > > William
> > > > ___
> > > > 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


Re: Reverse 'pixelcoloring' and total amount of colors

2018-03-05 Thread William de Smet via use-livecode
Thanks for your reply!
Your app is the same as what I did before and that's quit easy to do.

For now I want to build instruction cards based upon a pixel drawing.
First you makel your drawing and then it gives you your instruction card.
The other way around.

My question is how to do that?



groeten,

William



2018-03-05 13:40 GMT+01:00 Jose Enrique Montero via use-livecode <
use-livecode@lists.runrev.com>:

> I made a similar application, you can look,
> https://play.google.com/store/apps/details?id=com.kaikuse.babygrid=es
>
> best regards
>
>
> 2018-03-05 3:55 GMT-04:00 William de Smet via use-livecode <
> use-livecode@lists.runrev.com>:
>
> > Hi there,
> >
> > This is quite a challenge for me.
> > I an trying to build a template in which users (small children) can
> > 'pixeldraw' something and based on the drawing the instruction will be
> > made.
> > The instruction is needed for other children to make the pixel drawing.
> > The instruction is quite special.
> >
> > The template is a square with 49 buttons (7x7) for the coloring and 49
> > fields for the instruction.
> > The coloring of the buttons is no problem. The 'reverse' coloring is the
> > problem.
> > I can get the amount of a colors in a row (5 x white and 2 x blue) but
> how
> > do I determine on which place (in which buttons) these colors are.
> > The first row is: 3 white - 1 blue - 2 white - 1 blue
> > But how do I output it like: 3 - 1- 2 - 1 ? And each number needs to be
> in
> > another field.
> >
> > ---
> > on mouseup
> > if the backgroundcolor of btn "f1" is 255,255,255 then add "1" to field
> > "v1"
> > end mouseup
> >
> > or
> >
> > on mouseup
> > repeat with x=1 to 7
> > put "f" into tButton
> > if the backgroundcolor of btn tButton is 255,255,255
> > then
> > add "1" to field "v1"
> > else
> > add "1" to field "v2"
> > end if
> > end mousep
> >
> > ---
> >
> > What is the best way to do this?
> >
> > Any pointers are welcome.
> >
> >
> > To easier understand what i am trying to do, see this image:
> > http://www.camelcaps.nl/pixelcoding/pixelcoding.jpg
> >
> >
> >
> > greetings,
> >
> > William
> > ___
> > 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


Reverse 'pixelcoloring' and total amount of colors

2018-03-05 Thread William de Smet via use-livecode
Hi there,

This is quite a challenge for me.
I an trying to build a template in which users (small children) can
'pixeldraw' something and based on the drawing the instruction will be made.
The instruction is needed for other children to make the pixel drawing.
The instruction is quite special.

The template is a square with 49 buttons (7x7) for the coloring and 49
fields for the instruction.
The coloring of the buttons is no problem. The 'reverse' coloring is the
problem.
I can get the amount of a colors in a row (5 x white and 2 x blue) but how
do I determine on which place (in which buttons) these colors are.
The first row is: 3 white - 1 blue - 2 white - 1 blue
But how do I output it like: 3 - 1- 2 - 1 ? And each number needs to be in
another field.

---
on mouseup
if the backgroundcolor of btn "f1" is 255,255,255 then add "1" to field "v1"
end mouseup

or

on mouseup
repeat with x=1 to 7
put "f" into tButton
if the backgroundcolor of btn tButton is 255,255,255
then
add "1" to field "v1"
else
add "1" to field "v2"
end if
end mousep

---

What is the best way to do this?

Any pointers are welcome.


To easier understand what i am trying to do, see this image:
http://www.camelcaps.nl/pixelcoding/pixelcoding.jpg



greetings,

William
___
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] Haiku OS

2018-02-28 Thread William de Smet via use-livecode
This is probably more interesting:
https://www.omgubuntu.co.uk/2018/02/google-enable-linux-apps-chrome-os-recent-code-commits-suggest

greetings,

William



2018-02-28 15:52 GMT+01:00 Rick Harrison via use-livecode <
use-livecode@lists.runrev.com>:

> Hi Richmond,
>
> Current Official Version Information
>
> Version: R1/Alpha 4.1
> Release date: November 14th, 2012
> Computer platform: x86-32
> Something that hasn’t seen an update since 2012
> probably isn’t getting much traction at all.
>
> I hope you find this information somewhat helpful.
>
> Rick
>
> > On Feb 28, 2018, at 7:20 AM, Richmond Mathewson via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > https://www.haiku-os.org/
> >
> > Does anyone know if Haiku OS;
> >
> > 1. Shows any sign whatsoever of gaining any traction?
> >
> > 2. Is there any point of attempting to compile LiveCode for Haiku OS
> (beyond a spare time project)?
> >
> > 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
>
> ___
> 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

CameraControl gives wrong rect and rotated preview on iPad

2018-02-28 Thread William de Smet via use-livecode
Hi there,

What's wrong with cameraControl on iPad?
In the IDE everything works fine: cameracontrol is shown on the given rect.
On iPad the rect is much smaller and the preview is rotated.
In the standalone iPad settings 'Landscape Left' and 'landscape Rght' are
activated.
Is this a bug?

I am on LC 8.1.8.

greetings,

William
___
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: Bold textStyle on 'Header Bar' widget?

2018-02-01 Thread William de Smet via use-livecode
Ok one step closer:
---
set the textStyle of widget "start" to "bold"
-
and with the chosen font of the widget set to [Styled Text) in the LC
Inspector it gives bold text.
But now all text in the widget is bold.

Can't figure out how tp only get the labet of the widget set to bold.
Anyone?




groeten,

William



2018-01-25 21:07 GMT+01:00 William de Smet :

> Hi there,
>
> How do I set the label of a 'Header Bar' widget to bold?
>
> greetings,
>
> William
>
>
>
___
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


Bold textStyle on 'Header Bar' widget?

2018-01-25 Thread William de Smet via use-livecode
Hi there,

How do I set the label of a 'Header Bar' widget to bold?

greetings,

William
___
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: Width and height image gets bigger on changing angle

2018-01-20 Thread William de Smet via use-livecode
Answering my own question:
it works fine when you use 'rotate by -90'

groeten,

William



2018-01-20 12:10 GMT+01:00 William de Smet :

> Hi,
>
> When I add an image as a control to a new stack it gets bigger when I set
> an angle of 270.
>
> ---
> on mouseup
> set the angle of me to 270
> clone me
> set the angle of me to 0
> end mouseup
> ---
>
> Width and height are changed by 1 px.
> Is that normal behaviour?
> How do I prevent this?
>
> LC 8.1.8
>
>
>
>
> greetings,
>
> William
>
>
>
___
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


Width and height image gets bigger on changing angle

2018-01-20 Thread William de Smet via use-livecode
Hi,

When I add an image as a control to a new stack it gets bigger when I set
an angle of 270.

---
on mouseup
set the angle of me to 270
clone me
set the angle of me to 0
end mouseup
---

Width and height are changed by 1 px.
Is that normal behaviour?
How do I prevent this?

LC 8.1.8




greetings,

William
___
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: How do I delete cloned images with the same name all at once?

2018-01-18 Thread William de Smet via use-livecode
@Tore and @Mark

Thanks!
Works fine now.


greetings,

William



2018-01-18 0:13 GMT+01:00 Mark Wieder via use-livecode <
use-livecode@lists.runrev.com>:

> On 01/17/2018 02:42 PM, Tore Nilsen via use-livecode wrote:
>
> Use short name instead of name, this will script  will work:
>>
>
> Additionally, the way I deal with this is to create a group, then create
> the control *in the group*. That way all I have to do is delete the group
> and all the child controls are gone.
>
> --
>  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


How do I delete cloned images with the same name all at once?

2018-01-17 Thread William de Smet via use-livecode
Hi there,

I have several cloned images and all have the same name: ticket.
Of course there ID is different.
On close card I want to delete them.
How do I delete them all at once?
Wat is wrong with this code?

on mouseup
repeat with x= 1 to the number of images of this card
if the name of image x is "ticket" then put the ID of image x into GONE
end repeat
send ("delete GONE") to me in 0 ticks
end mouseup




greetings,

William
___
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: How does 'Apple VPP Education' discount work?

2018-01-10 Thread William de Smet via use-livecode
Thanks Tiemo,

i thought I could/had to change the discount rating myself.

greetings,

William



2018-01-10 12:54 GMT+01:00 Tiemo Hollmann TB via use-livecode <
use-livecode@lists.runrev.com>:

> Hi William,
>
> finally every app in the AppStore is enabled for VPP. You don't have to
> join
> the VPP program, only the customer / school has to.
>
> Your set up a sales price of your app in the appStore for everyone and you
> can choose with that option you mentioned in the app settings, if a
> customer
> with a VPP contract gets a 50% discount on that standard price or not.
> That’s all
>
> The only restriction on VPP is that no inApp purchases are allowed for the
> VPP program. (only apps without inApp purchase)
>
> Tiemo
>
>
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im
> Auftrag
> von William de Smet via use-livecode
> Gesendet: Mittwoch, 10. Januar 2018 11:30
> An: How to use LiveCode <use-livecode@lists.runrev.com>
> Cc: William de Smet <williamdes...@gmail.com>
> Betreff: How does 'Apple VPP Education' discount work?
>
> Hi there,
>
> I was asked if i could add my apps to Apple's VPP education program.
> I see I have two choices:
> 1. Available with a volume discount for educational institutions 2.
> Available with no discount
>
> On this page it says you can enable 50% discount:
> https://developer.apple.com/programs/volume/education/
>
> Can anyone explain to me how this discounts works?
>
>
>
> greetings,
>
> William
> ___
> 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 does 'Apple VPP Education' discount work?

2018-01-10 Thread William de Smet via use-livecode
Hi there,

I was asked if i could add my apps to Apple's VPP education program.
I see I have two choices:
1. Available with a volume discount for educational institutions
2. Available with no discount

On this page it says you can enable 50% discount:
https://developer.apple.com/programs/volume/education/

Can anyone explain to me how this discounts works?



greetings,

William
___
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: MergPop error on iOS 11.2 & LC 8.1.8

2017-12-11 Thread William de Smet via use-livecode
Hi Monte,

Just edited the plist file and it works now.
Thanks!

groeten,

William



2017-12-11 4:24 GMT+01:00 Paul Hibbert via use-livecode <
use-livecode@lists.runrev.com>:

> Thank you for the quick response Monte, the fix works well!
>
> Paul
>
> > On 10 Dec 2017, at 13:36, Monte Goulding via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > http://quality.livecode.com/show_bug.cgi?id=20759 <
> http://quality.livecode.com/show_bug.cgi?id=20759>
> >
> >> On 11 Dec 2017, at 8:29 am, Monte Goulding via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>
> >> Hi Folks
> >>
> >> It turns out this crash is caused by the need for a new plist entry `
> NSPhotoLibraryAddUsageDescription`.
> >>
> >> 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
>
>
> ___
> 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: MergPop error on iOS 11.2 & LC 8.1.8

2017-12-09 Thread William de Smet via use-livecode
Hi Jacqueline and Paul,

I had the same thing with MergPop with iOS 7 and then MergPop needed an
update which Monte released the next day.
Thanks for checking Paul.

Where do I file a bug report?



greetings,

William



2017-12-09 18:44 GMT+01:00 J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com>:

> If only one selection causes the crash, the problem is more likely to be
> the handler it calls than the external itself. I'd look at the actions that
> occur during the "save image" handler.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>
>
>
>
> On December 9, 2017 2:41:19 AM William de Smet via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> Hi Paul,
>>
>> Like I said MergPop works fine in my app except the fact that the app
>> quits after choosing 'Save Image' from the  popover sheet.
>> Can you confirm this?
>>
>> It's a brand new iPad (2 days old) with no other apps installed.
>>
>> Greetings,
>>
>> William
>>
>> Op 9 dec. 2017 om 03:26 heeft Paul Hibbert via use-livecode <
>>> use-livecode@lists.runrev.com> het volgende geschreven:
>>>
>>> William,
>>>
>>> Just did a quick test and to make this work I had to go to Standalone
>>> Application Settings > General and choose “Select inclusions for the
>>> standalone application”, then under Standalone Application Settings >
>>> Inclusions scroll down and make sure “MergPop” is selected along with any
>>> other inclusions necessary.
>>>
>>> It seems MergPop is not being found when allowing LC to search for the
>>> required inclusions. This may be a bug, but I can’t find anything on LCQC
>>> for it right now, although I’m sure I remember it being discussed on this
>>> list previously (that’s how I knew what the fix was), but I don’t remember
>>> the conclusion.
>>>
>>> FYI, I checked this by adding a catch tError command within the try -
>>> end try handler then used answer tError, it told me that LC couldn’t find
>>> the handler “mergPopActivity”, so it confirmed that the library was
>>> missing, fixing that made it work.
>>>
>>> Paul
>>>
>>> On 8 Dec 2017, at 12:00, William de Smet via use-livecode <
>>>> use-livecode@lists.runrev.com> wrote:
>>>>
>>>> Hi there,
>>>>
>>>> I am seeing an error on using MergPop with iOS 11.2 /LC 8.1.8 when
>>>> saving a
>>>> PNG with the 'Save Image' button on the popover sheet.
>>>> It quits the app immediately.
>>>> 'E-mail, Copy, Print, Save Files App' all work fine. Even Airdrop works
>>>> fine.
>>>>
>>>> I do this:
>>>> 
>>>> try
>>>> put specialfolderpath("documents") & "/" & "cars.png" into tPath
>>>> export snapshot from group "cars" to file tPath as PNG
>>>> mergPopActivity "",tPath,"",""
>>>> get the result
>>>> end try
>>>> --
>>>>
>>>> Anyone else seeing this?
>>>> Is there something I can change in my script?
>>>>
>>>>
>>>>
>>>> greetings,
>>>>
>>>> William
>>>> ___
>>>> 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

Re: MergPop error on iOS 11.2 & LC 8.1.8

2017-12-09 Thread William de Smet via use-livecode
Hi Paul,

Like I said MergPop works fine in my app except the fact that the app quits 
after choosing 'Save Image' from the  popover sheet. 
Can you confirm this?

It's a brand new iPad (2 days old) with no other apps installed. 

Greetings,

William

> Op 9 dec. 2017 om 03:26 heeft Paul Hibbert via use-livecode 
> <use-livecode@lists.runrev.com> het volgende geschreven:
> 
> William,
> 
> Just did a quick test and to make this work I had to go to Standalone 
> Application Settings > General and choose “Select inclusions for the 
> standalone application”, then under Standalone Application Settings > 
> Inclusions scroll down and make sure “MergPop” is selected along with any 
> other inclusions necessary.
> 
> It seems MergPop is not being found when allowing LC to search for the 
> required inclusions. This may be a bug, but I can’t find anything on LCQC for 
> it right now, although I’m sure I remember it being discussed on this list 
> previously (that’s how I knew what the fix was), but I don’t remember the 
> conclusion.
> 
> FYI, I checked this by adding a catch tError command within the try - end try 
> handler then used answer tError, it told me that LC couldn’t find the handler 
> “mergPopActivity”, so it confirmed that the library was missing, fixing that 
> made it work.
> 
> Paul
> 
>> On 8 Dec 2017, at 12:00, William de Smet via use-livecode 
>> <use-livecode@lists.runrev.com> wrote:
>> 
>> Hi there,
>> 
>> I am seeing an error on using MergPop with iOS 11.2 /LC 8.1.8 when saving a
>> PNG with the 'Save Image' button on the popover sheet.
>> It quits the app immediately.
>> 'E-mail, Copy, Print, Save Files App' all work fine. Even Airdrop works
>> fine.
>> 
>> I do this:
>> 
>> try
>> put specialfolderpath("documents") & "/" & "cars.png" into tPath
>> export snapshot from group "cars" to file tPath as PNG
>> mergPopActivity "",tPath,"",""
>> get the result
>> end try
>> --
>> 
>> Anyone else seeing this?
>> Is there something I can change in my script?
>> 
>> 
>> 
>> greetings,
>> 
>> William
>> ___
>> 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

MergPop error on iOS 11.2 & LC 8.1.8

2017-12-08 Thread William de Smet via use-livecode
Hi there,

I am seeing an error on using MergPop with iOS 11.2 /LC 8.1.8 when saving a
PNG with the 'Save Image' button on the popover sheet.
It quits the app immediately.
'E-mail, Copy, Print, Save Files App' all work fine. Even Airdrop works
fine.

I do this:

try
put specialfolderpath("documents") & "/" & "cars.png" into tPath
export snapshot from group "cars" to file tPath as PNG
mergPopActivity "",tPath,"",""
get the result
end try
--

Anyone else seeing this?
Is there something I can change in my script?



greetings,

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