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