Re: Some UX fun

2019-07-03 Thread Mark Wieder via use-livecode

On 7/3/19 7:50 PM, J. Landman Gay via use-livecode wrote:

Couldn't do it. What do you get if you finish?

I'm with Dar, only the nightmare is real.


Nothing much. Here's a screenshot.

https://aws1.discourse-cdn.com/boingboing/original/4X/5/f/b/5fb33e4af4dcf73f315794f6bb4bc845244be81e.png

But it does remind me of this article:

https://lifehacker.com/reddits-terrible-volume-controls-teach-good-design-1796278889

--
 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: Some UX fun

2019-07-03 Thread Tom Glod via use-livecode
what did i just see?

On Wed, Jul 3, 2019 at 10:58 PM Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 7/3/19 7:34 PM, Dar Scott Consulting via use-livecode wrote:
> > It is like one of those movies where one has a nightmare, but wakes up
> and repents, vowing to never write a bad user interface again, donating
> time to build beautiful GUIs for little apps whose GUIs were disfigured by
> the actions of roving gangs of depressed designers.
>
> Eggzackly.
>
> --
>   Mark Wieder
>   ahsoftw...@gmail.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Some UX fun

2019-07-03 Thread Mark Wieder via use-livecode

On 7/3/19 7:34 PM, Dar Scott Consulting via use-livecode wrote:

It is like one of those movies where one has a nightmare, but wakes up and 
repents, vowing to never write a bad user interface again, donating time to 
build beautiful GUIs for little apps whose GUIs were disfigured by the actions 
of roving gangs of depressed designers.


Eggzackly.

--
 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: Some UX fun

2019-07-03 Thread J. Landman Gay via use-livecode

Couldn't do it. What do you get if you finish?

I'm with Dar, only the nightmare is real.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On July 3, 2019 8:12:24 PM Mark Wieder via use-livecode 
 wrote:



I got through this, but it took me ten minutes.
Anyone else game to play?

https://userinyerface.com/

--
 Mark Wieder
 ahsoftw...@gmail.com

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

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





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


Re: Some UX fun

2019-07-03 Thread Dar Scott Consulting via use-livecode
It is like one of those movies where one has a nightmare, but wakes up and 
repents, vowing to never write a bad user interface again, donating time to 
build beautiful GUIs for little apps whose GUIs were disfigured by the actions 
of roving gangs of depressed designers.

> On Jul 3, 2019, at 7:10 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> I got through this, but it took me ten minutes.
> Anyone else game to play?
> 
> https://userinyerface.com/
> 
> -- 
> Mark Wieder
> ahsoftw...@gmail.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Symantec quarantining LiveCode standalone on client's machine

2019-07-03 Thread Mike Kerner via use-livecode
We had the same problem with our Norton installs having issues with our
LC-built apps, even when installing an update to the same app.  We never
were able to fix it, even with code signing.  We still had to go into
Norton, find the quarrantine, and whitelist the app.
Switching AV was our solution, but I get that you can't tell your customers
to do that.

On Wed, Jul 3, 2019 at 11:58 AM Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> It's possible that the long history between Kaspersky principals and GRU
> officials ended when they opened an office in a different country.
>
> I recognize such issues are complex, and no intelligence, even
> corroborated by multiple allies, is perfect.
>
> For myself, I do what I can to say on top of threat assessment, and
> choose my vendors with care.
>
> When I'm giving root access to my systems, many of which are entry
> points to public-facing systems for clients, I avoid even potential
> risks where I have the opportunity to do so.
>
> --
>   Richard Gaskin
>   Fourth World Systems
>
>
> JJS wrote:
>
>  > Kaspersky has moved their headquarters to Switserland for that reason,
>  > as they claim to have nothing to do with the Kremlin.
>  >
>  > As far as i have read somewhere a time ago.
>  >
>  > Op 3-7-2019 om 17:45 schreef Richard Gaskin via use-livecode:
>  >> Bob Sneidar wrote:
>  >>
>  >> > That being said, no one solution is a catch all. We use
>  >> > Kaspersky...
>  >>
>  >> Russians have a very good reputation for technical achievement, but
>  >> large Russian companies exist in an environment that often requires
>  >> compromising their business objectives to serve the goals of the
>  >> Kremlin.
>  >>
>  >>
>  >> Kaspersky Lab Antivirus Software Is Ordered Off U.S. Government
>  >> Computers
>  >>
>
> https://www.nytimes.com/2017/09/13/us/politics/kaspersky-lab-antivirus-federal-government.html
>
>  >>
>  >>
>  >>
>  >> FBI pushes private sector to cut ties with Kaspersky
>  >>
>
> https://www.cyberscoop.com/fbi-kaspersky-private-sector-briefings-yarovaya-laws/
>
>  >>
>  >>
>  >>
>  >> In this new era of information warfare, extreme caution is advised.
>  >>
>
>
> ___
> 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
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: Some UX fun

2019-07-03 Thread Colin Holgate via use-livecode
I didn’t get to the point where it was fun.


> On Jul 3, 2019, at 7:10 PM, Mark Wieder via use-livecode 
>  wrote:
> 
> I got through this, but it took me ten minutes.
> Anyone else game to play?
> 
> https://userinyerface.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

Some UX fun

2019-07-03 Thread Mark Wieder via use-livecode

I got through this, but it took me ten minutes.
Anyone else game to play?

https://userinyerface.com/

--
 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: PDF Widget

2019-07-03 Thread Dr. Hawkins via use-livecode

On Jun 24, 2019, at 3:33 PM, Monte Goulding via use-livecode 
 wrote:
