Re: Windows shell command with path

2020-11-18 Thread panagiotis merakos via use-livecode
Hello Bill,

Is the "shellCommand" property of any help in this case?

Kind regards,
Panos
--

On Thu, 19 Nov 2020 at 05:21, Bill Vlahos via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I want to issue a command line prompt to a program in “Program Files
> (x86)\AppFolder\MyApp”.
>
> When I go to the command line my path is already “C:\Windows\System32>
> which is too deep. I have to cd .. twice to get to Program Files (x86)\etc.
>
> If I issue the shell command to “C:\Program Files (x86)\etc. it can’t find
> the path.
>
> How can I issue the shell command to an application in the Program Files
> (x86)\AppFolder\MyApp”?
>
> Thanks,
> Bill
> ___
> use-livecode mailing list
> use-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


Windows shell command with path

2020-11-18 Thread Bill Vlahos via use-livecode
I want to issue a command line prompt to a program in “Program Files 
(x86)\AppFolder\MyApp”.

When I go to the command line my path is already “C:\Windows\System32> which is 
too deep. I have to cd .. twice to get to Program Files (x86)\etc.

If I issue the shell command to “C:\Program Files (x86)\etc. it can’t find the 
path.

How can I issue the shell command to an application in the Program Files 
(x86)\AppFolder\MyApp”?

Thanks,
Bill
___
use-livecode mailing list
use-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: Script colorization not working

2020-11-18 Thread Niggemann, Bernd via use-livecode
panagiotis merakos via 
use-livecode<https://www.mail-archive.com/search?l=use-livecode@lists.runrev.com&q=from:%22panagiotis+merakos+via+use%5C-livecode%22>
 Wed, 18 Nov 2020 13:28:22 
-0800<https://www.mail-archive.com/search?l=use-livecode@lists.runrev.com&q=date:20201118>

Hello Devin,

A rough guess is that she is on Big Sur. There is a known issue where
colorization is lost if the default font (Source Code Pro) is used. If this
is the case, she can try switching to a different font, and the issue will
be fixed.

Kind regards,
Panos

It  seems there is a new release of Source Code Pro that removes an 
experimental offending "SVG table with colored glyphs" from the font that 
causes the problem on Big Sur.

https://github.com/adobe-fonts/source-code-pro/releases/tag/2.032R-ro%2F1.052R-it%2F1.012R-VAR

The discussiion of the problem is here

https://github.com/adobe-fonts/source-code-pro/issues/250

Kind regards
Bernd


___
use-livecode mailing list
use-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: Script colorization not working

2020-11-18 Thread Devin Asay via use-livecode
Thanks, Panos! I believe I did notice that she is using Source Code Pro. I’ll 
have her look into that.

Devin

> On Nov 18, 2020, at 2:26 PM, panagiotis merakos via use-livecode 
>  wrote:
> 
> Hello Devin,
> 
> A rough guess is that she is on Big Sur. There is a known issue where
> colorization is lost if the default font (Source Code Pro) is used. If this
> is the case, she can try switching to a different font, and the issue will
> be fixed.
> 
> Kind regards,
> Panos
> --
> 
> On Wed, 18 Nov 2020 at 23:18, Devin Asay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Hi all,
>> 
>> One of my students is having a problem where the script colorization is
>> not working completely. That is, the bold face style is applied for things
>> like **on** mouseUp and **end** mouseUp, and commands are boldfaced. But
>> nothing else is colorized.
>> 
>> We have checked all of her script editor preferences. Colorization is set
>> to default.
>> 
>> There is nothing in the script editor menu that would affect this as far
>> as I can tell.
>> 
>> My student likes script colorization and finds it very helpful, so she’s
>> anxious to get it fixed.
>> 
>> Has anyone ever seen this? Any suggestions for how to fix it?
>> 
>> She’s on Mac, probably Catalina, LiveCode Community 9.6.1.
>> 
>> Devin
>> 
>> 
>> Devin Asay
>> Director
>> Office of Digital Humanities
>> Brigham Young University
>> 
>> ___
>> use-livecode mailing list
>> use-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

