Re: [OT] Haiku OS

2018-02-28 Thread Roger Eller via use-livecode
AROS however is quite good, and has some 2018 activity.

http://aros.sourceforge.net/

http://aros.sourceforge.net/pictures/screenshots/

~Roger


On Wed, Feb 28, 2018 at 9:52 AM, Rick Harrison via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Richmond,
>
> Current Official Version Information
>
> Version: R1/Alpha 4.1
> Release date: November 14th, 2012
> Computer platform: x86-32
> Something that hasn’t seen an update since 2012
> probably isn’t getting much traction at all.
>
> I hope you find this information somewhat helpful.
>
> Rick
>
> > On Feb 28, 2018, at 7:20 AM, Richmond Mathewson via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > https://www.haiku-os.org/
> >
> > Does anyone know if Haiku OS;
> >
> > 1. Shows any sign whatsoever of gaining any traction?
> >
> > 2. Is there any point of attempting to compile LiveCode for Haiku OS
> (beyond a spare time project)?
> >
> > 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
>
> ___
> 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: Password Checker

2018-02-23 Thread Roger Eller via use-livecode
There seems to be a missing handler, "messageDigest".

~Roger


On Thu, Feb 22, 2018 at 11:50 PM, Brian Milby via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Read this interesting article about a half billion PW database of
> compromised passwords that I thought I'd share:
>
> *https://www.troyhunt.com/ive-just-launched-pwned-passwords-version-2/
> *
>
> *on* mouseUp
>*local* tSHAData, tSHAHex, tList
>*put* messageDigest(the text of field "password", "SHA-1") into tSHAData
>*repeat* for each byte tByte in tSHAData
>   *put* format("%02X",bytetonum(tByte)) after tSHAHex
>*end* *repeat*
>*put* url ("https://api.pwnedpasswords.com/range/; & char 1 to 5 of
> tSHAHex) into tList
>*delete* char 1 to 3 of tList *-- delete the BOM*
>*filter* tList with (char 6 to -1 of tSHAHex) & "*"
>*set* the itemdel to ":"
>*put* item 2 of tList into field "hits"
> *end* mouseUp
>
> I've written some code that uses the new v2 API.  You send the first 5
> characters of the SHA1 of your password and get a list back of matches.
> You can then see if the rest of the hash is in the list and get the number
> of times it appears on the list.  "123123" appears 2048411 times for
> example.
>
> I'm sure that someone can tighten it up some, but just wanted to make
> something in LiveCode that could use the API.
>
> You can also download the full database of SHA1 values (8.75GB) if you
> would want to use to provide a service.  Links are in the article (he
> prefers that you use a torrent).
>
> Thanks,
> Brian
> ___
> 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 Widget Factory

2018-02-21 Thread Roger Eller via use-livecode
This sounds fantastic!!!  I have to ask, when you say "Native", do you mean
it should work on ANY of the "LiveCode-supported" platforms, both desktop
and/or mobile?

~Roger


On Wed, Feb 21, 2018 at 4:10 PM, Todd Fabacher via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hello LiveCoders,
>
> I hope all is going well. As Kevin announced before...Gurgen, myself, the
> DP team and the FANTASTIC  LiveCode team [providing wonderful support] are
> working on creating LCB widgets that will catapult the LC platform and
> improve productivity.
>
> I have been in touch with a few people to get their ideas and needs, but I
> wanted to reach out and check with the community. At first, we have decided
> to focus these for round one:
>
> Basic Native UI elements
> Native Maps
> Voice to Text
> Bluetooth Device Connection
> Beacons
> Security/Fingerprint
> Playing sound/music in the background when the phone sleeps like Spotify or
> iTunes.
>
> For Phase Two we are looking at...
> BarCode Scanner & Maker
> Charts
> iCal like Calendar [Day, Week, Month, Year]
> Clipboard for mobile
>
> We are mostly looking at creating many UI elements and functionality that
> is native and not accessible now and other widgets that will save days of
> coding by grouping functionality into one simple widget [with the difficult
> code encapsulated].
>
> A few of the controls will be open sourced but the vast majority will be
> for sale at a reasonable price. Sorry, Gurgen and Team don't work for free
> and my landlord does not have an open source building, so please save the
> digital trees with replies of why we should be open source.
>
> We are excited and will be working VERY hard. Good News, DP was VERY
> successful at the Seaside Summit in UEA. We also have two LiveCode based
> startups selected to be profiled at Collision Conference
> https://collisionconf.com in April. One App is coded for Android, iOS,
> Windows, MacOS, LINUX local Server & TV HDMI output and a big LiveCode
> Server implementation for the cloud. It uses TCP, UDP, HTTPS, and SFTP
> protocols. Extensive encryption and a distributed network that will have
> 200,000 simultaneous global users. WOW...all of this with one code base -
> that is the power of LiveCode.
>
> --DP & LC teams
> ___
> 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: DG2: How much is mobile-only?

2017-12-28 Thread Roger Eller via use-livecode
I don't like presumptiously imposed limits like that.  Many Windows laptops
and tablets are touch capable, and apps could benefit from swipe gestures.
Heck, even with a mouse, as the pointer is merely an extension of your
finger.

~Roger


On Thu, Dec 28, 2017 at 1:22 AM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> It seems the swiping in DG2 is mobile only - is that correct?  What other
> DG2 goodies are currently only usable on a mobile device?
>
> The desktop has become very influenced by mobile design trends.  Apple's
> even begun the move to integrate the two.  And the desktop is still where
> businesses bet on workhorses, and where developers make more money.
>
> Much of the new DG would be great on the desktop.  So I hope I'm just
> missing something...
>
> --
>  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


Website scraping - How can I load a 'partial' page?

2017-12-13 Thread Roger Eller via use-livecode
I have a webpage that I grab with LiveCode, then parse out what I need.
The data I keep is within the first 1/4th of the page.

Rather than loading the entire page into a variable or a browser object,
how can I load just the portion that I need and then stop the transmission
instead of wasting the time and bandwidth to load the entire page?

~Roger
___
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: RESTful PUT error

2017-11-26 Thread Roger Eller via use-livecode
If I remember correctly, PUT was never implemented in LibUrl.  I have only
needed GET and POST in my rather limited uses.

~Roger


On Nov 26, 2017 10:37 AM, "Andrew Bell via use-livecode" <
use-livecode@lists.runrev.com> wrote:

I'm working on connecting to a 3rd-party API (Pipedrive) to a LiveCode app
I've done and seem to have a problem; any assistance would be appreciated.
Dummy (sandbox) account information has been included with my code sample.

I've never used RESTful before, but the API seems pretty well documented
and I've had success much faster than anticipated working with the data in
LiveCode. It looks like commands are broke down into 3 types: GET (to
retrieve data), POST (to create new data), and PUT (to update existing
data).

I can retrieve data using "put URL tRequestURL1 into tJSONfromPipedrive"
I can create new data using "post tJSONtoUpload to url tRequestURL2"
But when I try to update data using "put tJSONtoUpload into url
tRequestURL2" I get a 400 error from the server. I tried to
urlEncode(tJSONtoUpload) but got the same error.

Their API includes a sandbox for testing, and my code seems to align with
their examples and helped me get my tests in order. I'm just not sure
what's wrong with my PUT command. https://developers.pipedrive.c
om/docs/api/v1/#!/Persons/put_persons_id

VARIABLE VALUES:
httpHeaders = {"Accept":"application/json"}
tRequestURL1 = https://api.pipedrive.com/v1/persons?api_token=ef2c59a67144d
185277fee92aa9ede877c6c10ff
tRequestURL2 = https://api.pipedrive.com/v1/persons/2?api_token=ef2c59a6714
4d185277fee92aa9ede877c6c10ff
tJSONtoUpload = {"phone":"555-555-"}

Is there something glaring I'm missing? I can get this to execute on their
developer website, but using the same code seems to error out for me in
LiveCode 8.2.0dp2 Business.

--Andrew Bell


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


Re: Was I hallucinating? Totally OT, perhaps relevant

2017-11-14 Thread Roger Eller via use-livecode
I frequently get targeted ads after just having off-line conversations.
They ARE listening!


On Tue, Nov 14, 2017 at 10:55 AM, Colin Holgate via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I was at Google for meetings last week, some of which was with the Google
> Home and also Assistant teams. They have the same need as Siri, and I
> imagine that they solve the problem in the same way. For Google, they are
> always listening for “ok google”, and Apple are listening for “hey Siri”.
> It’s only a two second buffer though, that is constantly overwriting
> itself. If you could steal someone’s device and freeze all electrons in it
> so you could scrape for sound data, you probably would only get the sound
> of you picking the person’s pocket.
>
> If the trigger words are detected, the next bit of sound is uploaded to be
> analyzed. That happens for all devices within hearing, and online all of
> the recordings are considered at the same time. The reply is usually sent
> to the device that was closest to the user at the time. The recording is
> kept in your history, so you can go back and listen to it to figure out why
> it might have been misinterpreted. This is the page you can go to listen to
> yourself:
>
> https://myactivity.google.com/myactivity?product=29
>
>
>
> > On Nov 14, 2017, at 10:38 AM, Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > If Apple was doing data collection via Siri always on and feeding the
> data to Amazon, that would be a huge news story. Americans would FREAK OUT!
> >
> > Bob S
> >
> >
> >> On Nov 10, 2017, at 19:18 , Kay C Lan via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>
> >> I have an iPhone with Siri usually turned Off, but
> >> after I recently upgraded to iOS11 I hadn't picked up that Siri had
> >> been turned On - it's now back Off.
> >>
> >> I'd like to think it was coincidence... but how many of you have EVER
> >> seen an online advert for a mattress specifically for station wagons?
> >
>
>
> ___
> 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: Awful quiet around here

2017-11-14 Thread Roger Eller via use-livecode
I will certainly let you know if I ** DID NOT ** receive your message.
Ignoring...  :)

~Roger


On Tue, Nov 14, 2017 at 6:49 AM, Heather Laine via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Just checking if the list is functioning correctly. Seems impossible you
> all stopped talking at once...
>
> If you receive this message, ignore it.
>
> Otherwise, do let me know :)
>
> Best
>
> Heather
>
> Heather Laine
> Customer Services Manager
> LiveCode Ltd
> www.livecode.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: Rich Text Editor features within a LC8/LC9 app?

2017-10-27 Thread Roger Eller via use-livecode
I have a multi-line field which contains editable text (field 15).  Above
it, I have 4 tiny buttons whose labels are set to "i", "B", "u", and "p".
Their names are "txt_style_Itallic", "txt_style_Bold",
"txt_style_Underline", and "txt_style_Plain". The Tooltip of each is set to
"italic", "bold", "underline", and "plain".

The script of each is (except for "plain") is:

on mouseUp
   if the selectedChunk contains "field 15" then
  set the textStyle[the tooltip of me] of the selectedChunk to true
   end if
end mouseUp

The script of button "txt_style_Plain" is:

on mouseUp
   if the selectedChunk contains "field 15" then
  set the textStyle of the selectedChunk to "plain"
   end if
end mouseUp

~Roger


On Fri, Oct 27, 2017 at 5:19 AM, Matthias Rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi,
>
> i am looking for a way to allow the user to format  text or parts of text
> in a Field (Font, Textsize, Color, Alignment and so on).
> I know there is FieldTrip from Curry  and i´ve used it very often in the
> past,  but Fieldtrip is not working correctly in LC8 and LC9.
> Does anyone have created such a rich text editor feature in LC already and
> would like to share or sell? It does not need to be as feature rich as
> FieldTrip is.
>
> Regards,
>
> Matthias
>
>
> ___
> 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 Windows Applications on Ubuntu

2017-10-26 Thread Roger Eller via use-livecode
"WINE is fine, but LiveCode is quicker." as the old saying goes.  :)

~Roger


On Thu, Oct 26, 2017 at 12:24 AM, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:

> My take on WINE is a bit different from Richard Gaskin's . . .
>
> I 100% agree with his: "Build native apps for Linux and enjoy better
> performance and a simpler experience."
>
>
___
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: Call for Speakers 2018

2017-10-25 Thread Roger Eller via use-livecode
All that was missing was the food, the drink, and the boat rides. The
content and the video quality was so much more, and so much better, imho.

I thoroughly enjoyed the in-person conferences, however there's no reason
the group couldn't do smaller sessions specifically to address that gap in
social interaction. It's too bad we don't have virtual reality yet. LOL

~Roger


On Oct 24, 2017 9:35 PM, "Mark Wieder via use-livecode" <
use-livecode@lists.runrev.com> wrote:

On 10/24/2017 08:36 AM, Heather Laine via use-livecode wrote:

> Dear List Folks,
>
> It may or may not yet have come to your attention that due to the great
> success and popularity of LiveCode Global, we are running it again next
> year. So I'm once again sending out the call for speakers. Got something
> interesting to share with the community? Could you fill 7 minutes, 30
> minutes or 50 minutes with some LiveCode Goodness? We'll be starting again
> on January 18th, and then every second month, on 15th March, 17th May, 19th
> July, 20th September and 15th November. Are you free for an hour on any of
> those days?
>

That sounds like the last nail in the coffin for the actual conferences.

-- 
 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: is a date

2017-10-16 Thread Roger Eller via use-livecode
Again, I would prefer a simple one-liner built-in function.  What if
instead of "is a date" returning true or false, it instead returned some
expected outputs like "short, long, internet, seconds, ect.".  Something
short and sweet.

~Roger

On Mon, Oct 16, 2017 at 12:56 PM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> This probably matters to no one at all, but SQL does not store dates with
> forward slashes. SQL datetime formats look like this:
>
> -dd-mm hh:mm:ss
>
> Bob S
>
___
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: is a date

2017-10-16 Thread Roger Eller via use-livecode
Exactly!  I was elated to find the built-in "is a date" check, because I
really wanted to NOT have to roll my own.  I was THRILLED that our lovely
English-like syntax was working FOR me.  And then an integer was accepted
as a legit date.  I didn't like that at all.  Why can't the engine have "is
a date" or "is a formatted date" as well?

~Roger

On Mon, Oct 16, 2017 at 6:05 AM, hh via use-livecode <
use-livecode@lists.runrev.com> wrote:

> > JLG wrote ...
> > The one exception may be that any _integer_ is considered a date.
> > To get around that we could just check that there are 3 items
> > delimited by slashes before testing for "is a date".
>
> I write "is a /real/ date" into my notes whenever a meeting is a date.
> How do you handle such _real_ cases in your functions?  ;-)
>
>
___
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: is a date

2017-10-14 Thread Roger Eller via use-livecode
That's what I suspected.  So to build a slightly better trap, I am doing
this:

if tDate is a date and length(tDate) > 5 and tDate contains "/" then
   put "true"
   else
   put "false"
end if

I am sure there is probably a standard way to catch all possible date
formats (excluding "the seconds"), but this works for most.

~Roger


On Sat, Oct 14, 2017 at 12:44 PM, Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Roger,
>
> > Am 14.10.2017 um 18:30 schrieb Roger Eller via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > put "11/20/2017" is a date
> > returns true
> > 
> > put "10" is a date
> > returns true
> > 
> > put "raccoon" is a date
> > returns false
> > 
> >
> > WHY is "10" seen as a date?
>
> looks like the engine is seeing seconds also as a possible valid date.
>
> convert 0 to long date and long time;put it -> Thursday, January 1, 1970
> 1:00:00 AM
> 1:00:00 = DST here in germany!
>
> convert 10 to long date and long time;put it -> Thursday, January 1, 1970
> 1:00:10 AM
> etc...
>
> And of course:
> put (the seconds) is a date -> TRUE
>
> > ~Roger
>
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> kl...@major-k.de
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


is a date

2017-10-14 Thread Roger Eller via use-livecode
put "11/20/2017" is a date
returns true

put "10" is a date
returns true

put "raccoon" is a date
returns false


WHY is "10" seen as a date?

~Roger
___
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: Microsoft 365 Rest API

2017-10-12 Thread Roger Eller via use-livecode
Skip, we are piloting the same starship in alternate universes, I do
believe.  ;)

~Roger