> 
> In order to resolve the report we need to add a way for a widget to draw 
> something different into a printing context than it does normally.

I’ve just uploaded some files with the core of a solution.

Having never gone inside a pdf before today, i converted some a pair of simple 
postscript files and converted to pdf,  a 3/4 circle to play the role of the 
raw source pdf, and a box to play the role of whatever other control.

I then edit the circle’s file as overlay.1.pdf ( the entire resultant file is 
in plaintext), defined a clipping path that doesn’t include all of it 
(representing the region of pdf actually displayed by the widget), and then 
added in the stream of the box.

The trick here is to, rather than drawing the widget, just pass the raw source 
of the donor pdf into the new one; no need to render at *any* resolution.

Printing to pdf already deviates from the printer by passing the text to print 
rather than a rendering of it; this is just the way to pass the pdf. (OK, I 
haven’t tried regular printing since 5.0; maybe something changed).



— 
Richard E. Hawkins, Esq.
The Hawkins Law Firm
3430 E. Flamingo Rd.
Suite 232
Las Vegas, NV  89121
(702) 508-8462

___
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: Elevating User Rights of Livecode on Linux

2019-07-03 Thread Dalton Calford via use-livecode
nevermind about the /.  Just discovering '' vs "" usage.
Still learning livecode and the cheat sheets are not as robust as I would
prefer.

On Wed, 3 Jul 2019 at 12:50, Dalton Calford 
wrote:

> Thanks Mark,
>
> I was playing with shell() to see if it would work.   I am having some
> path/string issues and can't find a simple example script to show me what I
> am doing wrong.
>
> If I am just using the message box, I can type "put shell(vdir)" and it
> works perfectly for the default path.   If instead I ask "put shell(vdir
> /etc)" or "put shell('vdir /etc') etc into the message box, all I get is an
> error.Is the / a special character that needs to be escaped or
> something else?
>
> best regards
>
> Dalton
>
> On Wed, 3 Jul 2019 at 12:41, Mark Wieder via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> On 7/3/19 8:28 AM, Dalton Calford via use-livecode wrote:
>> > I am looking to read/write odbc settings from within livecode, but due
>> to
>> > user rights, I want to allow for sudoer style rights elevation.
>> >
>> > Is there a way to present the user with a dialog asking for password
>> from
>> > within livecode?
>>
>> sudo -S is your friend. Try something like this:
>>
>> on mouseUp pMouseButton
>> local tCommands
>> local tPassword
>>
>> put "apt update" into tCommands
>> ask password "type your sudo password"
>> put it into tPassword
>> get shell("echo" && tPassword && "| sudo -S" && tCommands)
>> put it into field 1
>> end mouseUp
>>
>> --
>>   Mark Wieder
>>   ahsoftw...@gmail.com
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Elevating User Rights of Livecode on Linux

2019-07-03 Thread Dalton Calford via use-livecode
Thanks Mark,

I was playing with shell() to see if it would work.   I am having some
path/string issues and can't find a simple example script to show me what I
am doing wrong.

If I am just using the message box, I can type "put shell(vdir)" and it
works perfectly for the default path.   If instead I ask "put shell(vdir
/etc)" or "put shell('vdir /etc') etc into the message box, all I get is an
error.Is the / a special character that needs to be escaped or
something else?

best regards

Dalton

On Wed, 3 Jul 2019 at 12:41, Mark Wieder via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 7/3/19 8:28 AM, Dalton Calford via use-livecode wrote:
> > I am looking to read/write odbc settings from within livecode, but due to
> > user rights, I want to allow for sudoer style rights elevation.
> >
> > Is there a way to present the user with a dialog asking for password from
> > within livecode?
>
> sudo -S is your friend. Try something like this:
>
> on mouseUp pMouseButton
> local tCommands
> local tPassword
>
> put "apt update" into tCommands
> ask password "type your sudo password"
> put it into tPassword
> get shell("echo" && tPassword && "| sudo -S" && tCommands)
> put it into field 1
> end mouseUp
>
> --
>   Mark Wieder
>   ahsoftw...@gmail.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Elevating User Rights of Livecode on Linux

2019-07-03 Thread Mark Wieder via use-livecode

On 7/3/19 8:28 AM, Dalton Calford via use-livecode wrote:

I am looking to read/write odbc settings from within livecode, but due to
user rights, I want to allow for sudoer style rights elevation.

Is there a way to present the user with a dialog asking for password from
within livecode?


sudo -S is your friend. Try something like this:

on mouseUp pMouseButton
   local tCommands
   local tPassword

   put "apt update" into tCommands
   ask password "type your sudo password"
   put it into tPassword
   get shell("echo" && tPassword && "| sudo -S" && tCommands)
   put it into field 1
end mouseUp

--
 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: XML To Array

2019-07-03 Thread Mark Wieder via use-livecode

On 7/3/19 7:44 AM, Bob Sneidar via use-livecode wrote:

Oh good point. Didn't think about duplicates. Obviously I don't really 
understand xml too well. I've been thinking of it as a text representation of a 
database where unique keys would be maintained somehow.


Well, it's not guaranteed that there will be duplicates, but I think if 
you need to examine each line of the raw xml before converting then 
you're better off either doing the conversion by hand or leaving the 
data as xml.


--
 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: XML To Array

2019-07-03 Thread Mark Wieder via use-livecode

On 7/2/19 6:44 PM, Terry Judd via use-livecode wrote:

So admittedly I have modified Trevor's code a bit (mainly so I don't get the @ symbols associated 
with parameters but also so that instead of ["someNode[1]"] I get 
["someNode"][1],  but for me that XML snippet creates an array that looks like...

