Re: Image Offset in Frame

2017-11-16 Thread Sannyasin Brahmanathaswami via use-livecode
@ Alejandro:

Thanks.. very clear… 

@paul hibbert

Thanks for the reminder on Scott's masking stack.. .that's what was sticking my 
mind that I could not find… I downloaded hist stack again.

but it seems we don't even need a graphic on top of the image or have to 
concern ourselves with these inkEffects, at least in this use case…as just 
grouping the image itself works with the clipstoRect.

I just tested using Alejandro's  "mini manual/method" with multiple images 

USE CASE: these will be images on the left of a vertical scrolling group…. 
thumbs for books, album covers of audio etc.) 

Very typical UI for vertical scrolling groups with rows of image left and text 
right… 

-- create one image, grouped, 
-- resize the group, position the book cover thumbnail in the top left (crops 
the right and bottom) 
-- zero out border and margin (a nuisance default for groups, IMHO). 
-- comment out the grab me script (we don't want users to inadvertently move 
these.)
-- Option copy seven of these into a column down…with 10 px in between them
-- group all those. 

 # in actual app run time the above two steps would be done dynamically 
 # copy a "row" group template…  place it below the last one… and then 
group them
 # Perhaps DataGrid2 will be the preferred tool for this if runtime 
generation of rows is fast.

-- group is now colum of  8 coverhumbs 830 px  tall. 
-- set height of this group to 500, 
-- test from msg box: set the scroll of this group to say… 200… works 
beautifully. 
-- vertical scroll bar works also but not wanted in this scenario.

Since we will create these dynamically run time.. I also tried "set the 
filename over img cover-thm-2 to url "….."  and it worked.. the image was 
imported and placed as it was saved in the group rect… in it's "cropped" 
position. his worked even with the image with negatiive x-y offsets inside the 
group  i.e. I was worried the x,y position would default to the 0,0 (topleft) 
of the clipped rect… but it did not, it was imported and kept it's negative 
offsets inside the group.

Awesome!

So should work on Mobile too and, should one want to create a UI/UX to emulate 
some layout program to operate like InDesign or Sketch for WSIWIG design etc. 
for this it would be very easy to do… 

BR…

On 11/16/17, 12:39 PM, "use-livecode on behalf of Alejandro Tejada via 
use-livecode"  wrote:

I was wrong. There is at least 3 (maybe more)
different ways to clip an image using a group:

Method 1 using lockLocation:
Method 2 using clipstorect
Method 3 using boundingRect

The following detailed description is useful mostly
for newcomers in this platform...

1) create a new stack
2) import an image
3) set the script of this image to:

on mousedown
grab me
end mousedown
-
4) group this imported image
5) reduce the size of this group and
6) Choose one of these options:

Option 1) - set the locklocation of this group to true or
Option 2) - set the clipstorect of this group to true or
Option 3) - set the boundingRect of this group to the rect of this group

If you select the group with the "Edit" tool, paste the previous script in
the message box, change the phrase "this group" for "selobj" (without
quotes)
and press enter:

set the locklocation of selobj to true

set the clipstorect of selobj to true

set the boundingRect of selobj to the rect of selobj

Each option have it's own advantages. Test them and choose
one that works for your purpose.

By the way, Where could I find the boolean property "clipstorect"
within the Property Inspector?

Al
___
use-livecode mailing list
use-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: Image Offset in Frame

2017-11-16 Thread J. Landman Gay via use-livecode

On 11/16/17 6:22 PM, Alejandro Tejada via use-livecode wrote:

In the Position pane, at least in LC 9.

Which one? Do you set clipstorect property using the
checkbox labeled "Resize when setting rect property"?



In the Position pane, directly under the lockLoc checkbox, is a checkbox 
for clipsToRect. The tooltip says "Clip child controls to rect". It was 
recently added at some point in LC 9.


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


Re: sync LC applications

2017-11-16 Thread Stephen Barncard via use-livecode
On Thu, Nov 16, 2017 at 13:15 Rick Harrison via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Paolo and Jim,
>
> I always turn off all notifications on all of my devices.
> I hate notifications because they consume my device
> batteries with their constant polling.
>

 I sure would like to know that.
Is there some kind of wire shark like application for the phone?