Devin Asay
Director
Office of Digital Humanities
Brigham Young University

___
use-livecode mailing list
use-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: Script colorization not working

2020-11-18 Thread panagiotis merakos via use-livecode
Hello Devin,

A rough guess is that she is on Big Sur. There is a known issue where
colorization is lost if the default font (Source Code Pro) is used. If this
is the case, she can try switching to a different font, and the issue will
be fixed.

Kind regards,
Panos
--

On Wed, 18 Nov 2020 at 23:18, Devin Asay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi all,
>
> One of my students is having a problem where the script colorization is
> not working completely. That is, the bold face style is applied for things
> like **on** mouseUp and **end** mouseUp, and commands are boldfaced. But
> nothing else is colorized.
>
> We have checked all of her script editor preferences. Colorization is set
> to default.
>
> There is nothing in the script editor menu that would affect this as far
> as I can tell.
>
> My student likes script colorization and finds it very helpful, so she’s
> anxious to get it fixed.
>
> Has anyone ever seen this? Any suggestions for how to fix it?
>
> She’s on Mac, probably Catalina, LiveCode Community 9.6.1.
>
> Devin
>
>
> Devin Asay
> Director
> Office of Digital Humanities
> Brigham Young University
>
> ___
> use-livecode mailing list
> use-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


Script colorization not working

2020-11-18 Thread Devin Asay via use-livecode
Hi all,

One of my students is having a problem where the script colorization is not 
working completely. That is, the bold face style is applied for things like 
**on** mouseUp and **end** mouseUp, and commands are boldfaced. But nothing 
else is colorized.

We have checked all of her script editor preferences. Colorization is set to 
default.

There is nothing in the script editor menu that would affect this as far as I 
can tell. 

My student likes script colorization and finds it very helpful, so she’s 
anxious to get it fixed.

Has anyone ever seen this? Any suggestions for how to fix it?

She’s on Mac, probably Catalina, LiveCode Community 9.6.1.

Devin


Devin Asay
Director
Office of Digital Humanities
Brigham Young University

___
use-livecode mailing list
use-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: Big Sur bugs

2020-11-18 Thread Paul Dupuis via use-livecode

Jacque,

Thank you! My blood pressure is already going down to more normal 
levels. I will work on the assumtion it is a VM issue for now and set up 
a partitioned Big Sur install.




On 11/18/2020 3:07 PM, J. Landman Gay via use-livecode wrote:

On 11/18/20 12:06 PM, Paul Dupuis via use-livecode wrote:
Has any experienced any problems playing back media (.mp3 audio files 
or .mp4 video) under macOS Big Sur?


I just ran into an issue where none of my media is playing (at all) 
in a LC9.6.1 built stand-alone under Big Sur.


I haven't built an app in Big Sur yet, but an app built in Mojave 
plays audio when run in Big Sur.





___
use-livecode mailing list
use-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: PDF Manipulation was Design Question

2020-11-18 Thread Bob Sneidar via use-livecode
That should have read preconfigured to read the FDF file (stupid spell correct!)

Bob S


On Nov 18, 2020, at 12:15 PM, Bob Sneidar via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

preconfigured to read the pdf file of course

___
use-livecode mailing list
use-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: Big Sur bugs

2020-11-18 Thread panagiotis merakos via use-livecode
@Paul
I tested on a VM too, but on Parallels, not on VirtualBox.

If Quicktime cannot open the video either, then it sounds like a VM issue.
It would be great if anyone running Big Sur natively could give some input.

Regards,
Panos

On Wed, Nov 18, 2020, 22:08 J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 11/18/20 12:06 PM, Paul Dupuis via use-livecode wrote:
> > Has any experienced any problems playing back media (.mp3 audio files or
> .mp4 video) under
> > macOS Big Sur?
> >
> > I just ran into an issue where none of my media is playing (at all) in a
> LC9.6.1 built
> > stand-alone under Big Sur.
>
> I haven't built an app in Big Sur yet, but an app built in Mojave plays
> audio when run in Big Sur.
>
> --
> 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: PDF Manipulation was Design Question

