Re: Indy 9.5.0. Apple can't search for malware in LC Indy?

2019-11-05 Thread Paul Dupuis via use-livecode
I am sure it is possible. I just don't have the 
PHP/HTML/Javascript/whatever skills to do that.



On 11/5/2019 12:02 PM, Phil Davis via use-livecode wrote:
On this issue, isn't it possible to let a web server detect the OS 
requesting the download? So the server can then do the picking and 
send the right version to the requestor?


Or maybe the info available to the server about the requesting OS 
isn't that detailed. Not sure. At least I'm sure I can use a single 
download link for an app's Mac and Windows installers.


Phil Davis



On 11/5/19 8:33 AM, Paul Dupuis via use-livecode wrote:
I'm not saying YOUR experience is invalid. I guess I am just saying 
we have really really really computer naive customers and Apple has 
gone and complicated things and it creates a support burden for us 
that we would not have had to expend resources addressing if Apple 
had not done this.


Apple has, and there is no going back, so it is what it is, but it is 
really really annoying! :-(




On 11/5/2019 11:23 AM, Bob Sneidar via use-livecode wrote:
But the installers for drivers and the installer you want to use are 
not different. And what else does anyone have to go on but their 
experiences, and other people's experiences? I need to tap into that 
resource! ;-)


Bob S


On Nov 5, 2019, at 08:18 , Paul Dupuis via use-livecode 
 wrote:


On 11/5/2019 10:41 AM, Bob Sneidar via use-livecode wrote:
First, your assumption that "it's one everyone is experiencing for 
any installer" is exactly that, an assumption based on your 
experiences.


The vast majority of our customers are computer novices and 
anything but the simplest of steps can cause them problems. Most do 
not know what version of macOS they run, nor how to tell what 
version they are running.


Second, I was not calling for RunRev to "fix" this. It is clearly 
Apple's inane drive for marketing a level or privacy and security 
that is mostly a gigantic lie that is the cause.


And thirdly, drivers are a bit different than research apps.


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

http://lists.runrev.com/mailman/listinfo/use-livecode




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

http://lists.runrev.com/mailman/listinfo/use-livecode







___
use-livecode mailing list
use-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: Indy 9.5.0. Apple can't search for malware in LC Indy?

2019-11-05 Thread Phil Davis via use-livecode

On 11/5/19 12:26 PM, Paul Dupuis via use-livecode wrote:
I am sure it is possible. I just don't have the 
PHP/HTML/Javascript/whatever skills to do that.


Me neither. I do it either directly in a .lc server page, or else the 
.lc page starts using a stackfile that does it.


(fiddling around with different machines...)

It appears the $_SERVER[HTTP_USER_AGENT] server global might provide an 
adequate distinction between OSes on requesting machines. I just ran a 
'globals.lc' server page from 3 different Macs with different OS 
versions and got this info returned:


   $_SERVER[HTTP_USER_AGENT] = Mozilla/5.0 (Macintosh; Intel Mac OS X
   10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.87
   Safari/537.36

   $_SERVER[HTTP_USER_AGENT] = Mozilla/5.0 (Macintosh; Intel Mac OS X
   10_15_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70
   Safari/537.36

   $_SERVER[HTTP_USER_AGENT] = Mozilla/5.0 (Macintosh; Intel Mac OS X
   10_14_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.1
   Safari/605.1.15

My server's globals.lc page looks like this on the inside:

   
   
   "
   after tOutput
    end repeat

    put tOutput
   ?>


   
   


Phil Davis




On 11/5/2019 12:02 PM, Phil Davis via use-livecode wrote:
On this issue, isn't it possible to let a web server detect the OS 
requesting the download? So the server can then do the picking and 
send the right version to the requestor?


Or maybe the info available to the server about the requesting OS 
isn't that detailed. Not sure. At least I'm sure I can use a single 
download link for an app's Mac and Windows installers.


Phil Davis



On 11/5/19 8:33 AM, Paul Dupuis via use-livecode wrote:
I'm not saying YOUR experience is invalid. I guess I am just saying 
we have really really really computer naive customers and Apple has 
gone and complicated things and it creates a support burden for us 
that we would not have had to expend resources addressing if Apple 
had not done this.


Apple has, and there is no going back, so it is what it is, but it 
is really really annoying! :-(




On 11/5/2019 11:23 AM, Bob Sneidar via use-livecode wrote:
But the installers for drivers and the installer you want to use 
are not different. And what else does anyone have to go on but 
their experiences, and other people's experiences? I need to tap 
into that resource! ;-)


Bob S


On Nov 5, 2019, at 08:18 , Paul Dupuis via use-livecode 
 wrote:


On 11/5/2019 10:41 AM, Bob Sneidar via use-livecode wrote:
First, your assumption that "it's one everyone is experiencing for 
any installer" is exactly that, an assumption based on your 
experiences.


The vast majority of our customers are computer novices and 
anything but the simplest of steps can cause them problems. Most 
do not know what version of macOS they run, nor how to tell what 
version they are running.


Second, I was not calling for RunRev to "fix" this. It is clearly 
Apple's inane drive for marketing a level or privacy and security 
that is mostly a gigantic lie that is the cause.


And thirdly, drivers are a bit different than research apps.


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

http://lists.runrev.com/mailman/listinfo/use-livecode




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

http://lists.runrev.com/mailman/listinfo/use-livecode







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

http://lists.runrev.com/mailman/listinfo/use-livecode




--
Phil Davis
503-307-4363

___
use-livecode mailing list
use-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: Learning from scratch - any recommendations?

2019-11-05 Thread Richard Gaskin via use-livecode
The person in question is both an adult and has expressed an interest in 
learning computer science, not natural languages, so most of the 
discussion here has been irrelevant to your request.


Scratch, for example, can be useful for young learners but at higher 
cognitive development levels is unnecessarily limited and possibly 
confusing.


There's a vast wealth of resources for learning programming all over the 
web, so many it's hard to pick just one.


But as an entry point for learning LC, which makes an excellent choice 
for acquiring CS fundamentals, I would suggest starting with:


1. Do the first-run tutorial presented when LC boots.

2. Read the first few chapters of the LC User Guide included in the 
package.  It's pretty good, very comprehensive, yet sorely 
underutilized.  Skim the topic-specific stuff so you know where to go 
later as needed, but a good review of the intro stuff on the object 
model and language basics is a great start.


As for design, start him off with "Don't Make Me Think", but Steve Krug. 
 It's a slender volume that recaps the basics for modern, contemporary 
UI/UX practices.


If those resources hook him we can find more.

--
 Richard Gaskin
 Fourth World Systems


Graham wrote:

I was disappointed that I only got one reply to my query about LC as a platform 
for learning programming - I thought this was a big thing with quite a few 
people on this list, some of whom are actually educators. Since I’ve failed in 
this, can someone suggest a better way of getting an answer (e.g. forums, 
mother ship)?

TIA

Graham

I wrote:


I have been approached by one of my family to ask what would be the first steps 
for someone (a young adult) to enable them to enter the world of app design and 
programming. Obviously I need to ask more questions myself, such as whether 
this would be to get a job, or simply as an educational exercise, or maybe to 
provide a launchpad for a startup idea. However, even at this stage, of course 
my thoughts turned to LiveCode.

So my question to the community is, how would such a person start off - assuming they’re intelligent, very familiar with consumer-level technology such as smart phones, tablets, laptop computers for study etc. and social media, but probably have never seen or thought about what is involved in designing, implementing and publishing an app (I would just say “a program”, but that shows how old I am) on any platform? If it is LC (and why not?), are the published lessons sufficient? What is the view of those on this list who do actually teach this stuff? 


The trouble for me is that I have been around all this for 50 years (more, to 
be truthful) and so can’t project myself well into the mind of that kind of 
newbie. One guess is that one way to start would be to find a cheap hardware 
platform (probably an Android tablet) and try to use the LC Community Edition 
to allow me to create something for that; but that idea may be stupid, 
particularly as one would need a different platform to actually do the 
development work.

Hoping for some insights

Graham




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


OT? The Grammar of the Elements

2019-11-05 Thread Mark Wieder via use-livecode
2019 has been designated by UNESCO as the International Year of the 
Periodic Table, which is IYPT because it wouldn't fit into a TLA. Herein 
we find:


(!) a seven-volume Sanskrit-German dictionary
(!) Sanskrit -> 3,959 rules organized into eight chapters.

https://www.americanscientist.org/article/the-grammar-of-the-elements

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


Android brightness

2019-11-05 Thread Riko Abdul via use-livecode
Hello,

I'm making a barcode application. For barcodes to be displayed. android
screen brightness reaches 100% so the android screen will be maximum
brightness. so the barcode will look very clear even if the android screen
is dim. is this possible with livecode?
if possible, is a sample code that I can learn?

Thanks,

Riko

---
I'm studying 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: server push to desktop client

2019-11-05 Thread Phil Davis via use-livecode

Thank you Kee! This is extremely helpful.
Phil


On 11/5/19 12:38 AM, Kee Nethery via use-livecode wrote:

Normal data flow is Mac app contacts a central server and sees if there is 
updated data to acquire. If yes, it acquires it.

This is the normal flow because of firewalls and ports.

For the server to really push data to a Mac client, the Mac client has to be a 
server, with a routable IP address / port. Most client machines are behind 
firewalls that allow them to initiate contact, but do not allow random external 
machines to contact them.

So the normal setup is, server has a dns entry on an IP address that anyone can 
reach from anywhere on the Internet. Server is listening on a single port for 
incoming connections.

Assuming the same data (updates) goes to each client, server has a text page 
containing a single integer. That integer is the number of the latest update. 
Client hits that web page periodically to see if its internal integer is 
different from the server. It’s a very quick exchange.

Client sees their internal integer isn’t the same. Let’s say client has 92 and 
server has 103.

Client then hits pages 93 to 103 to get all the updates. For example:

http://my.server.com/updates/93.txt
All the way to:
http://my.server.com/updates/103.txt

On the server side, you create update pages and increment the integer at 
something like:

http://my.server.com/updates/last.txt

The server is fast because it serves up static pages and the fastest page is 
last.txt because it’s only (in this example) three characters “103”.

I’m assuming all clients get the same data.

When each client gets unique data, you’ll probably have a database on the 
server and clients will do hits against the server to see if they have new data 
to gather, and if yes, they’ll do their query with their userid to gather their 
data.

  The trade off between server text pages and server database responses is one 
of those things you’ll need to figure out which is most efficient for you. 
Could be you ship a client that can do both and the very first hit to the 
server is a static page that tells the client “text” or “database” and then the 
client does the right thing. Could periodically check that page and perhaps you 
have a flag on it like “database always” that tells the client to stop 
checking, all updates forever will be the database update process.

But ... client pulls from the server because most servers cannot push through 
firewalls and routers an NAT servers to initiate first contact with a client.

Kee Nethery


On Nov 4, 2019, at 11:26 PM, Phil Davis via use-livecode 
 wrote:

I need to make a desktop app (Mac only for now) that receives pushed data from a LC 
server. I've never done this - all the desktop <-> server interactions I've 
programmed have used the traditional client-server model. So I'm looking for 
approaches/tips/ideas from anyone who has experience with other approaches.

I'm not sure what protocol to use.

And maybe I'm making it too hard. Can FTP watch a server folder, and detect and 
respond to the creation of a file in the folder? Maybe I could use a method 
like that, if that's a capability of FTP.

Thanks for any input you may offer.

--
Phil Davis
503-307-4363


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


--
Phil Davis
503-307-4363


___
use-livecode mailing list
use-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: server push to desktop client

2019-11-05 Thread Phil Davis via use-livecode

Thanks for sharing your insight Richard. Great food for thought.

Phil


On 11/5/19 12:29 AM, Richard Gaskin via use-livecode wrote:

Phil Davis wrote:

> I need to make a desktop app (Mac only for now) that receives pushed
> data from a LC server. I've never done this - all the desktop <->
> server interactions I've programmed have used the traditional client-
> server model. So I'm looking for approaches/tips/ideas from anyone
> who has experience with other approaches.

I'd stick with simple polling for this.  Anything else requires either 
opening a socket (with all the firewall/router changes needed to allow 
that), or creating a dependency on a separate process like push 
notifications, which would likely require LCB.


Polling can get the job done well enough, and is secure and requires 
no router changes or external dependencies.  And if down the road you 
find a convenient way to switch to something else you can change that 
part, but at least it lets you get it out the door now using reliable 
features and your existing skillset.



> And maybe I'm making it too hard. Can FTP watch a server folder, and
> detect and respond to the creation of a file in the folder? Maybe I
> could use a method like that, if that's a capability of FTP.

You could poll from the client using FTP, but compared to HTTP it's a 
noisy protocol, with many more steps internally.  The inefficiency of 
FTP is more than offset by its utility when ad hoc access to remote 
file stores are needed.  But when the goal is more specific, HTTP will 
often beat it for both efficiency and client implementation cost every 
time.


On the server, an LC Server script that reports any changes to a 
folder from the last time it was called would be straightforward to 
write, give you reliably consistent results*, and would run quickly.



* Years ago when I was monitoring folders with FTP I learned more than 
I cared to about FTP date representations.  They vary.  A lot.  By 
different rules, according to a vastly flexible set of config options. 
So you can never know which server will use month-and-day only up to a 
certain cutoff, and then one of several month-day-year options for 
anything older.  Sometimes the cuttoff is a month.  Sometimes it's the 
year break.  Other times it's a specific number of days.  "Hey man, 
it's all about flexibility!" In all cases it can mean a listing in 
which date representations take on at least two different formats.


Even if you just had LC Server return "the detailed files" at least 
you'd have solid consistency in the format of every file, every time.




--
Phil Davis
503-307-4363


___
use-livecode mailing list
use-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: Indy 9.5.0. Apple can't search for malware in LC Indy?

2019-11-05 Thread Phil Davis via use-livecode
On this issue, isn't it possible to let a web server detect the OS 
requesting the download? So the server can then do the picking and send 
the right version to the requestor?


Or maybe the info available to the server about the requesting OS isn't 
that detailed. Not sure. At least I'm sure I can use a single download 
link for an app's Mac and Windows installers.


Phil Davis



On 11/5/19 8:33 AM, Paul Dupuis via use-livecode wrote:
I'm not saying YOUR experience is invalid. I guess I am just saying we 
have really really really computer naive customers and Apple has gone 
and complicated things and it creates a support burden for us that we 
would not have had to expend resources addressing if Apple had not 
done this.


Apple has, and there is no going back, so it is what it is, but it is 
really really annoying! :-(




On 11/5/2019 11:23 AM, Bob Sneidar via use-livecode wrote:
But the installers for drivers and the installer you want to use are 
not different. And what else does anyone have to go on but their 
experiences, and other people's experiences? I need to tap into that 
resource! ;-)


Bob S


On Nov 5, 2019, at 08:18 , Paul Dupuis via use-livecode 
 wrote:


On 11/5/2019 10:41 AM, Bob Sneidar via use-livecode wrote:
First, your assumption that "it's one everyone is experiencing for 
any installer" is exactly that, an assumption based on your 
experiences.


The vast majority of our customers are computer novices and anything 
but the simplest of steps can cause them problems. Most do not know 
what version of macOS they run, nor how to tell what version they 
are running.


Second, I was not calling for RunRev to "fix" this. It is clearly 
Apple's inane drive for marketing a level or privacy and security 
that is mostly a gigantic lie that is the cause.


And thirdly, drivers are a bit different than research apps.


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

http://lists.runrev.com/mailman/listinfo/use-livecode




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

http://lists.runrev.com/mailman/listinfo/use-livecode




--
Phil Davis
503-307-4363


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


New edition of Programming LiveCode for the Real Beginner

2019-11-05 Thread Mark via use-livecode
I'm very happy to announce the second edition of my book Programming 
LiveCode for the Real Beginner. The previous edition stems from the time 
of LiveCode 6 and since then many features have been added to --and some 
removed from-- LiveCode. One of the major changes concerns Unicode. 
While I haven't deleted any of the valuable information about Unicode 
form the book, I have added a paragraph and made several changes to take 
into account the much easier way LiveCode deals with unicode nowadays.


Everywhere in the book, small corrections and bigger changes have been 
applied. Where necessary, scripts have been updated and minor remarks 
have been added, making the text more comprehensible. The paragraphs 
about the standalone builder and the properties inspector have been 
renewed. Pictures have been updated with improved quality and doing more 
justice to LiveCode's multi-platform character.


The red cover with scripts and mainboard has been replaced with a fresh 
yellow cover exhibiting four fields in which one might find LiveCode 
projects making a significant contribution. I intend to write a blog 
post about this when I have collected the necessary info.


In response to feedback, we have decided to abandonthe bubble plastic 
envelopes and replace them with carton board book cases. Your book 
should now arrive in perfect condition. If it doesn't, contact us.


Important to know:
- 250 pages with many examples
- This book is not available as e-book and it won't be. Don't ask.
- Read more at 
https://ecxtalk.nl/file.php?node=programming-livecode-for-the-real-beginner 
(we still need to update the website but most information still applies)

- The book costs 32 euro, including packaging and shipping costs
- We ship globally with only a few (four or five) exceptions
- Not receiving your purchase (e.g. sometimes in China)? Use our website 
to contact us and ask for a solution


Have you written or are you writing a book and do you own the 
copyrights? I'd like to explore the possibilities to print more 
LiveCode-related books. Contact me if you think this is an awesome idea. 
(I'm a registered publisher).


--
Kind regards,

Drs. Mark Schonewille

Economy-x-Talk Consultancy and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
Facebook: http://facebook.com/LiveCode.Beginner
KvK: 50277553


___
use-livecode mailing list
use-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: Indy 9.5.0. Apple can't search for malware in LC Indy?

2019-11-05 Thread Paul Dupuis via use-livecode
I'm not saying YOUR experience is invalid. I guess I am just saying we 
have really really really computer naive customers and Apple has gone 
and complicated things and it creates a support burden for us that we 
would not have had to expend resources addressing if Apple had not done 
this.


Apple has, and there is no going back, so it is what it is, but it is 
really really annoying! :-(




On 11/5/2019 11:23 AM, Bob Sneidar via use-livecode wrote:

But the installers for drivers and the installer you want to use are not 
different. And what else does anyone have to go on but their experiences, and 
other people's experiences? I need to tap into that resource! ;-)

Bob S



On Nov 5, 2019, at 08:18 , Paul Dupuis via use-livecode 
 wrote:

On 11/5/2019 10:41 AM, Bob Sneidar via use-livecode wrote:
First, your assumption that "it's one everyone is experiencing for any 
installer" is exactly that, an assumption based on your experiences.

The vast majority of our customers are computer novices and anything but the 
simplest of steps can cause them problems. Most do not know what version of 
macOS they run, nor how to tell what version they are running.

Second, I was not calling for RunRev to "fix" this. It is clearly Apple's inane 
drive for marketing a level or privacy and security that is mostly a gigantic lie that is 
the cause.

And thirdly, drivers are a bit different than research apps.


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




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


Catalina & Mojave "Allow/Deny" dialogs

2019-11-05 Thread Paul Dupuis via use-livecode
Another "fun" feature of the newer macOS versions is the new Privacy 
(tab in the Security and Privacy pane of the System Preferences).


It seems that running our app generates a number of system dialogs of 
the form "[[OUR APPLICATION]] wants access to " with "OK" and "Don't 
Allow" buttons. Two of these make perfect sense.


1) Is access to the Internet, which appears to appear if and only if the 
Firewall is truned on (default in Mojave is off and in Catalina is on). 
Our app access a server file to see if there is a new version of itself.


2) [[OUR APPLICATION]] wants access to control "Finder.app". Allowing 
control will provide access to documents and data in "Finder.app", and 
to perform actions in that app." with the expected "OK" and "Don't 
Allow". This took me a while to figure out, but apparently it is cause 
by any app that uses AppleEvents. We use AppleEvents to detect if a 
document has been dropped on our app or one of our apps documents has 
been double clicked. We also respond to AppleEvent quit messages to exit 
our application. Seemingly pretty basic desktop applications tasks now 
have a vague warning message associated with them.


NOW HERE IS THE PUZZLER.

When our app is sitting there idle, we just saw one of these that says: 
"[[[OUR APPLICATION]] would like to access your Contacts" with the 
expected "OK" and "Don't Allow". Now, NOTHING in our application has 
anything to do with a person Contacts. So does anyone have ANY idea why 
this would popup?


What LiveCode statements or functions could generate this. Would access 
revMail do it? Our app can ask to send an email under certain 
situations. Does anyone have any experience with these new "Privacy" 
warnings and how best to address them?



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


Printing issue on Windows confirmed, reported

2019-11-05 Thread Richard Gaskin via use-livecode
Thanks to a new forum user who provided a handy sample stack, I was able 
to pin down a recipe for making a very common form of printing on 
Windows completely unusable:


Setting the vGrid or hGrid properties of a field cause the field to be 
rendered into the print buffer with the entire content region blacked out:


https://quality.livecode.com/show_bug.cgi?id=22442

Interestingly, printing to PDF works fine.  But using Microsoft 
OneNote's "Print to file" option shows the anomaly as physical printers do.


So if you're among those mystified by weird printing output, this may be 
the issue.


Hopefully this will be addressed quickly.  In its current state it kills 
LC as an option for a wide range of business and consumer applications.


--
 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: Android mobile audio player

2019-11-05 Thread panagiotis merakos via use-livecode
Hello Jacque,

What Android version does your device run? A rough guess is that the
problem is security/permissions related. On Android 9+ there is something
equivalent to iOS ATS that blocks connections that do not comply with some
security standards. You can workaround this by adding a suitable entry to
the Android manifest.

See "Option 2" in this bug report:

https://quality.livecode.com/show_bug.cgi?id=22400

Kind regards,
Panos
--

On Mon, 4 Nov 2019 at 23:40, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I'm unable to get the native player to work on Android, using scripts
> that did work previously. I'm streaming mp3 files from a server, and
> they work fine on desktop so I know the file is being sent. I've also
> tried opening a copy from Dropbox in three different audio players on
> Android and they all play too, so the file format is okay.
>
> The script I'm using, which worked previously:
>
> command createMobileAudioPlayer pURL, pPlayerName
>-- pURL = remote video or audio file
>-- pPlayerName = name of player to create
>mobileControlCreate "player",pPlayerName
>mobileControlSet pPlayerName, "visible", true
>mobileControlSet pPlayerName, "rect", getPlayerRect() -- returns a rect
>mobileControlSet pPlayerName, "showController", true
>mobileControlSet pPlayerName, "filename", pURL
>if pURL begins with "http" then
>  showBusyIndicator true -- show spinner until duration is available
>end if
> end createMobileAudioPlayer
>
> on playerPropertyAvailable tProperty -- sent when enough has content is
> loaded
>if tProperty is "duration" then
>  showBusyIndicator false -- Remove spinner and start playing
>  setMobileAudioPlayer "listen", "play" -- handles playback
>end if
> end playerPropertyAvailable
>
> The control does get created, but shows a duration of zero. The
> playerPropertyAvailable message never arrives, so the player doesn't
> start. I've tried starting the player directly from the
> "createMobileAudioPlayer" handler but that also fails.
>
> I'd like to verify that audio is no longer working before I submit a
> report.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Thermal printer bluetooth

2019-11-05 Thread General 2018 via use-livecode
Hi ,

Something we need on LC Mac , LC Android and LC IOS also. 

Bluetooth and USB works fine on LC Windows using Virtual Com port.
Serial over USB.
Serial over Bluetooth.

Unfortunately no current cross platform solution with LC which would open up 
solution for all those apps that communicate with external hardware if put 
right.

Regards Camm

> On 5 Nov 2019, at 11:17, Riko Abdul via use-livecode 
>  wrote:
> 
> Why does LC not support Bluetooth. I want to use a thermal printer for my
> application. I use LC for Android but I found a problem using Bluetooth for
> Android. whether LC cannot be used for printers with Bluetooth?
> 
> Thanks
> ___
> use-livecode mailing list
> use-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: Indy 9.5.0. Apple can't search for malware in LC Indy?

2019-11-05 Thread James At The Hale via use-livecode
LC is not the only app bringing up this alert.
The standard way to open non-notarized apps is to right-click (cntl-click) on 
the app and select “Open” in the resulting menu.
You will then be presented with a dialog asking if you really want to open the 
app.
Once you do this LC will open.
This is a once only procedure.

James

___
use-livecode mailing list
use-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: server push to desktop client

2019-11-05 Thread Kee Nethery via use-livecode
Normal data flow is Mac app contacts a central server and sees if there is 
updated data to acquire. If yes, it acquires it.

This is the normal flow because of firewalls and ports.

For the server to really push data to a Mac client, the Mac client has to be a 
server, with a routable IP address / port. Most client machines are behind 
firewalls that allow them to initiate contact, but do not allow random external 
machines to contact them.

So the normal setup is, server has a dns entry on an IP address that anyone can 
reach from anywhere on the Internet. Server is listening on a single port for 
incoming connections.

Assuming the same data (updates) goes to each client, server has a text page 
containing a single integer. That integer is the number of the latest update. 
Client hits that web page periodically to see if its internal integer is 
different from the server. It’s a very quick exchange.

Client sees their internal integer isn’t the same. Let’s say client has 92 and 
server has 103.

Client then hits pages 93 to 103 to get all the updates. For example:

http://my.server.com/updates/93.txt
All the way to:
http://my.server.com/updates/103.txt

On the server side, you create update pages and increment the integer at 
something like:

http://my.server.com/updates/last.txt

The server is fast because it serves up static pages and the fastest page is 
last.txt because it’s only (in this example) three characters “103”.

I’m assuming all clients get the same data.

When each client gets unique data, you’ll probably have a database on the 
server and clients will do hits against the server to see if they have new data 
to gather, and if yes, they’ll do their query with their userid to gather their 
data.

 The trade off between server text pages and server database responses is one 
of those things you’ll need to figure out which is most efficient for you. 
Could be you ship a client that can do both and the very first hit to the 
server is a static page that tells the client “text” or “database” and then the 
client does the right thing. Could periodically check that page and perhaps you 
have a flag on it like “database always” that tells the client to stop 
checking, all updates forever will be the database update process.

But ... client pulls from the server because most servers cannot push through 
firewalls and routers an NAT servers to initiate first contact with a client.

Kee Nethery

> On Nov 4, 2019, at 11:26 PM, Phil Davis via use-livecode 
>  wrote:
> 
> I need to make a desktop app (Mac only for now) that receives pushed data 
> from a LC server. I've never done this - all the desktop <-> server 
> interactions I've programmed have used the traditional client-server model. 
> So I'm looking for approaches/tips/ideas from anyone who has experience with 
> other approaches.
> 
> I'm not sure what protocol to use.
> 
> And maybe I'm making it too hard. Can FTP watch a server folder, and detect 
> and respond to the creation of a file in the folder? Maybe I could use a 
> method like that, if that's a capability of FTP.
> 
> Thanks for any input you may offer.
> 
> -- 
> Phil Davis
> 503-307-4363
> 
> 
> ___
> use-livecode mailing list
> use-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


Indy 9.5.0. Apple can't search for malware in LC Indy?

2019-11-05 Thread Tiemo Hollmann TB via use-livecode
Hello,

 

I just installed LC Indy 9.5.0. on MacOS 10.15 Catalina

 

I can't start LC Indy. My Mac tells me:

"LiveCode Indy 9.5.0 can't be opened, because Apple can't search for malware
in this app." This software has to be updated.

 

Probably this was already a question on this list, but I couldn't find the
answer, what I have to do.

 

Thank you

 

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: Thermal printer bluetooth

2019-11-05 Thread Ben Rubinstein via use-livecode
Not sure of the current status but a couple of years ago I had excellent 
results using the mergBLE extensions - I was able to do both high- and low- 
level bluetooth things on Mac and on iOS. http://mergext.com/home/mergble/


I can't recall - when Monte joined LiveCode, did the mergExt package get 
rolled in somehow?


Ben

On 05/11/2019 11:46, General 2018 via use-livecode wrote:

Hi ,

Something we need on LC Mac , LC Android and LC IOS also.

Bluetooth and USB works fine on LC Windows using Virtual Com port.
Serial over USB.
Serial over Bluetooth.

Unfortunately no current cross platform solution with LC which would open up 
solution for all those apps that communicate with external hardware if put 
right.

Regards Camm


On 5 Nov 2019, at 11:17, Riko Abdul via use-livecode 
 wrote:

Why does LC not support Bluetooth. I want to use a thermal printer for my
application. I use LC for Android but I found a problem using Bluetooth for
Android. whether LC cannot be used for printers with Bluetooth?

Thanks


___
use-livecode mailing list
use-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: Indy 9.5.0. Apple can't search for malware in LC Indy?

2019-11-05 Thread Paul Dupuis via use-livecode

One annoyance from Catalina and Notarization for me as a developer:

LiveCode 9.x.x supports macOS 10.9 (Mavericks) through 10.15 (Catalina). 
For our app built on LC9.x.x, we support those versions of macOS as 
well. However, a Notarized DMG (one way of addressing Apple's 
Notarization requirement) will only open on Sierra, High Sierra, Mojave, 
or Catalina (10.12-10.15). For 10.9, 10.10, and 10.11 a Notarized DMG 
presents an error and will not open.


So now we have to guide out macOS customers to self-select one of two 
downloadable DMGs - one for earlier versions of macOS and a different 
one for later versions. In our case, we just do a regular signed app and 
signed DMG for 10.9 through 10.14 (Mojave) and a notarized DMG (with a 
signed app) for 10.15 Catalina


An, yes, no matter how "clear" we think our guidance is, we have people 
download the wrong DMG.



On 11/5/2019 5:01 AM, Tiemo Hollmann TB via use-livecode wrote:

Hello,

  


I just installed LC Indy 9.5.0. on MacOS 10.15 Catalina

  


I can't start LC Indy. My Mac tells me:

"LiveCode Indy 9.5.0 can't be opened, because Apple can't search for malware
in this app." This software has to be updated.

  


Probably this was already a question on this list, but I couldn't find the
answer, what I have to do.

  


Thank you

  


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: Indy 9.5.0. Apple can't search for malware in LC Indy?

2019-11-05 Thread Richmond via use-livecode

The new recension of MacOS does seem to resemble
that island off the coast of California in more ways that just its name:
also a bit rocky and hard-going to cultivate anything on its
barren slopes.

I have certainly had no problems of this sort on
MacOS 10.14.6; and I honestly think I'll stay with that
version until I am pushed so hard against the wall
I have no choice but to upgrade.

Richmond.

On 5.11.19 12:01, Tiemo Hollmann TB via use-livecode wrote:

Hello,

  


I just installed LC Indy 9.5.0. on MacOS 10.15 Catalina

  


I can't start LC Indy. My Mac tells me:

"LiveCode Indy 9.5.0 can't be opened, because Apple can't search for malware
in this app." This software has to be updated.

  


Probably this was already a question on this list, but I couldn't find the
answer, what I have to do.

  


Thank you

  


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: server push to desktop client

2019-11-05 Thread Richard Gaskin via use-livecode

Phil Davis wrote:

> I need to make a desktop app (Mac only for now) that receives pushed
> data from a LC server. I've never done this - all the desktop <->
> server interactions I've programmed have used the traditional client-
> server model. So I'm looking for approaches/tips/ideas from anyone
> who has experience with other approaches.

I'd stick with simple polling for this.  Anything else requires either 
opening a socket (with all the firewall/router changes needed to allow 
that), or creating a dependency on a separate process like push 
notifications, which would likely require LCB.


Polling can get the job done well enough, and is secure and requires no 
router changes or external dependencies.  And if down the road you find 
a convenient way to switch to something else you can change that part, 
but at least it lets you get it out the door now using reliable features 
and your existing skillset.



> And maybe I'm making it too hard. Can FTP watch a server folder, and
> detect and respond to the creation of a file in the folder? Maybe I
> could use a method like that, if that's a capability of FTP.

You could poll from the client using FTP, but compared to HTTP it's a 
noisy protocol, with many more steps internally.  The inefficiency of 
FTP is more than offset by its utility when ad hoc access to remote file 
stores are needed.  But when the goal is more specific, HTTP will often 
beat it for both efficiency and client implementation cost every time.


On the server, an LC Server script that reports any changes to a folder 
from the last time it was called would be straightforward to write, give 
you reliably consistent results*, and would run quickly.



* Years ago when I was monitoring folders with FTP I learned more than I 
cared to about FTP date representations.  They vary.  A lot.  By 
different rules, according to a vastly flexible set of config options. 
So you can never know which server will use month-and-day only up to a 
certain cutoff, and then one of several month-day-year options for 
anything older.  Sometimes the cuttoff is a month.  Sometimes it's the 
year break.  Other times it's a specific number of days.  "Hey man, it's 
all about flexibility!" In all cases it can mean a listing in which date 
representations take on at least two different formats.


Even if you just had LC Server return "the detailed files" at least 
you'd have solid consistency in the format of every file, every time.


--
 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: Learning from scratch - any recommendations? [with OT additions]

2019-11-05 Thread Richmond via use-livecode

Interesting stuff.

"But writing in LC means that you have to master concepts and algorithms"

I wonder which programming language (and I don't mean block-based 
baby-hits-the-Lego-bricks stuff)

does not involve mastering concepts and algorithms.

One of the things that has slightly annoyed me in every single discussion
I have seen about learning and teaching programming in the last 25 years
was the assumption that somehow one could have a "free lunch."

You can't!

Learning any new skill (driving a tractor?) involves mastering concepts.

Most of the attempts at dumbing down have resulted in . . . wait for it 
. . . dumb stuff.


When BASIC was developed there was no attempt to dumb things down; just 
make the learning curve
not like the sort of exponential cliff that put off lots and lots of 
kids prior to that.


LiveCode does not dumb things down, but its learning curve is one "h" 
shallower than Python, C++ and all the other "usual suspects." 
Notwithstanding its shallow learning curve, no-one is going to get very 
far if they
behaved like me in the market in Jeddah (KSA) in 1996; "taxi, flat, 
help." (Actually I did get quite far,
as the people in the market felt so sorry for me with my non-existent 
Arabic that they gave me a sandwich
and a cup of coffee.) This was one of the main reasons why, very 
quickly, I got my head round a few Arabic verbs.


"The so called universal language was announced to be a possibility in 
LC to enhance the language but also, as announced, to translate it in 
other languages (like french) for kids with french words and expressions 
for example."


Sacre "oink". C'est un projet impossible, Je pense.

When I read/hear the phrase "universal language" I start thinking of 
Esperanto and Volupak . . . need

I say more?

Why don't the Francophones put down their glasses of pastis and design 
their own object-oriented

programming language, forbye?

Well, just possibly because, like it or not, the English-speaking world 
seem to be rather well ahead of everyone

else in terms of computer programming languages.

This could be due to an awful lot of European ennui.

Why did Linus Torvalds not do "his stuff" in Finnish, and why does he 
and his family live in California?

Go figure.

Je n'ai aucune sympathie pour les gens qui n'a pas un peu de langue 
Anglais (Ouf, J'ai lu un livre de Denis Diderot
hier, et dans le Francais de Diderot il ecrivait "Anglois.") un jeune 
qui est un monoglot est un infirme.


There, you see; I've got crappy French, so why can't other people have 
crappy English?


On 5.11.19 10:37, Georges Malamoud via use-livecode wrote:

There are many good reasons to learn another language, ranging from the well-proven 
neurological benefits of multiple languages to the simple common courtesy of doing so - 
but in straightforward "increase in ability to communicate" I'm unconvinced 
that an English speaker gains enough to justify the effort.

Hello. I am french and an active person for cultural and linguistic diversity, 
not only for french speaking (francophone )countries :)
To speak several languages is a way to become richer, more open and versatile. 
Those who prefer to master only one language are ok but they are also sometimes 
closed to other cultures and, if it is not a problem for them, then it can be a 
problem for the others, the strangers. Those who would like to understand 
several languages, but cannot, are more open to cultural diversity. It is often 
a matter of choice. On the competitive market, it is best to speak several 
languages, of course. For me the best multicultural meeting is when each one 
speaks its own language (2 or 3) and everybody understand the others, because 
it is easier to understand that to speak. Those who measure their efforts in 
this matter are just losing ground. Have you seen several people speaking 
english with very different backgrounds (even in the same country) ? This can 
be a big source of problems in international meetings ;)

Coming back to Livecode, two points :
- LC is easier to read than to write because of its long sentences. It is a huge 
quality. But writing in LC means that you have to master concepts and algorithms 
and particularities of this loved and ç§&@!?’ed language. Easier if you know 
several computer languages. Fight for the computer language diversity also !
- The so called universal language was announced to be a possibility in LC to 
enhance the language but also, as announced, to translate it in other languages 
(like french) for kids with french words and expressions for example. Where are 
we on this subject ? Nowhere, it seems to me ! Too bad...
___
use-livecode mailing list
use-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

Learning from scratch - any recommendations? [with OT additions]

2019-11-05 Thread Georges Malamoud via use-livecode
>> There are many good reasons to learn another language, ranging from the 
>> well-proven neurological benefits of multiple languages to the simple common 
>> courtesy of doing so - but in straightforward "increase in ability to 
>> communicate" I'm unconvinced that an English speaker gains enough to justify 
>> the effort.

Hello. I am french and an active person for cultural and linguistic diversity, 
not only for french speaking (francophone )countries :)
To speak several languages is a way to become richer, more open and versatile. 
Those who prefer to master only one language are ok but they are also sometimes 
closed to other cultures and, if it is not a problem for them, then it can be a 
problem for the others, the strangers. Those who would like to understand 
several languages, but cannot, are more open to cultural diversity. It is often 
a matter of choice. On the competitive market, it is best to speak several 
languages, of course. For me the best multicultural meeting is when each one 
speaks its own language (2 or 3) and everybody understand the others, because 
it is easier to understand that to speak. Those who measure their efforts in 
this matter are just losing ground. Have you seen several people speaking 
english with very different backgrounds (even in the same country) ? This can 
be a big source of problems in international meetings ;)

Coming back to Livecode, two points :
- LC is easier to read than to write because of its long sentences. It is a 
huge quality. But writing in LC means that you have to master concepts and 
algorithms and particularities of this loved and ç§&@!?’ed language. Easier if 
you know several computer languages. Fight for the computer language diversity 
also !
- The so called universal language was announced to be a possibility in LC to 
enhance the language but also, as announced, to translate it in other languages 
(like french) for kids with french words and expressions for example. Where are 
we on this subject ? Nowhere, it seems to me ! Too bad...
___
use-livecode mailing list
use-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: Indy 9.5.0. Apple can't search for malware in LC Indy?

2019-11-05 Thread panagiotis merakos via use-livecode
Hello Tiemo,

This is shown because you are on Catalina and the app is not notarised. You
should be able to add this app to the "exceptions" list by going to the
System Settings -> Security and Privacy, and then click "Open Anyway"

I am still on Mojave, so have not tested this, but it should work, see more
details in:

https://support.apple.com/en-us/HT202491

Kind regards,
Panos
--

On Tue, 5 Nov 2019 at 12:03, Tiemo Hollmann TB via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hello,
>
>
>
> I just installed LC Indy 9.5.0. on MacOS 10.15 Catalina
>
>
>
> I can't start LC Indy. My Mac tells me:
>
> "LiveCode Indy 9.5.0 can't be opened, because Apple can't search for
> malware
> in this app." This software has to be updated.
>
>
>
> Probably this was already a question on this list, but I couldn't find the
> answer, what I have to do.
>
>
>
> Thank you
>
>
>
> 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


Thermal printer bluetooth

2019-11-05 Thread Riko Abdul via use-livecode
Why does LC not support Bluetooth. I want to use a thermal printer for my
application. I use LC for Android but I found a problem using Bluetooth for
Android. whether LC cannot be used for printers with Bluetooth?

Thanks
___
use-livecode mailing list
use-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: Indy 9.5.0. Apple can't search for malware in LC Indy?

2019-11-05 Thread Bob Sneidar via use-livecode
This is not limited to LC. When downloading drivers for MacOS from the Toshiba 
site, guess what you see? One link for drivers prior to a certain version of 
the OS, and another for later versions. It may be an annoyance, but it's one 
everyone is experiencing for any installer. RunRev won't be able to fix this so 
that we have one unified installer. 

Bob S


> On Nov 5, 2019, at 05:15 , Paul Dupuis via use-livecode 
>  wrote:
> 
> One annoyance from Catalina and Notarization for me as a developer:
> 
> LiveCode 9.x.x supports macOS 10.9 (Mavericks) through 10.15 (Catalina). For 
> our app built on LC9.x.x, we support those versions of macOS as well. 
> However, a Notarized DMG (one way of addressing Apple's Notarization 
> requirement) will only open on Sierra, High Sierra, Mojave, or Catalina 
> (10.12-10.15). For 10.9, 10.10, and 10.11 a Notarized DMG presents an error 
> and will not open.
> 
> So now we have to guide out macOS customers to self-select one of two 
> downloadable DMGs - one for earlier versions of macOS and a different one for 
> later versions. In our case, we just do a regular signed app and signed DMG 
> for 10.9 through 10.14 (Mojave) and a notarized DMG (with a signed app) for 
> 10.15 Catalina
> 
> An, yes, no matter how "clear" we think our guidance is, we have people 
> download the wrong DMG.


___
use-livecode mailing list
use-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: Indy 9.5.0. Apple can't search for malware in LC Indy?

2019-11-05 Thread Paul Dupuis via use-livecode

On 11/5/2019 10:41 AM, Bob Sneidar via use-livecode wrote:
First, your assumption that "it's one everyone is experiencing for any 
installer" is exactly that, an assumption based on your experiences.


The vast majority of our customers are computer novices and anything but 
the simplest of steps can cause them problems. Most do not know what 
version of macOS they run, nor how to tell what version they are running.


Second, I was not calling for RunRev to "fix" this. It is clearly 
Apple's inane drive for marketing a level or privacy and security that 
is mostly a gigantic lie that is the cause.


And thirdly, drivers are a bit different than research apps.



This is not limited to LC. When downloading drivers for MacOS from the Toshiba 
site, guess what you see? One link for drivers prior to a certain version of 
the OS, and another for later versions. It may be an annoyance, but it's one 
everyone is experiencing for any installer. RunRev won't be able to fix this so 
that we have one unified installer.

Bob S



On Nov 5, 2019, at 05:15 , Paul Dupuis via use-livecode 
 wrote:

One annoyance from Catalina and Notarization for me as a developer:

LiveCode 9.x.x supports macOS 10.9 (Mavericks) through 10.15 (Catalina). For 
our app built on LC9.x.x, we support those versions of macOS as well. However, 
a Notarized DMG (one way of addressing Apple's Notarization requirement) will 
only open on Sierra, High Sierra, Mojave, or Catalina (10.12-10.15). For 10.9, 
10.10, and 10.11 a Notarized DMG presents an error and will not open.

So now we have to guide out macOS customers to self-select one of two 
downloadable DMGs - one for earlier versions of macOS and a different one for 
later versions. In our case, we just do a regular signed app and signed DMG for 
10.9 through 10.14 (Mojave) and a notarized DMG (with a signed app) for 10.15 
Catalina

An, yes, no matter how "clear" we think our guidance is, we have people 
download the wrong DMG.


___
use-livecode mailing list
use-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: Indy 9.5.0. Apple can't search for malware in LC Indy?

2019-11-05 Thread Bob Sneidar via use-livecode
But the installers for drivers and the installer you want to use are not 
different. And what else does anyone have to go on but their experiences, and 
other people's experiences? I need to tap into that resource! ;-)

Bob S


> On Nov 5, 2019, at 08:18 , Paul Dupuis via use-livecode 
>  wrote:
> 
> On 11/5/2019 10:41 AM, Bob Sneidar via use-livecode wrote:
> First, your assumption that "it's one everyone is experiencing for any 
> installer" is exactly that, an assumption based on your experiences.
> 
> The vast majority of our customers are computer novices and anything but the 
> simplest of steps can cause them problems. Most do not know what version of 
> macOS they run, nor how to tell what version they are running.
> 
> Second, I was not calling for RunRev to "fix" this. It is clearly Apple's 
> inane drive for marketing a level or privacy and security that is mostly a 
> gigantic lie that is the cause.
> 
> And thirdly, drivers are a bit different than research apps.


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


Re: Android Sleep

2019-11-05 Thread Sannyasin Brahmanathaswami via use-livecode
" Is it sleeping when you're interacting with it, or just running with no 
interaction?"

-- running with no interaction

Some "modules" (stacks) in the app guide the user through a practice, let say, 
e.g.

- do A for 5 second, 
- (there is a countdown timer showing "1,2,3,4,5"  on the screen)
- do B for 5 second
- hold for 1 second
- repeat above 5 time

Throughout, the user does not have to touch the screen
LC is running "procedure" and displaying count down (or count ups)  on the 
screen.

simply put, its equivalent to running a stopwatch on the phone

Ideally, 
1) the user doesn't "interact" with the phone.
2) BUT, the phone doesn’t go sleep…until the "cycle is over"

Does your video payback APIs do the same?

Testing on iPhone: 
-- set for auto lock in 30 seconds
-- go to the stopwatch, start it running.
-- the phone will not sleep (auto lock) as long as it is running.  I have tried 
it… running 5 minutes. No sleep
-- it only goes to sleep if you pause or stop.

that the behavior we a looking for...


==

Richard wrote: When it's running without interaction, what is it doing for 30 
seconds 
while the user is idle?

I video media playback APIs keep the screen active.  Beyond that, if the 
user isn't using the device Android will use the threshold you've set to 
conserve power.

___
use-livecode mailing list
use-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: Thermal printer bluetooth

2019-11-05 Thread General 2018 via use-livecode
Hi ,

Could you post a simple example .
Write “Hello” to a device using mergBLE ?

Regards Camm

> On 5 Nov 2019, at 12:19, Ben Rubinstein via use-livecode 
>  wrote:
> 
> Not sure of the current status but a couple of years ago I had excellent 
> results using the mergBLE extensions - I was able to do both high- and low- 
> level bluetooth things on Mac and on iOS. http://mergext.com/home/mergble/
> 
> I can't recall - when Monte joined LiveCode, did the mergExt package get 
> rolled in somehow?
> 
> Ben
> 
>> On 05/11/2019 11:46, General 2018 via use-livecode wrote:
>> Hi ,
>> Something we need on LC Mac , LC Android and LC IOS also.
>> Bluetooth and USB works fine on LC Windows using Virtual Com port.
>> Serial over USB.
>> Serial over Bluetooth.
>> Unfortunately no current cross platform solution with LC which would open up 
>> solution for all those apps that communicate with external hardware if put 
>> right.
>> Regards Camm
>>> On 5 Nov 2019, at 11:17, Riko Abdul via use-livecode 
>>>  wrote:
>>> 
>>> Why does LC not support Bluetooth. I want to use a thermal printer for my
>>> application. I use LC for Android but I found a problem using Bluetooth for
>>> Android. whether LC cannot be used for printers with Bluetooth?
>>> 
>>> Thanks
> 
> ___
> use-livecode mailing list
> use-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