> The image should only be changed in the application
> when the user uses that application.  Only check for
> image updates at the website when they try to use
> the application.
>
> Good luck,
>
> Rick
>
> > On Nov 16, 2017, at 3:13 PM, Jim Lambert via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> >
> >
> >> Paolo wrote:
> >
> >> what?s the best way to sync several  LC applications installed on many
> different devices?
> >> For example, consider having 100 smartphones connected to internet
> running the same LC application, how can I send a signal/command so that an
> image shows up  at the same time in every smatphone?
> >> AFAIK a solution is to set up a text file in a web server and let the
> app installed in each device to check (every second)  if any change occour
> , but this solutionsubscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
-- 
--
Stephen Barncard - Sebastopol Ca. USA -
mixstream.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


Re: SVG (in LiveCode) can do that?!

2017-11-16 Thread Alejandro Tejada via use-livecode
Richard Gaskin wrote:
> Not Linux users who use Google Hangouts, or Jitsi,
> or Talky, or Appear.In, or Kamailio, or Linphone...

Skype represents the path of less resistance
and now I understand why.

Check the answers that slashdotters gave to the question:
Which Software/Devices Are Unusable Without
a live Internet connection?

https://ask.slashdot.org/story/17/11/13/2319243/ask-slashdot-which-softwaredevices-are-unusable-without-connecting-to-the-internet

My own conclusion is:

Too many Developers are following also
the path of less resistance, even
if this means to accept a live internet
connection just for using their own devices
and productivity software. :-(

Al
___
use-livecode mailing list
use-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: When do you need tsNet-x86_64 ?

2017-11-16 Thread Monte Goulding via use-livecode
I just submitted a PR to remove these files while packaging LiveCode builds so 
they shouldn’t show up in inclusions. They show up as a separate item because 
the standalone builder doesn’t recognise x86_64.dll as a type of external build 
just yet. Wither way there’s no need for them to be distributed with anything 
other than LiveCode for FM windows 64 bit at the moment.

https://github.com/livecode/livecode/pull/6138 
 

Cheers

Monte

> On 16 Nov 2017, at 9:58 pm, Tiemo Hollmann TB via use-livecode 
>  wrote:
> 
> Hi Charles,
> thanks for claryfing that quick
> Tiemo
> 
> 
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
> von Charles Warwick via use-livecode
> Gesendet: Donnerstag, 16. November 2017 11:54
> An: How to use LiveCode 
> Cc: Charles Warwick 
> Betreff: Re: When do you need tsNet-x86_64 ?
> 
> Hi Tiemo,
> 
> You only need the tsNet inclusion for building 64bit Mac standalones.
> 
> The tsNet-x86_64 inclusion is currently only for the LC FileMaker plugin.
> 
> Regards,
> 
> Charles
> 
>> On 16 Nov 2017, at 8:15 pm, Tiemo Hollmann TB via use-livecode
>  wrote:
>> 
>> Hi,
>> 
>> up to now I have manually selected the inclusion tsNet. Now I want to 
>> build 64Bit standalones for Mac. Do I now have to select the 
>> tsNet-x86_64 inclusion instead? While running still 32 Bit on Windows, 
>> do I now have to select both tsNet inclusions and each standalone will 
>> pick the right tsNet, or do I have to assign the correct one for windows /
> Mac - but how?
>> 
>> Or am I completely on the wrong lane with tsNet-x86_64?
>> 
>> 
>> 
>> Thanks for any insight
>> 
>> Tiemo
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-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: Image Offset in Frame

2017-11-16 Thread Alejandro Tejada via use-livecode
Hi Jacque,

> In the Position pane, at least in LC 9.

Which one? Do you set clipstorect property using the
checkbox labeled "Resize when setting rect property"?

> I've wondered why we need clipsToRect when we have boundingRect.
> The only difference I can see is that boundingRect works with a
> non-locked group. If the group's lockLoc is true,
> I don't see any difference.

clipsToRect works without locking the group position too.

Groups with it's boundingRect property set always have the size
specified in this property. If a script changes the group width (or height)
and you leave the card, then return to this same card, this group with the
boundingRect property will recover their size specified in that property.

This does not happen with locked groups or group that have their
clipsToRect property set.

Al
___
use-livecode mailing list
use-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: SVG (in LiveCode) can do that?!

2017-11-16 Thread Richard Gaskin via use-livecode

Richmond Mathewson wrote:
> I am also feeling WELL LUMPY after I had to tell a client of mine that
> he would have to shell out for a 64-bit machine ONLY because
> MICROSOFT had made Skype 64-bit only since they had got their sweaty
> paws on it . . .
>
> Effectively this means that Microsoft is able to dictate terms to
> Linux users.

Not Linux users who use Google Hangouts, or Jitsi, or Talky, or 
Appear.In, or Kamailio, or Linphone...


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Image Offset in Frame

2017-11-16 Thread J. Landman Gay via use-livecode

On 11/16/17 4:38 PM, Alejandro Tejada via use-livecode wrote:

Option 1) - set the locklocation of this group to true or
Option 2) - set the clipstorect of this group to true or
Option 3) - set the boundingRect of this group to the rect of this group