2020-11-18 Thread Bob Sneidar via use-livecode
If you are talking about form data, there IS a way to configure a PDF so that 
it reads a data file contains just form data and populates with the new data. 
This works with Mac and Windows, and I assume with Linux, but the caveat is 
that the PDF has to be configured to do this first.

The format is not difficult to grok. I use it in my Forms Generator app 
extensively to fill blank forms with data from an SQL server. I have handlers 
for reading and creating these files (they end in .fdf). It get’s a little more 
difficult to understand when dealing with things like check boxes and radio 
buttons, and especially tables. For instance the two default values for a 
checkbox (unless you modify the checkbox object in the PDF) is false and yes.

My application has an interface for importing a pre-existing fillable form 
(preconfigured to read the pdf file of course), creating relationships between 
the database columns and the form objects, and saving those relationships along 
with the binary data to recreate the pdf on demand, in the SQL database.

Is that what you need?

Bob S


On Nov 18, 2020, at 12:02 PM, Bob Sneidar via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

At my work we have a, frankly stupid, situation that could be made so
much easier if we had software do a simple function. All that is needed
is that a PDF file that comes to me gets some of its text changed and
the changes are according to a specific pattern.

___
use-livecode mailing list
use-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: Suspend in iOS, or when is a mobile app running?

2020-11-18 Thread hlowe--- via use-livecode
Test

_
Sent from http://runtime-revolution.278305.n4.nabble.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: Big Sur bugs

2020-11-18 Thread J. Landman Gay via use-livecode

On 11/18/20 12:06 PM, Paul Dupuis via use-livecode wrote:
Has any experienced any problems playing back media (.mp3 audio files or .mp4 video) under 
macOS Big Sur?


I just ran into an issue where none of my media is playing (at all) in a LC9.6.1 built 
stand-alone under Big Sur.


I haven't built an app in Big Sur yet, but an app built in Mojave plays audio 
when run in Big Sur.

--
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: Suspend in iOS, or when is a mobile app running?

2020-11-18 Thread J. Landman Gay via use-livecode

That's good to know. Now all we need is an Android equivalent.

On 11/17/20 4:39 PM, Mark Smith wrote:
And just a reminder that, under iOS, you’ll have to register to receive a “ 
UIApplicationWillResignActiveNotification” message, and then write a handler to respond to that 
(PS only register once in your stack script — I learned the hard way). It’s documented under 
mergNotify in the dictionary (with credit to Elanor for pointing this out to me when my “on 
shutdownRequest” handlers were being ignored).


Jacque, I believe this is what you are looking for to be notified when you go into the 
background. I do some db cleanup at that time and it seems to work.



--
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: Big Sur bugs

2020-11-18 Thread Paul Dupuis via use-livecode
No, however, I am running Big Sur in a Virtual Box VM under macOS 
Mojave. All other Big Sur features and functions appear to work fine in 
the VM (we just can not afford Apple hardware for every version of their 
OS from Mavericks to Big Sur. VM's are a lot more versatile as they can 
be clones, snapshotted, and restored when things get messed up)


If I try to just double click on the video under Big Sure, it opens the 
Quicktime Player (?) and I get a "unknown error occurred (-101).


I am glad to hear it is working for you Panos - very glad. Both our 
commercial apps depend on the player object and I was in a panic! I'd 
ask anyone following this thread to please take time to test media under 
Big Sur.


I would be ecstatic to learn in is a VM issue. We'll then move to our 
backup of installing on a partition for a dual (actually more than dual 
as we have about 5 version of macOS each on its own partition) boot system.


-- Paul

On 11/18/2020 2:21 PM, panagiotis merakos wrote:

@Paul Dupuis 

Hmm that is strange, the player works for me. I used the video you 
attached in the bug report. Are you by any chance using a new Silicon 
(ARM) Mac?


I am curious to see if other folks can reproduce this bug.

Kind regards,
Panos
--

On Wed, 18 Nov 2020 at 20:58, Paul Dupuis via use-livecode 
mailto:use-livecode@lists.runrev.com>> 
wrote:


I just filed bug
https://quality.livecode.com/show_bug.cgi?id=22986


Media is dead under Big Sur


On 11/18/2020 1:06 PM, Paul Dupuis via use-livecode wrote:
> Has any experienced any problems playing back media (.mp3 audio
files
> or .mp4 video) under macOS Big Sur?
>
> I just ran into an issue where none of my media is playing (at
all) in
> a LC9.6.1 built stand-alone under Big Sur.
>
>
> ___
> use-livecode mailing list
> use-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: PDF Manipulation was Design Question

2020-11-18 Thread Bob Sneidar via use-livecode


On Nov 18, 2020, at 10:34 AM, John McKenzie via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:


Comments people were making to William in the Design Question thread
have caused me to question some things and I am going to the list here
to get an answer.

Can Livecode edit existing PDF files? I would think this far beyond
its scope and just not the sort of thing it would be involved with. Am
I wrong on that though?

Short answer, no. Long answer, it depends. On a Macintosh, AppleScript can be 
used to manipulate form objects, but as far as the actual “burned in” content, 
I do not think so. This is on purpose, as if this were possible, PDFs could not 
be secure. Also if the PDF has been secured, nothing can modify it.

On a PC, there are libraries for C++ and Java that allow manipulation of PDFs, 
again dependent on the PDFs own security settings.

In either case, Acrobat has certain security features built in, so that some 
things cannot be modified by an API if it does not have the proper security 
context. It is kind of like variable scoping, but from a security point of 
view. That may not be a great analogy, but to get more info read the Javascript 
API to learn what I am talking about.

https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/js_api_reference.pdf

Bob S


At my work we have a, frankly stupid, situation that could be made so
much easier if we had software do a simple function. All that is needed
is that a PDF file that comes to me gets some of its text changed and
the changes are according to a specific pattern.

I thought about getting around to making something that would do that
in one of the more powerful scripting languages. However, if I could use
Livecode it would have some advantages. Namely it would be easier to
create and be very multi-platform.

So here I am having assumed that Livecode is not a tool that could
do what I want but now asking can I use it to automate editing text in a
PDF file?



The edits are simple, BTW. I work at an airport and it would just need
to replace a flight number with the flight number and code next to it.
The code is always the same for a particular route.

So for example, if the incoming PDF has the text "WS252" on it I would
want it changed to "WS252 LV". Each file would have 20-30 flights to
change like this.

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: Big Sur bugs

2020-11-18 Thread panagiotis merakos via use-livecode
@Paul Dupuis 

Hmm that is strange, the player works for me. I used the video you attached
in the bug report. Are you by any chance using a new Silicon (ARM) Mac?

I am curious to see if other folks can reproduce this bug.

Kind regards,
Panos
--

On Wed, 18 Nov 2020 at 20:58, Paul Dupuis via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I just filed bug https://quality.livecode.com/show_bug.cgi?id=22986
>
> Media is dead under Big Sur
>
>
> On 11/18/2020 1:06 PM, Paul Dupuis via use-livecode wrote:
> > Has any experienced any problems playing back media (.mp3 audio files
> > or .mp4 video) under macOS Big Sur?
> >
> > I just ran into an issue where none of my media is playing (at all) in
> > a LC9.6.1 built stand-alone under Big Sur.
> >
> >
> > ___
> > use-livecode mailing list
> > use-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: Big Sur bugs

2020-11-18 Thread Paul Dupuis via use-livecode

I just filed bug https://quality.livecode.com/show_bug.cgi?id=22986

Media is dead under Big Sur


On 11/18/2020 1:06 PM, Paul Dupuis via use-livecode wrote:
Has any experienced any problems playing back media (.mp3 audio files 
or .mp4 video) under macOS Big Sur?


I just ran into an issue where none of my media is playing (at all) in 
a LC9.6.1 built stand-alone under Big Sur.



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


PDF Manipulation was Design Question

2020-11-18 Thread John McKenzie via use-livecode


 Comments people were making to William in the Design Question thread
have caused me to question some things and I am going to the list here
to get an answer.

 Can Livecode edit existing PDF files? I would think this far beyond
its scope and just not the sort of thing it would be involved with. Am
I wrong on that though?

 At my work we have a, frankly stupid, situation that could be made so
much easier if we had software do a simple function. All that is needed
is that a PDF file that comes to me gets some of its text changed and
the changes are according to a specific pattern.

 I thought about getting around to making something that would do that
in one of the more powerful scripting languages. However, if I could use
Livecode it would have some advantages. Namely it would be easier to
create and be very multi-platform.

 So here I am having assumed that Livecode is not a tool that could
do what I want but now asking can I use it to automate editing text in a
PDF file?



 The edits are simple, BTW. I work at an airport and it would just need
to replace a flight number with the flight number and code next to it.
The code is always the same for a particular route.

 So for example, if the incoming PDF has the text "WS252" on it I would
want it changed to "WS252 LV". Each file would have 20-30 flights to
change like this.

 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: Big Sur bugs

2020-11-18 Thread Paul Dupuis via use-livecode
Has any experienced any problems playing back media (.mp3 audio files or 
.mp4 video) under macOS Big Sur?


I just ran into an issue where none of my media is playing (at all) in a 
LC9.6.1 built stand-alone under Big Sur.



___
use-livecode mailing list
use-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: Can LC read QR-Code?

2020-11-18 Thread JeeJeeStudio via use-livecode

Geen dank Klaus.

Schone abend noch!

Gruessen,

Jerry

Op 18-11-2020 om 15:41 schreef Klaus major-k via use-livecode:

Dag JeeJee,


Am 18.11.2020 um 15:34 schrieb JeeJeeStudio via use-livecode 
:

It works in INDY, mein freund :)

dat is mooi, hartelijk bedankt, beste vriend! :-)


Op 18-11-2020 om 15:29 schreef Klaus major-k via use-livecode:

Hi all,

Am 18.11.2020 um 13:15 schrieb Klaus major-k via use-livecode 
:
Hi friends,

I know that LC can generate QR-Codes, but can it also read them?
On mobile? Thanks for any hint.

found it under BARCODE! 8-)

Question, the dictionary says the "Android Barcode Library" works with LC INDY.
But I remember there was one feature falsely reported as supported by INDY, but
was BUSINESS only in the end. Was it this library?

Groetjes

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


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

2020-11-18 Thread Bob Sneidar via use-livecode
Does your stack auto-save anything at any time? If power fails during a save 
operation, there will be another stack file of the same name preceded by a 
tilde (~). Deleting the tilde will restore the prior version of the stack file.

Sometimes a power outage can damage the partition of the HDD. I would have UPS 
backups on all the systems you deem critical, and check these UPS systems every 
three months or replace them outright every three years (typical life 
expectancy of a lead acid battery).

Bob S


On Nov 18, 2020, at 2:20 AM, Lagi Pittas via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:

Hi,

I had 70 PS POS systems in the field and I saved the  list of items and
other info  after each addition it worked 99.9% of the time. But when it
failed (4 or 5  times a year) usually the same
customer (same hardware same windows 7 )I had to log in and copy a blank
livecode stack. In the end I had to save the info in the Sqlite database -
No problems since.

The stackfile never seemed to damage because of a power failure/outage or
anything - but had a greater chance if that was the case. The funny thing
was if you did switch the power off  off
without doing a proper shutdown there was no damage 99.9% of the time.
Never did get to the bottom of it.

Regards Lagi

___
use-livecode mailing list
use-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: Can LC read QR-Code?

2020-11-18 Thread Klaus major-k via use-livecode
Dag JeeJee,

> Am 18.11.2020 um 15:34 schrieb JeeJeeStudio via use-livecode 
> :
> 
> It works in INDY, mein freund :)

dat is mooi, hartelijk bedankt, beste vriend! :-)

> Op 18-11-2020 om 15:29 schreef Klaus major-k via use-livecode:
>> Hi all,
>>> Am 18.11.2020 um 13:15 schrieb Klaus major-k via use-livecode 
>>> :
>>> Hi friends,
>>> 
>>> I know that LC can generate QR-Codes, but can it also read them?
>>> On mobile? Thanks for any hint.
>> found it under BARCODE! 8-)
>> 
>> Question, the dictionary says the "Android Barcode Library" works with LC 
>> INDY.
>> But I remember there was one feature falsely reported as supported by INDY, 
>> but
>> was BUSINESS only in the end. Was it this library?

Groetjes

Klaus

--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


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

2020-11-18 Thread JeeJeeStudio via use-livecode

Thanks!

Wow 1 milion dollars, whish i could earn that in a year.

Op 18-11-2020 om 15:31 schreef Sean Cole (Pi) via use-livecode:

The news page from Apple:
https://www.apple.com/newsroom/2020/11/apple-announces-app-store-small-business-program/

Sean Cole
*Pi Digital *


On Wed, 18 Nov 2020 at 14:29, Sean Cole (Pi)  wrote:


Cl. That's amazing news. Thanks for the heads up.

Sean Cole
*Pi Digital *


On Wed, 18 Nov 2020 at 13:43, Andrew at MidWest Coast Media via
use-livecode  wrote:


Apple, in what seems to me like a giant screw you to Epic Games (or
leveraging in current court battles), is cutting their piece of the pie in
half for small developers: 30% --> 15%

https://www.engadget.com/apple-small-business-program-15-percent-112259064.html
<
https://www.engadget.com/apple-small-business-program-15-percent-112259064.html
As someone earning substantially south of $1M annually I am super excited
about this. Big Sur begins to combine the iOS and macOS platforms opening
up a larger platform AND offers a larger revenue cut.

-Andrew Bell
___
use-livecode mailing list
use-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: Can LC read QR-Code?

2020-11-18 Thread JeeJeeStudio via use-livecode

It works in INDY, mein freund :)

Op 18-11-2020 om 15:29 schreef Klaus major-k via use-livecode:

Hi all,


Am 18.11.2020 um 13:15 schrieb Klaus major-k via use-livecode 
:

Hi friends,

I know that LC can generate QR-Codes, but can it also read them?
On mobile? Thanks for any hint.

found it under BARCODE! 8-)

Question, the dictionary says the "Android Barcode Library" works with LC INDY.
But I remember there was one feature falsely reported as supported by INDY, but
was BUSINESS only in the end. Was it this library?

Thanks in advance!


Best

Klaus

--
Klaus Major
https://www.major-k.de
kl...@major-k.de


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

2020-11-18 Thread Sean Cole (Pi) via use-livecode
The news page from Apple:
https://www.apple.com/newsroom/2020/11/apple-announces-app-store-small-business-program/

Sean Cole
*Pi Digital *


On Wed, 18 Nov 2020 at 14:29, Sean Cole (Pi)  wrote:

> Cl. That's amazing news. Thanks for the heads up.
>
> Sean Cole
> *Pi Digital *
>
>
> On Wed, 18 Nov 2020 at 13:43, Andrew at MidWest Coast Media via
> use-livecode  wrote:
>
>> Apple, in what seems to me like a giant screw you to Epic Games (or
>> leveraging in current court battles), is cutting their piece of the pie in
>> half for small developers: 30% --> 15%
>>
>> https://www.engadget.com/apple-small-business-program-15-percent-112259064.html
>> <
>> https://www.engadget.com/apple-small-business-program-15-percent-112259064.html
>> >
>>
>> As someone earning substantially south of $1M annually I am super excited
>> about this. Big Sur begins to combine the iOS and macOS platforms opening
>> up a larger platform AND offers a larger revenue cut.
>>
>> -Andrew Bell
>> ___
>> use-livecode mailing list
>> use-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: Apple commissions

2020-11-18 Thread Sean Cole (Pi) via use-livecode
Cl. That's amazing news. Thanks for the heads up.

Sean Cole
*Pi Digital *


On Wed, 18 Nov 2020 at 13:43, Andrew at MidWest Coast Media via
use-livecode  wrote:

> Apple, in what seems to me like a giant screw you to Epic Games (or
> leveraging in current court battles), is cutting their piece of the pie in
> half for small developers: 30% --> 15%
>
> https://www.engadget.com/apple-small-business-program-15-percent-112259064.html
> <
> https://www.engadget.com/apple-small-business-program-15-percent-112259064.html
> >
>
> As someone earning substantially south of $1M annually I am super excited
> about this. Big Sur begins to combine the iOS and macOS platforms opening
> up a larger platform AND offers a larger revenue cut.
>
> -Andrew Bell
> ___
> use-livecode mailing list
> use-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: Can LC read QR-Code?

2020-11-18 Thread Klaus major-k via use-livecode
Hi all,

> Am 18.11.2020 um 13:15 schrieb Klaus major-k via use-livecode 
> :
> 
> Hi friends,
> 
> I know that LC can generate QR-Codes, but can it also read them?
> On mobile? Thanks for any hint.

found it under BARCODE! 8-)

Question, the dictionary says the "Android Barcode Library" works with LC INDY.
But I remember there was one feature falsely reported as supported by INDY, but 
was BUSINESS only in the end. Was it this library?

Thanks in advance!


Best

Klaus

--
Klaus Major
https://www.major-k.de
kl...@major-k.de


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


Apple commissions

2020-11-18 Thread Andrew at MidWest Coast Media via use-livecode
Apple, in what seems to me like a giant screw you to Epic Games (or leveraging 
in current court battles), is cutting their piece of the pie in half for small 
developers: 30% --> 15%
https://www.engadget.com/apple-small-business-program-15-percent-112259064.html 


As someone earning substantially south of $1M annually I am super excited about 
this. Big Sur begins to combine the iOS and macOS platforms opening up a larger 
platform AND offers a larger revenue cut.

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


Can LC read QR-Code?

2020-11-18 Thread Klaus major-k via use-livecode
Hi friends,

I know that LC can generate QR-Codes, but can it also read them?
On mobile?

Thanks for any hint.


Best

Klaus

--
Klaus Major
https://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-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: Suspend in iOS, or when is a mobile app running?

2020-11-18 Thread Graham Samuel via use-livecode
Thanks to all who replied on this topic - lots of this is new to me! So far, 
for me the big thing missing is how to **force** iOS to continue sending 
messages to the app in the background, or alternatively force iOS itself to ask 
the user the question when the app calls for location data for the first time. 
Although I have set the ‘experimental’  setting of Location Authorization Type 
to ‘Always' in my Sstandalone Application Settings, this  does not seem either 
to ensure access nor to force the message. Maybe wading around in the iOS SDK 
documentation will help, though somehow I doubt it.

To repeat myself, I have noticed that the following apps which I have used 
personally, don’t seem to get the OS to ask a question of the user, and yet 
they unfailingly continue to process the equivalent of locationChanged messages 
from the GPS when they’re in the background:

Strava
SityTrail
TomTom GO
GB & Parks

and presumably Google Maps and Apple’s own Maps.

They appear to run (i.e execute code, not just sit in RAM) while in the 
background.I just don’t know how they do it so consistently. 

It’s frustrating to try to solve a problem that’s obviously been solved many 
times before, but just happens not to be in the public domain. I am not sure I 
will live long enough to come out the other side of all this (I’m including the 
issue of tracking a route taking into account GPS inaccuracies and anomalies), 
but if I do, I’ll write it up.

Graham

> On 17 Nov 2020, at 23:39, Mark Smith via use-livecode 
>  wrote:
> 
> And just a reminder that, under iOS, you’ll have to register to receive a “ 
> UIApplicationWillResignActiveNotification” message, and then write a handler 
> to respond to that (PS only register once in your stack script — I learned 
> the hard way). It’s documented under mergNotify in the dictionary (with 
> credit to Elanor for pointing this out to me when my “on shutdownRequest” 
> handlers were being ignored). 
> 
> Jacque, I believe this is what you are looking for to be notified when you go 
> into the background. I do some db cleanup at that time and it seems to work.
> 
> Mark
> 
> 
>> On Nov 17, 2020, at 6:54 PM, J. Landman Gay via use-livecode 
>>  wrote:
>> 
>> Android has always acted like this and now that iOS apps run in the 
>> background like Android does, it behaves the same way. At least our problems 
>> are cross-platform now.
>> 
>> An app will stay in RAM until the user specifically quits or until the OS 
>> needs the memory. When that happens, the OS wipes the app and it effectively 
>> shuts down. We get no warning, except for a shutDown message. Android 
>> recommends we store the last state of the app and restore it when it starts 
>> up again.
>> 
>> I'd love to get a message when the app goes into the background but so far 
>> there is none. Storing every little change as it happens seems tedious and 
>> wasteful. I haven't had much luck with storing changes on shutdown but it's 
>> worth a try, it's been a while since I did it.
>> 
>> --
>> Jacqueline Landman Gay | jac...@hyperactivesw.com
>> HyperActive Software | http://www.hyperactivesw.com
>> On November 17, 2020 9:27:50 AM Graham Samuel via use-livecode 
>>  wrote:
>> 
>>> Sorry if this is documented somewhere but I can’t find it.
>>> 
>>> On desktop platforms, LC gives us “suspend” which is fired when the app 
>>> goes into the background. I seem to be having some problems with iOS, in 
>>> that when the screen locks (triggered by  user action or a time limit), my 
>>> app seems to stop getting messages from the OS, so is in some sense 
>>> suspended. This seems to call for something like “suspend” for mobiles. 
>>> Does such a message exist?
>>> 
>>> Another thing that happens with iOS apps that use Location Services is that 
>>> the user is sometimes asked via a popu-up on the screen of the device 
>>> whether the app should be allowed to use these services when it’s not 
>>> running. I don’t know what triggers these user messages, nor am exactly 
>>> certain what ‘not running’ means - presumably if the app has been properly 
>>> quit, that’s something other than ‘not running’. In the Standalone Settings 
>>> for mobile, one can set Location Services as being a requirement, but there 
>>> doesn’t seem to be a setting corresponding to this user choice.
>>> 
>>> Has anyone a clear understanding of all this? I would love to see an 
>>> explanation.
>>> 
>>> TIA
>>> 
>>> 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
>> 
>> 
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/us

Re: Design Question

2020-11-18 Thread Lagi Pittas via use-livecode
Hi,

I had 70 PS POS systems in the field and I saved the  list of items and
other info  after each addition it worked 99.9% of the time. But when it
failed (4 or 5  times a year) usually the same
customer (same hardware same windows 7 )I had to log in and copy a blank
livecode stack. In the end I had to save the info in the Sqlite database -
No problems since.

The stackfile never seemed to damage because of a power failure/outage or
anything - but had a greater chance if that was the case. The funny thing
was if you did switch the power off  off
without doing a proper shutdown there was no damage 99.9% of the time.
Never did get to the bottom of it.

Regards Lagi

On Wed, 18 Nov 2020 at 00:50, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Scott Morrow wrote:
>
>  > For getting it FROM the student, why not just use a livecode stack
>  > file. It could contain everything and be highly editable.
>
> ^ this
>
> LiveCode stack files are an underrated document format.
>
>
> --
>   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
>


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