["combine"]["class"] = TV_show
["combine"]["sources"]["agent"][1] = com.plexapp.agents.none
["combine"]["sources"]["agent"][2]  = com.plexapp.agents.localmedia

...which seems ok?


Yup - that seems fine as well. Or even better, IMO.

--
 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: Symantec quarantining LiveCode standalone on client's machine

2019-07-03 Thread Richard Gaskin via use-livecode
It's possible that the long history between Kaspersky principals and GRU 
officials ended when they opened an office in a different country.


I recognize such issues are complex, and no intelligence, even 
corroborated by multiple allies, is perfect.


For myself, I do what I can to say on top of threat assessment, and 
choose my vendors with care.


When I'm giving root access to my systems, many of which are entry 
points to public-facing systems for clients, I avoid even potential 
risks where I have the opportunity to do so.


--
 Richard Gaskin
 Fourth World Systems


JJS wrote:

> Kaspersky has moved their headquarters to Switserland for that reason,
> as they claim to have nothing to do with the Kremlin.
>
> As far as i have read somewhere a time ago.
>
> Op 3-7-2019 om 17:45 schreef Richard Gaskin via use-livecode:
>> Bob Sneidar wrote:
>>
>> > That being said, no one solution is a catch all. We use
>> > Kaspersky...
>>
>> Russians have a very good reputation for technical achievement, but
>> large Russian companies exist in an environment that often requires
>> compromising their business objectives to serve the goals of the
>> Kremlin.
>>
>>
>> Kaspersky Lab Antivirus Software Is Ordered Off U.S. Government
>> Computers
>> 
https://www.nytimes.com/2017/09/13/us/politics/kaspersky-lab-antivirus-federal-government.html 


>>
>>
>>
>> FBI pushes private sector to cut ties with Kaspersky
>> 
https://www.cyberscoop.com/fbi-kaspersky-private-sector-briefings-yarovaya-laws/ 


>>
>>
>>
>> In this new era of information warfare, extreme caution is advised.
>>


___
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 ODBC connection without DSN?

2019-07-03 Thread Dalton Calford via use-livecode
Thanks Bob, very helpful.

On Wed, 3 Jul 2019 at 11:42, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Maybe a little more useful as a complete function:
>
> function dbConnectODBCByString pServer, pDatabase, pUser, pPasswd
>switch the platform
>   case "MacOS"
>  get revOpenDatabase("ODBC","Driver={Actual SQLServer};Server=" &
> pServer & ";Database=pDataBase;UID=" & pUser & ";PWD= & pPasswd & ";",,,)
>  break
>   case "Win32"
>  put
> listregistry("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\") into
> tOdbcDrivers
>  switch
> case "SQL Server Native Client 11.0" is in tOdbcDrivers
>get revOpenDatabase("ODBC","DRIVER={SQL Server Native
> Client11.0};SERVER=" & pServer & ";DATABASE=pDataBase;UID=" & pUser &
> ";PWD=" & pPasswd & ";Trusted_Connection=No",,,)
>break
> case "SQL Server Native Client 10.0" is in tOdbcDrivers
>get revOpenDatabase("ODBC","DRIVER={SQL Server Native
> Client10.0};SERVER=" & pServer & ";DATABASE=pDataBase;UID=" & pUser &
> ";PWD=" & pPasswd & ";Trusted_Connection=No",,,)
>break
> case "SQL Server" is in tOdbcDrivers
>get revOpenDatabase("ODBC","DRIVER={SQLServer};SERVER=" &
> pServer & ";DATABASE=pDataBase;UID=" & pUser & ";PWD=" & pPasswd &
> ";Trusted_Connection=No",,,)
>break
>  end switch
>  break
>end switch
>return it
> end dbConnectODBCByString
>
> Bob S
>
>
> > On Jul 3, 2019, at 08:22 , Dalton Calford via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Wonderful!  Thanks Matthias!
> >
> > I can ensure the ODBC drivers are in, that is not an issue.   Most of my
> > testing will be for linux anyways.
> >
> > Best regards
> >
> > Dalton
> >
> >
> > On Wed, 3 Jul 2019 at 11:09, Matthias Rebbe via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >> Hi Dalton,
> >>
> >> yes it is. You can use SQL Connection strings for it. But in any case
> >> you´ll need to have ODBC drivers installed.
> >>
> >> This here is an old script i used to query the installed Windows ODBC
> >> drivers and do the connection with Connection strings.
> >> It´s old and was registry check was used under Windows 32bit. But the
> >> Connectionstrings still should do with one exception.
> >>
> >> This does not work with new versions of LC on Mac. The latest Mac
> version
> >> which worked with SQL Connection strings was 6.7.11.
> >> Here´s the bug report from 2016
> >> https://quality.livecode.com/show_bug.cgi?id=18151 <
> >> https://quality.livecode.com/show_bug.cgi?id=18151>
> >>
> >>
> >> And here´s the script
> >> -- connection strings Win/Mac with check which Windows SQL ODBC drivers
> >> are installed
> >>
> >> switch the platform
> >>
> >> case "MacOS"
> >>
> >> get revOpenDatabase("ODBC","Driver={Actual SQL
> >>
> Server};Server=192.168.1.250;Database=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;",,,)
> >>
> >> break
> >>
> >> case "Win32"
> >>
> >> put listregistry("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\") into
> >> tOdbcDrivers
> >>
> >> switch
> >>
> >> case "SQL Server Native Client 11.0" is in tOdbcDrivers
> >>
> >> get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client
> >>
> 11.0};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,)
> >>
> >> break
> >>
> >> case "SQL Server Native Client 10.0" is in tOdbcDrivers
> >>
> >> get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client
> >>
> 10.0};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,)
> >>
> >> break
> >>
> >> case "SQL Server" is in tOdbcDrivers
> >>
> >> get revOpenDatabase("ODBC","DRIVER={SQL
> >>
> Server};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,)
> >>
> >> break
> >>
> >> end switch
> >>
> >> break
> >>
> >> end switch
> >>
> >> Regards,
> >>
> >> Matthias
> >>
> >>
> >>
> >> Matthias Rebbe
> >>
> >> free tools for Livecoders:
> >> https://instamaker.dermattes.de 
> >> https://winsignhelper.dermattes.de  >
> >>> Am 03.07.2019 um 16:42 schrieb Dalton Calford via use-livecode <
> >> use-livecode@lists.runrev.com >:
> >>>
> >>> Is it possible to connect to a database without a predefined DSN using
> >> the
> >>> livecode database connector?
> >>>
> >>> best regards
> >>>
> >>> Dalton
> >>> ___
> >>> 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
> >> 

Re: Symantec quarantining LiveCode standalone on client's machine

2019-07-03 Thread JJS via use-livecode
Kaspersky has moved their headquarters to Switserland for that reason, 
as they claim to have nothing to do with the Kremlin.


As far as i have read somewhere a time ago.

Op 3-7-2019 om 17:45 schreef Richard Gaskin via use-livecode:

Bob Sneidar wrote:

> That being said, no one solution is a catch all. We use Kaspersky...

Russians have a very good reputation for technical achievement, but 
large Russian companies exist in an environment that often requires 
compromising their business objectives to serve the goals of the Kremlin.



Kaspersky Lab Antivirus Software Is Ordered Off U.S. Government Computers
https://www.nytimes.com/2017/09/13/us/politics/kaspersky-lab-antivirus-federal-government.html 




FBI pushes private sector to cut ties with Kaspersky
https://www.cyberscoop.com/fbi-kaspersky-private-sector-briefings-yarovaya-laws/ 




In this new era of information warfare, extreme caution is advised.



___
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: Symantec quarantining LiveCode standalone on client's machine

2019-07-03 Thread Richard Gaskin via use-livecode

Bob Sneidar wrote:

> That being said, no one solution is a catch all. We use Kaspersky...

Russians have a very good reputation for technical achievement, but 
large Russian companies exist in an environment that often requires 
compromising their business objectives to serve the goals of the Kremlin.



Kaspersky Lab Antivirus Software Is Ordered Off U.S. Government Computers
https://www.nytimes.com/2017/09/13/us/politics/kaspersky-lab-antivirus-federal-government.html


FBI pushes private sector to cut ties with Kaspersky
https://www.cyberscoop.com/fbi-kaspersky-private-sector-briefings-yarovaya-laws/


In this new era of information warfare, extreme caution is advised.

--
 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: Livecode ODBC connection without DSN?

2019-07-03 Thread Bob Sneidar via use-livecode
Maybe a little more useful as a complete function:

function dbConnectODBCByString pServer, pDatabase, pUser, pPasswd
   switch the platform
  case "MacOS"
 get revOpenDatabase("ODBC","Driver={Actual SQLServer};Server=" & 
pServer & ";Database=pDataBase;UID=" & pUser & ";PWD= & pPasswd & ";",,,)
 break
  case "Win32"
 put listregistry("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\") 
into tOdbcDrivers
 switch
case "SQL Server Native Client 11.0" is in tOdbcDrivers
   get revOpenDatabase("ODBC","DRIVER={SQL Server Native 
Client11.0};SERVER=" & pServer & ";DATABASE=pDataBase;UID=" & pUser & ";PWD=" & 
pPasswd & ";Trusted_Connection=No",,,)
   break
case "SQL Server Native Client 10.0" is in tOdbcDrivers
   get revOpenDatabase("ODBC","DRIVER={SQL Server Native 
Client10.0};SERVER=" & pServer & ";DATABASE=pDataBase;UID=" & pUser & ";PWD=" & 
pPasswd & ";Trusted_Connection=No",,,)
   break
case "SQL Server" is in tOdbcDrivers
   get revOpenDatabase("ODBC","DRIVER={SQLServer};SERVER=" & 
pServer & ";DATABASE=pDataBase;UID=" & pUser & ";PWD=" & pPasswd & 
";Trusted_Connection=No",,,)
   break
 end switch
 break
   end switch
   return it
end dbConnectODBCByString

Bob S


> On Jul 3, 2019, at 08:22 , Dalton Calford via use-livecode 
>  wrote:
> 
> Wonderful!  Thanks Matthias!
> 
> I can ensure the ODBC drivers are in, that is not an issue.   Most of my
> testing will be for linux anyways.
> 
> Best regards
> 
> Dalton
> 
> 
> On Wed, 3 Jul 2019 at 11:09, Matthias Rebbe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Hi Dalton,
>> 
>> yes it is. You can use SQL Connection strings for it. But in any case
>> you´ll need to have ODBC drivers installed.
>> 
>> This here is an old script i used to query the installed Windows ODBC
>> drivers and do the connection with Connection strings.
>> It´s old and was registry check was used under Windows 32bit. But the
>> Connectionstrings still should do with one exception.
>> 
>> This does not work with new versions of LC on Mac. The latest Mac version
>> which worked with SQL Connection strings was 6.7.11.
>> Here´s the bug report from 2016
>> https://quality.livecode.com/show_bug.cgi?id=18151 <
>> https://quality.livecode.com/show_bug.cgi?id=18151>
>> 
>> 
>> And here´s the script
>> -- connection strings Win/Mac with check which Windows SQL ODBC drivers
>> are installed
>> 
>> switch the platform
>> 
>> case "MacOS"
>> 
>> get revOpenDatabase("ODBC","Driver={Actual SQL
>> Server};Server=192.168.1.250;Database=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;",,,)
>> 
>> break
>> 
>> case "Win32"
>> 
>> put listregistry("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\") into
>> tOdbcDrivers
>> 
>> switch
>> 
>> case "SQL Server Native Client 11.0" is in tOdbcDrivers
>> 
>> get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client
>> 11.0};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,)
>> 
>> break
>> 
>> case "SQL Server Native Client 10.0" is in tOdbcDrivers
>> 
>> get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client
>> 10.0};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,)
>> 
>> break
>> 
>> case "SQL Server" is in tOdbcDrivers
>> 
>> get revOpenDatabase("ODBC","DRIVER={SQL
>> Server};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,)
>> 
>> break
>> 
>> end switch
>> 
>> break
>> 
>> end switch
>> 
>> Regards,
>> 
>> Matthias
>> 
>> 
>> 
>> Matthias Rebbe
>> 
>> free tools for Livecoders:
>> https://instamaker.dermattes.de 
>> https://winsignhelper.dermattes.de 
>>> Am 03.07.2019 um 16:42 schrieb Dalton Calford via use-livecode <
>> use-livecode@lists.runrev.com >:
>>> 
>>> Is it possible to connect to a database without a predefined DSN using
>> the
>>> livecode database connector?
>>> 
>>> best regards
>>> 
>>> Dalton
>>> ___
>>> 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:
> 

Re: I am no longer an Apple developer

2019-07-03 Thread Dalton Calford via use-livecode
Hi Alain,

I am not a Livecode HTML developer, although I am quite knowledgeable about
html 5.I know many different ways to optimize web sites including the
use of progressive jpeg, setting up and using a cdn, file compression
types/implementations etc.

As I don't know how livecode's HTML is generated, I don't know how much use
I may be to you.

best regards

Dalton

On Wed, 3 Jul 2019 at 11:30, Alain Vezina via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Since the first of July, I have managed to get out of Apple's clutches.
> Since 2008, I have released eight applications for Mac, iPad and iPhone. I
> worked hard to meet Apple's many requirements, which changed far too often,
> not to mention the iOS system changes. The last one, 12.x, made all my
> applications no longer work on an iPad or iPhone.
>
> Now I am working hard to ensure that these applications can be used via a
> browser using HTML5 from LiveCode. Unfortunately, I am delayed by bugs and
> a lack of clear documentation.
>
> For example, I would like to know which folders or files I need to
> compress with gZip to make the download faster. If some of you are experts
> in HTML5, I would like to know them; maybe we could form a self-help club...
>
> Alain Vezina
> Logilague
>
> Translated with www.DeepL.com/Translator
> ___
> 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


I am no longer an Apple developer

2019-07-03 Thread Alain Vezina via use-livecode
Since the first of July, I have managed to get out of Apple's clutches. Since 
2008, I have released eight applications for Mac, iPad and iPhone. I worked 
hard to meet Apple's many requirements, which changed far too often, not to 
mention the iOS system changes. The last one, 12.x, made all my applications no 
longer work on an iPad or iPhone.

Now I am working hard to ensure that these applications can be used via a 
browser using HTML5 from LiveCode. Unfortunately, I am delayed by bugs and a 
lack of clear documentation.

For example, I would like to know which folders or files I need to compress 
with gZip to make the download faster. If some of you are experts in HTML5, I 
would like to know them; maybe we could form a self-help club...

Alain Vezina
Logilague

Translated with www.DeepL.com/Translator
___
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


Elevating User Rights of Livecode on Linux

2019-07-03 Thread Dalton Calford via use-livecode
I am looking to read/write odbc settings from within livecode, but due to
user rights, I want to allow for sudoer style rights elevation.

Is there a way to present the user with a dialog asking for password from
within livecode?

best regards

Dalton
___
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 ODBC connection without DSN?

2019-07-03 Thread Dalton Calford via use-livecode
Wonderful!  Thanks Matthias!

I can ensure the ODBC drivers are in, that is not an issue.   Most of my
testing will be for linux anyways.

Best regards

Dalton


On Wed, 3 Jul 2019 at 11:09, Matthias Rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Dalton,
>
> yes it is. You can use SQL Connection strings for it. But in any case
> you´ll need to have ODBC drivers installed.
>
> This here is an old script i used to query the installed Windows ODBC
> drivers and do the connection with Connection strings.
> It´s old and was registry check was used under Windows 32bit. But the
> Connectionstrings still should do with one exception.
>
> This does not work with new versions of LC on Mac. The latest Mac version
> which worked with SQL Connection strings was 6.7.11.
> Here´s the bug report from 2016
> https://quality.livecode.com/show_bug.cgi?id=18151 <
> https://quality.livecode.com/show_bug.cgi?id=18151>
>
>
> And here´s the script
> -- connection strings Win/Mac with check which Windows SQL ODBC drivers
> are installed
>
> switch the platform
>
> case "MacOS"
>
> get revOpenDatabase("ODBC","Driver={Actual SQL
> Server};Server=192.168.1.250;Database=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;",,,)
>
> break
>
> case "Win32"
>
> put listregistry("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\") into
> tOdbcDrivers
>
> switch
>
> case "SQL Server Native Client 11.0" is in tOdbcDrivers
>
> get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client
> 11.0};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,)
>
> break
>
> case "SQL Server Native Client 10.0" is in tOdbcDrivers
>
> get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client
> 10.0};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,)
>
> break
>
> case "SQL Server" is in tOdbcDrivers
>
> get revOpenDatabase("ODBC","DRIVER={SQL
> Server};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,)
>
> break
>
> end switch
>
> break
>
> end switch
>
> Regards,
>
> Matthias
>
>
>
> Matthias Rebbe
>
> free tools for Livecoders:
> https://instamaker.dermattes.de 
> https://winsignhelper.dermattes.de 
> > Am 03.07.2019 um 16:42 schrieb Dalton Calford via use-livecode <
> use-livecode@lists.runrev.com >:
> >
> > Is it possible to connect to a database without a predefined DSN using
> the
> > livecode database connector?
> >
> > best regards
> >
> > Dalton
> > ___
> > 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: Livecode ODBC connection without DSN?

2019-07-03 Thread Dalton Calford via use-livecode
Hi Bob,
This is a shame that this not is part of the ODBC implementation in
Livecode.
Many different languages allow for passing all the dsn information in the
connection string.For example, DRIVER={Microsoft Access Driver
(*.mdb)};DBQ=C:\path\to\eft.mdb; or Provider=MSDASQL;DRIVER={MySQL ODBC
3.51
Driver};SERVER=10.10.10.1;DATABASE=Example;UID=myusername;PWD=mypassword;
Most of the drivers I use are opensource and don't require a fee, but even
if they did, I would gladly pay if they gave my clients connectivity (as
long as the price is reasonable). Does anyone have a pointer to where in
the opensource codebase for livecode, I can find the revopendatabase and
associated libraries? I have not had time to download/review the codebase
and it would be helpful to get an idea of where the code is and a pointer
to any possible documentation for when I start investigating it.

best regards

Dalton


On Wed, 3 Jul 2019 at 10:53, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Not to my mind as ODBC relies upon an intermediary service to actually
> make the connection. I don't use ODBC mainly because I would typically have
> to purchase an agent for whatever database engine I am trying to connect
> to, and that has typically been a non-starter for any in house projects I
> want to use.
>
> That being said, I believe it is the only way Livecode can communicate
> with a Microsoft SQL server, as well as Access, FoxPro, Excel etc.
>
> Bob S
>
>
> > On Jul 3, 2019, at 07:42 , Dalton Calford via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Is it possible to connect to a database without a predefined DSN using
> the
> > livecode database connector?
> >
> > best regards
> >
> > Dalton
>
>
> ___
> 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 ODBC connection without DSN?

2019-07-03 Thread Matthias Rebbe via use-livecode
Hi Dalton,

yes it is. You can use SQL Connection strings for it. But in any case you´ll 
need to have ODBC drivers installed. 

This here is an old script i used to query the installed Windows ODBC drivers 
and do the connection with Connection strings.
It´s old and was registry check was used under Windows 32bit. But the 
Connectionstrings still should do with one exception.

This does not work with new versions of LC on Mac. The latest Mac version which 
worked with SQL Connection strings was 6.7.11.
Here´s the bug report from 2016 
https://quality.livecode.com/show_bug.cgi?id=18151 



And here´s the script
-- connection strings Win/Mac with check which Windows SQL ODBC drivers are 
installed

switch the platform

case "MacOS"

get revOpenDatabase("ODBC","Driver={Actual SQL 
Server};Server=192.168.1.250;Database=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;",,,)

break

case "Win32"

put listregistry("HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\") into 
tOdbcDrivers

switch

case "SQL Server Native Client 11.0" is in tOdbcDrivers

get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client 
11.0};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,)

break

case "SQL Server Native Client 10.0" is in tOdbcDrivers

get revOpenDatabase("ODBC","DRIVER={SQL Server Native Client 
10.0};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,)

break

case "SQL Server" is in tOdbcDrivers

get revOpenDatabase("ODBC","DRIVER={SQL 
Server};SERVER=192.168.1.250;DATABASE=MyDatabaseName;UID=sa;PWD=MyDatabasePassword;Trusted_Connection=No",,,)

break

end switch

break

end switch

Regards,

Matthias



Matthias Rebbe

free tools for Livecoders:
https://instamaker.dermattes.de 
https://winsignhelper.dermattes.de 
> Am 03.07.2019 um 16:42 schrieb Dalton Calford via use-livecode 
> mailto:use-livecode@lists.runrev.com>>:
> 
> Is it possible to connect to a database without a predefined DSN using the
> livecode database connector?
> 
> best regards
> 
> Dalton
> ___
> 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: Symantec quarantining LiveCode standalone on client's machine

2019-07-03 Thread Bob Sneidar via use-livecode
Leo Laporte host of The Tech Guy radio show and numerous podcasts on all things 
tech, has repeatedly stated that he thinks Microsoft's built in protection 
Defender is quite good. That being said, no one solution is a catch all. We use 
Kaspersky for endpoint protection as the business version has a server that 
makes deployment automatic and provides a great many benefits beyond just 
malware protection. 

We also have an antimalware subscription running on our edge router, and we use 
Microsoft Online Protection for our spam/malware blocker. Anything that can run 
that gauntlet I tip my hat to. 

Bob S


> On Jul 3, 2019, at 03:18 , Lagi Pittas via use-livecode 
>  wrote:
> 
> Easily fixed - remove Symantec - the biggest load of @*&^%$ Malware  out
> there.
> Blocks reports (well years ago it did) that were loaded as new processes
> from two of the largest accountants financial  systems in uk.
> slows down processing , tells me how good it's been by blocking 15 trillion
> attacks in the last 2 days . Blocked connection when it felt like it on
> working accounting systems , I could go on.
> 
> The best Antivirus is between your ears - but a lot of people don't seem to
> use that one.
> 
> I only use Microsoft Security and that is switched off more than on,
> especially when using LC. I haven't had antivirus on
> my Macs for years  and no problems.
> 
> A quick trip to virustotal.com is all it needs. YMMV because you don't know
> what sites users will go on.
> 
> 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: Do variable vs field as AppleScript

2019-07-03 Thread Bob Sneidar via use-livecode
Relative to the speech recognition, and there only being several hundred 
iterations, I would say hardly. if it added 20 milliseconds to a process that 
takes many tens of minutes (I suspect the speech has to be uttered in real 
time) I hardly call that a delay. 

Bob S


> On Jul 3, 2019, at 03:28 , David V Glasgow via use-livecode 
>  wrote:
> 
> I have a script which in the fullness of time will repeatedly (several 
> hundred times) run a list of commands as an Applescript.  It will take a fair 
> bit of time to loop through because each iteration involves speech 
> recognition.
> 
> My question is, will there be any meaningful speed advantage to storing the 
> AppleScript in a variable rather than field?  This doesn’t mean finishing all 
> 340 iterations faster, because the slowdown is the human thinking about the 
> question and giving a response.  I’m thinking about a bit more responsivity 
> from 
> 
> tell application "SpeechRecognitionServer"
>   local tresult, choicesLanguageModel, titem
>   set choicesLanguageModel to {"false", "slightly true", "mainly true", 
> "very true"}
> set tPrompt to "item 6"
>   set tresult to listen for choicesLanguageModel with prompt tPrompt 
> giving up after 30
>   say tresult
>   return tresult
> end tell
> 
> (I should say that the line "set tPrompt to "item 6”” looks a bit weird 
> because it is incremented under script control, and when that happens the 
> indent is lost.)
> 
> I know I could test, but if someone just knows….
> 
> Cheers
> 
> David Glasgow

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

Re: Livecode ODBC connection without DSN?

2019-07-03 Thread Bob Sneidar via use-livecode
Not to my mind as ODBC relies upon an intermediary service to actually make the 
connection. I don't use ODBC mainly because I would typically have to purchase 
an agent for whatever database engine I am trying to connect to, and that has 
typically been a non-starter for any in house projects I want to use. 

That being said, I believe it is the only way Livecode can communicate with a 
Microsoft SQL server, as well as Access, FoxPro, Excel etc. 

Bob S


> On Jul 3, 2019, at 07:42 , Dalton Calford via use-livecode 
>  wrote:
> 
> Is it possible to connect to a database without a predefined DSN using the
> livecode database connector?
> 
> best regards
> 
> Dalton


___
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: XML To Array

2019-07-03 Thread Bob Sneidar via use-livecode
Oh good point. Didn't think about duplicates. Obviously I don't really 
understand xml too well. I've been thinking of it as a text representation of a 
database where unique keys would be maintained somehow. 

What I was hoping to do was take known SMB registrations from a Konica and 
integrate them into the XML file Toshiba uses to export/import those 
registrations. I was hoping to convery to an array, which I know how to 
manipulate, add the entries, then convert back to an XML file for import. 

Bob S


> On Jul 2, 2019, at 16:16 , Mark Wieder via use-livecode 
>  wrote:
> 
>> Hi all.
>> I'm revisiting converting XML to Array. Toshiba has an export file for their 
>> scan templates in XML format. It's pretty complicated as you can imagine. I 
>> was hoping that I could use Trevor's XML to Array functions to get nodes 
>> that look something like:
>> JobTemplates
>>  GroupList
>>  Group1
>>  Template1
>>  Template2
>>  Template3...
>>  Group2
>>  Template1
>>  Template2...
> 
> What are you hoping to get out of xml-to-array? Given that keys aren't 
> guaranteed to be unique, I think what you're seeing there makes sense. 
> Otherwise you'll stand the chance of losing data in translation. If you don't 
> convert to a numeric form with a concordance, as Trevor has done, I don't see 
> you you could possibly convert this xml to an array:
> 
> 
>
>com.plexapp.agents.none
>com.plexapp.agents.localmedia
>
> 
> 
> -- 
> 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


Livecode ODBC connection without DSN?

2019-07-03 Thread Dalton Calford via use-livecode
Is it possible to connect to a database without a predefined DSN using the
livecode database connector?

best regards

Dalton
___
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: building to iOS 5.1

2019-07-03 Thread Ben Rubinstein via use-livecode

That's great, thank you Panos.

Ben

On 03/07/2019 11:38, panagiotis merakos wrote:

Hello Ben,

You can definitely build an app for the iPad 1 in LC 7.1.4, and probably (Ι 
don't remember now) in some early versions of LC 8.x.


Just make sure you choose "5.1.1 or later" in the iOS standalone settings, and 
check the checkbox "build 32bit slice only"


The version of Xcode you'll need with LC 7.1.4 depends on the version of your 
MacOS:


LiveCode 7.1.4  Xcode 7.2   Mac OS 10.10
LiveCode 7.1.4  Xcode 7.3   Mac OS 10.11


If you are on a newer MacOS, I am not sure if you will be able to install 
Xcode 7.2 or 7.3.


Hope this helps,
Panos
--



On Wed, 3 Jul 2019 at 13:24, Ben Rubinstein via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:


I have an iPad 1 which I could save from the e-wasteheap if I could build a
simple app for it.

My current install of LiveCode will only build back to iOS 8 (enough to do
something useful for my iPad 2!).

The splendid

https://livecode.com/docs/9-0-4/faq/faq/#what-version-of-livecode-works-with-which-version-of-xcode-ios

only goes back to iOS 6.0; but of course at one time it was possible to use
LiveCode to build apps for iOS 5.

I'm not sure what the limiting factors are: do I need earlier version of
LiveCode, of Xcode, of MacOS, or all three?

To save me endless miserable experimentation, does anyone know the answer? 
Is
anyone else currently set up to do this?

TIA,

Ben

___
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: building to iOS 5.1

2019-07-03 Thread panagiotis merakos via use-livecode
Hello Ben,

You can definitely build an app for the iPad 1 in LC 7.1.4, and probably (Ι
don't remember now) in some early versions of LC 8.x.

Just make sure you choose "5.1.1 or later" in the iOS standalone settings,
and check the checkbox "build 32bit slice only"

The version of Xcode you'll need with LC 7.1.4 depends on the version of
your MacOS:

LiveCode 7.1.4 Xcode 7.2 Mac OS 10.10
LiveCode 7.1.4 Xcode 7.3 Mac OS 10.11

If you are on a newer MacOS, I am not sure if you will be able to install
Xcode 7.2 or 7.3.

Hope this helps,
Panos
--



On Wed, 3 Jul 2019 at 13:24, Ben Rubinstein via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I have an iPad 1 which I could save from the e-wasteheap if I could build
> a
> simple app for it.
>
> My current install of LiveCode will only build back to iOS 8 (enough to do
> something useful for my iPad 2!).
>
> The splendid
>
> https://livecode.com/docs/9-0-4/faq/faq/#what-version-of-livecode-works-with-which-version-of-xcode-ios
>
> only goes back to iOS 6.0; but of course at one time it was possible to
> use
> LiveCode to build apps for iOS 5.
>
> I'm not sure what the limiting factors are: do I need earlier version of
> LiveCode, of Xcode, of MacOS, or all three?
>
> To save me endless miserable experimentation, does anyone know the answer?
> Is
> anyone else currently set up to do this?
>
> TIA,
>
> Ben
>
> ___
> 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

Do variable vs field as AppleScript

2019-07-03 Thread David V Glasgow via use-livecode
I have a script which in the fullness of time will repeatedly (several hundred 
times) run a list of commands as an Applescript.  It will take a fair bit of 
time to loop through because each iteration involves speech recognition.

My question is, will there be any meaningful speed advantage to storing the 
AppleScript in a variable rather than field?  This doesn’t mean finishing all 
340 iterations faster, because the slowdown is the human thinking about the 
question and giving a response.  I’m thinking about a bit more responsivity 
from 

tell application "SpeechRecognitionServer"
local tresult, choicesLanguageModel, titem
set choicesLanguageModel to {"false", "slightly true", "mainly true", 
"very true"}
set tPrompt to "item 6"
set tresult to listen for choicesLanguageModel with prompt tPrompt 
giving up after 30
say tresult
return tresult
end tell

(I should say that the line "set tPrompt to "item 6”” looks a bit weird because 
it is incremented under script control, and when that happens the indent is 
lost.)

I know I could test, but if someone just knows….

Cheers

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

building to iOS 5.1

2019-07-03 Thread Ben Rubinstein via use-livecode
I have an iPad 1 which I could save from the e-wasteheap if I could build a 
simple app for it.


My current install of LiveCode will only build back to iOS 8 (enough to do 
something useful for my iPad 2!).


The splendid
https://livecode.com/docs/9-0-4/faq/faq/#what-version-of-livecode-works-with-which-version-of-xcode-ios

only goes back to iOS 6.0; but of course at one time it was possible to use 
LiveCode to build apps for iOS 5.


I'm not sure what the limiting factors are: do I need earlier version of 
LiveCode, of Xcode, of MacOS, or all three?


To save me endless miserable experimentation, does anyone know the answer? Is 
anyone else currently set up to do this?


TIA,

Ben

___
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: Symantec quarantining LiveCode standalone on client's machine

2019-07-03 Thread Lagi Pittas via use-livecode
Easily fixed - remove Symantec - the biggest load of @*&^%$ Malware  out
there.
Blocks reports (well years ago it did) that were loaded as new processes
from two of the largest accountants financial  systems in uk.
slows down processing , tells me how good it's been by blocking 15 trillion
attacks in the last 2 days . Blocked connection when it felt like it on
working accounting systems , I could go on.

The best Antivirus is between your ears - but a lot of people don't seem to
use that one.

I only use Microsoft Security and that is switched off more than on,
especially when using LC. I haven't had antivirus on
my Macs for years  and no problems.

A quick trip to virustotal.com is all it needs. YMMV because you don't know
what sites users will go on.

Lagi


On Tue, 2 Jul 2019 at 21:04, Curt Ford via use-livecode <
use-livecode@lists.runrev.com> wrote:

> A client has reported that a small utility I've made for him is being
> blocked by Symantec on his Windows machine. We haven't had this issue
> before with an earlier version of the same utility, but now he gets this
> report:
>
> "Threat type: Insight Network Threat. There are many indications that
> this file is untrustworthy and therefore not safe
> 
>
> f_003294 Threat name: WS.Reputation.1
>
> Locate
>
> Very Few Users
>
> Fewer than 5 users in the Symantec Community have used this file.
>
> Very New
>
> This file was released less than 1 week  ago.
>
> Medium
>
> This file risk is medium."
>
> Would code signing it somehow help? Any suggestions?
>
> Thanks!
>
> Curt
> --
> Sent from Postbox
> <
> https://www.postbox-inc.com/?utm_source=email_medium=siglink_campaign=reach
> >
> ___
> 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