I've wondered why we need clipsToRect when we have boundingRect. The 
only difference I can see is that boundingRect works with a non-locked 
group. If the group's lockLoc is true, I don't see any difference.




By the way, Where could I find the boolean property "clipstorect"
within the Property Inspector?


In the Position pane, at least in LC 9.

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


Re: Image Offset in Frame

2017-11-16 Thread Alejandro Tejada via use-livecode
I was wrong. There is at least 3 (maybe more)
different ways to clip an image using a group:

Method 1 using lockLocation:
Method 2 using clipstorect
Method 3 using boundingRect

The following detailed description is useful mostly
for newcomers in this platform...

1) create a new stack
2) import an image
3) set the script of this image to:

on mousedown
grab me
end mousedown
-
4) group this imported image
5) reduce the size of this group and
6) Choose one of these options:

Option 1) - set the locklocation of this group to true or
Option 2) - set the clipstorect of this group to true or
Option 3) - set the boundingRect of this group to the rect of this group

If you select the group with the "Edit" tool, paste the previous script in
the message box, change the phrase "this group" for "selobj" (without
quotes)
and press enter:

set the locklocation of selobj to true

set the clipstorect of selobj to true

set the boundingRect of selobj to the rect of selobj

Each option have it's own advantages. Test them and choose
one that works for your purpose.

By the way, Where could I find the boolean property "clipstorect"
within the Property Inspector?

Al
___
use-livecode mailing list
use-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: sync LC applications

2017-11-16 Thread Rick Harrison via use-livecode
Hi Paolo and Jim,

I always turn off all notifications on all of my devices.
I hate notifications because they consume my device
batteries with their constant polling.

The image should only be changed in the application
when the user uses that application.  Only check for
image updates at the website when they try to use
the application.

Good luck,

Rick

> On Nov 16, 2017, at 3:13 PM, Jim Lambert via use-livecode 
>  wrote:
> 
> 
> 
>> Paolo wrote:
> 
>> what?s the best way to sync several  LC applications installed on many 
>> different devices?
>> For example, consider having 100 smartphones connected to internet running 
>> the same LC application, how can I send a signal/command so that an image 
>> shows up  at the same time in every smatphone?
>> AFAIK a solution is to set up a text file in a web server and let the app 
>> installed in each device to check (every second)  if any change occour , but 
>> this solution is not efficient.
>> Any idea?
> 
> Perhaps sockets or pushing app notifications.
> 
> Jim Lambert
> 
> ___
> use-livecode mailing list
> use-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: sync LC applications

2017-11-16 Thread Jim Lambert via use-livecode


> Paolo wrote:

> what?s the best way to sync several  LC applications installed on many 
> different devices?
> For example, consider having 100 smartphones connected to internet running 
> the same LC application, how can I send a signal/command so that an image 
> shows up  at the same time in every smatphone?
> AFAIK a solution is to set up a text file in a web server and let the app 
> installed in each device to check (every second)  if any change occour , but 
> this solution is not efficient.
> Any idea?

Perhaps sockets or pushing app notifications.

Jim Lambert

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


SVG (in LiveCode) can do that?!

2017-11-16 Thread Alejandro Tejada via use-livecode
Given  that you posted in the mail list, instead of sending a private
message, you would not mind read our opinions too:

SVG is not about graphics, scalable or vectors.

SVG is a document format that includes text, images and vector
graphics driven by javascript, a programming language.

In theory, you could make a whole website using only SVG, without any html.

In theory, you could even replace most PDF documents using only SVG
files (including hyperlinks and read-only fonts)

In theory, it should be possible to replicate a Livecode stack
functionality, using only SVG and javascript.

In practice, you need to be a programmer (an outstanding programmer)
to acomplish any of this at some length.

