Re: Textsize of label of copied btn changes

2020-10-18 Thread Richard Gaskin via use-livecode

Check the card properties.

All evidence reported to date is fully explained by the textFfont being 
set on the source card.


--
 Richard Gaskin
 Fourth World Systems


William Prothero wrote:

Richard:
I found that when I created a button, the textsize property had not been set, 
even though the IDE showed it to be 13. I then went to the IDE to click the 
size up to `4, then back down to 13 and then, when I did:
put the texsize of btn “mybutton”, it showed the textsize correctly.

It’s just one of those frustrating mysteries one encounters. The copied btn 
textsize was probably picking up the textsize from the fields that I had 
already imported.

I’d have to call it a bug, I guess??

Best,
Bill

William A. Prothero
https://earthlearningsolutions.org


On Oct 13, 2020, at 10:59 AM, Richard Gaskin via use-livecode  wrote:

William Prothero wrote:

> I am copying a button from one card to another. The font size of the
> label changes from that of the original to a large font and I can’t
> figure out how to change the textsize of the label. I keep getting an
> error.

set the textSize of btn "SoAndSo" to 14

The curious part is that it changed when you pasted it.  If you have a textSize 
specified for the card it came from but not the card it was pasted in, that 
would govern all controls that do not have their own testSize property 
explicitly set.

--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web

Ambassador at 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: LC iOS Command 'mergPopActivity'

2020-10-18 Thread Andrew at MidWest Coast Media via use-livecode
The limited documentation is at http://mergext.com/home/mergpop/ 

Glad to hear that Elanor might be working on some more documentation. This 
feature (like push notifications and mobile camera) are difficult to test since 
the emulator either doesn’t work or has extremely limited functionality.

I found this code snippet in an old project where I was taking a screenshot of 
part of the screen and trying to share to Facebook or Twitter.

export snapshot from rect tExportRect of this card to file tFilePath as PNG

mergPopActivity "Indiana On Tap just hooked me up!",tFilePath,”"


—Andrew Bell


> 
> Message: 13
> Date: Sun, 18 Oct 2020 12:58:50 +0200
> From: Graham Samuel 
> To: How to use LiveCode 
> Subject: LC iOS Command 'mergPopActivity' [was Re: The iOS "Files"
>   folder]
> Message-ID: <769b3120-fcf5-4ecb-9683-ac0a303e2...@mac.com>
> Content-Type: text/plain; charset=utf-8
> 
> I have been trying to use this command, initially to allow an iOS app to put 
> something in the ?Files? folder on an iPhone, but I?m now more interested in 
> the whole idea of Activity Views and how to exploit them in an iOS app. I 
> believe that the LC ?mergPopActivity' command is a wrapper for some function 
> in the iOS native universe - connected with ?UIActivityViewController', but 
> so far I haven?t worked out which one, since I don?t really understand much 
> of Apple?s iOS Developer documentation (I always hope that using LC removes 
> the need to do so!).
> 
> Elanor Buchanan of the mother ship has been extremely helpful about this, and 
> has said she hopes to improve the almost non-existent documentation of this 
> command, but meanwhile I?m interested if anyone on this list has any 
> insights, as I?m quite stuck and don?t want to bug Elanor too much.
> 
> When you invoke the ?mergPopActivity' command in an LC script, it opens a 
> modal window which gives a gateway into services available on your device, 
> like email, printing, saving to ?Files?, sending to social media etc - it 
> depends on what your device is capable of, and the apps it has loaded; so I 
> believe that the LC command essentially implements the ?sharing? activity in 
> iOS, which is usually invoked via an icon consisting of a square with a 
> North-pointing arrow in it. 
> 
> So far so good, but I?ve only been able to do one thing so far, which is to 
> offer a text string originating in the app to these various services. So far 
> I have not been able to find a way to offer a file (for example, a file 
> containing a text rather than the text itself - easy to generate within an 
> app, but no luck in offering to email it etc). There is a ?URL? parameter but 
> I can?t work out what it does.
> 
> Anyone got any clues or shall I apologise (again) to Elanor and ask her for 
> more help?
> 
> 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


Re: SSL cPanel mySql setup

2020-10-18 Thread Neville Smythe via use-livecode


> On 19 Oct 2020, at 3:00 am, use-livecode-requ...@lists.runrev.com wrote:
> 
> Dreamhost never did install LC ... but several of us have made it work.
> Just get the right server executable and permissions.
> I could never get it work account wide but it rocked for individual web
> site installation.

Ah. I got the distinct impression I would need a dedicated server account on 
DreamHost, not a shared environment, to instal LC Server; for this user’s site 
that would not be worth the cost.

To quote the reply from DreamHost:
-
Unfornately we no longer support LiveCode server on our servers at this
time. Looks like current install steps require root/admin access to some
apache config files, which is not something we allow on our managed
server types. 

You could install that on a Dedicated server, or DreamCompute instance if
you wish to, but that would be something you or your developers would
want to do using root on that service. 
-
___
use-livecode mailing list
use-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: Odd data in message box

2020-10-18 Thread Mark Wieder via use-livecode

On 10/18/20 10:56 AM, J. Landman Gay via use-livecode wrote:

I've seen error lists appear in the message box too

I've seen that sometimes as well, but don't have a repeatable recipe. I 
just always assume it's something screwy with my code.


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


Re: Textsize of label of copied btn changes

2020-10-18 Thread J. Landman Gay via use-livecode
If the text properties in the property inspector are italic, they are 
inheriting from another control with a lower layer, or inheriting from the 
IDE itself. If the property is not italic, it's been set specifically on 
the control.


Regardless, there will always be a number in the text size.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 18, 2020 5:15:48 PM William Prothero via use-livecode 
 wrote:



Richard:
I found that when I created a button, the textsize property had not been 
set, even though the IDE showed it to be 13. I then went to the IDE to 
click the size up to `4, then back down to 13 and then, when I did:

put the texsize of btn “mybutton”, it showed the textsize correctly.

It’s just one of those frustrating mysteries one encounters. The copied btn 
textsize was probably picking up the textsize from the fields that I had 
already imported.


I’d have to call it a bug, I guess??

Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

On Oct 13, 2020, at 10:59 AM, Richard Gaskin via use-livecode 
 wrote:


William Prothero wrote:

> I am copying a button from one card to another. The font size of the
> label changes from that of the original to a large font and I can’t
> figure out how to change the textsize of the label. I keep getting an
> error.

set the textSize of btn "SoAndSo" to 14

The curious part is that it changed when you pasted it.  If you have a 
textSize specified for the card it came from but not the card it was pasted 
in, that would govern all controls that do not have their own testSize 
property explicitly set.


--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web

ambassa...@fourthworld.comhttp://www.FourthWorld.com

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

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



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

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





___
use-livecode mailing list
use-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: Textsize of label of copied btn changes

2020-10-18 Thread William Prothero via use-livecode
Richard:
I found that when I created a button, the textsize property had not been set, 
even though the IDE showed it to be 13. I then went to the IDE to click the 
size up to `4, then back down to 13 and then, when I did:
put the texsize of btn “mybutton”, it showed the textsize correctly.

It’s just one of those frustrating mysteries one encounters. The copied btn 
textsize was probably picking up the textsize from the fields that I had 
already imported.

I’d have to call it a bug, I guess??

Best,
Bill

William A. Prothero
https://earthlearningsolutions.org

> On Oct 13, 2020, at 10:59 AM, Richard Gaskin via use-livecode 
>  wrote:
> 
> William Prothero wrote:
> 
> > I am copying a button from one card to another. The font size of the
> > label changes from that of the original to a large font and I can’t
> > figure out how to change the textsize of the label. I keep getting an
> > error.
> 
> set the textSize of btn "SoAndSo" to 14
> 
> The curious part is that it changed when you pasted it.  If you have a 
> textSize specified for the card it came from but not the card it was pasted 
> in, that would govern all controls that do not have their own testSize 
> property explicitly set.
> 
> -- 
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Livecode server UNIX version (not Linux).

2020-10-18 Thread Heriberto Torrado via use-livecode

Hi Richmond,

I think it's because since the early 2000's, Linux is the UNIX-like 
standard platform in the world, and maybe Runrev realized that it is not 
worth it to put more effort into other UNIX platforms rather than Linux


It is a pity because now, Linux runs on 90% of the internet servers.
I love Linux, but monopolies are not good (even "free" monopolies).

Solaris, AIX and HP-UX are almost dead and BSDs and illumos derivations 
are decaying day by day.


There are still some companies using them in Spain, but they lack 
technicians, so they are stepping on the gas to get rid of them.
There are still some grey beards that refuse to toss them away, and 
maybe there are some opportunities working with them.


Still here in the US there are many governmental apartments using them.

Sadly, UNIX is part of a world that no longer exists.

Nice an updated reading: 
https://www.unixsheikh.com/articles/freebsd-is-an-amazing-operating-system.html


Best,
Hery

On 10/17/20 2:44 PM, Richmond via use-livecode wrote:
"But rightly LC saw where the future was headed with mobile computing 
and they obviously had to make sacrifices along the way (e.g. FreeBSD, 
etc)"


That sounds super if it were true, but I don't think it is as RunRev 
(as they then were) dropped support for SPARC, UNIX and so

forth a long time before they began work on mobile platforms.

Richmond.

On 16.10.20 10:55, Bernard Devlin via use-livecode wrote:

  Hi Heriberto

Back in the day (20 years ago) the engine/IDE ran on FreeBSD and various
proprietary unixes.

The Linux server version has been seen to work on FreeBSD back in 2011
(after installing Linux compatibility layer).

http://runtime-revolution.278305.n4.nabble.com/Yay-Victory-RevServer-runs-on-FreeBSD-with-Linux-Compat-installed-td3445454.html 



You _might_ be able to get that to work now.  I doubt it would be 
supported
by Livecode.  What amazes me nowadays is just how much more complex 
things
are than they were 20 years ago - looking at the compatibility matrix 
for
Livecode dependencies on OS version, XCode version, device version -- 
all

just to produce apps that run on iOS:

https://livecode.com/docs/9-5-0/faq/faq/

If someone had said 20 years ago that a small company in Scotland could
manage that kind of complexity people would have laughed in 
disbelief.  But
rightly LC saw where the future was headed with mobile computing and 
they
obviously had to make sacrifices along the way (e.g. FreeBSD, etc) to 
be in

a situation to take on this level of complexity.

HTH Bernard

On Thu, Oct 15, 2020 at 5:08 PM Heriberto Torrado via use-livecode <
use-livecode@lists.runrev.com> wrote:


Dear all,

I have a question.   It's not a very important question and I don’t 
want

to bother you y 'all, so if you think is off-topic, feel free to not to
respond,  I'm just curious.

I've been working with Livecode for almost five years, and I never 
saw a

LiveCode server  "UNIX" version.

The LiveCode Wikipedia’s article says this: LiveCode runs on iOS, 
Android,
OS X, Windows 95 through Windows 10, Raspberry Pi and "several 
variations

of Unix (I think is just means Linux)".

I'm thinking about tinkering with a FreeBSD server and LiveCode server,
but I didn't see a "UNIX" version, so I suppose that I have to 
compile it.

Have any of you installed LiveCode server on FreeBSD (or Solaris)?

I'm just thinking, but maybe there's a small niche working with 
LiveCode
server on BSD or Solaris (still many companies use them and not many 
people

develop software for this platforms nowadays).
We have a few companies in Spain (my country) still using Solaris or 
BSD

servers (mainly in the Graphic arts business).

PS, I currently work with LiveCode Server on Centos, but it could be
interesting  to test it in FreeBSD.

Best regards/ Saludos cordiales/ Cordialement

Heriberto Torrado
​Chief Technology Officer (CTO)
​Director de informática
Directeur informatique

https://networkdreams.net




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


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

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



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

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


--

Best regards/ Saludos cordiales/ Cordialement

Heriberto Torrado
​Chief Technology Officer (CTO)
​Director de informática
Directeur informatique

*NetDreams S.C.*
http://www.networkdreams.net 

 Address / Dirección / Adresse:​

*USA: 

Re: Livecode server UNIX version (not Linux).

2020-10-18 Thread Heriberto Torrado via use-livecode

Barnand, Thanks for your kindly response

"What amazes me nowadays is just how much more complex things
are than they were 20 years ago"

Yes,that's the main problem today.

Regardless of the programming language, nowadays we have to deal with desktops, 
mobiles, servers, etc. and that is crazy.

In the web design world, they "fixed" it using CSS + HTML + JS + SQL + "insert your 
favorite server language here", but that is also a mess too.

I miss the old days: Just Desktop & servers.:-(

As you said: I don't know how runrev (Livecode) can deal with that complexity 
level.
Five different platforms and 32 & 64 bits.

I'll try the Linux compatibility layer. I think the latest Solaris versions 
have it too.

Best,
Hery//


On 10/16/20 3:55 AM, Bernard Devlin via use-livecode wrote:

  Hi Heriberto

Back in the day (20 years ago) the engine/IDE ran on FreeBSD and various
proprietary unixes.

The Linux server version has been seen to work on FreeBSD back in 2011
(after installing Linux compatibility layer).

http://runtime-revolution.278305.n4.nabble.com/Yay-Victory-RevServer-runs-on-FreeBSD-with-Linux-Compat-installed-td3445454.html

You _might_ be able to get that to work now.  I doubt it would be supported
by Livecode.  What amazes me nowadays is just how much more complex things
are than they were 20 years ago - looking at the compatibility matrix for
Livecode dependencies on OS version, XCode version, device version -- all
just to produce apps that run on iOS:

https://livecode.com/docs/9-5-0/faq/faq/

If someone had said 20 years ago that a small company in Scotland could
manage that kind of complexity people would have laughed in disbelief.  But
rightly LC saw where the future was headed with mobile computing and they
obviously had to make sacrifices along the way (e.g. FreeBSD, etc) to be in
a situation to take on this level of complexity.

HTH Bernard

On Thu, Oct 15, 2020 at 5:08 PM Heriberto Torrado via use-livecode <
use-livecode@lists.runrev.com> wrote:


Dear all,

I have a question.   It's not a very important question and I don’t want
to bother you y 'all, so if you think is off-topic, feel free to not to
respond,  I'm just curious.

I've been working with Livecode for almost five years, and I never saw a
LiveCode server  "UNIX" version.

The LiveCode Wikipedia’s article says this: LiveCode runs on iOS, Android,
OS X, Windows 95 through Windows 10, Raspberry Pi and "several variations
of Unix (I think is just means Linux)".

I'm thinking about tinkering with a FreeBSD server and LiveCode server,
but I didn't see a "UNIX" version, so I suppose that I have to compile it.
Have any of you installed LiveCode server on FreeBSD (or Solaris)?

I'm just thinking, but maybe there's a small niche working  with LiveCode
server on BSD or Solaris (still many companies use them and not many people
develop software for this platforms nowadays).
We have a few companies in Spain (my country) still using Solaris or BSD
servers (mainly in the Graphic arts business).

PS, I currently work with LiveCode Server on Centos, but it could be
interesting  to test it in FreeBSD.

Best regards/ Saludos cordiales/ Cordialement

Heriberto Torrado
​Chief Technology Officer (CTO)
​Director de informática
Directeur informatique

https://networkdreams.net




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


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


--

Best regards/ Saludos cordiales/ Cordialement

Heriberto Torrado
​Chief Technology Officer (CTO)
​Director de informática
Directeur informatique

*NetDreams S.C.*
http://www.networkdreams.net 

 Address / Dirección / Adresse:​

*USA: *538 East 85th Street, #1C Manhattan NY, NY 10028 USA
*Europe / Europa: *Paseo de la Castellana 135 10ª Planta Madrid 28024 
Spain / España


*Tel - Phone - Fax:*

Phone / Tel USA : +1 917 287 5644 / +1 646 596 8787
Phone / Tel Spain :+34 627 556 500 / + 34 91 063 74 48

   Please consider the environment before printing this email / Por 
favor considera tu responsabilidad medioambiental antes de imprimir esta 
página.


Confidentiality: The information contained in this message as well as 
the attached file(s) is confidential/privileged and is only intended for 
the person(s) to whom it is addressed. If the reader of this message is 
not the intended recipient or the employee or agent responsible for 
delivering the message to the intended recipient, or you have received 
this comunication in error, please be aware that any dissemination, 
distribution or duplication is strictly prohibited, and can be illegal, 
and 

Re: Odd data in message box

2020-10-18 Thread Dan Friedman via use-livecode
//@Dan: Do you have a custom errorDialog handler in your message path?

I do not.

-Dan

 

On 10/18/20, 9:44 AM, "use-livecode on behalf of Richard Gaskin via 
use-livecode"  wrote:

True, but what would anyone go out of their way to write an error 
handler that provides less useful information than what LC provides if 
left alone?

And some of the error info I see shared in the forums is from newer 
users, who seem unlikely to have ventured into the relatively arcane 
world of custom error processing.

I hope I simply misunderstand what I've been seeing, that perhaps there 
isn't something broken in recent versions of the IDE's error handling.

In Dan's message from yesterday he wrote:

   1. Why didn't the debugger throw an error?  Instead, it put this error
  chunk in the message box?

@Dan: Do you have a custom errorDialog handler in your message path?

-- 
  Richard Gaskin
  Fourth World Systems



J. Landman Gay wrote:
> If there's an errorDialog handler, errors bypass the IDE. That's one way 
it 
> could happen.
> 
> --
> Jacqueline Landman Gay | jacque at hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
> On October 17, 2020 4:06:03 PM Richard Gaskin via use-livecode 
>  wrote:
> 
>> J. Landman Gay wrote:
>>> On 10/17/20 12:13 PM, Dan Friedman via use-livecode wrote:
 Where did Jacque get that list of codes?
>>>
>>>  From a plugin Richard and I wrote some years ago. It dynamically loads 
the 
>>>  error list based on
>>> the version of LC you're using. You can look up individual codes, or 
paste 
>>> in a list of errors
>>> which is what I did with your report.
>>
>> Tools like that can be useful at runtime to help fill out logs and such.
>>
>> But I've been seeing a surprising number of conversations here and in
>> the forums suggesting that people are seeing raw error info in the IDE.
>>
>> If that's true, what broke with the IDE's more guided error handling?
>>
>> --
>>  Richard Gaskin


___
use-livecode mailing list
use-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: Odd data in message box

2020-10-18 Thread J. Landman Gay via use-livecode
When you build a standalone there's an option to report errors in an email 
or a file. The purpose is to allow users to send error info to the 
developer. These are raw error messages like Dan saw and are of no use to 
the user, so translating them makes no sense.


But you're right that new users probably don't have an errorDialog handler. 
I've seen error lists appear in the message box too, but I do have that 
handler in the stack script.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 18, 2020 11:45:01 AM Richard Gaskin via use-livecode 
 wrote:



True, but what would anyone go out of their way to write an error
handler that provides less useful information than what LC provides if
left alone?

And some of the error info I see shared in the forums is from newer
users, who seem unlikely to have ventured into the relatively arcane
world of custom error processing.

I hope I simply misunderstand what I've been seeing, that perhaps there
isn't something broken in recent versions of the IDE's error handling.

In Dan's message from yesterday he wrote:

  1. Why didn't the debugger throw an error?  Instead, it put this error
 chunk in the message box?

@Dan: Do you have a custom errorDialog handler in your message path?

--
 Richard Gaskin
 Fourth World Systems



J. Landman Gay wrote:

If there's an errorDialog handler, errors bypass the IDE. That's one way it
could happen.

--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 17, 2020 4:06:03 PM Richard Gaskin via use-livecode
 wrote:


J. Landman Gay wrote:

On 10/17/20 12:13 PM, Dan Friedman via use-livecode wrote:

Where did Jacque get that list of codes?


 From a plugin Richard and I wrote some years ago. It dynamically loads the
 error list based on
the version of LC you're using. You can look up individual codes, or paste
in a list of errors
which is what I did with your report.


Tools like that can be useful at runtime to help fill out logs and such.

But I've been seeing a surprising number of conversations here and in
the forums suggesting that people are seeing raw error info in the IDE.

If that's true, what broke with the IDE's more guided error handling?

--
 Richard Gaskin



___
use-livecode mailing list
use-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: SSL cPanel mySql setup

2020-10-18 Thread Sean Cole (Pi) via use-livecode
We have some Azure .net API guys in India we have that make the middle-man
for this. It's all written in C#. I then use REST to talk through that to
the clients DynCRM. I didn't want to go into all the C# which is why we
outsourced it to India. They are great and have often been able to help at
a moments notice when any issue arose.

Sean Cole
*Pi Digital *


On Sun, 18 Oct 2020 at 17:51, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Sean Cole wrote:
>
> > Since then I've added DocuSign, MS DynamicsCRM integration
>
> Are you at liberty to describe what that integration involved?
>
> Specifically, do you use MS' REST API?  And if so, how were you able to
> set up the app registration in Azure for successful authentication?
>
> I have a request from a client for integration with Dynamics via REST,
> but we're stuck in the maze of options in Azure's admin panels with
> regard to the app, groups, roles, flows, and other components come into
> play for successful authentication.
>
> I keep hoping we're missing something obvious.  Perhaps we are. I'm
> eager to learn how you accomplished that.
>
> --
>   Richard Gaskin
>   Fourth World Systems
>   Software Design and Development for the Desktop, Mobile, and the Web
>   
>   ambassa...@fourthworld.comhttp://www.FourthWorld.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: SSL cPanel mySql setup

2020-10-18 Thread Richard Gaskin via use-livecode

Neville Smythe wrote:

> So I need some middleware. LC Server would have been ideal, but
> Dreamhost no longer install it ;-(. I particularly could have used
> LC Server to drive mailman distribution list
> subscription/unsubscription tasks from the database for which I do
> not have a good solution at the moment.

I've been a Dreamhost customer for more than a decade, and I don't 
believe they ever offered a hosting configuration with LiveCode 
preinstalled.


But many of us have been using LiveCode Server on Dreamhost for a long 
time.  LC Server runs under CGI, a standardized convention for allowing 
just about any command-line program to be used to augment an Apache web 
server.


On shared hosts, the directives used to tell Apache to handle certain 
requests by passing them to another program like LC Server are 
established in a .htaccess file in the folder those LC files are in.


Give this lesson a go, and let us know if we can lend a hand on any 
details to get you up and running with LC Server on Dreamhost:


http://lessons.livecode.com/m/4070/l/36655-how-do-i-install-livecode-server-with-apache-via-htaccess

--
 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: SSL cPanel mySql setup

2020-10-18 Thread Richard Gaskin via use-livecode

Sean Cole wrote:


Since then I've added DocuSign, MS DynamicsCRM integration


Are you at liberty to describe what that integration involved?

Specifically, do you use MS' REST API?  And if so, how were you able to 
set up the app registration in Azure for successful authentication?


I have a request from a client for integration with Dynamics via REST, 
but we're stuck in the maze of options in Azure's admin panels with 
regard to the app, groups, roles, flows, and other components come into 
play for successful authentication.


I keep hoping we're missing something obvious.  Perhaps we are. I'm 
eager to learn how you accomplished that.


--
 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: Odd data in message box

2020-10-18 Thread Richard Gaskin via use-livecode
True, but what would anyone go out of their way to write an error 
handler that provides less useful information than what LC provides if 
left alone?


And some of the error info I see shared in the forums is from newer 
users, who seem unlikely to have ventured into the relatively arcane 
world of custom error processing.


I hope I simply misunderstand what I've been seeing, that perhaps there 
isn't something broken in recent versions of the IDE's error handling.


In Dan's message from yesterday he wrote:

  1. Why didn't the debugger throw an error?  Instead, it put this error
 chunk in the message box?

@Dan: Do you have a custom errorDialog handler in your message path?

--
 Richard Gaskin
 Fourth World Systems



J. Landman Gay wrote:
If there's an errorDialog handler, errors bypass the IDE. That's one way it 
could happen.


--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On October 17, 2020 4:06:03 PM Richard Gaskin via use-livecode 
 wrote:



J. Landman Gay wrote:

On 10/17/20 12:13 PM, Dan Friedman via use-livecode wrote:

Where did Jacque get that list of codes?


 From a plugin Richard and I wrote some years ago. It dynamically loads the 
 error list based on
the version of LC you're using. You can look up individual codes, or paste 
in a list of errors

which is what I did with your report.


Tools like that can be useful at runtime to help fill out logs and such.

But I've been seeing a surprising number of conversations here and in
the forums suggesting that people are seeing raw error info in the IDE.

If that's true, what broke with the IDE's more guided error handling?

--
 Richard Gaskin



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


Detect if video was completed?

2020-10-18 Thread Rick Harrison via use-livecode
I have an HTML5/Javascript video player that
plays a video and displays the video duration 
and current play time, using LiveCode Server.  

I want to know when the current time 
equals the duration time so I can then invoke a
LiveCode process that makes a note that
the video was fully played so I can unlock
another webpage to be viewed.

I think I need a way to get the current time
and video duration values of the javascript
into LiveCode variables.

Any ideas how I could do this?

Thanks,

Rick 



___
use-livecode mailing list
use-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: Livecode server UNIX version (not Linux).

2020-10-18 Thread Bernard Devlin via use-livecode
Which is why my sentence finishes with "... to be in a situation to take on
this level of complexity." :-)

Apple first bought the domain iphone.org in 1999. That the iPhone was under
development was even being discussed by mainstream media such as the New
York Times in 2002. The public availability of the iPhone was announced by
Apple at the start of January 2007. Those with an ear to the ground would
have been considering their future options between 2002 and 2007. I'm glad
they had the foresight I didn't have.

Kind regards,
Bernard


On Sat, Oct 17, 2020 at 7:45 PM Richmond via use-livecode <
use-livecode@lists.runrev.com> wrote:

> That sounds super if it were true, but I don't think it is as RunRev (as
> they then were) dropped support for SPARC, UNIX and so
> forth a long time before they began work on mobile platforms.
>
> Richmond.
>
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


LC iOS Command 'mergPopActivity' [was Re: The iOS "Files" folder]

2020-10-18 Thread Graham Samuel via use-livecode
I have been trying to use this command, initially to allow an iOS app to put 
something in the “Files” folder on an iPhone, but I’m now more interested in 
the whole idea of Activity Views and how to exploit them in an iOS app. I 
believe that the LC ‘mergPopActivity' command is a wrapper for some function in 
the iOS native universe - connected with ‘UIActivityViewController', but so far 
I haven’t worked out which one, since I don’t really understand much of Apple’s 
iOS Developer documentation (I always hope that using LC removes the need to do 
so!).

Elanor Buchanan of the mother ship has been extremely helpful about this, and 
has said she hopes to improve the almost non-existent documentation of this 
command, but meanwhile I’m interested if anyone on this list has any insights, 
as I’m quite stuck and don’t want to bug Elanor too much.

When you invoke the ‘mergPopActivity' command in an LC script, it opens a modal 
window which gives a gateway into services available on your device, like 
email, printing, saving to “Files”, sending to social media etc - it depends on 
what your device is capable of, and the apps it has loaded; so I believe that 
the LC command essentially implements the ‘sharing’ activity in iOS, which is 
usually invoked via an icon consisting of a square with a North-pointing arrow 
in it. 

So far so good, but I’ve only been able to do one thing so far, which is to 
offer a text string originating in the app to these various services. So far I 
have not been able to find a way to offer a file (for example, a file 
containing a text rather than the text itself - easy to generate within an app, 
but no luck in offering to email it etc). There is a ‘URL’ parameter but I 
can’t work out what it does.

Anyone got any clues or shall I apologise (again) to Elanor and ask her for 
more help?

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