On Thu, Oct 12, 2017 at 9:47 AM, Skip Kimpel via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Roger... why is it that you and I are ALWAYS on the same page and
> interested in the same things?
>
> Love it!
>
> SKIP
>
> On Thu, Oct 12, 2017 at 9:43 AM, Roger Eller via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > VERY interested!  Will this be shared, or become a add-on product for the
> > LC community?
> >
> > ~Roger
> >
> >
> > On Thu, Oct 12, 2017 at 8:54 AM, Pi Digital via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > I’ve been currently working on a project with another Livecoder making
> a
> > > library to work with MS Dynamics365. It turns out that the best way for
> > LC
> > > to work with it is via their webAPI (as are most things) until v9 is
> > ready.
> > > But this still means a lot of stuff being put together outside of LC.
> You
> > > first need an Azure account setup to enable authentication. You then
> need
> > > someone conversant with c#, Visual Basic and .net to write the APIs
> based
> > > on the MS SDK. This then needs putting onto a .net server. From there
> it
> > is
> > > really straight forward to set up a http header in LC and all of the
> Post
> > > and http calls to send and receive data.
> > >
> > > To be honest, the LC side of things is really simple, and our API guy
> has
> > > been really good at setting the whole thing up for us. We found him via
> > > PeoplePerHour and is clearly one of the best in his field.
> > >
> > > It’s been a long process working out how to get it all to work together
> > so
> > > I’m happy I can now make it easier for members like you, saving you the
> > > effort of fumbling around (like we did) to find a solution.
> > >
> > > PM me if and when you need more guidance and we can set up a Skype,
> > > FaceTime or whatever.
> > >
> > > All the best
> > >
> > > Sean Cole
> > > Pi Digital
> > > s...@pidigital.co.uk
> > >
> > > > On 12 Oct 2017, at 12:52, Colin Kelly via use-livecode <
> > > use-livecode@lists.runrev.com> wrote:
> > > >
> > > > Does anyone have any working livecode scripts/libraries to use with
> the
> > > Microsoft 365 Rest API for accessing Calendar entries?
> > > >
> > > >
> > > >
> > > > Any help much appreciated.
> > > >
> > > >
> > > >
> > > > --
> > > >
> > > > Colin Kelly
> > > >
> > > >
> > > >
> > > > ___
> > > > use-livecode mailing list
> > > > use-livecode@lists.runrev.com
> > > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > > ___
> > > use-livecode mailing list
> > > use-livecode@lists.runrev.com
> > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
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: Microsoft 365 Rest API

2017-10-12 Thread Roger Eller via use-livecode
VERY interested!  Will this be shared, or become a add-on product for the
LC community?

~Roger


On Thu, Oct 12, 2017 at 8:54 AM, Pi Digital via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I’ve been currently working on a project with another Livecoder making a
> library to work with MS Dynamics365. It turns out that the best way for LC
> to work with it is via their webAPI (as are most things) until v9 is ready.
> But this still means a lot of stuff being put together outside of LC. You
> first need an Azure account setup to enable authentication. You then need
> someone conversant with c#, Visual Basic and .net to write the APIs based
> on the MS SDK. This then needs putting onto a .net server. From there it is
> really straight forward to set up a http header in LC and all of the Post
> and http calls to send and receive data.
>
> To be honest, the LC side of things is really simple, and our API guy has
> been really good at setting the whole thing up for us. We found him via
> PeoplePerHour and is clearly one of the best in his field.
>
> It’s been a long process working out how to get it all to work together so
> I’m happy I can now make it easier for members like you, saving you the
> effort of fumbling around (like we did) to find a solution.
>
> PM me if and when you need more guidance and we can set up a Skype,
> FaceTime or whatever.
>
> All the best
>
> Sean Cole
> Pi Digital
> s...@pidigital.co.uk
>
> > On 12 Oct 2017, at 12:52, Colin Kelly via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Does anyone have any working livecode scripts/libraries to use with the
> Microsoft 365 Rest API for accessing Calendar entries?
> >
> >
> >
> > Any help much appreciated.
> >
> >
> >
> > --
> >
> > Colin Kelly
> >
> >
> >
> > ___
> > 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: not really OT: The Coming Software Apocalypse

2017-10-05 Thread Roger Eller via use-livecode
Sitcom version of the laser reflector experiment (on "The Big Bang
Theory").  :-)

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


On Wed, Oct 4, 2017 at 7:18 PM, Rick Harrison via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Lagi,
>
> The Apollo Astronauts left “Laser Reflectors” on the moon so that
> we could very accurately measure the distance between the Earth
> and the Moon.
>
> If you get the right equipment you too can do this experiment.
> The reflectors are still there on the moon right where they left them.
>
> https://en.wikipedia.org/wiki/Lunar_Laser_Ranging_
> experiment#/media/File:ALSEP_AS14-67-9386.jpg  wiki/Lunar_Laser_Ranging_experiment#/media/File:ALSEP_AS14-67-9386.jpg>
>
> Enjoy,
>
> Rick
>
> P.S. Maybe Astronauts in the far future will be able to write programs on
> the fly with future 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: Constraining an input field's contents to be a single line.

2017-09-21 Thread Roger Eller via use-livecode
The text WAS formatted and colorized.  Apparently the listserv modified
it.  The words enclosed in asterisks WERE in bold.

~Roger


On Thu, Sep 21, 2017 at 8:59 AM, Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> what do the asterisks do?
>
> On Thu, Sep 21, 2017 at 6:58 AM, Roger Eller via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Have you tried...?
> >
> > *on* rawKeyDown
> >*if* pKeyPressed is 65293 *then*
> >   replace cr with empty in me
> >   select after me
> >*end if*
> >pass rawKeyDown
> > *end* rawKeyDown
> >
> >
> > On Wed, Sep 20, 2017 at 5:40 PM, Alex Tweedly via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > Thanks for the prompt Mike.
> > >
> > > Short answer - don't know yet, though I suspect I'm going to have to
> find
> > > out.
> > >
> > > I do not currently have "mobile text field objects" - all I have are
> just
> > > standard LC fields, so returninfield is all I need for the 'return'
> part
> > of
> > > the problem - no need for 'inputReturnKey'.
> > >
> > > However, I also want to trap any attempt to paste in text containing
> CRs;
> > > I can do that for traditional platforms with a 'pasteKey' handler - but
> > > that doesn't seem to apply to LC fields on mobile, and also there
> doesn't
> > > appear to be any direct equivalent for mobile text fields (though there
> > may
> > > be other ways to achieve the same result on mobile text fields - I
> really
> > > haven't looked at them yet).
> > >
> > > In fact, maybe that's the question I *should* ask.
> > > "Should i be  (can I reasonably get away with) using LC fields in
> an
> > > app targeted for mobiles, or do I really need to use mobile text
> fields ?
> > >
> > > Thanks
> > > Alex.
> > >
> > > On 20/09/2017 17:01, Mike Kerner via use-livecode wrote:
> > >
> > >> did that work, alex?
> > >>
> > >> On Mon, Sep 18, 2017 at 4:41 PM, Mike Kerner <
> mikeker...@roadrunner.com
> > >
> > >> wrote:
> > >>
> > >> If you have a mobile text field object, then have you looked at
> > >>> inputReturnKey?
> > >>>
> > >>>
> > >>> On Mon, Sep 18, 2017 at 4:17 PM, Alex Tweedly via use-livecode <
> > >>> use-livecode@lists.runrev.com> wrote:
> > >>>
> > >>> I'm sure there must be an easy way I'm missing . he said in hope
> > :-)
> > >>>>
> > >>>> I want a field to contain a single line of data - i.. no CRs.
> > >>>>
> > >>>> I've done the easy bit (a handler for returninfield).
> > >>>>
> > >>>> I can even do the moderate bit -  a 'pastekey' handler, and check
> for
> > >>>> CRs
> > >>>> in the clipboard - but that doesn't apply to mobile (or at least,
> the
> > >>>> dict
> > >>>> says it doesn't).
> > >>>>
> > >>>> Is there any way to handle it on mobile ?
> > >>>>
> > >>>> Thanks
> > >>>> Alex.
> > >>>>
> > >>>> ___
> > >>>> 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
> > ___
> > 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
>
___
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: Constraining an input field's contents to be a single line.

2017-09-21 Thread Roger Eller via use-livecode
Have you tried...?

*on* rawKeyDown
   *if* pKeyPressed is 65293 *then*
  replace cr with empty in me
  select after me
   *end if*
   pass rawKeyDown
*end* rawKeyDown


On Wed, Sep 20, 2017 at 5:40 PM, Alex Tweedly via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Thanks for the prompt Mike.
>
> Short answer - don't know yet, though I suspect I'm going to have to find
> out.
>
> I do not currently have "mobile text field objects" - all I have are just
> standard LC fields, so returninfield is all I need for the 'return' part of
> the problem - no need for 'inputReturnKey'.
>
> However, I also want to trap any attempt to paste in text containing CRs;
> I can do that for traditional platforms with a 'pasteKey' handler - but
> that doesn't seem to apply to LC fields on mobile, and also there doesn't
> appear to be any direct equivalent for mobile text fields (though there may
> be other ways to achieve the same result on mobile text fields - I really
> haven't looked at them yet).
>
> In fact, maybe that's the question I *should* ask.
> "Should i be  (can I reasonably get away with) using LC fields in an
> app targeted for mobiles, or do I really need to use mobile text fields ?
>
> Thanks
> Alex.
>
> On 20/09/2017 17:01, Mike Kerner via use-livecode wrote:
>
>> did that work, alex?
>>
>> On Mon, Sep 18, 2017 at 4:41 PM, Mike Kerner 
>> wrote:
>>
>> If you have a mobile text field object, then have you looked at
>>> inputReturnKey?
>>>
>>>
>>> On Mon, Sep 18, 2017 at 4:17 PM, Alex Tweedly via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>>
>>> I'm sure there must be an easy way I'm missing . he said in hope :-)

 I want a field to contain a single line of data - i.. no CRs.

 I've done the easy bit (a handler for returninfield).

 I can even do the moderate bit -  a 'pastekey' handler, and check for
 CRs
 in the clipboard - but that doesn't apply to mobile (or at least, the
 dict
 says it doesn't).

 Is there any way to handle it on mobile ?

 Thanks
 Alex.

 ___
 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
___
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: [ANN] Release 8.2.0 DP-1

2017-09-14 Thread Roger Eller via use-livecode
On Thu, Sep 14, 2017 at 4:22 PM, Monte Goulding via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
> > On 15 Sep 2017, at 1:31 am, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > wow.  there are lots of autocomplete suggestions on bugzilla, already.
>
> Yep I’m going to be a busy boy ;-)
>
> Cheers
>
> Monte
>
>
Can you use autocomplete to assist you in completing the suggestions?  :)
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Script Editor Autocomplete Optional?

2017-09-14 Thread Roger Eller via use-livecode
The right-click contextual menu where you "Find in Docs" would be a good
place to toggle "Autocomplete On" / "Autocomplete Off".

~Roger


On Thu, Sep 14, 2017 at 9:20 AM, Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Maybe a little more nuanced control over it would be nice, but turning it
> on/off is a start.  For example, I'd like to be able to use a shortcut to
> use it when I want it - perhaps option-tab or something similar.
___
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: Does exporting a snapshot from a rect work on mobile?

2017-09-01 Thread Roger Eller via use-livecode
Well, since the bug report indicates that keyboardActivated/keyboardDeactivated
messages were added to Android, if they are not working please report it.
If you want to just use a general rule for a 'safe zone', then prompting at
the top of the screen should work fine.

~Roger

On Fri, Sep 1, 2017 at 7:31 AM, Jonathan Lynch via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Roger - yup, this problem affects other development environments too.
> Many have complained about it online. I currently force the input into the
> top half of the screen. Do you think I should force it even higher?
>
> I could just make the input go to the very top when a user enters it.
>
> Sent from my iPhone
>
> > On Sep 1, 2017, at 7:25 AM, jonathandly...@gmail.com wrote:
> >
> > The android version is 6.0.1.
> >
> >
> > Sent from my iPhone
> >
> >> On Sep 1, 2017, at 6:46 AM, jonathandly...@gmail.com wrote:
> >>
> >> Hi Jacqueline,
> >>
> >> Sadly, that did not help. It received the KeyboardActivated message,
> and I had it check the effective working screenrect both at that point and
> again in a handler set to trigger a second later. They all return results
> as if the keyboard is not there.
> >>
> >> This is on a galaxy tab E, with the OS from 2015, so it might just be
> that this tablet is not very good. However, I need the app to work on most
> android devices.
> >>
> >> When I get a more powerful machine, I might test a few of these things
> again. I can make it do different things depending whether a particular OS
> resource is available.
> >>
> >> Thanks!
> >>
> >> J
> >>
> >> Sent from my iPhone
> >>
> >>> On Aug 31, 2017, at 10:11 PM, J. Landman Gay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>>
> >>> What happens if you check the effective working screenrect in a
> keyboardActivated handler?
> >>>
> >>> --
> >>> Jacqueline Landman Gay | jac...@hyperactivesw.com
> >>> HyperActive Software   | http://www.hyperactivesw.com
> >>>
> >>>
> >>>
>  On August 31, 2017 8:04:45 PM Jonathan Lynch via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>  Actually, never mind, that cannot be it.
> 
>  I tried the follow script:
> 
>  on mouseUp
> 
>  create field "test height"
> 
>  select after field "test height"
> 
>  send getEWSR to me in 1 second
> 
>  end mouseUp
> 
>  on getEWSR
> 
>  answer the effective working screenrect
> 
>  delete field "test height"
> 
>  end getEWSR
> 
> 
>  it still returns the same screenrect that I get without using "effect
>  working", which is the screenrect of the device.
> 
> 
>  Any other ideas?
> 
> > On Thu, Aug 31, 2017 at 8:51 PM,  wrote:
> >
> > A question for Mark Waddingham...
> >
> > Mark, in my app, in the place in question, the keyboard is activated
> by a
> > browser widget. Is it possible that this means it is not sending a
> signal
> > to LC to update the value of the effective working screen rect?
> >
> > Sent from my iPhone
> >
> >> On Aug 31, 2017, at 8:27 PM, jonathandly...@gmail.com wrote:
> >>
> >> Yes - it makes me want to share whatever I can.
> >>
> >>
> >> Sent from my iPhone
> >>
>  On Aug 31, 2017, at 7:14 PM, Mark Wieder via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> 
>  On 08/31/2017 07:33 AM, Jonathan Lynch via use-livecode wrote:
>  Just a random comment - having the CTO of LC directly answer our
> > questions is an incredible benefit to LC developers.
> >>>
> >>> I also want to give a shout out to the supportive community here.
> This
> > is by far the best online community I've ever had the honor of being
> a part
> > of. The level of paying things forward is outstanding.
> >>>
> >>> --
> >>> 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
> >
> 
> 
> 
>  --
>  Do all things with love
>  ___
>  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: Does exporting a snapshot from a rect work on mobile?

2017-09-01 Thread Roger Eller via use-livecode
That's awesome!  Thank you.


On Fri, Sep 1, 2017 at 7:24 AM, panagiotis merakos via use-livecode <
use-livecode@lists.runrev.com> wrote:

> @Roger according to BZ, this appears to be fixed:
>
> http://quality.livecode.com/show_bug.cgi?id=10410
>
> @Jonathan if this is not the case, could you file a bug report so as we
> keep track of this issue?
>
> Best,
> Panos
> --
>
> On Fri, Sep 1, 2017 at 12:20 PM, Roger Eller via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > This appears to be an old problem (2012).  I don't know if there was
> ever a
> > solution.  A best practice was to position any input fields in the top
> > third of the screen.  I agree with the consensus that it should be
> handled
> > automatically, but it is not, obviously.
> >
> > https://www.mail-archive.com/use-livecode@lists.runrev.com/msg29602.html
> >
> > ~Roger
> >
> >
> > On Fri, Sep 1, 2017 at 6:46 AM, Jonathan Lynch via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > Hi Jacqueline,
> > >
> > > Sadly, that did not help. It received the KeyboardActivated message,
> and
> > I
> > > had it check the effective working screenrect both at that point and
> > again
> > > in a handler set to trigger a second later. They all return results as
> if
> > > the keyboard is not there.
> > >
> > > This is on a galaxy tab E, with the OS from 2015, so it might just be
> > that
> > > this tablet is not very good. However, I need the app to work on most
> > > android devices.
> > >
> > > When I get a more powerful machine, I might test a few of these things
> > > again. I can make it do different things depending whether a particular
> > OS
> > > resource is available.
> > >
> > > Thanks!
> > >
> > > J
> > >
> > > Sent from my iPhone
> > >
> > > > On Aug 31, 2017, at 10:11 PM, J. Landman Gay via use-livecode <
> > > use-livecode@lists.runrev.com> wrote:
> > > >
> > > > What happens if you check the effective working screenrect in a
> > > keyboardActivated handler?
> > > >
> > > > --
> > > > Jacqueline Landman Gay | jac...@hyperactivesw.com
> > > > HyperActive Software   | http://www.hyperactivesw.com
> > > >
> > > >
> > > >
> > > >> On August 31, 2017 8:04:45 PM Jonathan Lynch via use-livecode <
> > > use-livecode@lists.runrev.com> wrote:
> > > >>
> > > >> Actually, never mind, that cannot be it.
> > > >>
> > > >> I tried the follow script:
> > > >>
> > > >> on mouseUp
> > > >>
> > > >> create field "test height"
> > > >>
> > > >> select after field "test height"
> > > >>
> > > >> send getEWSR to me in 1 second
> > > >>
> > > >> end mouseUp
> > > >>
> > > >> on getEWSR
> > > >>
> > > >> answer the effective working screenrect
> > > >>
> > > >> delete field "test height"
> > > >>
> > > >> end getEWSR
> > > >>
> > > >>
> > > >> it still returns the same screenrect that I get without using
> "effect
> > > >> working", which is the screenrect of the device.
> > > >>
> > > >>
> > > >> Any other ideas?
> > > >>
> > > >>> On Thu, Aug 31, 2017 at 8:51 PM, <jonathandly...@gmail.com> wrote:
> > > >>>
> > > >>> A question for Mark Waddingham...
> > > >>>
> > > >>> Mark, in my app, in the place in question, the keyboard is
> activated
> > > by a
> > > >>> browser widget. Is it possible that this means it is not sending a
> > > signal
> > > >>> to LC to update the value of the effective working screen rect?
> > > >>>
> > > >>> Sent from my iPhone
> > > >>>
> > > >>> > On Aug 31, 2017, at 8:27 PM, jonathandly...@gmail.com wrote:
> > > >>> >
> > > >>> > Yes - it makes me want to share whatever I can.
> > > >>> >
> > > >>> >
> > > >>> > Sent from my iPhone
> > >

Re: Does exporting a snapshot from a rect work on mobile?

2017-09-01 Thread Roger Eller via use-livecode
This appears to be an old problem (2012).  I don't know if there was ever a
solution.  A best practice was to position any input fields in the top
third of the screen.  I agree with the consensus that it should be handled
automatically, but it is not, obviously.

https://www.mail-archive.com/use-livecode@lists.runrev.com/msg29602.html

~Roger


On Fri, Sep 1, 2017 at 6:46 AM, Jonathan Lynch via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Jacqueline,
>
> Sadly, that did not help. It received the KeyboardActivated message, and I
> had it check the effective working screenrect both at that point and again
> in a handler set to trigger a second later. They all return results as if
> the keyboard is not there.
>
> This is on a galaxy tab E, with the OS from 2015, so it might just be that
> this tablet is not very good. However, I need the app to work on most
> android devices.
>
> When I get a more powerful machine, I might test a few of these things
> again. I can make it do different things depending whether a particular OS
> resource is available.
>
> Thanks!
>
> J
>
> Sent from my iPhone
>
> > On Aug 31, 2017, at 10:11 PM, J. Landman Gay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > What happens if you check the effective working screenrect in a
> keyboardActivated handler?
> >
> > --
> > Jacqueline Landman Gay | jac...@hyperactivesw.com
> > HyperActive Software   | http://www.hyperactivesw.com
> >
> >
> >
> >> On August 31, 2017 8:04:45 PM Jonathan Lynch via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>
> >> Actually, never mind, that cannot be it.
> >>
> >> I tried the follow script:
> >>
> >> on mouseUp
> >>
> >> create field "test height"
> >>
> >> select after field "test height"
> >>
> >> send getEWSR to me in 1 second
> >>
> >> end mouseUp
> >>
> >> on getEWSR
> >>
> >> answer the effective working screenrect
> >>
> >> delete field "test height"
> >>
> >> end getEWSR
> >>
> >>
> >> it still returns the same screenrect that I get without using "effect
> >> working", which is the screenrect of the device.
> >>
> >>
> >> Any other ideas?
> >>
> >>> On Thu, Aug 31, 2017 at 8:51 PM,  wrote:
> >>>
> >>> A question for Mark Waddingham...
> >>>
> >>> Mark, in my app, in the place in question, the keyboard is activated
> by a
> >>> browser widget. Is it possible that this means it is not sending a
> signal
> >>> to LC to update the value of the effective working screen rect?
> >>>
> >>> Sent from my iPhone
> >>>
> >>> > On Aug 31, 2017, at 8:27 PM, jonathandly...@gmail.com wrote:
> >>> >
> >>> > Yes - it makes me want to share whatever I can.
> >>> >
> >>> >
> >>> > Sent from my iPhone
> >>> >
> >>> >>> On Aug 31, 2017, at 7:14 PM, Mark Wieder via use-livecode <
> >>> use-livecode@lists.runrev.com> wrote:
> >>> >>>
> >>> >>> On 08/31/2017 07:33 AM, Jonathan Lynch via use-livecode wrote:
> >>> >>> Just a random comment - having the CTO of LC directly answer our
> >>> questions is an incredible benefit to LC developers.
> >>> >>
> >>> >> I also want to give a shout out to the supportive community here.
> This
> >>> is by far the best online community I've ever had the honor of being a
> part
> >>> of. The level of paying things forward is outstanding.
> >>> >>
> >>> >> --
> >>> >> 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
> >>>
> >>
> >>
> >>
> >> --
> >> Do all things with love
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Sending a message to users that floats above everything

2017-08-24 Thread Roger Eller via use-livecode
And we all know that iOS malware is the very best that money can buy!  ;-)


On Thu, Aug 24, 2017 at 10:47 AM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> If the malware is good enough, you won't know. ;-)
>
> Bob S
>
>
> > On Aug 24, 2017, at 05:55 , Roger Eller via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > I have never experienced any malware attacks, and the
> > device continues to serve me well in compatibility-testing of apps
> created
> > in LiveCode.
> >
> > ~Roger
>
>
___
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: Sending a message to users that floats above everything

2017-08-24 Thread Roger Eller via use-livecode
On Thu, Aug 24, 2017 at 9:01 AM, hh via use-livecode <
use-livecode@lists.runrev.com> wrote:

> > Jonathan wrote:
> > I hate to hide the map just for something like adjusting the range at
> which one can see markers.
>
> You could make a snapshot of the map, gray it out and use the image as
> background (everything else hidden).
>
>
Grape minds...
___
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: Sending a message to users that floats above everything

2017-08-24 Thread Roger Eller via use-livecode
On Thu, Aug 24, 2017 at 7:18 AM, Jonathan Lynch via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I hate to hide the map just for something like adjusting the range at
> which one can see markers.
>
> That said, yours is probably the best currently available solution. It
> would be easy to hide and show the current group as needed.
>
> Sent from my iPhone


As J. demonstrated in LC Global, you can dim the background stuff before
displaying a dialog.  Yours is slightly different because of the map in the
browser, so what if you had a "generic map" image that is super minecraft
pixelated to display in its place?  Just hide the group that contains the
browser, and reveal the generic pixelated image beneath it.

~Roger
___
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: Sending a message to users that floats above everything

2017-08-24 Thread Roger Eller via use-livecode
On Thu, Aug 24, 2017 at 3:14 AM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 8/24/17 12:22 AM, Stephen MacLean via use-livecode wrote:
>
>> My point was that unfortunately that only means ~15% of currently active
>> Android devices are fairly safe and Bob’s comment, while brief, was fair as
>> far as it was concerned. Once Android hits iOS’s ~85% active devices on
>> latest version of the os, then it wouldn’t be. I just don’t think that will
>> happen anytime soon because of the way the OS is rolled out through 3rd
>> parties for the most part.
>>
>
> Actually, I was trying to make the opposite point -- Google Play Services
> is now on (at least) 93% of all Android devices. It runs on any Android
> regardless of manufacturer or customized OS, provided the device is
> authorized to access the Google Play Store. It's had over 5 billion
> downloads and is, among other things, the security layer.
>
> https://www.androidcentral.com/genius-google-play-services
>
> It isn't only the "Google-made" phones that are protected, it's almost all
> of them now.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>

This is very true.  My old China made tablet running Android 4.1.1 (no os
update has ever been available for it), continues to update Google Play
Services regularly.  I have never experienced any malware attacks, and the
device continues to serve me well in compatibility-testing of apps created
in LiveCode.

~Roger
___
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: Sending a message to users that floats above everything

2017-08-23 Thread Roger Eller via use-livecode
On Tue, Aug 22, 2017 at 4:43 PM, Stephen Barncard via use-livecode <
use-livecode@lists.runrev.com> wrote:

> the Android world creeps me out. And those phones always seem to break.
>
> sqb
>
> --
> Stephen Barncard - Sebastopol Ca. USA -
> mixstream.org
>
>
LOL!  I love the customizability of Android, so I have made mine so
"different" that any iOS L-user will be immediately creeped out and will
leave my phone the heck alone.  :)

This theme

COMPLETELY changes how the OS is used, yet it really is still fully
functional.  I LOVE Android (and Star Trek)!!!

~Roger
___
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: Sending a message to users that floats above everything

2017-08-21 Thread Roger Eller via use-livecode
Does the browser -need- to be visible during the message?  If not, hide it
first.  If so, display a temp screenshot of it during your message.

~Roger

On Aug 20, 2017 9:53 PM, "Jonathan Lynch via use-livecode" <
use-livecode@lists.runrev.com> wrote:

What is the best way to send a message to users that floats above
everything else, including browser widgets?

I have been using "answer", "ask", and the mobile picker because they
appear on top. However, these system dialogs are not always pretty,
especially on Android. Is there another option? I tried using a browser
widget, but that does not always layer on top of another browser widget,
even if the layer in the widget is a higher number.

Sent from my iPhone
___
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: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Roger Eller via use-livecode
I recently heard that Apple is planning a revolutionary smartwatch which
has calling functions built-in.  Seriously, no need to carry a phone!

Now Google it and see how many of these have existed for several years.
Revolutionary idea stealin' bunch!  lol

~Roger

On Aug 11, 2017 4:44 PM, "J. Landman Gay via use-livecode" <
use-livecode@lists.runrev.com> wrote:

On 8/11/17 10:51 AM, Dr. Hawkins via use-livecode wrote:

> I'd be tempted to switch to an android (I actually had the original
> gphone), but the privacy, hacks, and whathaveyou stop me.
>

At the risk of starting a platform war...



I love my Mac but I don't like iOS. It's too dumbed down to be useful.
Android has many advantages over iOS, the main one being that it has an
accessible file system like the Mac Finder (which I see iOS is about to
implement finally.) Not to mention launcher widgets, which I can't live
without, dozens of different launcher app options, and the ability to
customize almost anything the phone can do. It has menus and tooltips so
you don't have to memorize obscure gestures. Android Assistant is more
intelligent than Siri. Google provides unlimited photo storage without data
caps and uses intelligent algorithms to find photos without the need for
content tagging.

There are multiple apps for any purpose so you aren't required to use a
single authorized browser, email client, or anything else. I have three
browsers on my phone and four keyboards for different purposes. I had to
laugh when Apple finally allowed third-party keyboards. It's a start. (Try
SwiftKey, its prediction algorithms are the smartest anywhere and it is now
available for iOS.)

While Android malware is somewhat more prevalent than iOS, the actual risks
are exaggerated. Google has taken aggressive steps to reduce occurances,
which is only a tiny fraction of one percent anyway. There are nine layers
of security checks for every app you install. If you stick to the
authorized app stores you won't have trouble since almost all malware comes
from third-party downloads. Android also scans your apps in the background
even if you didn't download from their store, and recently added a manual
scan so you can check on demand. I've had 8 Android devices over the years
and never had any malware.

Privacy: Google gives you more control than Apple. You can delete all or
part of the data it stores at any time. You can control what it collects.
The trade-off, in my view, is worth the data collection. (One advantage of
multiple browsers is when I don't want Google to track my searches I just
don't use Chrome.) Android Now is close to psychic, volunteering
information I want without my asking. I walked out of a theater one night
and Android offered a map showing me where I'd parked. I didn't have to
ask, it was just there. You can turn off these things but I find them
useful. If you don't want Google to know where you are, turn off location
services.

I see Google as the pioneer that Apple used to be, and in fact, Apple has
started adopting popular Android features and claiming them as their own
(Windows 1.0 anyone?) Most of the upcoming iOS 11 features Apple is
bragging about incorporate Android features, most of which have been around
for years:

Notification system, document scanning, Finder-like file system, drag and
drop files to local storage or cloud services, language translations,
System UI Tuner ("customizable control center",) advanced camera control
apps, Android Beam ("AirDrop"), app drawer, customizable Do Not Disturb,
peer-to-peer Android Pay/Wallet ("Apple Pay",) Swapps ("persistent Dock".)
Apple says Siri now learns from you and syncs across devices. Android has
always done that.

Etc.




-- 
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

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


Re: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Roger Eller via use-livecode
You too, Richmond!   I agree with you that it's more about Apple greed than
making a safe, malware-free environment.  Stay safe from the Kool-ade.  :)

Kind regards,
~Roger



Roger Eller
Graphics Systems Analyst

803 North Maple Street P: 864.967.1625
Simpsonville, SC 29681 C: 864.908.0337
SealedAir.com <http://www.sealedair.com/> roger.e.el...@sealedair.com
<roger.e.el...@sealedair.com>



On Fri, Aug 11, 2017 at 2:03 PM, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Wow, Roger!
>
> You have "out devil's advocated me".
>
> Hope you have a great weekend.
>
> Richmond.
>
>
> On 8/11/17 8:38 pm, Roger Eller via use-livecode wrote:
>
>> On Fri, Aug 11, 2017 at 1:28 PM, Mark Waddingham via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>> On 2017-08-11 19:22, Richmond Mathewson via use-livecode wrote:
>>>
>>> So, I wonder why there is not a way of putting one's iPad app onot the
>>>> web in a way (and I don't mean via Cydia)
>>>> that will allow people to download it onto their tablets
>>>> independently, as one can do on an Android device?
>>>>
>>>> There is - you build your app signed with your provisioning profile. You
>>> upload it. Someone else downloads it, and resigns it with there's.
>>>
>>> I'm sure there must be a utility out there which makes this 'easy' - it
>>> certainly seems simple enough to me - okay so not a nice 'store' type
>>> interface on your phone; you need to attach it to a computer. However,
>>> that
>>> is just a small wall to step over.
>>>
>>> Of course, it is contigent on having a Apple developer account but I'm
>>> pretty sure these days you don't need to pay the $99 unless you want to
>>> submit an app
>>>
>>> Um, and a Mac.  Some iOS device owners have PCs, and therefore no access
>> to
>> Xcode.
>>
>>
>> Warmest Regards,
>>>
>>> Mark.
>>>
>>> --
>>> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
>>> LiveCode: Everyone can create apps
>>>
>>
>>
>> ~Roger
>> ___
>> 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: [OT] Draconian computer company policies, was: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Roger Eller via use-livecode
On Fri, Aug 11, 2017 at 1:28 PM, Mark Waddingham via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 2017-08-11 19:22, Richmond Mathewson via use-livecode wrote:
>
>> So, I wonder why there is not a way of putting one's iPad app onot the
>> web in a way (and I don't mean via Cydia)
>> that will allow people to download it onto their tablets
>> independently, as one can do on an Android device?
>>
>
> There is - you build your app signed with your provisioning profile. You
> upload it. Someone else downloads it, and resigns it with there's.
>
> I'm sure there must be a utility out there which makes this 'easy' - it
> certainly seems simple enough to me - okay so not a nice 'store' type
> interface on your phone; you need to attach it to a computer. However, that
> is just a small wall to step over.
>
> Of course, it is contigent on having a Apple developer account but I'm
> pretty sure these days you don't need to pay the $99 unless you want to
> submit an app
>

Um, and a Mac.  Some iOS device owners have PCs, and therefore no access to
Xcode.


>
> Warmest Regards,
>
> Mark.
>
> --
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps



~Roger
___
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: Update: Crash with mobilePickPhoto and Android

2017-08-11 Thread Roger Eller via use-livecode
Also, you shouldn't have to use a workaround just because it is Android.
The mobile syntax should work the same for either OS.

~Roger


On Fri, Aug 11, 2017 at 12:32 PM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> This needs a bug report. Crashes are high priority fixes.
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>
>
>
>
> On August 11, 2017 10:17:35 AM Dan Friedman via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> For those who may be interested, here’s a fun one…
>>
>> If acceleratedRendering is enabled, mobilePickPhoto will crash the app on
>> Android.  Here’s your workaround:
>>
>>   set the acceleratedRendering of stack "main" to false
>>   mobilePickPhoto "camera"
>>   set the acceleratedRendering of stack "main" to true
>>
>> Perhaps LC will fix this or add this limitation to the documentation.
>>
>> -Dan
>>
>>
>> Hello!   Having some trouble with mobilePickPhoto on an Android device.
 I call mobilePickPhoto "library"
 (or mobilePickPhoto "camera") and I can choose the photo or take the
 picture, but as soon as I accept the
 image (when LC should have control again) the app crashes with the
 prompt “[appName] has stopped”.
 LC 8.1.5, Moto g5 Plus running Android 7.0.   Any thoughts?

 Any assistance would be GREATLY appreciated!

 -Dan

>>>
>> ___
>> 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: Mobile LC Apps Downloading Stacks After installation

2017-08-11 Thread Roger Eller via use-livecode
Several companies HAVE their own app stores.  Samsung is one that comes to
mind.  http://joyofandroid.com/android-app-store-alternatives/

~Roger


On Fri, Aug 11, 2017 at 10:00 AM, Jonathan Lynch via use-livecode <
use-livecode@lists.runrev.com> wrote:

> If Apple and Google allowed player apps that play external code, companies
> could essentially set up their own app stores, bypassing google play and
> iTunes.
> I cannot imagine either company would appreciate that.
>
> Sent from my iPhone
>
> > On Aug 11, 2017, at 9:52 AM, Ralph DiMola via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Mark,
> >
> > Thanks for weighing in. I would like to read into those licenses that I
> > could update my core LCS, but I know in my soul that if I do that it's
> just
> > a shoe waiting to drop that could affect not only my license but the
> entire
> > LC community. I also feel that when I create an extra button(with stub
> code)
> > because a "data" update offers more options that I am staying within the
> > guidelines and the spirit of the App/Play store rules. I see this as
> simple
> > decision. I call it the "Johnny, did you eat a cookie?" scenario. Johnny
> > says "no" because he did not eat "A" cookie but ate 3 cookies. I am not
> a 2
> > year old and know what these rules were intended to prevent.
> >
> > By the way, I was once rejected because my data update "answer" dialog
> was
> > worded as "An app update is available". I explained that it was a data
> > update and not code and changed the verbiage of the dialog. I then passed
> > the review. Moral: The review team can look VERY close at any app during
> > review.
> >
> > As it was said in Goodfellows... At least, that's how I feel.
> >
> > Ralph DiMola
> > IT Director
> > Evergreen Information Services
> > rdim...@evergreeninfo.net
> >
> >
> > -Original Message-
> > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On
> Behalf
> > Of Mark Waddingham via use-livecode
> > Sent: Friday, August 11, 2017 7:24 AM
> > To: How to use LiveCode
> > Cc: Mark Waddingham
> > Subject: Re: Mobile LC Apps Downloading Stacks After installation
> >
> >> On 2017-08-11 12:20, Jonathan Lynch via use-livecode wrote:
> >> I know the reviewers at app stores are not always careful, but
> >> something like an LC player would surely get their notice.
> >
> > Review, from my understanding, is heavily automated (it has to be - if
> you
> > think of the scale of the App Stores these days). However, there is
> always a
> > means to get in contact with a human about specific issues (which can
> take a
> > while to get escalated with someone who can actually do something - but
> at
> > least it is possible).
> >
> >> They do allow us to import JS, but JS is way more sandboxed than LC.
> >
> > Yes - this is true - however, as I noticed this morning Apple no longer
> have
> > their advisory about allowing arbitrary JS to be downloaded and run
> within a
> > WebView. This is simply because you can could build a host app which
> gives
> > access to every single OS API on iOS and make all of them callable from
> JS
> > (even if the JS bundled with the app does not use any of it).
> >
> > So, the point is the language is not the point - what the code running in
> > the language does is important.
> >
> > Like Google, Apple are wanting to know precisely what OS APIs your app is
> > calling at the point of review - so they have some idea of the surface
> area
> > of attack for any malicious intent. How much analysis they currently do,
> > no-one really knows - however the guidelines means that (in principal)
> they
> > have reasons to pull any apps very quickly if they find that they are
> doing
> > something which is 'not allowed'.
> >
> > Warmest Regards,
> >
> > Mark.
> >
> > --
> > Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> > LiveCode: Everyone can create apps
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription
> > preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Script Editor Window being bl**dy-minded

2017-08-08 Thread Roger Eller via use-livecode
Is there an option for when you don't know its name and the stack is
completely off-screen?

~Roger

On Tue, Aug 8, 2017 at 8:32 AM, panagiotis merakos via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Lagi,
>
> Yes, "the mousestack" is very useful in those cases where you don't
> know/remember the name of the stack.
>
> Similarly, you can use "the mousecontrol" for controls.
>
> Best regards,
> Panos
> --
>
> On Tue, Aug 8, 2017 at 12:10 PM, Lagi Pittas via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > THanks Panos,
> >
> > Even better than what I use - I think thanks to a Dave Kilroy post many
> > eons ago.
> >
> >
> > Because you don't first have to remember or find the name of the window.
> >
> > But I've only ever had this happen to a stack of mine which I know the
> name
> > of anyway.
> >
> > I use  Dave's trick when the window is in the twilight zone and can't be
> > accessed at all.
> >
> > set the loc of stack "Message Box" to the screenLoc
> >
> > Thanks
> >
> > Lagi
> >
> > On 8 August 2017 at 11:57, panagiotis merakos via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > Hi Richmond,
> > >
> > > Type in the msg box:
> > >
> > > "set the loc of the mousestack to the screenloc"  -- BUT DO NOT PRESS
> > ENTER
> > >
> > > Then place your mouse over the script editor window, and now press
> Enter
> > >
> > > Hope this helps,
> > > Panos
> > > --
> > >
> > > On Tue, Aug 8, 2017 at 11:53 AM, Richmond Mathewson via use-livecode <
> > > use-livecode@lists.runrev.com> wrote:
> > >
> > > > Somehow I did something and my scriptEditor window
> > > > got stuck with its grab-bar off the top of my monitor window
> > > > so there is no way I can either move it or resize it.
> > > >
> > > > 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
> > > >
> > > ___
> > > use-livecode mailing list
> > > use-livecode@lists.runrev.com
> > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android device speed

2017-08-03 Thread Roger Eller via use-livecode
I would be more inclined to not say in general "...that Android runs
slower...", but rather "Android runs LiveCode apps slower."

There are plenty of Android apps in the Play store that handle large
graphics VERY well on Android.  It may or may not be just how LiveCode
rolls, as an improved experience can be achieved by handling images better
in your code. Breaking them up into grid pieces, and only displaying the
portion that is within the current view is one way.  You can also reduce
the size of PNG files using specialized utilities like TinyPNG.

~Roger

On Thu, Aug 3, 2017 at 3:20 AM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Android devices come with a variety of different specifications. The high
> end models will be more capable than low end ones. Depending on
> manufacturer and model, the graphics card will vary in capability and
> available RAM. Screen resolution also makes a difference. I'm using older
> test devices because I figure if it works there it will work on most
> others. But my Samsung S4 runs more slowly than my S5 and they were
> released only a year apart. And my Nexus tablet, which is older than both
> Samsung phones, runs as well or better than either of those, probably
> because it has a lower screen resolution. I'm not sure there's a standard
> you can rely on.
>
> I guess in general you could say that Android runs slower, but it's
> probably because there are so many low cost phones with subsequently less
> processing power. When you get into the higher range phones they can be
> quite acceptable. The same app that lagged on my Samsung ran fine on
> someone else's Pixel.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>
>
>
>
> On August 2, 2017 6:14:06 PM Jonathan Lynch via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> Hello everyone,
>>
>> I just put my app on a galaxy tab E as a test.
>>
>> It is painfully slow, but not just in the LC portion of the app. The map,
>> delivered through a browser widget, is also slow.
>>
>> So, I used the regular browser (chrome) at the webglearth website. That
>> was slow too, although not as bad. I think the main difference was that the
>> map div at their website is small, so it takes less processing power.
>>
>> I had thought I selected a midlevel Android device that can handle
>> moderate amounts of computation.
>>
>> In y'alls' experience, are android devices just slow? Do they have
>> inferior graphics processors? If you make computationally heavy apps for
>> Android, do you just warn users that the app will only work on some devices?
>>
>> I want this to work on as many devices as possible, but 3D maps require
>> lots of processing.
>>
>> Thanks,
>>
>> J
>>
>> Sent from my iPhone
>> ___
>> 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: Hackintosh

2017-08-03 Thread Roger Eller via use-livecode
On Wed, Aug 2, 2017 at 6:21 PM, Mark Waddingham via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Just to pay reference to the comment about LiveCode - I missed it the
> first time around...
>
> We (LiveCode Ltd.) did not 'give away' LiveCode. We released it under a
> software license that has strings.
>
> The GPL requires (subject to interpretation by lawyers - and a court of
> law) you to also release your source code of the things you write in
> LiveCode.
>
> There's no such thing as a free lunch - there's always some sort of
> payment somewhere - even if that payment is 'for the good of all' rather
> than in any form of 'currently understood currency'.
>

This sparked a memory of an old scene in Star Trek
, where a cryogenically
preserved man of our time awakens to find that everything has changed.  A
future where your only goal is to improve yourself for the good of all.  I
wonder if there will be EULAs in 100 years.  Hmmm...


>
> Warmest Regards,
>
> Mark.
>
> Sent from my iPhone


~Roger
___
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: Hackintosh

2017-08-02 Thread Roger Eller via use-livecode
Also of interest, MacWorld article (yes, MacWorld) tells users how to build
a Hackintosh.  Although the author whines a little about it being involving
some work.

http://www.macworld.com/article/3196994/macs/how-to-build-a-hackintosh.html

Someday, I believe Apple will come around and offer Genuine OS X to select
models of PC hardware.  But that's just my own hopeful idea.  For now, it
is only for fun, and should not be considered for any type of business.  If
your business can't afford a computer, then close the doors.

~Roger


On Wed, Aug 2, 2017 at 11:56 AM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> We have a great community, having earned a reputation for providing a
> safe, friendly environment for learning LiveCode.
>
> With that in mind, please remember that Apple's EULA for macOS requires
> that it be run only on "Apple-branded computers".
>
> Discussions of using VMs on Mac hosts is great, useful for testing our
> apps on multiple OS versions.
>
> But we probably don't want to have discussions of violating Apple's
> copyright as part of this community's permanent public archive.
>
> There are other venues where such discussion can take place.  Here in this
> official LiveCode support venue, it may be better to follow the guidelines
> used for the Forums, in which we avoid discussions which may be construed
> as encouraging illegal activity.
>
> Forum Guidelines
> 
>
> --
>  Richard Gaskin
>  LiveCode Community Liaison
>  rich...@livecode.org
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
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: Hackintosh

2017-08-02 Thread Roger Eller via use-livecode
It's also great that enthusiasts have already tested much of what's out
there.  You can pick your components from this buyers guide for best
results.

https://www.tonymacx86.com/buyersguide/january/2017

~Roger


On Wed, Aug 2, 2017 at 7:51 AM, Erik Beugelaar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> In addition what Roger said.
>
> Hackintosh Rule #3: Buy only PC hardware components (if possible)  which
> are supported by Apple native.
>
> Most problems can be avoided to use the wright components which are
> critical to build a good working Hackintosh.
> Buy a motherboard which has already Wifi/BT (e.g.. Broadcomm) and Sound
> (e.g. RealTek) compatible to Apple on board (e.g. GigaByte).
> Buy a videocard compatible to Apple (NVIDIA) or use the internal videocard
> supporting Intel HD 5000+
> Buy a USB (e.g. Logitech) video camera compatible to Apple.
>
> If you follow these rules you will have a natively working Apple. Even
> nowadays updating Mac OS X from Yosemite up to Sierra using Clover is
> working via the normal Apple procedure (App Store). Sometimes you have to
> refresh your kexts for sound, networking etc. after upgrading but that’s
> all.
>
> Regards,
> Erik
>
>
> On 02/08/17 13:14, "use-livecode on behalf of Roger Eller via
> use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of
> use-livecode@lists.runrev.com> wrote:
>
> Hackintoshers Rule #1:  "If it ain't broke, don't update it!"
> Hackintoshers Rule #2:  "Carbon Copy Clone it FIRST!"
>
>
___
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: OT: Hackintosh

2017-08-02 Thread Roger Eller via use-livecode
Hackintoshers Rule #1:  "If it ain't broke, don't update it!"
Hackintoshers Rule #2:  "Carbon Copy Clone it FIRST!"

Realizing that it's not real, not "of Apple", and not updating frequently
is the first step toward Hacky-happiness.  Always wait until the forums are
reporting update success stories.  Knocking on wood, following the above
rules, I have never bricked my machine.

~Roger

On Tue, Aug 1, 2017 at 7:27 PM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I tried once. The problem is getting a graphics card to work correctly if
> you are thinking about gaming. There are all kinds of hacks to get it to
> work, but the bottom line is it can be iffy, and the next OS X update might
> break it.
>
> Bob S
>
>
> > On Aug 1, 2017, at 12:36 , Dan Friedman via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Greetings!
> >
> > Has anyone built their own Hackintosh computer?
>
>
> ___
> 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: OT: Hackintosh

2017-08-01 Thread Roger Eller via use-livecode
I have only built one out of hobbyist curiosity, not for work.  In use I
cannot tell the difference, but I have not submitted any apps to the app
store.  I have built Android apps and loaded them onto my own devices
without any problem.

~Roger


On Tue, Aug 1, 2017 at 3:36 PM, Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Greetings!
>
> Has anyone built their own Hackintosh computer?  If so, have you had any
> trouble working with XCode, iTunes Connect, Apple Developer tools, getting
> apps approved, etc.   I would like to build one (I’m not in love with
> Apple’s pre-built choices), but don’t want any hassles down the road.  I
> wouldn’t put it past Apple to disallow an app if it wasn’t developed/built
> on an Apple Certified Mac.
>
> -Dan
>
>
___
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: How can I scrape text from a web page that is generated by javascript?

2017-07-31 Thread Roger Eller via use-livecode
Indeed.  In fact, Thierry Douez solved this over the weekend with a mix of
that and some regex.


On Sat, Jul 29, 2017 at 3:56 PM, Sannyasin Brahmanathaswami via
use-livecode  wrote:

> FYI depending on what you are trying to get out you can also
>
> get the htmltext of widget "browser"; set the htmltext of templateField();
> put the text of templateField()
>
> and see if that may serve in some use case.
>
>
___
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: Web vs Native (was Re: HTML5 limitations?)

2017-07-26 Thread Roger Eller via use-livecode
As for in-house or "corporate" mobile, they seem to also want everything to
be web based as well.  I tried real hard to get LiveCode accepted for
mobile development, but they only wanted a tool that could create secure
html5 apps.  This was back when LC html5 was only in early planning.

~Roger


On Wed, Jul 26, 2017 at 10:17 AM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I believe Rick's "Why" here is key to much of what we may be doing over
> the next couple years.
>
> We developers currently find ourselves in a very strange place:
>
> On desktop, the requests are "Web! Web! Web!"
>
> On mobile, they're "Apps! Apps! Apps!"
>
> If the web offers advantages that can't be matched with native apps, why
> is this perceived as true for the desktop but not for mobile?
>
> If native apps offer advantages that can't be matched with the web, why is
> this perceived as true for mobile but not for the desktop?
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  
>  ambassa...@fourthworld.comhttp://www.FourthWorld.com
>
>
> Rick Harrison wrote:
>
> > Why does the client want to move the project over to HTML5?
> > What advantage does he/she think it is going to provide that
> > the current setup does not?
> >
> > Based on the complexity of what you already have going I think
> > it could be a very serious waste of time and energy.
> >
> > It’s easier to just have a website where your users download
> > whatever version they need for their computer.  One for macOS,
> > one for Windows, and one for Unix.  If you need mobile versions
> > you can create them too.
> >
> > Trying to convert everything so it all runs in a client’s web-browser,
> > and too slowly at that considering all of your animations, I just
> > don’t see it.  You would be better off knowing you have all of
> > LC’s engine capabilities in your app than in trusting something
> > that is still listed as experimental - although soon to become beta.
> >
> > On the other hand if your client has very very deep pockets, and
> > isn’t in a rush to get it all done by tomorrow, you could make a
> > lot of money struggling with trying to get it all working.
> >
> > Good luck with whatever you do!
>
>
___
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: HTML5 limitations?

2017-07-25 Thread Roger Eller via use-livecode
That concept would be great as a lesson.

~Roger


On Tue, Jul 25, 2017 at 4:21 PM, Kevin Miller via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Yes you can. I'm at a conference just now but hopefully someone
> knowledgable on our team can jump in with more info.
>
> Sent from my iPhone
>
> > On 25 Jul 2017, at 13:07, Jonathan Lynch via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Kevin,
> >
> > Can you have a structure similar to having multiple stacks controlled by
> an LC engine?
> >
> > I am really curious how you guys set that up? Using localstorage and
> cookies are the only methods I know of for doing that in regular html5 with
> multiple tabs/windows.
> >
> >
> >
> > Sent from my iPhone
> >
> >> On Jul 25, 2017, at 3:54 PM, Kevin Miller via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>
> >> Go in window of stack works
> >>
> >> You can download stacks just fine
> >>
> >> Sent from my iPhone
>
___
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: How can I scrape text from a web page that is generated by javascript?

2017-07-24 Thread Roger Eller via use-livecode
So... I can make it scrape, then save to a CSV, then read the CSV into LC
and use the data.  But how to automate the scraping and CSV saving at a
given interval, I'm not there yet.

~Roger


On Mon, Jul 24, 2017 at 4:53 PM, Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> The developer was also helpful when I was running into difficulty writing
> some of the parameter sets.
>
> On Mon, Jul 24, 2017 at 4:27 PM, Roger Eller via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Scratch that.  It's amazing what watching the video or reading the docs
> can
> > do to enlighten the unenlightened.
> >
> >
> > On Mon, Jul 24, 2017 at 2:59 PM, Roger Eller <
> roger.e.el...@sealedair.com>
> > wrote:
> >
> > > I installed the plugin, but am unfamiliar with how to use it.  I didn't
> > > see an obvious way to filter the page down to the current prices I want
> > to
> > > grab.
> > >
> > > ~Roger
> > >
> > > On Mon, Jul 24, 2017 at 1:34 PM, Mike Kerner via use-livecode <
> > > use-livecode@lists.runrev.com> wrote:
> > >
> > >> Don't know what to tell you.  I scrape a few hundred thousand pages
> at a
> > >> time from multiple sites with this plugin.
> > >>
> > >> On Mon, Jul 24, 2017 at 12:12 PM, Bob Sneidar via use-livecode <
> > >> use-livecode@lists.runrev.com> wrote:
> > >>
> > >> > No workie. I create a new sitemap with a URL of http://192.168.1.87
> > and
> > >> > it tells me it's not a valid URL!!! That is strike 3 for me when I
> > >> > encounter that kind of problem. Even if I load the full url default
> > page
> > >> > for that device, then copy paste the URL it STILL tells me it's
> > invalid.
> > >> >
> > >> > Bob S
> > >> >
> > >> >
> > >> > > On Jul 24, 2017, at 06:13 , Mike Kerner via use-livecode <
> > >> > use-livecode@lists.runrev.com> wrote:
> > >> > >
> > >> > > Roger,
> > >> > > I use a chrome plugin called "Web Scraper", and then I process the
> > >> CSV in
> > >> > > LC - then again, I'm usually scraping many many many pages, and
> this
> > >> > > automates the process.
> > >> > > ___
> > >> > > 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
> > >> >
> > >>
> > >>
> > >>
> > >> --
> > >> 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
> > >>
> > >
> > >
> > ___
> > 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
>
___
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: How can I scrape text from a web page that is generated by javascript?

2017-07-24 Thread Roger Eller via use-livecode
Scratch that.  It's amazing what watching the video or reading the docs can
do to enlighten the unenlightened.


On Mon, Jul 24, 2017 at 2:59 PM, Roger Eller 
wrote:

> I installed the plugin, but am unfamiliar with how to use it.  I didn't
> see an obvious way to filter the page down to the current prices I want to
> grab.
>
> ~Roger
>
> On Mon, Jul 24, 2017 at 1:34 PM, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> Don't know what to tell you.  I scrape a few hundred thousand pages at a
>> time from multiple sites with this plugin.
>>
>> On Mon, Jul 24, 2017 at 12:12 PM, Bob Sneidar via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>> > No workie. I create a new sitemap with a URL of http://192.168.1.87 and
>> > it tells me it's not a valid URL!!! That is strike 3 for me when I
>> > encounter that kind of problem. Even if I load the full url default page
>> > for that device, then copy paste the URL it STILL tells me it's invalid.
>> >
>> > Bob S
>> >
>> >
>> > > On Jul 24, 2017, at 06:13 , Mike Kerner via use-livecode <
>> > use-livecode@lists.runrev.com> wrote:
>> > >
>> > > Roger,
>> > > I use a chrome plugin called "Web Scraper", and then I process the
>> CSV in
>> > > LC - then again, I'm usually scraping many many many pages, and this
>> > > automates the process.
>> > > ___
>> > > 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
>> >
>>
>>
>>
>> --
>> 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
>>
>
>
___
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: How can I scrape text from a web page that is generated by javascript?

2017-07-24 Thread Roger Eller via use-livecode
I installed the plugin, but am unfamiliar with how to use it.  I didn't see
an obvious way to filter the page down to the current prices I want to grab.

~Roger

On Mon, Jul 24, 2017 at 1:34 PM, Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Don't know what to tell you.  I scrape a few hundred thousand pages at a
> time from multiple sites with this plugin.
>
> On Mon, Jul 24, 2017 at 12:12 PM, Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > No workie. I create a new sitemap with a URL of http://192.168.1.87 and
> > it tells me it's not a valid URL!!! That is strike 3 for me when I
> > encounter that kind of problem. Even if I load the full url default page
> > for that device, then copy paste the URL it STILL tells me it's invalid.
> >
> > Bob S
> >
> >
> > > On Jul 24, 2017, at 06:13 , Mike Kerner via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> > >
> > > Roger,
> > > I use a chrome plugin called "Web Scraper", and then I process the CSV
> in
> > > LC - then again, I'm usually scraping many many many pages, and this
> > > automates the process.
> > > ___
> > > 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
> >
>
>
>
> --
> 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
>
___
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: How can I scrape text from a web page that is generated by javascript?

2017-07-24 Thread Roger Eller via use-livecode
Mike, Mike, hh,

So many good ideas!  Thanks guys!

~Roger


On Mon, Jul 24, 2017 at 9:23 AM, hh via use-livecode <
use-livecode@lists.runrev.com> wrote:

> > Roger E. wrote:
> > Is there a browser widget command that will do it?
>
> (Yet another option):
>
> YES.
>
> Set the URL of a browser widget to https://www.coinbase.com/charts
> and get (via a timer) the htmltext of the browser widget. This is the
> _generated_ source.
>
> You can now search and find the needed offsets of the tags.
> OR
> Get the needed class-elements via javascript (more lengthy).
>
> ___
> 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


How can I scrape text from a web page that is generated by javascript?

2017-07-24 Thread Roger Eller via use-livecode
 There are three values at the top of this page that are updated by
javascript.  The $ amounts are not visible in the source.

https://www.coinbase.com/charts

What is the best approach to grab the text using LiveCode.  Is there a
browser widget command that will do it?

Thanks.
~Roger
___
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: [OT] Stable versions of Livecode

2017-07-21 Thread Roger Eller via use-livecode
This mind bending metaphor could start a, um... Revolution!

~Roger


On Fri, Jul 21, 2017 at 10:08 AM, BNig via use-livecode <
use-livecode@lists.runrev.com> wrote:

> In recent month there has been muck ado about the word "stable" in stable
> versions of Livecode.
>
> I think there is a serious misunderstanding of the word "stable" here.
>
> It is according to the Oxford Dictionary:
>
> stable (noun)
> A building set apart and adapted for keeping horses.
> ‘the horse was led to its stable’
>
> Of course that can only mean that a stable version of Livecode is a
> metaphor
> indicating that Livecode is the metaphorical horse, maybe even a racehorse,
> at least a horse that deserves a nice and clean stable.
> As every schoolboy knows no stable is free of bugs but a new stable is as
> close as you can get.
>
> Some might deplore the use of a metaphor in denoting a version of Livecode
> but I've seen a lot worse on this list.
>
> Just to mention a few
> "skinning of cats"
> "reinventing of wheels"
> "building of better mousetrap"
>
> but don't forget in metaphors it is the _relations_ that are important, not
> the _things_ that are related.
>
> I hope this helps
>
> and take it with a grain of salt
>
> My best wishes to all the Livecode jokeys and stablemen.
>
> Bernd
>
>
>
> --
> View this message in context: http://runtime-revolution.
> 278305.n4.nabble.com/OT-Stable-versions-of-Livecode-tp4717337.html
> Sent from the Revolution - User mailing list archive at Nabble.com.
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
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: What happened to LC version numbers?

2017-07-20 Thread Roger Eller via use-livecode
LIKE!  :-D

On Thu, Jul 20, 2017 at 4:32 PM, Mark Waddingham via use-livecode <
use-livecode@lists.runrev.com> wrote:

> If only I were sure that all our tooling would be happy with 'dv' - that
> might make a good name for nightly builds.
>
> Sent from my iPhone
>
> > On 20 Jul 2017, at 21:18, Richmond Mathewson via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > I honestly don't know what the fuss is:
> >
> > DP or RC, who cares, after all as long as they are numbered reasonably
> sequentially we know
> > that they are leading up to a 'Full' release (which, after all, means
> the start of another SDLC).
> >
> > I'm working with 8.1.4 at the moment and having lots of fun with the
> 8.1.6 DVs (dirty versions).
> >
> > Richmond.
> >
> >> On 7/20/17 10:09 pm, Mark Wieder via use-livecode wrote:
> >>> On 07/20/2017 11:41 AM, Richard Gaskin via use-livecode wrote:
> >>>
> >>>...the more people we can get using DP's (in particular), the higher
> >>>quality they will be and the faster new versions will appear.
> >>
> >> ...so when was the last time you saw a dp release?
> >> (of anything other than LC9, which is nothing but, since it hasn't yet
> reached a state stable enough for an rc release)
> >>
> >> Seems to be LC8.1.0dp3 from 29 July 2016
> >> LC8.1 went through 3 dp releases before getting to RC state
> >>
> >> Last one before that was LC8.0.0dp16 17 march 2016
> >> 16 dp releases before stabilizing
> >>
> >> and before that was LC7.0.0dp10 18 August 2014
> >>
> >> DP releases are pretty rare. People can't try these unless they're
> released.
> >>
> >
> > ___
> > 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: Bug 20117: new rc2 sets a backdrop, and preferences for same

2017-07-19 Thread Roger Eller via use-livecode
On Wed, Jul 19, 2017 at 1:04 PM, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:

>
>
> On 7/19/17 7:15 pm, Dr. Hawkins via use-livecode wrote:
>
>> On Tue, Jul 18, 2017 at 8:55 PM, Monte Goulding via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>>   Looking at the PR it was meant to only set the backdrop if users were
>>> still in the first run mode of the start center.
>>>
>>
>> Uhm . . . why would anyone think that that would be a *good* thing?   I
>> react to my screen being seized as a hostile act.
>>
>> I didn't even realize that it was livecode that had attached me; initially
>> I assumed an OS glitch.
>>
>> When I saw that my desktop came back when I switched applications, and was
>> seized again when livecode resumed, I tried preferences, and didn't see
>> anything.
>>
>> Eventually. I tried view, and found a "backdrop" setting set, and turned
>> that off.
>>
>> I had never heard of backdrop before, and would have had no idea to try to
>> deal with it in the message box.
>>
>
> That's funny; that backdrop goes back to at least the Free revMedia thing.
>
>
MetaCard had the backdrop.  I used it on IRIX, and it was wonderful to
isolate the coding environment from the other stuff.  In fact, other very
expensive high-end graphics software we used did exactly the same thing.
The graphics system set a neutral gray backdrop to enable the user to make
subtle color edits to photographs of food.  The idea was that the
neutrality of the gray backdrop would not interfere with your
interpretation of color, as the surrounding colors do actually affect your
visual perception.  So, yeah.  I have a background in graphics which
incidentally makes me like the backdrop.

~Roger
___
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: Bug 20117: new rc2 sets a backdrop, and preferences for same

2017-07-19 Thread Roger Eller via use-livecode
Thanks, Panos!  That worked.  I changed the arrangement of my Mac screens,
so I guess it was stranded.

~Roger


On Wed, Jul 19, 2017 at 10:42 AM, panagiotis merakos via use-livecode <
use-livecode@lists.runrev.com> wrote:

> @Roger:
>
> Could it be the case that the Preferences stack does open, but somehow it
> goes offscreen?
>
> - Open Prefs
> - If you don't see the window, type in the msg box:
>
> set the loc of stack revpreferencesGUI to the screenloc
>
> Best,
>
> Panos
>
> --
>
> On Wed, Jul 19, 2017 at 3:26 PM, Roger Eller via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Every version I have, 6.x, 7.x, 8.x, all black, Mac or Windows.  Odd
> thing
> > though, on OS X 10.11.6, versions 8.1.4 and 8.1.5 will not open
> > Preferences.
> >
> > ~Roger
> >
> >
> > On Wed, Jul 19, 2017 at 9:52 AM, Richmond Mathewson via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > Dunno: I get grey.
> > >
> > > Richmond.
> > >
> > > On 7/19/17 2:58 pm, Roger Eller via use-livecode wrote:
> > >
> > >> When I toggle the backdrop ON, why is it black, rather than something
> > like
> > >> "lightgray" which is more like the Tools and menu portion of the IDE?
> > >> Black as the default feels like a mistake?
> > >>
> > >> ~Roger
> > >>
> > >>
> > ___
> > 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: Bug 20117: new rc2 sets a backdrop, and preferences for same

2017-07-19 Thread Roger Eller via use-livecode
Every version I have, 6.x, 7.x, 8.x, all black, Mac or Windows.  Odd thing
though, on OS X 10.11.6, versions 8.1.4 and 8.1.5 will not open Preferences.

~Roger


On Wed, Jul 19, 2017 at 9:52 AM, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Dunno: I get grey.
>
> Richmond.
>
> On 7/19/17 2:58 pm, Roger Eller via use-livecode wrote:
>
>> When I toggle the backdrop ON, why is it black, rather than something like
>> "lightgray" which is more like the Tools and menu portion of the IDE?
>> Black as the default feels like a mistake?
>>
>> ~Roger
>>
>>
___
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: Bug 20117: new rc2 sets a backdrop, and preferences for same

2017-07-19 Thread Roger Eller via use-livecode
When I toggle the backdrop ON, why is it black, rather than something like
"lightgray" which is more like the Tools and menu portion of the IDE?
Black as the default feels like a mistake?

~Roger
___
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: Bug 20117: new rc2 sets a backdrop, and preferences for same

2017-07-19 Thread Roger Eller via use-livecode
As Mark Waddingham expressed, it was only a test.  At least it wasn't
tested in a GM release.  All the fuss about it making LC unusable is a
stretch.

Matthias gave me an idea, so I made a small stack containing the image
which is applied to my desktop as a background, and I saved that to my
plugins folder.  EASY way to clean the desktop of icon mess!!!

This would be a great standard menu item: "Use my desktop image as
backdrop".

~Roger


On Wed, Jul 19, 2017 at 6:54 AM, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:

> *Chacun à son gôut mais à ce ,o,ent c'est pas un choix!
>
> Je voudrais un digestif.
>
> Richmond.
> *
> On 7/19/17 1:17 pm, Matthias Rebbe via use-livecode wrote:
>
>> Me too. Especially when my desktop is once again messy. And that happens
>> quite often.
>>
>> The backdrop function in LC even made me write a little tool which does
>> something similar and layers over the whole desktop to hide the mess. Very
>> useful when i demonstrate something to others on my computer.
>>
>> Matthias
>>
>>
>> Matthias Rebbe
>> +49 5741 31
>> ‌matthiasrebbe.eu <http://matthiasrebbe.eu/>‌
>>
>> Am 19.07.2017 um 11:10 schrieb Roger Eller via use-livecode <
>>> use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>>:
>>>
>>> Personally, I have always liked, and often used a light gray backdrop to
>>> minimize distractions from the OS.  It makes LiveCode feel more like a
>>> unified environment.
>>>
>>> ~Roger
>>>
>>>
___
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: Bug 20117: new rc2 sets a backdrop, and preferences for same

2017-07-19 Thread Roger Eller via use-livecode
Personally, I have always liked, and often used a light gray backdrop to
minimize distractions from the OS.  It makes LiveCode feel more like a
unified environment.

~Roger

On Jul 19, 2017 4:55 AM, "Mark Waddingham via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> On 2017-07-19 08:56, Richmond Mathewson via use-livecode wrote:
>
>> Even that is a "load of old Bollo"; I'm sure that a lot of people
>> trying out LiveCode for the first time
>> are going to go "gae quair" when they see their desktop vanish.
>>
>
> Possibly - but until you test such a thing, a statement either way is just
> conjecture... Hence why we are testing it!
>
> Admittedly, this was perhaps a slightly riskier test then something like
> the handler menu; although had it actually *only* affected people who were
> still in 'first run' mode... No-one on this list would have probably
> noticed, thus it would not have occasioned any comment.
>
> There will be an RC-3 which fixes that problem at least - whether or not
> the auto-backdrop will be kept (in first run mode) will be largely down to
> what the analysis of results of the testing say.
>
> Warmest Regards,
>
> Mark.
>
> --
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: intersect . . . invisible images

2017-07-17 Thread Roger Eller via use-livecode
On Jul 14, 2017 6:01 AM, "Richmond Mathewson via use-livecode" <
use-livecode@lists.runrev.com> wrote:
>
> It does seem illogical that while one can set levels of transparency with
interset
> an image can continue intersecting with another when it is, supposedly,
invisible . . .
>
> Certainly, having to explain THAT to children is going to make them take
an even
> more dim view of adults than I hope they do already.
>
> Best, Richmond.
>

An invisible image is like the wind.  When you intersect with it, you can
feel it and know it's there.  Adding dust particles to the wind is like
setting it's visible property to true.

~Roger
___
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: intersect . . . invisible images

2017-07-15 Thread Roger Eller via use-livecode
try
   open sock for write
   write sock until EOS -- (end of sock)
   close sock
end try


On Sat, Jul 15, 2017 at 2:32 AM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 7/14/17 4:28 PM, Stephen Barncard via use-livecode wrote:
>
>>   And of course, this dovetails nicely into Jacque's disappearing socks
>> theory.
>>
>
> I lost a sock about six years ago and it still hasn't shown up. I've kept
> the single remaining one of the pair in hopes that the missing one would
> hone in on it and find its way home.
>
> So now you're saying it's been in the dryer the whole time and I haven't
> found the right way to intersect with it yet? Great. I don't know how to
> change its visible property.
>
> I loved that sock.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: No screenshot from LC video possible

2017-07-11 Thread Roger Eller via use-livecode
I don't think it's DRM since the OP also said, " Up to now, this issue
happens only at 2 customers, on all other Win 10 machines, taking a video
screenshot works fine."

I'll place my 2 cent bet on the video card.  Look for a common thread like
- the fails happening on Nvidia, ATI, or built-in graphics controllers.

~Roger

On Jul 11, 2017 7:12 AM, "Paul Dupuis via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> My guess is that it could be Digital Rights Management related?
>
> If you can screenshot a DRM protected video then, in principle, you
> could screenshot every frame and encode the frames back into a DRM-free
> version of the video. Do you know what the videos that had the problem
> were?
>
>
> On 7/11/2017 3:20 AM, Tiemo Hollmann TB via use-livecode wrote:
> > Hello,
> >
> > LC 8.1.4, Windows 10
> >
> > I am using the standard LC videoPayer (directShow) to play H.264 mp4
> videos.
> > One essential feature of my program is, that the user can take
> screenshots
> > from the video, edit and save them.
> >
> > Today I got the second customer call with a Win 10 machine, who can't
> take
> > screenshots from my LC videos. The video screen is just black on the
> taken
> > screenshot. This issue does not only happen with the build in LiveCode
> > screenshot feature, but also, if they take a screenshot with the windows
> > print key or other screenshot tools.
> >
> > Up to now, this issue happens only at 2 customers, on all other Win 10
> > machines, taking a video screenshot works fine. The alwaysBuffer of the
> > videoPlayer is set to false (setting it to true, I don't see any video
> > playing) I also checked to disable the Kaspersky AV on the client
> computer
> > (Kaspersky has a feature to prevent screenshots), but without success.
> Btw.
> > the old version of my program with the quicktime player works fine on
> these
> > machines.
> >
> > I googled a lot, but didn't found any related issues in the net, so I
> > assume, it must be related to the LiveCode implementation of the
> directShow
> > videoPlayer. But in combination with any special hardware or software
> > setting on these two computers.
> >
> > Has anybody already experienced similar issues or has any shot in the
> dark,
> > what system options, drivers, other tools in combination with LiveCode
> could
> > have an influence on taking a screenshot?
> >
> > Any idea, what I could check for is welcome
> >
> > Tiemo
> >
> >
> >
> >
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Text style is hit or miss for me

2017-07-07 Thread Roger Eller via use-livecode
That worked perfectly for all but plain.  In my plain button, I had to
write it as:  set the textStyle of the selectedChunk to "plain".

Thank you, Mark!
~Roger


On Fri, Jul 7, 2017 at 10:40 AM, Mark Waddingham via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi Roger,
>
> On 2017-07-07 16:36, Roger Eller via use-livecode wrote:
>
>> How do you guys do formatting buttons?
>>
>
> Try
>
>set the textStyle["bold"] of the selectedChunk to true
>set the textStyle["italic"] of the selectedChunk to true
>
> Warmest Regards,
>
> Mark.
>
> --
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Text style is hit or miss for me

2017-07-07 Thread Roger Eller via use-livecode
 I am attempting to add formatting buttons above a field.  If the text is
typed into the field, my formatting buttons work as expected.  When a user
pastes text from another application, my formatting works sometimes, but
not always.

Below is what I use in my Bold button, and Italic button. I want to keep
the style that is already applied, and add an additional style, for
example, if the selection is already bold, I want it to stay bold but add
italics.

set the textStyle of the selectedChunk to (the textStyle of the
selectedChunk) & "," & "bold"

set the textStyle of the selectedChunk to (the textStyle of the
selectedChunk) & "," & "italic"
How do you guys do formatting buttons?

~Roger
___
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: Augmented Earth now on the App Store!

2017-07-06 Thread Roger Eller via use-livecode
I recently discovered this app store search site (no iTunes needed):

https://theappstore.org/?search=augmented-earth=software

https://theappstore.org

~Roger


On Thu, Jul 6, 2017 at 10:01 AM, Jonathan Lynch via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi everyone,
>
> Version 1 of Augmented Earth is now live on the Apple App Store :)
>
> If you get a chance, please check it out. This is just a soft launch, but
> I am excited to have it out there. I won't start heavy promotion until
> version 1.5.
>
> I will be posting a map-only version on Livecode Share for explaining how
> to do 3D webgl Earth maps in LC, prior to my presentation at the September
> LC Global conference.
>
> All constructive feedback is welcome, I have much to improve.
>
> A big thanks to everyone here for all the helpful tips :)
>
> Here is the link, for iPhone/iPad users:
>
> https://itunes.apple.com/us/app/augmented-earth/id1252486908?ls=1=8
>
> Sent from my iPhone
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Server Installation

2017-06-27 Thread Roger Eller via use-livecode
Excellent documentation!  Watch out for line wrapping on that first link.
http://activethought.net/installing-livecode-windows/


On Tue, Jun 27, 2017 at 3:41 PM, Simon Smith via use-livecode <
use-livecode@lists.runrev.com> wrote:

> It's taken me longer than I had hoped to do this.
>
> I got Livecode server up and running on the Windows 10 using both XAMPP and
> WAMP without any trouble. Both WAMP and XAMPP only needed a small change. I
> have documented everything here. http://activethought.
> net/installing-livecode-windows/  - and work equally well for hosting a
> LiveCode server locally.
>
> I started setting up an online Ubuntu server  - but it's been a while since
> I have done it and its many many little steps and a lot of work to
> document. And I don't think its an ideal solution either - developers need
> something reliable that they can get up and running quickly and does not
> require in depth knowledge of Linux to get setup.
>
> So after some research I can across ServerPilot.io - a cloud based control
> panel for cloud servers (like Digital Ocean and Vultr). You setup a clean
> server - link it to their control panel - and it takes care of everything -
> in a minute or two you get a nicely setup server - with control panel,
> mysql, apache and PHP.. Their free option gives you the basics - everything
> that you need to get a server up and running. There is the option of
> upgrading the control panel to get extra features. Unfortunately the free
> account does not give you the ability to setup SSL, You need to pay $10 a
> month for that - but you can get around that using Cloud Flare.  All that
> you have to do is setup LiveCode once everything is done - and you what is
> a really nice little potent little server.
>
> If interested - I have gone through it in more detail here, I rushed so
> hope I have not left anything out -
> http://activethought.net/perfect-livecode-cloud-server/.
>
> While I have ended up not documenting how to setup an entire server from
> scratch - for most I do think this is a much more convenient and better
> solution.
>
> Simon
>
>
> On Mon, Jun 19, 2017 at 6:31 PM, Richard Gaskin via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Bob Sneidar wrote:
> > > On Jun 16, 2017, at 17:23 , Richard Gaskin wrote:
> > >>
> > >> In many cases you'll find you don't need to change permissions and
> > >> then change them back; you can temporarily raise your own permissions
> > >> with sudo to edit files and leave permissions as originally
> > >> configured.
> > >
> > > True, if using terminal, but I was editing the file with the GUI text
> > > editor. I suppsoe I could have launched the text editor as sudo...
> >
> > True.  But most servers won't have a GUI installed, so it can be well
> > worth the time to get to know Nano.
> >
> > As with a GUI editor, you can launch Nano with sudo:
> >
> >sudo nano somefile.txt
> >
> > You probably won't want to use Nano to write a book, but for quick
> editing
> > of config files it's pretty good, much easier to learn than vim or emacs.
> >
> > If you're on a system that doesn't have Nano installed, on a Debian-based
> > system like yours you can install it with apt-get:
> >
> >   sudo apt-get update; sudo apt-get install nano
> >
> > --
> >  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
> >
>
>
>
> --
>
> Carpe diem
>
> *Simon Smith*
> m. +27 83 306 7862
> ___
> 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: How do we access the clipboard on mobile devices?

2017-06-27 Thread Roger Eller via use-livecode
No judgement here either.  Just an involuntary gag reflex @ the thought of
my beloved LC being reduced to a l mere code-language traffic light.
Although I have always appreciated shell and do as applescript to get that
one little piece of data from the native OS, it's not the way I prefer to
use LC.  I like to stay in the core language as much as possible.  It is a
lovely place.

Jonathan, I meant no offense to you or your approach.  Go forth and augment
the earth!  :-)

~Roger

On Jun 27, 2017 12:18 AM, "Richard Gaskin via use-livecode" <
use-livecode@lists.runrev.com> wrote:
>
> No judgment from me on this. On the contrary, ..
>
> --
>  Richard Gaskin
>  Fourth World Systems
>
>
> jonathandlynch wrote:
>
>> I am not trying to start a fuss - just find solutions for my particular
problem.
>>
>>
___
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: How do we access the clipboard on mobile devices?

2017-06-26 Thread Roger Eller via use-livecode
On Jun 26, 2017 9:36 PM, "Richard Gaskin via use-livecode" <
use-livecode@lists.runrev.com> wrote:
>
> With all the interest lately in bypassing the LC language to use an
embedded browser process, maybe we've found the winning slogan for LC:
>
> "LiveCode: a great JavaScript packaging tool"
>
> :)
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  
>  ambassa...@fourthworld.comhttp://www.FourthWorld.com
>

-1

NOT my 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: RIP Dan Shafer

2017-06-22 Thread Roger Eller via use-livecode
So sorry for confusing these two great individuals in my head.  Thank you
Mark for correcting my mistake.  :(

~Roger


On Thu, Jun 22, 2017 at 10:08 AM, Mark Schonewille via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Quartam is not by Dan but by Jan Schenkel.
>
> Let me use this opportunity to express my sympathy for Dan's family.
>
> Also, there is a fund raiser that might be of interest to readers of this
> list.
> https://www.gofundme.com/dans-next-adventure
>
> Kind regards,
>
> Mark Schonewille
> http://economy-x-talk.com
> https://www.facebook.com/marksch
>
> Buy the most extensive book on the
> LiveCode language:
> http://livecodebeginner.economy-x-talk.com
>
> Op 22-Jun-17 om 14:27 schreef Roger Eller via use-livecode:
>
>> On Wed, Jun 21, 2017 at 11:31 PM, Jerry Jensen via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>> We lost Dan Shafer yesterday. He did a lot for LiveCode. I’m sure anybody
>>> who met him will miss him.
>>> .Jerry
>>>
>>>
>>> I have been learning from Dans books
>> <https://www.amazon.com/Dan-Shafer/e/B000AP7QLG> since I started with
>> HyperCard, and I recently completed a project which uses his Quartum
>> PDFLibrary <http://users.telenet.be/quartam/pdflib/index.html>.  Saddened
>> by the news of his passing, he will be remembered.
>>
>> ~Roger
>> ___
>> 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: RIP Dan Shafer

2017-06-22 Thread Roger Eller via use-livecode
On Wed, Jun 21, 2017 at 11:31 PM, Jerry Jensen via use-livecode <
use-livecode@lists.runrev.com> wrote:

> We lost Dan Shafer yesterday. He did a lot for LiveCode. I’m sure anybody
> who met him will miss him.
> .Jerry
>
>
I have been learning from Dans books
 since I started with
HyperCard, and I recently completed a project which uses his Quartum
PDFLibrary .  Saddened
by the news of his passing, he will be remembered.

~Roger
___
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: Levure??

2017-06-21 Thread Roger Eller via use-livecode
https://www.mail-archive.com/use-livecode@lists.runrev.com/msg82202.html

~Roger

On Wed, Jun 21, 2017 at 4:48 PM, William Prothero via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Could somebody post a link to info about Levure? i must have missed it
> when it was first discussed. I have no idea what Levure’s purpose is, where
> to get it, or ….  However, it sounds (from the discussions) like it might
> be useful.
>
> Thanks,
> Bill P
>
> William A. Prothero
> http://earthlearningsolution.org/
>
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Display PDF in Browser Widget Error?

2017-06-21 Thread Roger Eller via use-livecode
Have you tried "my%20Pdf"?

~Roger

On Wed, Jun 21, 2017 at 2:04 PM, panagiotis merakos via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hmm, it seems that the spaces are the culprit. I did a quick test, and
> selecting a pdf "myPdf" works fine, whereas selecting a pdf "my Pdf" throws
> an error.
>
> This looks like a bug to me :)
>
> Best,
> Panos
> --
>
> On Wed, Jun 21, 2017 at 6:50 PM, JOHN PATTEN via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > It contains spaces, but no unicode that I can see.  i.e. "Transportation
> > Bus Software Laptop.pdf”
> >
> > Thank you!
> >
> >
> > > On Jun 21, 2017, at 10:47 AM, panagiotis merakos via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> > >
> > > Hi John,
> > >
> > > Does the pdf filename you select contain any unicode characters?
> > >
> > > Best,
> > > Panos
> > > --
> > >
> > > On Wed, Jun 21, 2017 at 6:31 PM, JOHN PATTEN via use-livecode <
> > > use-livecode@lists.runrev.com >
> > wrote:
> > >
> > >> Hi All,
> > >>
> > >> I am trying to display a PDF in a browser widget using the tutorial
> > here:
> > >> http://lessons.livecode.com/m/4071/l/727199-how-do-i- <
> > http://lessons.livecode.com/m/4071/l/727199-how-do-i->
> > >> display-a-pdf-in-livecode  > http://lessons.livecode.com/>
> > >> m/4071/l/727199-how-do-i-display-a-pdf-in-livecode>
> > >>
> > >> and this code:
> > >>
> > >> on mouseUp
> > >>   local tFile
> > >>   answer file "Please choose the file you would like to display" with
> > >> type "PDF document|pdf|PDF"
> > >>   if it is not empty then
> > >>  put it into tFile
> > >>  set the url of widget "browser" to tFile
> > >>   end if
> > >> end mouseUp
> > >>
> > >>
> > >> I’m getting this error:
> > >>
> > >> button "Button": execution error at line 6 (extension: error occured
> > with
> > >> domain) near "runtime", char 1
> > >>
> > >>
> > >> Would this be a bug, or am I doing something incorrectly?
> > >>
> > >>
> > >> Thank you!
> > >> John Patten
> > >> SUSD
>
>
___
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: put url tricks to copy files on windows

2017-06-21 Thread Roger Eller via use-livecode
I knew that, but didn't want to sound like a know-it-all.  ;-p

~Roger

On Wed, Jun 21, 2017 at 10:17 AM, Matthias Rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I don´t want to sound like a know-it-all, but revcopyfile also uses just
> the shell to copy the files:
>
>
___
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: put url tricks to copy files on windows

2017-06-21 Thread Roger Eller via use-livecode
You could also try the revCopyFile and revCopyFolder commands.  I normally
only use the URL syntax to save new data I've created in a variable to a
file.  When copying existing files/folders I either use "get shell" to call
native commands, or the built-in revCopyFile.

~Roger

On Wed, Jun 21, 2017 at 9:40 AM, Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Let me be clearer.  I think the message could be better (or perhaps the
> dictionary could list the error messages and explain them), because even
> though we use the "open" command in LC to read from a file or create a
> file, the lack of the need for a "create file" command in LCS doesn't
> remove that thing in my intuition that says "well, the only file that needs
> to be opened is the one that exists, already, so the problem must be on
> that side".
>
>
> On Wed, Jun 21, 2017 at 8:39 AM, Matthias Rebbe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > to write to a file, even if it is copied, it has to be opened first.
> >
> > Did you try to remove the 2 slashes in the to path also?
> >
> >
> > Matthias Rebbe
> > +49 5741 31
> > ‌matthiasrebbe.eu <http://matthiasrebbe.eu/>‌
> >
> > > Am 21.06.2017 um 14:31 schrieb Mike Kerner via use-livecode <
> > use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>>:
> > >
> > > also what is confusing is when I removed the // from the FROM file but
> > left
> > > it in for the TO file, I get the same error, "can't open file", which
> to
> > me
> > > implies that the file that exists can't be read, not that the TO path
> is
> > > wrong.
> > >
> > > On Wed, Jun 21, 2017 at 7:37 AM, Roger Eller via use-livecode <
> > > use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>>
> > wrote:
> > >
> > >> Without meaning to add more confusion, a Windows UNC path from a
> server
> > to
> > >> a file does work with the form
> > >> "binfile://servername/folder/folder/filename.txt
> > ", while local access
> (or
> > >> mapped drives) are like "binfile:C:/folder/folder/filename.txt".
> > >>
> > >> ~Roger
> > >>
> > >> On Jun 21, 2017 2:07 AM, "Mark Waddingham via use-livecode" <
> > >> use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>>
> > wrote:
> > >>
> > >>> As others have pointed out, for binfile and file urls you shouldn't
> > >>> include the standard '//' in front of the (absolute) path. These are
> > not
> > >>> parsed by the engine as standard urls - everything after the : is
> > parsed
> > >> as
> > >>> the filename.
> > >>>
> > >>> On an unrelated not you don't need to twiddle with the defaultfolder
> as
> > >>> files() and folders() now take an optional argument for the path :)
> > >>>
> > >>> Mark
> > >>>
> > >>> Sent from my iPhone
> > >>>
> > >>>> On 21 Jun 2017, at 03:37, Mark Wieder via use-livecode <
> > >>> use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com
> >>
> > wrote:
> > >>>>
> > >>>>> On 06/20/2017 07:19 PM, Mike Kerner via use-livecode wrote:
> > >>>>> I'm not on a mac a lot :-(
> > >>>>> So is "binfile:" more universal, or do I have to check the
> platform,
> > >>>>> first?  What is the technique on linux?
> > >>>>
> > >>>> As far as I can remember, the "//" has never been recommended or
> > >>> approved for file or binfile. I'm surprised it gets parsed properly
> for
> > >>> OSX. You don't need or want it.
> > >>>>
> > >>>> --
> > >>>> Mark Wieder
> > >>>> ahsoftw...@gmail.com <mailto: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 <
> > http://lists.runrev.com/mailman/listinfo/use-l

Re: put url tricks to copy files on windows

2017-06-21 Thread Roger Eller via use-livecode
Without meaning to add more confusion, a Windows UNC path from a server to
a file does work with the form
"binfile://servername/folder/folder/filename.txt", while local access (or
mapped drives) are like "binfile:C:/folder/folder/filename.txt".

~Roger

On Jun 21, 2017 2:07 AM, "Mark Waddingham via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> As others have pointed out, for binfile and file urls you shouldn't
> include the standard '//' in front of the (absolute) path. These are not
> parsed by the engine as standard urls - everything after the : is parsed as
> the filename.
>
> On an unrelated not you don't need to twiddle with the defaultfolder as
> files() and folders() now take an optional argument for the path :)
>
> Mark
>
> Sent from my iPhone
>
> > On 21 Jun 2017, at 03:37, Mark Wieder via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> >> On 06/20/2017 07:19 PM, Mike Kerner via use-livecode wrote:
> >> I'm not on a mac a lot :-(
> >> So is "binfile:" more universal, or do I have to check the platform,
> >> first?  What is the technique on linux?
> >
> > As far as I can remember, the "//" has never been recommended or
> approved for file or binfile. I'm surprised it gets parsed properly for
> OSX. You don't need or want it.
> >
> > --
> > 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
>
___
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: put url tricks to copy files on windows

2017-06-20 Thread Roger Eller via use-livecode
You're not on a Mac anymore.  ;-p

I second the suggestion to lose the // if the platform is Windows.

~Roger

On Jun 20, 2017 5:39 PM, "Mike Kerner via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> In case it helps, here's the entire routine.  This works on a Mac.
>
> on copyFilesNFolders fromFolder toFolder
>   if there is not a folder toFolder then
> create folder toFolder
> if the result is not empty then
>   put the result into theResult
>   errlog theResult
>   quit
> end if #the result is not empty
>   end if #there is not a folder toFolder
>
>   put folders(fromFolder) into folderList
>   #
> repeat for each line folderName in folderList
>   if char 1 of folderName is "." then next repeat
>   copyFilesNFolders (fromFolder),
> (toFolder)
> end repeat #for each line folderName in folderList
>   #
>
>   # files in the folder>
> put the defaultFolder into theDefaultFolder
> set the defaultFolder to fromFolder
> put the files into theFiles
> repeat for each line theFile in theFiles
>   if char 1 of theFile is "." then next repeat #skip all the invisible
> files like .DS_STORE
>   put fromFolder into fromFile
>   put toFolder into toFile
>   if there is not a file toFile then
> put url ("binfile://" ) into url ("binfile://" )
> if the result is not empty then
>   put the result into theResult
>   errlog theResult
>   breakpoint
>   quit
> end if #the result is not empty
>   end if #there is not a file toFile
> end repeat #for each line theFile in theFiles
> set the defaultFolder to theDefaultFolder
>   # files in the folder>
> end copyFilesNFolders
>
> On Tue, Jun 20, 2017 at 5:34 PM, Mike Kerner 
> wrote:
>
> > I'm trying to use the put url technique to copy files on windows, but I'm
> > getting "can't open file"
> > If I do something like
> > answer line 1 of url ("binfile://")
> > I get what I expect, but when I try to
> > put url ("binfile://") into url ("binfile://")
> > I get "can't open file" in the result
> >
> > --
> > 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."
> >
>
>
>
> --
> 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
>
___
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 Global - my experience

2017-06-20 Thread Roger Eller via use-livecode
On Mon, Jun 19, 2017 at 8:37 PM, james--- via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I must admit it did turn out better than I was expecting.
> The prerecording of the demos/lessons/walk throughs is an excellent idea.
> Now if it is only taken to the next step.
> 1. Have a script.
> 2. Use the script
> 3. Use a proper microphone (headset one will do)
> 4. Edit the thing to remove superfluous activity (like scrolling back and
> forwards, swapping "screens" to find something etc.)
> 5. LC to buy Heather a proper webcam or whatever so that her view (well,
> our view of her) is at eye level.
> 6 and finally, use the script that you wrote for your lesson/demo/walk
> through ;-)
>
> James
>

I *really* like the format of the "All About Android" show on TWiT.  Of
course they have a budget for a studio, a dedicated human video pro
controlling camera switching, etc.  What I like most is that the remote
guests are shown on large screens beside the host, as if everyone is in the
same room.  Check it out.

https://twit.tv/shows/all-about-android

~Roger
___
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: Exploring A Single File Deploy on Windows

2017-06-19 Thread Roger Eller via use-livecode
On Mon, Jun 19, 2017 at 3:31 PM, Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Greetings…
>
> With LC 8.1 and later, we’re now using tsNet rather than libURL.  That’s
> fine.  However, a Windows standalone that uses tsNet cannot even launch
> unless tsNet.dll is in the same directory as the standalone.exe.  This
> makes deploying a single file on Windows impossible.  Which means you have
> to zip everything up and hope your client double-clicks with correct file,
> or use an installer. Yuck!
>
> Now, we know that we can create a standalone that uses libURL instead of
> tsNet (thank you Matthias, http://lists.runrev.com/
> pipermail/use-livecode/2017-April/236013.html).  But, can you switch
> systems after launch?  If you can, then you could create a standalone that
> uses libURL -- which will launch.  During the app’s startup you could then
> save any DLLs, files or whatever either from custom properties or download
> from the net.  Once all that was done you would then switch to tsNet.  Or,
> even require that the user simply restart the app and it will re-launch and
> use tsNet.
>
> So, when the app launches if it doesn’t find tsNet.dll in the correct
> location, then it continues using libURL and downloads/saves tsNet.  If it
> does find tsNet in the correct location, then it uses tsNet.
>
> What do you think?  Is this possible?
>
>

That is exactly what I would try.

~Roger
___
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 Global - my experience

2017-06-19 Thread Roger Eller via use-livecode
Although you still have to wait until the very end of the webinarjam (not
the YouTube link), you can select and copy the chat comments.  Yes, they
are actual TEXT, not part of the video.

~Roger


On Mon, Jun 19, 2017 at 8:32 AM, james--- via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Didn't know about being able to see comments while watching webinars.
> I simply clicked on the YouTube badge to go to the YouTube version and
> download it.
> Scrubbing a local file in VLC is so easy.
> So it would be nice if the text from the webinars could be provided though.
>
> James
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: LC Global - my experience

2017-06-16 Thread Roger Eller via use-livecode
I fully agree.  With the past simulcast(s), I would miss great sessions by
having to choose a channel to watch.  Watching later just fell through the
cracks as work happened.  I am very happy with day 1 of LC-Global.

As I commented on the Slack page, I do miss the coffee, tea, and snacks
during breaks.  I suggest that some tasty Scottish treats be mailed to
attendees prior to future events.  :)

~Roger


On Fri, Jun 16, 2017 at 8:59 AM, tbodine via use-livecode <
use-livecode@lists.runrev.com> wrote:

> + 1! Much better experience compared to previous simulcast attendance.
>
>
___
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: "For Young Coders"

2017-06-13 Thread Roger Eller via use-livecode
I have to assume you are referring to the app store of that fruit company
since no platform was specified.  :)


On Tue, Jun 13, 2017 at 4:30 PM, Mike Kerner via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Check out the app store.  There is a new section right at the top, called
> "for young coders", with a variety of tools...
>
>
___
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: 64 bit desktop apps

2017-06-08 Thread Roger Eller via use-livecode
On Thu, Jun 8, 2017 at 10:56 AM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Richmond wrote:
>
> > So, backwards compatibility does not interest you?
> >
> > I, for one, run Mac Machines running MacOS 10.4 PPC.
> >
> > A lot of these machine are being dumped in poor countries where they
> > can be used for good purposes.
>
> I can appreciate the desire to get full life out of hardware, and indeed
> it would be nice of Apple continued supporting older machines.
>
> But the choice to stop supporting older hardware and OS versions is
> Apple's, not LiveCode's.
>
> Moreover, there is a solution available to extend the life of
> otherwise-unsupported hardware: Linux.
>
> Using a supported version of an OS that's receiving critical security
> patches along with other updates is the safest choice, and one that could
> not be more economical given a purchase price for most Linux distros of
> zero.
>
> For hardware that old you may find Lubuntu more satisfying than Ubuntu or
> other distros with steeper RAM and graphics requirements.  Both Alejandro
> and myself use Lubuntu and have found LiveCode runs quite well on it.
>
> In fact, if you use my LiveNet plugin (bundled in the IDE; see Development
> -> Plugins -> GoLiveNet) the feeds on the second card there are aggregated,
> packaged, and posted every five minutes by a LiveCode app running on my
> Lubuntu box.
>
> You can find more info on Lubuntu for PPC here:
> 
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  
>  ambassa...@fourthworld.comhttp://www.FourthWorld.com



But even with PPC Linux to revive old hardware, if LiveCode usage is your
end game, there isn't a PPC Linux version (or is there?).

~Roger
___
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: 64 bit desktop apps

2017-06-08 Thread Roger Eller via use-livecode
LOVE IT!!!  Thanks for that info, Richard.

~Roger


On Thu, Jun 8, 2017 at 10:46 AM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Roger Eller wrote:
> > Once in a while I still miss running "Revolution" on Irix.  We move
> > forward, not backward.
>
> FWIW, IRIX is coming back - and as a Linux desktop, so we should be able
> to use the Linux build of LiveCode with it:
>
> Silicon Graphics' IRIX and Magic Desktop return as Linux desktop
>  desktop_revives_sgi_irix_and_magic_desktop/>
>
> --
>  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: 64 bit desktop apps

2017-06-08 Thread Roger Eller via use-livecode
Once in a while I still miss running "Revolution" on Irix.  We move
forward, not backward.

On Jun 8, 2017 6:39 AM, "Mark Waddingham via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> On 2017-06-08 12:34, Roger Eller via use-livecode wrote:
>
>> -- In a dark back office, Richmond, wearing dark glasses, a fedora, and a
>> tan trenchcoat, dumps a large bag of Monopoly money onto the table.  Marks
>> eyes are now like saucers.  "Moot", Richmond says under his breath, then
>> leaves the room with a strut, as if he is carrying the world in his
>> pocket.
>> --
>>
>
> If you could pay for things in Monopoly money, then that would be more
> than welcome! ;)
>
> Warmest Regards,
>
> Mark.
>
> --
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: 64 bit desktop apps

2017-06-08 Thread Roger Eller via use-livecode
-- In a dark back office, Richmond, wearing dark glasses, a fedora, and a
tan trenchcoat, dumps a large bag of Monopoly money onto the table.  Marks
eyes are now like saucers.  "Moot", Richmond says under his breath, then
leaves the room with a strut, as if he is carrying the world in his pocket.
--

~Roger

On Jun 8, 2017 6:19 AM, "Mark Waddingham via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> On 2017-06-08 12:04, Richmond via use-livecode wrote:
>
>> So, backwards compatibility does not interest you?
>>
>
> Seriously - you ask that question?
>
> LiveCode 9 still happily runs stacks which were written in the early days
> of MetaCard.
>
> We are *extremely* careful not to break existing scripts and stacks - we
> either do accidentally (if that is so, we fix those issues with a high
> degree of priority); if intentionally then it is only for a very good
> reason.
>
> I, for one, run Mac Machines running MacOS 10.4 PPC.
>>
>
> LiveCode 6.6.5 was the last version of LiveCode to support PowerPC on Mac
> - so given we are talking about LiveCode *9* you point is entirely moot.
>
> A lot of these machine are being dumped in poor countries where they can
>> be used
>> for good purposes.
>>
>
> I appreciate that, but since Apple haven't supported PowerPC for a very
> long time, and their toolchains (the things we need to use to build the
> engine) haven't for a very long time - there's little hope of PowerPC being
> resurrected in a future LiveCode version unless someone stumps up a very
> very large amount of cash (we are talking on the order of $100,000+ as a
> start, and then a significant amount for ongoing maintenance) and even then
> finding reliable hardware which has the specs needed to do engine
> development is becoming increasingly difficult, if not impossible.
>
> Warmest Regards,
>
> Mark.
>
> --
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: HTML5 deployment: progress comes into sight

2017-06-01 Thread Roger Eller via use-livecode
LOL @ invoke!  You need to rename Widgets to Spells.  #widgetcraft

~Roger

On Jun 1, 2017 6:28 AM, "Mark Waddingham via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> On 2017-05-31 23:13, hh via use-livecode wrote:
>
>> Call, send , dispatch, do script ...
>> It is very impressive how the core team can still have all that
>> messaging in mind while developing LC Builder.
>>
>
> The problem here is what syntax to use in LCS to 'call into a widget' -
> widget's need to be able to expose public handlers which can be called from
> LiveCode Script (not just properties and events).
>
> Now why not use kind of a mnemonic naming in LCB e.g.
>>
>>sendHandler  
>>callHandler  
>>dispatchHandler  
>>doHandler  ?
>>
>
> The problem is that all the keywords (naturally) associated with 'calling'
> something in another context are already taken (i.e. send, call, dispatch,
> do) and their context is the script of the object. So:
>
>call "foo" in widget 1
>
> Means send the message 'foo' to the *LiveCode Script* side of the widget -
> it is not entirely clear how that could work to mean 'call the handler
> 'foo' exported by the widget's implementation'.
>
> I've pondered 'invoke' as a new keyword - but I'm not sure how much I like
> that, but it would 'fill the gap'.
>
> The other way to slice and dice things is to make it so that any handlers
> you want to export to act on the widget internally are added as 'library
> handlers'. e.g.
>
>   widget foo
> public handler CopySpecial() returns nothing
>   ... do magic stuff ...
> end handler
>   end widget
>
> Would export fooCopySpecial() as a function accessible from LCS where you
> can do:
>
>fooCopySpecial(the long id of widget 1, ...)
>
> Or similar. This is closer to how the engine does syntax - which are all
> non-object based functions in C++, which then dispatch to the object. e.g.
>
>copy widget 1
>
> Ends up calling a C++ function:
>
>MCInterfaceExecCopyControl(ctxt, ptr-to-widget-1)
>
> Which then does:
>
>ptr-to-widget-1->copy()
>
> We could still have
>>
>>do 

Re: Using alt-key clicks on linux

2017-05-29 Thread Roger Eller via use-livecode
On Mon, May 29, 2017 at 3:08 PM, hh via use-livecode <
use-livecode@lists.runrev.com> wrote:

> You could try to rethink why that key is named "optionKey" or "altKey".
>
> Using the altkey with another key on the keyboard is not the same
> as using it with the mouse. Easy to understand. It's a simple option.
>
> As you said earlier:
> "... some things make more semantic sense with Alt rather than Shift".
>
> ---
> Alt happens.
>
>
Further back, it was said that this is only an issue when LiveCode
misbehaves and is a window can't be selected because it is outside the
screen.  So if true, LC should have a built-in way to recover the window,
like how Control-period stops a script. How about Control-period-click, and
the window becomes stuck to the pointer until the next click?

~Roger
___
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: nice Sierra feature

2017-05-28 Thread Roger Eller via use-livecode
IIRC, in Linux a window can be moved by right-clicking and selecting
'move', then drag from anywhere within the frame.

On May 28, 2017 5:35 AM, "Colin Holgate via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> Was just testing something and needed to look up a function in the
> dictionary. As can often happen, especially when you frequently alternate
> between using one and two monitors, the top of the dictionary window was
> underneath the macOS menubar. To fix that in the past I would do something
> on the lines of put the windows, figure out that the window is called
> revDictionary, then set the top of window revDictionary to 100.
>
> In Sierra there is the tab bar area in each window, which lets you dock
> windows together. When you drag that area you get a translucent thumbnail
> image of the window, and if you release when not on top of another window
> it has the effect of moving the window to that location. Which means that
> if the titlebar of a window is under the system menu, but you can grab the
> tab bar, you can quickly move the window fully into view.
> ___
> 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: English Like?

2017-05-26 Thread Roger Eller via use-livecode
I do not profess to be a professor of English, Mike.  I must say though, I
have never felt felt that felt as soft as the felt at Mr. Felt's felt
factory.

On May 25, 2017 9:41 PM, "Mike Kerner via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> NO!  NO!  NO!  NO!  NO!  NO!
> I understand that inside the Colonies, the punctuation goes inside the
> quotation marks, and outside the Colonies, the punctuation goes outside the
> quotation marks.  Just because this thread is being read and replied to
> from both inside and outside the Colonies does not give you the right to
> put the punctuation in both places.  You, Sir, are guilty of the worst
> foible of all.  You may not have it both ways.
>
> On Thu, May 25, 2017 at 9:23 PM, Roger Eller via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Were would you use "box" as a synonym (if it were one)?  Is it the same
> as
> > "rectangle" or "ask/answer".  End users often tell me, "a box popped up
> on
> > my screen.", not a prompt, or a message.  Next, they proceed to tell me
> > what it said.
> >
> > ME: "You're telling me, there was a _talking box_ on your screen?".
> >
> > ~Roger
> >
> > On May 24, 2017 5:49 PM, "Mark Wieder via use-livecode" <
> > use-livecode@lists.runrev.com> wrote:
> >
> > On 05/24/2017 05:43 AM, Mike Kerner via use-livecode wrote:
> >
> > > One of the other things that the xtalk languages have that makes them
> > more
> > > appealing is synonyms
> > >
> >
> > 
> >
> > --
> >  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
> >
>
>
>
> --
> 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
>
___
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: English Like?

2017-05-25 Thread Roger Eller via use-livecode
Were would you use "box" as a synonym (if it were one)?  Is it the same as
"rectangle" or "ask/answer".  End users often tell me, "a box popped up on
my screen.", not a prompt, or a message.  Next, they proceed to tell me
what it said.

ME: "You're telling me, there was a _talking box_ on your screen?".

~Roger

On May 24, 2017 5:49 PM, "Mark Wieder via use-livecode" <
use-livecode@lists.runrev.com> wrote:

On 05/24/2017 05:43 AM, Mike Kerner via use-livecode wrote:

> One of the other things that the xtalk languages have that makes them more
> appealing is synonyms
>



-- 
 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: English Like?

2017-05-25 Thread Roger Eller via use-livecode
Were would you use "box" as a synonym (if it were one)?  Is it the same as
"rectangle" or "ask/answer".  End users often tell me, "a box popped up on
my screen.", not a prompt, or a message.  Next, they proceed to tell me
what it said.  ME: "You're telling me, there was a _talking box_ on your
screen?".

~Roger

On May 24, 2017 5:49 PM, "Mark Wieder via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> On 05/24/2017 05:43 AM, Mike Kerner via use-livecode wrote:
>
>> One of the other things that the xtalk languages have that makes them more
>> appealing is synonyms
>>
>
> 
>
> --
>  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: English Like?

2017-05-24 Thread Roger Eller via use-livecode
On Wed, May 24, 2017 at 12:47 PM, Mark Waddingham via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hehe - what an enjoyable post to read - I couldn't resist 'biting'
> on a few things though ;)
>
> On 2017-05-24 17:57, Richmond Mathewson via use-livecode wrote:
>
>> Probably most of those programmers (like many well-established
>> LiveCode programmers) have invested so much time and effort
>> in learning the high level language(s) they already use that they are
>> unlikely to switch.
>
>
> This is partly true - however, 'no man is an island', people develop
> preconceptions about things over time which influence the choices in
> the future.
>
> I think it would be fair to say there might well be some sort of general
> 'meme' which floats around with regards to 'English-like' languages
> and not necessarily a positive one.



Star Trek is the best advocate for English-like computing in the future.
And now Siri, Alexa, and Google Assistant have made it a reality.

Meme-like:  http://imgur.com/Dtp7IPQ

~Roger
___
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: English Like?

2017-05-24 Thread Roger Eller via use-livecode
On Wed, May 24, 2017 at 11:03 AM, Mark Waddingham via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 2017-05-24 15:45, dunbarx via use-livecode wrote:
>
>> There is a far more important issue here. New learners are far more
>> likely to
>> be coaxed into continuing to spend the time and effort, and to put away
>> their fears, if they see and use "put x into y". It is why we have stacks
>> and cards, and in the olden days, rolodexes. The original HC team did all
>> that on purpose.
>>
>
>
> I think a lot of us get hung up on the syntax (even me - who will always
> be quick to point out that 'syntax is just sugar' in many situations - I'm
> a polyglot when it comes to programming languages but many people are not
> and never will be). I can certainly say that whilst I am in the position I
> am in, I will not see LiveCode Script become some sort of syntactic mongrel
> (indeed the places where it is slightly 'mongrelic', I would quite like to
> have alternative non-mongrel forms much more in keeping with the language
> as a whole). However, again, there is more to LiveCode than just the syntax
> of the language.
>
> Anyway, I shall now get off my (small?) soap-box. Again this is a
> discussion, there are lots of reasons why people don't choose LiveCode and
> we try our very best to determine them, and deal with them. There are
> certainly easier ones to tackle than adding a new 'syntax style' and of
> course we intend to address those first...
>
> However, let us imagine that we were able to demonstrate that a
> significant proportion of people who might use LiveCode end up not doing so
> because of the language itself, and *if* the language had a different
> syntactic style then we would have significantly more users... Then surely
> it is worthy of some discussion and consideration?
>
> Warmest Regards,
>
> Mark.
>
> --
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
>

Firstly, THANK YOU for standing on that small soap-box, Mark.  LC and it's
English-likeness is well worth defending, IMHO.  I wouldn't be here if it
were too much more like 'standard' programming languages.  The great thing
about LC for those who prefer the more arcane syntax is they can fork it
and make it their own.  Yay OSS!

~Roger
___
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: Sql problem

2017-05-23 Thread Roger Eller via use-livecode
I have always replaced the linefeeds with a unique placeholder for
transport, and switched it back to linefeeds in the server script.  I
didn't even consider replacing with empty.

On May 23, 2017 8:55 PM, "Jonathan Lynch via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> One quick note about base64encode:
>
> LC adds linefeeds. After you base64encode, you may need to replace
> linefeed with empty in the variable.
>
> Sent from my iPhone
>
> > On May 23, 2017, at 8:10 PM, William Prothero via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Andre,
> > This is good advice. I did it this way as a shortcut for an app I’ve
> built for myself only. You are right that it makes debugging harder because
> I can’t use other management applications to examine the contents.
> >
> > For many years now I’ve used php cgi’s to connect to the remote mysql db
> and it works well. I just haven’t spent the time to set up JSON.
> >
> > But it looks like I could dispense with the php and directly access the
> mySQL db from my mobile app, without a cgi?
> >
> > Best,
> > Bill
> >
> >> On May 23, 2017, at 3:30 PM, Andre Garzia via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>
> >> William,
> >>
> >> If I may add a bit of personal opinion here... so, I have been using and
> >> storing LC stuff in databases for a long time. Not only I have been
> storing
> >> arrays in database but I had them flying over TCP sockets and being
> >> decoded/encoded as needed. For a long time I used the same approach as
> you,
> >> which is to arrayEncode + base64 the array.
> >>
> >> I don't do that any longer. That combination is very hard to debug. I
> would
> >> advise you simply to use JSON and store it as JSON on the db. Instead of
> >> encoding the array twice, you do it only once with jsonexport() and then
> >> when importing, you do it only once with jsonimport()
> >>
> >> Not only that reduces complexity but it also makes it a lot easier to
> >> debug. As a bonus, your data can be consumed by other applications which
> >> are not based on LC which may open a whole ecosystem of plugins and
> >> interoperation to your product.
> >>
> >> Cheers
> >> andre
> >>
> >>
> >> On Sun, May 21, 2017 at 9:45 PM, William Prothero via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >>> Never mind. I got it working. I’m not exactly sure about the problem
> >>> because the method I used should have been quite general. However, what
> >>> made it work is that I had the contents of a list field in the array I
> was
> >>> storing and that somehow caused an error when I tried to decode the
> array.
> >>> I deleted that array key, because there was no reason I needed to have
> it
> >>> in the db anyway, and it worked.
> >>>
> >>> I’ll look into why and report back if I find anything interesting.
> >>> Best,
> >>> Bill
> >>>
>  On May 21, 2017, at 5:23 PM, William Prothero via use-livecode <
> >>> use-livecode@lists.runrev.com> wrote:
> 
>  Whoops, I lied.
>  The data is stored incorrectly in the simulator too.
>  Hmm….
>  The IDE stores it correctly. There is something in the encoding that
> I’m
> >>> missing.
>  Bill
> 
> > On May 21, 2017, at 5:03 PM, William Prothero via use-livecode <
> >>> use-livecode@lists.runrev.com> wrote:
> >
> > Folks:
> > I have an app that stores data to a mysql database on my server. It
> >>> works fine in the IDE and in the iPhone simulator. However, when I
> load the
> >>> app onto the iPhone, the saved data is corrupted.
> >
> > I am saving an array. The array is saved in a big string that has
> been
> >>> base64 encoded.
> >
> > When saving, I do:
> >
> > put arrayEncode(tArray) into tData
> >
> > put base64encode(tData) into xData
> >
> > put urlEncode(xData) into xData
> >
> > xData is sent to the db
> >
> > When I read back the data, I do the inverse:
> >
> > urlDecode
> > base64Decode
> > arrayDecode
> >
> > The base64 data on the db is different when I store it from the
> iPhone.
> >>> I can see this with Navicat, which I use for db management. So, the
> problem
> >>> is in the storing of the data.
> >
> > What the heck? I am just using a post command to a php script that
> >>> writes to the db.
> >
> > Why would the iPhone data that is sent be different from that sent in
> >>> the simulator?
> >
> > Mac OSX 10.12.4, Livecode 8.1.4 (rc2) and XCode 8.3.
> >
> > Any suggestions would be welcome.
> > Thanks,
> > Bill P.
> >
> > William A. Prothero
> > http://earthlearningsolution.org/
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> >>> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 

Re: [Blog] New post for your reading pleasure

2017-05-19 Thread Roger Eller via use-livecode
On Fri, May 19, 2017 at 2:42 PM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 5/19/17 9:15 AM, Mike Kerner via use-livecode wrote:
>
>> I paid up and send in my shirt size, yesterday.  Heather's response was
>> "What does 'two bolts' mean?"
>>
>
> You win the internet today. :) But my stereotype has been destroyed,
> everyone knows that programmers are skinny and live on Jolt and coffee.
>
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>


I don't get the connection, so I googled it, which resulted in some light
reading suggestions:

   Albert Einstein: And the Frontiers of Physics


   Cumulative Sum Charts and Charting for Quality Improvement


   The Nuts and Bolts of Proofs: An Introduction to Mathematical Proofs


https://www.google.com/search?tbm=bks=en=What+does+%27two+bolts%27+mean%3F

~Roger
___
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: WannaCry [OT]

2017-05-16 Thread Roger Eller via use-livecode
http://hackaday.com/2017/05/04/google-aiy-artificial-intelligence-yourself/


On Tue, May 16, 2017 at 10:54 AM, Jonathan Lynch via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Right before it absorbs us into the machine overlord.
>
> Sent from my iPhone
>
> > On May 16, 2017, at 10:45 AM, Alejandro Tejada via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > Mark Waddingan wrote:
> >> the fact that there are probably not just billions
> >> but trillions of lines of C/C++ code in the world
> >> means that things are probably not going to change
> >> much soon - the cost to rewrite all of that in a language
> >> such as Rust would probably be larger than the entire
> >> economic output of the entire world.
> >
> > That is exactly the kind of work that
> > Artificial Intelligence could do without
> > breaking the bank! :-)
> >
> > Al
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Identical and similar blend modes

2017-05-16 Thread Roger Eller via use-livecode
Results may vary depending on OS, video card, and/or video drivers.  Many
of these appear subtly different to me.

~Roger

On May 15, 2017 11:39 PM, "Alejandro Tejada via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> After a quick test, these are my results
> looking for identical and similar blend modes
> but notice that these results could differ
> from your own results:
>
> 1) srcXor = BlendExclusion = BlendDifference
>
> 2) srcOr = addMax = addPin = BlendDodge = BlendLighten = blendScreen =
> BlendPlus
>
> 3) srcCopy = Transparent = BlendHardLight
>
> 4) srcAnd = adMin = BlendBurn = BlendDarken = BlendMultiply
>
> 5) addOver = noop = BlendDstOver
>
> subPin almost looks like reverse
>
> There are many aritmetic and bitwise blending modes
> that do not have a direct equivalent using Imaging
> blend modes... but probably (or not) these blending
> modes could be "simulated" using color overlays,
> groups, structural blends and imaging blend modes
>
> Al
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] This Week in LiveCode 82

2017-05-15 Thread Roger Eller via use-livecode
I just looked in the dictionary of 6.7.5 (my daily driver), and only
srcCopy concerns me, as it is the default for any image placed as a
control.  I also found an image that I had placed with addMax applied.
This saved me the trouble of taking it into Photoshop of Gimp to create the
same effect.  I'll roll with the changes.

~Roger


On Mon, May 15, 2017 at 3:01 PM, Ali Lloyd via use-livecode <
use-livecode@lists.runrev.com> wrote:

> To be fair, the docs claim the legacy blend modes have been deprecated
> since LC 5! We've supported thm for quite a long time post-deprecation...
>
> On Mon, May 15, 2017 at 7:56 PM Roger Eller via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Oh no!  I use the legacy blendModes all the time!
> >
> >
> > On Mon, May 15, 2017 at 2:40 PM, Alejandro Tejada via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> > > > Read about new developments in LiveCode open source
> > > > and the open source community in today's edition of
> > > > the "This Week in LiveCode" newsletter!
> > > > Read issue #82 here: https://goo.gl/8HNhau
> > >
> > > Looks like Skia Graphics Library dropped support
> > > for some features and LC9 will not show anymore
> > > these types of gradients:
> > > 'XY', 'SqrtXY', 'Diamond' and 'Spiral'
> > > and most of these legacy Blend Modes:
> > > clear, noop, notSrcAnd, notSrcAndReverse,
> > > notSrcCopy, notSrcOr, notSrcOrReverse,
> > > notSrcXor, reverse, set, srcAnd,
> > > srcAndReverse, srcCopy, srcOr,
> > > srcOrReverse, srcXor, blend, addPin
> > > addOver, subPin, transparent
> > > adMin, addMax
> > >
> > > If you check all paint features available
> > > from Skia Library: https://skia.org/user/api/skpaint
> > > there are many useful features that LC9
> > > could implement, like:
> > > setTextScaleX (and setTextScaleY)
> > > SkPathEffect
> > > SkLine2DPathEffect
> > > SkDiscretePathEffect
> > > SkComposePathEffect
> > > SkSumPathEffect
> > > Two-Point Conical Gradient Shader
> > > Fractal Perlin Noise Shader
> > > Turbulence Perlin Noise Shader
> > > Compose Shader
> > > Blur Mask Filter
> > >
> > > Could LC implement first some of
> > > these Skia features like Perlin Noise
> > > and Blur filter?
> > >
> > > Al
> > > ___
> > > use-livecode mailing list
> > > use-livecode@lists.runrev.com
> > > Please visit this url to subscribe, unsubscribe and manage your
> > > subscription preferences:
> > > http://lists.runrev.com/mailman/listinfo/use-livecode
> > >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] This Week in LiveCode 82

2017-05-15 Thread Roger Eller via use-livecode
Oh no!  I use the legacy blendModes all the time!


On Mon, May 15, 2017 at 2:40 PM, Alejandro Tejada via use-livecode <
use-livecode@lists.runrev.com> wrote:

> > Read about new developments in LiveCode open source
> > and the open source community in today's edition of
> > the "This Week in LiveCode" newsletter!
> > Read issue #82 here: https://goo.gl/8HNhau
>
> Looks like Skia Graphics Library dropped support
> for some features and LC9 will not show anymore
> these types of gradients:
> 'XY', 'SqrtXY', 'Diamond' and 'Spiral'
> and most of these legacy Blend Modes:
> clear, noop, notSrcAnd, notSrcAndReverse,
> notSrcCopy, notSrcOr, notSrcOrReverse,
> notSrcXor, reverse, set, srcAnd,
> srcAndReverse, srcCopy, srcOr,
> srcOrReverse, srcXor, blend, addPin
> addOver, subPin, transparent
> adMin, addMax
>
> If you check all paint features available
> from Skia Library: https://skia.org/user/api/skpaint
> there are many useful features that LC9
> could implement, like:
> setTextScaleX (and setTextScaleY)
> SkPathEffect
> SkLine2DPathEffect
> SkDiscretePathEffect
> SkComposePathEffect
> SkSumPathEffect
> Two-Point Conical Gradient Shader
> Fractal Perlin Noise Shader
> Turbulence Perlin Noise Shader
> Compose Shader
> Blur Mask Filter
>
> Could LC implement first some of
> these Skia features like Perlin Noise
> and Blur filter?
>
> Al
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Transparent browser widgets?

2017-05-15 Thread Roger Eller via use-livecode
On Mon, May 15, 2017 at 1:27 PM, Mark Waddingham via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 2017-05-15 19:10, Roger Eller via use-livecode wrote:
>
>> I have to agree with Richard on this.  It seems tis always time to add new
>> and cool features to iOS and Mac, but not enough time to repair what has
>> been broken.  Linux isn't as mainstream, but it does have a decent base of
>> committed users.  I do believe they too would enjoy functional audio/video
>> content in their LC apps.  Just sayin'.
>>
>
> Um - where did I say the request was going to be implemented NOW? Nowhere
> that I can see...
>
> I filed an enhancement request so the suggestion wasn't lost - why did I?
>
> Because I recalled adding an opaque property to the mobileControl
> "browser" API years ago that did what was requested (on both iOS and
> Android, IIRC). Given that Mac now uses WebView and not CEF, and thus
> benefits from the flexibility of NSViews directly, it seemed reasonable
> that the same approach used then would work on Mac too.
>
> Therefore, it seemed a reasonable thing to record this fact - it gives no
> indication of when it might get done, if at all (of course, being
> open-source means that someone who is not us might do it).
>
> Warmest Regards,
>
> Mark.
>
> --
> Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
> LiveCode: Everyone can create apps
>
>
Mark,

I've apparently found myself with "a case of the Mondays".  So sorry for my
mood.  Carry on with being awesome.  You and the team really are quite
awesome!  I mean it.

~Roger
___
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


  1   2   >