If the title of that video have not read "SVG can do that?", I have
thought that this was a Shockwave Flash presentation from 10 years
ago... Maybe even 15 years ago!

Colin Holgate or Scott Rossi could tell which flash versions could do
all this inside a browser using the flash plugin.

Why Adobe does not simply created a text only flash format version
(compressed as gzip if needed) and fixed their plugin performance
issues and bugs? The collective internet wisdom have posted their own
theories: Adobe simply does not have anymore the knowledge (or wisdom)
to make this happen. The persons who could have made this happen, have
retired, or leave... or were just fired.

While watching the youtube video, I laugh a lot after reading this
quote in a message written by Jason Grigsby:

"You can't be a web performance expert without being an image expert."

I could add:
"... and in the web, you can't be an image expert without being a programmer."

And that is the problem of SVG. You could not use SVG at full capacity
without being a knowledgeable programmer in html and javascript.

If the very first Design computer programs have had this requisite,
you could be sure that Design and Computer Graphics in general would
not be as advanced as today.

Could you imagine that using the very first version of Ilustrator or
Photoshop would have required to learn Postscript or C or Pascal or
any other computer language?

My first (and costly - US$ 100 dollars in 1992) Programming book was
about postscript language and could not even learn anything from it,
because when I reached home, unpacked and read the book, only then I
discover that the book required a diskette that was not included in
that edition...

It's the same disappoint that Designers discover while using SVG.
Want to use SVG at some capacity? Learn Javascript and html... first.
That is a step backward... not forward.

Al

___
use-livecode mailing list
use-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: SVG (in LiveCode) can do that?!

2017-11-16 Thread Richmond Mathewson via use-livecode
She spent ages and ages gushing about SVG and really took so long 
getting to the point

that I gave up watching before she got to it, if, indeed, she did . . .

All that, frankly fake enthusiaism made me run for the sick bucket.

I am also feeling WELL LUMPY after I had to tell a client of mine that 
he would have to shell out for a 64-bit machine ONLY because
MICROSOFT had made Skype 64-bit only since they had got their sweaty 
paws on it . . .


Effectively this means that Microsoft is able to dictate terms to Linux 
users.


Blurgh!

Richmond.

On 16/11/17 7:22 pm, Ben Rubinstein via use-livecode wrote:

Paging Mark Waddingham:

https://www.youtube.com/watch?v=jLgb3CVVTRw

___
use-livecode mailing list
use-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: mouseWithin and mouseLeave problem

2017-11-16 Thread Richmond Mathewson via use-livecode

Good point.

Richmond.

On 16/11/17 12:22 am, Tore Nilsen via use-livecode wrote:

But Alejandros script also works when you have scrolled up or down and release 
the mouse outside of the scrollbar without moving the cursor into the field 
area first. . Otherwise width of the scrollbar would have stayed at 30 until 
next time the field received a mouseLeave message


15. nov. 2017 kl. 22:46 skrev Richmond Mathewson via use-livecode 
:

I think you are over-complicating things as this works perfectly:

onmouseEnter
setthescrollBarWidthofmeto120
endmouseEnter

onmouseLeave
setthescrollBarWidthofmeto0
endmouseLeave

Richmond.


On 15/11/17 11:05 pm, Alejandro Tejada via use-livecode wrote:

Today, while trying to understand why my own code does not work, I
learned about the text field scrollbarWidth property. :-)

1) create a new stack
2) create/insert/drag and drop a scrolling text field in this new stack
3) edit the text field script and insert these handlers:

-- -
on mouseenter
set the scrollbarwidth of fld 1 to 30
end mouseenter

on mouseleave
mouserelease
end mouseleave

on mouserelease
set the scrollbarwidth of fld 1 to 10
end mouserelease

-- 

By the way, Which are the minimum and maximum
scrollbar width size allowed in every platform?
LC Dictionary mentions Mac OSX, but does not
specify scrollbar widths limitations.

Al

___
use-livecode mailing list
use-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


Image Offset in Frame

2017-11-16 Thread Alejandro Tejada via use-livecode
Looks like there are two different ways to
clip an image using a group:

Method 1 using lockLocation:

1) create a new stack
2) import an image
3) set the script of this image to:

on mousedown
grab me
end mousedown
-
4) group this imported image
5) reduce the size of this group and
6) set the locklocation of this group to true

Method 2 using clipstorect

1) create a new stack
2) import an image
3) set the script of this image to:

on mousedown
grab me
end mousedown
-
4) group this imported image
5) reduce the size of this group and
6) set the clipstorect of this group to true

By the way, Where could I find the boolean property "clipstorect"
within the Property Inspector?

Al

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


SVG (in LiveCode) can do that?!

2017-11-16 Thread Ben Rubinstein via use-livecode

Paging Mark Waddingham:

https://www.youtube.com/watch?v=jLgb3CVVTRw

___
use-livecode mailing list
use-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: Specialty Fonts on Mobile -- OK? or Stay Away?

2017-11-16 Thread Andrew Bell via use-livecode
So far things have worked well for me embedding fonts in iOS and  
Android, but I've had some issues acquiring proper licensing for some  
client requested typefaces because "web" & "print" licenses didn't  
cover "app" usage. Google Fonts, and their liberal licensing, are your  
friend.


I've had some issues with my custom fonts not being displayed in iOS  
when I build using LC9. I'm assuming the font files are getting stored  
in a different location but haven't seen anything in the release notes  
and haven't had a chance to look into the issue much since the same  
exact stack builds find in LC8.


--Andrew Bell



-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On  
Behalf Of Sannyasin Brahmanathaswami via use-livecode

Sent: Wednesday, November 15, 2017 12:34 PM
To: How LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: Specialty Fonts on Mobile -- OK? or Stay Away?

We have a new UI/UX designer working in Sketch/Invision/Zeplin   
which is a marvelous universe for design collaboration, and getting  
from her designs to a card layout in LC is easy enough.


But she has chosen to use a font called

KohinoorDevanagari

which not only has Devanagari script but a very lovely roman font  
that will looks lovely, sans serif, very clear and efficient in  
terms of chars per inch and legibility on tight line heights


I have never, ever use the font bundling option with Livecode, but  
besides this one I have need of some other specialty fonts/scripts  
for specific modules.


But this KohinoorDevanagari is everywhere, , which she has used for  
every label, button, control, text field, menu in the UI.


My question is this: for those have tried using specialty fonts on  
mobile. Does it work well for you across platforms?


My "gut" instinct is telling me to stay with native fonts, but I  
can't tell if that is just my resistance to the added complexity and  
additional overhead talking.


What say you?

"No problem go for it -- with any nice font you like."

OR

"Nope, I tried that, you don't want to go down that path because?. A,B,C?"

Brahmanathaswami
www.himalayanacademy.com
Get the SivaSiva App today (for iPhone and iPad)
https://itunes.apple.com/us/app/sivasiva/id1271260502?mt=8
(Android Pending)







___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


AW: When do you need tsNet-x86_64 ?

2017-11-16 Thread Tiemo Hollmann TB via use-livecode
Hi Charles,
thanks for claryfing that quick
Tiemo


-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Charles Warwick via use-livecode
Gesendet: Donnerstag, 16. November 2017 11:54
An: How to use LiveCode 
Cc: Charles Warwick 
Betreff: Re: When do you need tsNet-x86_64 ?

Hi Tiemo,

You only need the tsNet inclusion for building 64bit Mac standalones.

The tsNet-x86_64 inclusion is currently only for the LC FileMaker plugin.

Regards,

Charles

> On 16 Nov 2017, at 8:15 pm, Tiemo Hollmann TB via use-livecode
 wrote:
> 
> Hi,
> 
> up to now I have manually selected the inclusion tsNet. Now I want to 
> build 64Bit standalones for Mac. Do I now have to select the 
> tsNet-x86_64 inclusion instead? While running still 32 Bit on Windows, 
> do I now have to select both tsNet inclusions and each standalone will 
> pick the right tsNet, or do I have to assign the correct one for windows /
Mac - but how?
> 
> Or am I completely on the wrong lane with tsNet-x86_64?
> 
> 
> 
> Thanks for any insight
> 
> Tiemo
> 
> 
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-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: When do you need tsNet-x86_64 ?

2017-11-16 Thread Charles Warwick via use-livecode
Hi Tiemo,

You only need the tsNet inclusion for building 64bit Mac standalones.

The tsNet-x86_64 inclusion is currently only for the LC FileMaker plugin.

Regards,

Charles

> On 16 Nov 2017, at 8:15 pm, Tiemo Hollmann TB via use-livecode 
>  wrote:
> 
> Hi,
> 
> up to now I have manually selected the inclusion tsNet. Now I want to build
> 64Bit standalones for Mac. Do I now have to select the tsNet-x86_64
> inclusion instead? While running still 32 Bit on Windows, do I now have to
> select both tsNet inclusions and each standalone will pick the right tsNet,
> or do I have to assign the correct one for windows / Mac - but how?
> 
> Or am I completely on the wrong lane with tsNet-x86_64?
> 
> 
> 
> Thanks for any insight
> 
> Tiemo
> 
> 
> 
> 
> 
> 
> 
> ___
> use-livecode mailing list
> use-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: Testing Bandwidth with new TSNet Functions

2017-11-16 Thread Charles Warwick via use-livecode
Have a look in the dictionary at the tsNetSetTimeouts command.

In particular, the last two parameters allow you to define a minimum transfer 
speed so that if a transfer falls below that speed, tsNet will abort the 
connection.

For example, if you issue the following command:

tsNetSetTimeouts 30, 0, 30, 6, 30, 1

Then tsNet will abort any connection that is transferring at a rate slower than 
1 bytes per 30 seconds.

Cheers,

Charles

> On 16 Nov 2017, at 5:28 am, Ralph DiMola via use-livecode 
>  wrote:
> 
> Sannyasin,
> 
> This is what I'm going to try to deal with the moving in/out of services 
> issues. I have not done this yet but will try in the next week or 2.
> 
> 1) Talk to my web service and see if there is a reasonably fast connection.
> 2) If so then use asynchronous TSNet to download data in the background with 
> a callback.
> 3) Set a timer to keep checking the latency of the web service every second 
> or so until the data transfer is complete.
> 4) Cancel the timer in the callback when TSNet completes.
> 5) If at any time during the TSNet transfer the ping to the server is too 
> slow then cancel the transfer and notify the user the data connection is 
> either too slow or nonexistent at this time.
> 
> That's all I got
> 
> 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 Sannyasin Brahmanathaswami via use-livecode
> Sent: Wednesday, November 15, 2017 12:52 PM
> To: How LiveCode
> Cc: Sannyasin Brahmanathaswami
> Subject: Testing Bandwidth with new TSNet Functions
> 
> Someone suggested we could test bandwidth by getting the milliseconds before 
> calling a ping.txt file on our server (contains one word "true") and then 
> check the milliseconds after getting the result and we might use this to 
> determine if the bandwidth was sufficient for streaming content from the web 
> server.
> 
> Some very, very big "million dollar" apps are surprisingly "brutal" about 
> this… Spotify, for example, even if I am on 3G and able to get a web page on 
> Safari in my iPhone 7… will simply throw up It's broken connection icon 
> (pretty ugly, whole screen display) and not even bother to "say anything" to 
> the user.
> 
> FlipBoard, the "super access to all the publications in some large universe" 
> simply fails on startup if you are offline when you boot, they don't even 
> give the user the courtesy of a notification that they are off line.  OK well 
> I take that back.. not at least they tell you to turn off airplane mode… but 
> if on super low 3G  the app just becomes non-functional stopping cold on the 
> splash screen, again, not even bothering to tell the user anything.
> 
> Our SivaSiva app has a mix of content resident in the app and content we call 
> dynamically, so I need a more robust/gracefulway to deal with users walking 
> from 4 bars strong LTE at the coffee shop to 1 blip 3G connection as they 
> walk down the street to the bus, and then back up with 5bars Wi-Fi at home or 
> office.
> 
> Currently my ping-the-server method is to see if I can get the ping file, but 
> fetching a ping.txt with only 4 chars data, tends to work, even in low 
> bandwidth situations, this "fools" the app into thinking it has a connection, 
> but if they try to then look at a video in the browser widget from YouTube, 
> or load an image heavy page (our blog) or call some painting/artwork into an 
> image object… the browser widget  just "goes white"  -- (a bug IMHO), because 
> I can/do put up a loading gif on the card, but the browser widget takes over 
> and "hangs on blank" waiting for the GET connection go pull enough data to 
> start rendering and I have no way to tell the user their bandwidth is too 
> low. So this just make the app look like it failed or is "super slow."
> 
> That's the back story: I know TS Net has some functions along these lines, 
> before I dive in from ground zero and flail around this issue, can anyone 
> share what they are using/doing to deal with variable bandwidth? What is 
> working for you and a few snippets would be greatly appreciated.
> 
> Brahmanathaswami
> www.himalayanacademy.com Get the SivaSiva 
> App today (for iPhone and iPad)
> https://itunes.apple.com/us/app/sivasiva/id1271260502?mt=8
> (Android Pending HQ's Solution to some Engineering Issues)
> 
> 
> ___
> use-livecode mailing list
> use-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:
> 

When do you need tsNet-x86_64 ?

2017-11-16 Thread Tiemo Hollmann TB via use-livecode
Hi,

up to now I have manually selected the inclusion tsNet. Now I want to build
64Bit standalones for Mac. Do I now have to select the tsNet-x86_64
inclusion instead? While running still 32 Bit on Windows, do I now have to
select both tsNet inclusions and each standalone will pick the right tsNet,
or do I have to assign the correct one for windows / Mac - but how?

Or am I completely on the wrong lane with tsNet-x86_64?

 

Thanks for any insight

Tiemo

 

 

 

___
use-livecode mailing list
use-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: Finding on online shop window for apps (was Re: Awful quiet around here )

2017-11-16 Thread Matthias Rebbe via use-livecode
David,
please keep in mind that PayPal is just sending payment receipts to the 
customers, not invoices. So if your company resides in EU and you have to do a 
monthly/quaterly or whatever declaration of your payed and received VAT (sorry, 
don´t know how to express this correctly in English), then you have to take 
care that your buyers pay the VAT according to their company they live in. 
If your company does not need to do such declarations then all is okay using 
Paypal for payments.

That´s the reason why i decided to do it using a merchant site. They are the 
seller, so they send out the invoices on behalf of them.
Before that i had to do the complete invoicing myself.

Now to your question: If i am not totally wrong then you need also with PayPal 
an underlying web service on your side to which PayPal posts the successful 
order information.

Matthias 



> Am 16.11.2017 um 10:25 schrieb David V Glasgow via use-livecode 
> >:
> 
> Thanks to all on and off list responses to my questions.  I have looked at 
> all comments and suggestions, and have another question.
> 
> Instead of paying for a merchant site, wouldn’t it be possible to script a 
> desktop app to license itself via say, Paypal?  Effectively implementing  an 
> in-app purchase model on desktop?  I have seen references to Paypal being 
> used to buy digital products with embedded code, including “software”, but 
> can’t track down a clear explanation of what this involves.
> 
> Best wishes
> 
> David Glasgow
> ___
> use-livecode mailing list
> use-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: Finding on online shop window for apps (was Re: Awful quiet around here )

2017-11-16 Thread David V Glasgow via use-livecode
Seems like someone ?Scott Rossi worked this one out

http://www.discamus.com/nunc/how/ 

but it still involves a merchant site.  I don’t understand why that should be 
necessary.  

Best wishes,

David G


> On 16 Nov 2017, at 9:25 am, David V Glasgow  wrote:
> 
> Thanks to all on and off list responses to my questions.  I have looked at 
> all comments and suggestions, and have another question.
> 
> Instead of paying for a merchant site, wouldn’t it be possible to script a 
> desktop app to license itself via say, Paypal?  Effectively implementing  an 
> in-app purchase model on desktop?  I have seen references to Paypal being 
> used to buy digital products with embedded code, including “software”, but 
> can’t track down a clear explanation of what this involves.
> 
> Best wishes
> 
> David Glasgow

___
use-livecode mailing list
use-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: Finding on online shop window for apps (was Re: Awful quiet around here )

2017-11-16 Thread David V Glasgow via use-livecode
Thanks to all on and off list responses to my questions.  I have looked at all 
comments and suggestions, and have another question.

Instead of paying for a merchant site, wouldn’t it be possible to script a 
desktop app to license itself via say, Paypal?  Effectively implementing  an 
in-app purchase model on desktop?  I have seen references to Paypal being used 
to buy digital products with embedded code, including “software”, but can’t 
track down a clear explanation of what this involves.

Best wishes

David Glasgow
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

sync LC applications

2017-11-16 Thread paolo mazza via use-livecode
Hi all,
what’s the best way to sync several  LC applications installed on many 
different devices?
For example, consider having 100 smartphones connected to internet running the 
same LC application, how can I send a signal/command so that an image shows up  
at the same time in every smatphone?
AFAIK a solution is to set up a text file in a web server and let the app 
installed in each device to check (every second)  if any change occour , but 
this solution is not efficient.
Any idea?
Best regards,
Paolo Mazza
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode