Re: Calling a livecode executable -ui from LC server and get back a result.

2017-05-04 Thread Dan Brown via use-livecode
You can communicate between server and desktop using sockets. Chatrev is a
good example of this http://www.bjoernke.com/index.irev?target=chatrev


On 4 May 2017 7:34 pm, "Malte Brill via use-livecode" <
use-livecode@lists.runrev.com> wrote:

> Hi all,
>
> has anybody successfully done this? Especially on Windows? I would like to
> launch a livecode built application from a liveCode server script and get
> the output back (on a Server that I control) Is that possible? If so, how?
>
> I tried a couple of things to no avail:
>
>set the shellCommand to "CMD"
>   put ""
>   put the time
>   put ""
>   put Quote & "thes.exe" & Quote &&"-ui" into tShell
>   try
> get shell(tShell)
> put "Result:" && the result & cr &"It:" && it
> put ""
> open process tShell for binary read
>read from process tShell until EOF
>put "Result:" && the result & cr &"It:" && it
>put ""
>   catch theErr
>   put theErr
> end try
> put cr
> put the time
> put ""
> ?>
>
> the helper app: In the stack script:
>
> on startup
>   send "boo" to me in 500 millisecs
>   — to make sure all libs are loaded
> end startup
>
> on boo
>   quit
> end boo
>
> on shutdown
>   write "boo" to stdout
> end shutdown
>
> Thanks for all input I can get…
>
> Malte
>
>
> ___
> use-livecode mailing list
> use-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

http calls blocked by virus protection?

2017-05-04 Thread Peter Bogdanoff via use-livecode
Hi,

I have a user who seems to have a good Internet connection, but my Livecode 
application can’t connect to a remote server using http.

He’s on Windows. Is it possible that some virus protection software blocks such 
connections?

He’s an older user, far away, and I really don’t know what he has installed.

Peter Bogdanoff
___
use-livecode mailing list
use-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: develop a hybrid app

2017-05-04 Thread Rick Harrison via use-livecode
Hi Matt,

Apple has made it extremely difficult to do anything which
accesses other apps or functions outside of your own app.
Everything is “sandboxed” to make sure that your app doesn’t
interfere with anyone else’s app or other Apple apps.

Apple has made sure that one can’t make a better
iTunes app very easily at all.  Go ahead and try if you
like, you will discover it to be quite difficult.  Apple doesn’t
want anyone competing with them for such things.

So, yes trying to monitor what’s going on with
someone’s activities on the iPhone is pretty
difficult.  Most activity trackers do things like
check the time and send a notification that
one has not gone for a walk recently.  They
might also check the accelerometer to see
if the iPhone has moved recently, but that
app has to be running in the foreground for
that to work.

Tracker apps can use a lot of power too
because they are checking things constantly
and that can affect the daily battery time.

Good luck!

Rick

  

> On May 4, 2017, at 11:24 AM, Matt Maier via use-livecode 
>  wrote:
> 
> Is there a concise list of what Livecode can do on mobile devices?
> 
> Activity tracking - some kind of awerenesses that the user interacted with
> their phone during focus time. Did they turn the screen on, did they spend
> time out if the lilspace app, did they send/receive messages. The idea is
> to trigger a "not really focusing" flag. Stuff like music and photos would
> be fine, 10 minutes on Facebook wouldn't.
> 
> Auto-reply - prewritten messages that go out when you're focusing to
> explain what you're doing and when you'll be done. Like "I'm at yoga. I'll
> check my phone at 5".
> 
> 
> On May 4, 2017 06:37, "pink via use-livecode" 
> wrote:
> 
> Access to phone functions is limited. On the iPhone is it extremely limited.
> 
> Can you be more specific about what you mean by "activity tracking" and
> "auto-reply"?
> 
> Screen dimming and silent mode definitely cannot be triggered by an iPhone
> app, I am not sure about Android but I doubt it can be done in LiveCode
> without some sort of external being built. Your best bet would be to have
> reminders setup to say "please switch on silent mode"
> 
> What else do you want such an app to do?
> 
> 
> 
> -
> ---
> Greg (pink) Miller
> mad, pink and dangerous to code
> --
> View this message in context: http://runtime-revolution.
> 278305.n4.nabble.com/develop-a-hybrid-app-tp4714468p4714472.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


___
use-livecode mailing list
use-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] tinyDictionary 0_8_1_0

2017-05-04 Thread Bob Sneidar via use-livecode
The reason I never added notes is because I've bee nwrong about something or 
misunderstood something so many times I feel reticent to make any comments 
about how something works. 

Bob S


> On May 4, 2017, at 12:46 , Richard Gaskin via use-livecode 
>  wrote:
> 
> Exactly.  If folks aren't writing them now where everyone in all IDE 
> components can use them, what are the chances they'll starting writing them 
> anywhere else for a subset of the audience?
> 
> -- 
> Richard Gaskin


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


Re: [ANN] tinyDictionary 0_8_1_0

2017-05-04 Thread BNig via use-livecode
pink wrote
> 
> BNig wrote
>> TinyDictionary is a small footprint dictionary for Livecode from version
>> 8.1 and up.
>> 
>> New features are user added notes and import of notes. Some code
>> optimization and cleanup.
>> Should work on Mac, Windows and Linux.
>> See Help from Preferences Menu.
>> 
>> Probably best when used as plug-in. (put tinyDictionary stack into your
>> plugin folder and restart Livecode. Then select it from Development menu
>> -> Plugins)
>> 
>> http://livecodeshare.runrev.com/stack/825/TinyDictionary
>> 
>> Kind regards
>> Bernd
> Would user added notes persist across different versions of LiveCode, or
> would the need to added again each time a new version of LiveCode comes
> out?

As Mike wrote the notes are stored in an arrayEncoded array in Application
Support -> LCTinyDict -> tinyDictNotes.array
They identify a dictionary by a combination of Keyword Type and Library. 

TinyDict uses the current version of LC Dictionary it is running in. That
means regardless of version or license the dictionary is up to date. (all
those differences give you slightly different dictionaries) If that version
of your dictionary has an entry that matches an entry in tinyDictNotes.array
then the note will be shown. No need to rewrite the note. You can take your
tinyDictNotes.array file, zip it and import it into your tinyDict running on
a different computer or send it off to someone else. tinyDictNotes.array
will be merged into your existing notes by appending the imported notes to
the existing notes.

Notes came into being because they were mentioned a couple of times as a
useful feature of a community dictionary. They are primarily intended as a
means to keep personal notes, workarounds, reminders, etc. Not more not
less.

Kind regards
Bernd





--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-tinyDictionary-0-8-1-0-tp4714470p4714501.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


Re: [ANN] tinyDictionary 0_8_1_0

2017-05-04 Thread Mike Kerner via use-livecode
The notes are part of TD, not LC.

On Thu, May 4, 2017 at 4:37 PM, pink via use-livecode <
use-livecode@lists.runrev.com> wrote:

> BNig wrote
> > TinyDictionary is a small footprint dictionary for Livecode from version
> > 8.1 and up.
> >
> > New features are user added notes and import of notes. Some code
> > optimization and cleanup.
> > Should work on Mac, Windows and Linux.
> > See Help from Preferences Menu.
> >
> > Probably best when used as plug-in. (put tinyDictionary stack into your
> > plugin folder and restart Livecode. Then select it from Development menu
> > -> Plugins)
> >
> > http://livecodeshare.runrev.com/stack/825/TinyDictionary
> >
> > Kind regards
> > Bernd
>
> Would user added notes persist across different versions of LiveCode, or
> would the need to added again each time a new version of LiveCode comes
> out?
>
>
>
> -
> ---
> Greg (pink) Miller
> mad, pink and dangerous to code
> --
> View this message in context: http://runtime-revolution.
> 278305.n4.nabble.com/ANN-tinyDictionary-0-8-1-0-tp4714470p4714498.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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] tinyDictionary 0_8_1_0

2017-05-04 Thread Mike Kerner via use-livecode
exactly

On Thu, May 4, 2017 at 4:28 PM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Mike Kerner wrote:
>
> > The cool thing about TD is that you don't necessarily have to write
> > anything.  For example, Mark's AR note from yesterday can be
> > installed into TD as-is, which is exactly what Bernd did, yesterday.
> > He copied and pasted the email into a text file and sent it to me. A
> > couple of clicks later, and Mark's email was attached to
> > acceleratedRendering.  As I found out when I was trying to get some
> > changes submitted for the dictionary, there is a lot more to getting
> > it formatted for a dictionary entry.  For a note, not so
> > much.  It's a note, a comment, etc.  You can use TD more like a wiki.
>
> Good point.  What we have with that post and many others like it are
> effectively Tech Notes, distinct from Dictionary Entries and Tutorials.
>
> It's nice that Bernd has the time and interest in maintaining such a
> collection, but as you noted his Dictionary is separate from the IDE, and
> as such those Tech Notes are lost to the majority of LC users (except for
> those using TD and the handful of us who've been obsessively bookmarking
> such things over the years).
>
> It seems that both TD users and everyone else might benefit from a
> knowledge base of Tech Notes if they were made part of the LC repo, and the
> LC docs system extended to include them along with the other forms of
> learning materials.
>
> With a central place for a Tech Note repository, Bernd's work would be
> simplified by merely adding one extension to his system and everything
> there comes along for the ride.
>
> But beyond saving Bernd the extra work, such content would be in a form
> that could benefit the entire LC audience, no matter which mix of plugins
> that may be using at any given time.
>
> A wiki might be a suitable alternative to a Mardwon-centric repo like
> Github.  MaxV has a wiki, and I've offered before (and my offer still
> stands) to migrate that content to one of my LiveCode domains like
> LiveCodeJournal.com using Wikimedia, the package Wikipedia uses, so we can
> have the flexibility of a proven wiki engine but without the ads that are
> an understandable by-product of a free hosting service.
>
>
> TL;DR:
>
> Less formal Tech Notes are a valuable part of our community's collective
> knowledge base, and it would be ideal to have a curated collection of them.
>
> Once we do, any tools that could benefit from including them could do so
> easily.
>
> The value of the information is proportionate to the size of the audience
> reading it.  The more easily informal Tech Notes can be available to
> everyone, the more the community as a whole can realize their value.
>
> IMO the format and location of the collection is less important than that
> it exists.
>
> A pile of text files in a server directory today would be more valuable
> than a perfectly-formatted collection that doesn't exist.
>
>
> --
>  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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] tinyDictionary 0_8_1_0

2017-05-04 Thread pink via use-livecode
BNig wrote
> TinyDictionary is a small footprint dictionary for Livecode from version
> 8.1 and up.
> 
> New features are user added notes and import of notes. Some code
> optimization and cleanup.
> Should work on Mac, Windows and Linux.
> See Help from Preferences Menu.
> 
> Probably best when used as plug-in. (put tinyDictionary stack into your
> plugin folder and restart Livecode. Then select it from Development menu
> -> Plugins)
> 
> http://livecodeshare.runrev.com/stack/825/TinyDictionary
> 
> Kind regards
> Bernd

Would user added notes persist across different versions of LiveCode, or
would the need to added again each time a new version of LiveCode comes out?



-
---
Greg (pink) Miller
mad, pink and dangerous to code
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-tinyDictionary-0-8-1-0-tp4714470p4714498.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


Re: [ANN] tinyDictionary 0_8_1_0

2017-05-04 Thread Richard Gaskin via use-livecode

Mike Kerner wrote:

> The cool thing about TD is that you don't necessarily have to write
> anything.  For example, Mark's AR note from yesterday can be
> installed into TD as-is, which is exactly what Bernd did, yesterday.
> He copied and pasted the email into a text file and sent it to me. A
> couple of clicks later, and Mark's email was attached to
> acceleratedRendering.  As I found out when I was trying to get some
> changes submitted for the dictionary, there is a lot more to getting
> it formatted for a dictionary entry.  For a note, not so
> much.  It's a note, a comment, etc.  You can use TD more like a wiki.

Good point.  What we have with that post and many others like it are 
effectively Tech Notes, distinct from Dictionary Entries and Tutorials.


It's nice that Bernd has the time and interest in maintaining such a 
collection, but as you noted his Dictionary is separate from the IDE, 
and as such those Tech Notes are lost to the majority of LC users 
(except for those using TD and the handful of us who've been obsessively 
bookmarking such things over the years).


It seems that both TD users and everyone else might benefit from a 
knowledge base of Tech Notes if they were made part of the LC repo, and 
the LC docs system extended to include them along with the other forms 
of learning materials.


With a central place for a Tech Note repository, Bernd's work would be 
simplified by merely adding one extension to his system and everything 
there comes along for the ride.


But beyond saving Bernd the extra work, such content would be in a form 
that could benefit the entire LC audience, no matter which mix of 
plugins that may be using at any given time.


A wiki might be a suitable alternative to a Mardwon-centric repo like 
Github.  MaxV has a wiki, and I've offered before (and my offer still 
stands) to migrate that content to one of my LiveCode domains like 
LiveCodeJournal.com using Wikimedia, the package Wikipedia uses, so we 
can have the flexibility of a proven wiki engine but without the ads 
that are an understandable by-product of a free hosting service.



TL;DR:

Less formal Tech Notes are a valuable part of our community's collective 
knowledge base, and it would be ideal to have a curated collection of them.


Once we do, any tools that could benefit from including them could do so 
easily.


The value of the information is proportionate to the size of the 
audience reading it.  The more easily informal Tech Notes can be 
available to everyone, the more the community as a whole can realize 
their value.


IMO the format and location of the collection is less important than 
that it exists.


A pile of text files in a server directory today would be more valuable 
than a perfectly-formatted collection that doesn't exist.


--
 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: [ANN] tinyDictionary 0_8_1_0

2017-05-04 Thread Mike Kerner via use-livecode
The cool thing about TD is that you don't necessarily have to write
anything.  For example, Mark's AR note from yesterday can be installed into
TD as-is, which is exactly what Bernd did, yesterday.  He copied and pasted
the email into a text file and sent it to me. A couple of clicks later, and
Mark's email was attached to acceleratedRendering.  As I found out when I
was trying to get some changes submitted for the dictionary, there is a lot
more to getting it formatted for a dictionary entry.  For a note, not so
much.  It's a note, a comment, etc.  You can use TD more like a wiki.

On Thu, May 4, 2017 at 3:46 PM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Mike Kerner wrote:
>
> > On Thu, May 4, 2017 at 3:07 PM, Richard Gaskin wrote:
> >
> >> Mike Kerner wrote:
> >> > The latest feature, importing notes, is pretty darn cool.  Now if
> >> > we can get someone to compile and distribute notes when something
> >> > comes up, here, that would be really cool.
> >>
> >> If notes need to be centrally curated anyway, could we just add
> >> those to the relevant Dictionary entries in the source markdown in
> >> the LC Github repo?
> >
> > Sure, but as you can see, that isn't happening, and tinydict isn't
> > part of LC, it's separate, as Bernd has requested.
>
> Exactly.  If folks aren't writing them now where everyone in all IDE
> components can use them, what are the chances they'll starting writing them
> anywhere else for a subset of the audience?
>
>
> --
>  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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: [ANN] tinyDictionary 0_8_1_0

2017-05-04 Thread Richard Gaskin via use-livecode

Mike Kerner wrote:

> On Thu, May 4, 2017 at 3:07 PM, Richard Gaskin wrote:
>
>> Mike Kerner wrote:
>> > The latest feature, importing notes, is pretty darn cool.  Now if
>> > we can get someone to compile and distribute notes when something
>> > comes up, here, that would be really cool.
>>
>> If notes need to be centrally curated anyway, could we just add
>> those to the relevant Dictionary entries in the source markdown in
>> the LC Github repo?
>
> Sure, but as you can see, that isn't happening, and tinydict isn't
> part of LC, it's separate, as Bernd has requested.

Exactly.  If folks aren't writing them now where everyone in all IDE 
components can use them, what are the chances they'll starting writing 
them anywhere else for a subset of the audience?


--
 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: develop a hybrid app

2017-05-04 Thread Mike Kerner via use-livecode
You can't block outbound calls on ios, only inbound, and only based on
caller id
___
use-livecode mailing list
use-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] tinyDictionary 0_8_1_0

2017-05-04 Thread Mike Kerner via use-livecode
Sure, but as you can see, that isn't happening, and tinydict isn't part of
LC, it's separate, as Bernd has requested.

On Thu, May 4, 2017 at 3:07 PM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Mike Kerner wrote:
>
> > The latest feature, importing notes, is pretty darn cool.  Now if we
> > can get someone to compile and distribute notes when something comes
> > up, here, that would be really cool.
>
> If notes need to be centrally curated anyway, could we just add those to
> the relevant Dictionary entries in the source markdown in the LC Github
> repo?
>
> --
>  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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: develop a hybrid app

2017-05-04 Thread Mike Kerner via use-livecode
Oh, yes, and as usual, any incorrect statements I made in said post are
simply evidence that my account has been Sims'd, not that I don't know what
I'm talking about.

On Thu, May 4, 2017 at 2:51 PM, Mike Kerner 
wrote:

> The short answer is "nope".
> • If you have a smart watch, you know that the apps run on the watch, not
> on the phone, so even if you get the phone, the watch still wins.
> • There is a reason why Nissan is proposing adding Faraday cages to the
> center console of the Juke (https://www.google.com/
> search?q=nissan+faraday+cage=nissan+faraday+cage=
> chrome..69i57.3488j0j7=chrome=UTF-8) - because your ability
> to conrol someone's phone, or see what they are doing when your app is not
> in the foreground, is extremely limited, especially on ios.
> • Similarly, "Cinemode" does not work in Cinemark's app on ios (
> https://www.google.com/search?q=cinemode=cinemode;
> aqs=chrome..69i57j0l5.1737j0j7=chrome=UTF-8) even though it's
> a great idea.
> • That has nothing to do with LC, it's an Apple thing.  Apple is also very
> picky about what you can and cannot do when the phone is asleep and when
> your app is not in the foreground.  AFA screen dimming, activity tracking,
> muting, etc. you can't get there from here on ios.
> • You also can't hope to keep your app in the foreground, keep it active
> while the phone sleeps, and keep the app pinging your server from ios to
> tell the server that the user's phone is not doing anything
> • You will note that there are plenty of parental control apps for Android
> that allow parents to kill devices between hours x and y.  On ios, there
> are no such apps.
>
> On Thu, May 4, 2017 at 2:02 PM, Matt Maier via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> What's a language token?
>>
>> On Thu, May 4, 2017 at 10:11 AM, Richard Gaskin via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>> > Matt Maier wrote:
>> >
>> > > On Thu, May 4, 2017 at 8:39 AM, Richard Gaskin wrote:
>> > >
>> > >> Matt Maier wrote:
>> > >> > Is there a concise list of what Livecode can do on mobile devices?
>> > >>
>> > >> I'm not sure, but filtering the Dictionary with "mobile" will reveal
>> > >> language elements specific to those platforms.
>> > >
>> > > Okay, so am I doing it right if I find "mobileIdleTimerLocked()" and
>> > > interpret it to mean that on both ios and android I can find out if
>> > > the user has interacted with the phone because mobileIdleTimerLocked
>> > > will be false. Or mobileComposeTextMessage will let us bring up a
>> > > texting program with a message, but the user would still have to send
>> > > it.
>> > >
>> > > I don't see much else.
>> >
>> > ...for that specific question.  For the original question of "what
>> > LiveCode can do on mobile devices", when I filter the Dictionary with
>> > "mobile" I see dozens of language tokens.
>> >
>> >
>> > >> > Auto-reply - prewritten messages that go out when you're focusing
>> > >> > to explain what you're doing and when you'll be done. Like "I'm at
>> > >> > yoga. I'll check my phone at 5".
>> > >>
>> > >> That would be handled on the server, no?
>> > >
>> > > Wouldn't we need something on the phone to know that a call or text is
>> > > coming in?
>> >
>> > Ah, I see. As worded it wasn't clear what the app would be replying to.
>> >
>> > I don't believe LC currently offers a built-in solution for altering how
>> > incoming calls are handled, but if iOS provides an API for that you
>> could
>> > write a library for it with LC Builder.
>> >
>> >
>> > --
>> >  Richard Gaskin
>> >  Fourth World Systems
>> >  Software Design and Development for the Desktop, Mobile, and the Web
>> >  
>> >  ambassa...@fourthworld.comhttp://www.FourthWorld.com
>> >
>> > ___
>> > use-livecode mailing list
>> > use-livecode@lists.runrev.com
>> > Please visit this url to subscribe, unsubscribe and manage your
>> > subscription preferences:
>> > http://lists.runrev.com/mailman/listinfo/use-livecode
>> >
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
>
> --
> 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 

Re: [ANN] tinyDictionary 0_8_1_0

2017-05-04 Thread Richard Gaskin via use-livecode

Mike Kerner wrote:

> The latest feature, importing notes, is pretty darn cool.  Now if we
> can get someone to compile and distribute notes when something comes
> up, here, that would be really cool.

If notes need to be centrally curated anyway, could we just add those to 
the relevant Dictionary entries in the source markdown in the LC Github 
repo?


--
 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: Documentation on Accelerated Rendering

2017-05-04 Thread Mike Kerner via use-livecode
I think I want to have Mark's baby.

On Wed, May 3, 2017 at 2:38 PM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> On 5/3/17 6:00 AM, Mark Waddingham via use-livecode wrote:
>
>> On 2017-04-30 23:52, J. Landman Gay via use-livecode wrote:
>>
>>> I have been wanting to know that for years. I have the general idea
>>> but I want to know exactly what each command or property does. How
>>> does layerMode interact with rendering and when should I set it? (I
>>> used it incorrectly and submitted a spurious bug report, but I'm still
>>> not clear on why I was wrong.)
>>>
>>
>> This is perhaps something we should have more clearly documented at the
>> time
>>
>
> Thanks very much for the detailed explanation. It clarifies a lot for me,
> I really appreciate the time you took to write that up.
>
> It sounds like there will be delays in the case of objects that are
> created on the fly and assigned a dynamic layermode. I'm thinking of
> Swami's puzzle where new snapshots are created every time a new puzzle is
> made. These are dragged around the card by the user.
>
> I assume the buffers are destroyed when an object is deleted. When a new
> puzzle is started, the game deletes all the old snapshots, then creates new
> ones and assigns the layermode. Is there an ideal way to handle this? On
> iOS it's fine, on Android there is significant delay while the puzzle is
> built.
>
> Would changing the default compositor help? Or are we just at the mercy of
> the graphics card?
>
> I had originally used fields instead of snapshots thinking that would be
> faster, but since both are buffered as bitmaps in either case, I guess it
> doesn't matter.
>
> --
> 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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: develop a hybrid app

2017-05-04 Thread Richard Gaskin via use-livecode

Mike Kerner wrote:

> • There is a reason why Nissan is proposing adding Faraday cages to
> the center console of the Juke (
> 
https://www.google.com/search?q=nissan+faraday+cage=nissan+faraday+cage=chrome..69i57.3488j0j7=chrome=UTF-8)

> - because your ability to conrol someone's phone, or see what they are
> doing when your app is not in the foreground, is extremely limited,
> especially on ios.
> • Similarly, "Cinemode" does not work in Cinemark's app on ios (
> 
https://www.google.com/search?q=cinemode=cinemode=chrome..69i57j0l5.1737j0j7=chrome=UTF-8)

> even though it's a great idea.
> • That has nothing to do with LC, it's an Apple thing.  Apple is also
> very picky about what you can and cannot do when the phone is asleep
> and when your app is not in the foreground.

How do call blockers apps work?

--
 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: [ANN] tinyDictionary 0_8_1_0

2017-05-04 Thread Mike Kerner via use-livecode
The latest feature, importing notes, is pretty darn cool.  Now if we can
get someone to compile and distribute notes when something comes up, here,
that would be really cool.

On Thu, May 4, 2017 at 8:48 AM, BNig via use-livecode <
use-livecode@lists.runrev.com> wrote:

> TinyDictionary is a small footprint dictionary for Livecode from version
> 8.1
> and up.
>
> New features are user added notes and import of notes. Some code
> optimization and cleanup.
> Should work on Mac, Windows and Linux.
> See Help from Preferences Menu.
>
> Probably best when used as plug-in. (put tinyDictionary stack into your
> plugin folder and restart Livecode. Then select it from Development menu ->
> Plugins)
>
> http://livecodeshare.runrev.com/stack/825/TinyDictionary
>
> Kind regards
> Bernd
>
>
>
> --
> View this message in context: http://runtime-revolution.
> 278305.n4.nabble.com/ANN-tinyDictionary-0-8-1-0-tp4714470.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
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: develop a hybrid app

2017-05-04 Thread Mike Kerner via use-livecode
The short answer is "nope".
• If you have a smart watch, you know that the apps run on the watch, not
on the phone, so even if you get the phone, the watch still wins.
• There is a reason why Nissan is proposing adding Faraday cages to the
center console of the Juke (
https://www.google.com/search?q=nissan+faraday+cage=nissan+faraday+cage=chrome..69i57.3488j0j7=chrome=UTF-8)
- because your ability to conrol someone's phone, or see what they are
doing when your app is not in the foreground, is extremely limited,
especially on ios.
• Similarly, "Cinemode" does not work in Cinemark's app on ios (
https://www.google.com/search?q=cinemode=cinemode=chrome..69i57j0l5.1737j0j7=chrome=UTF-8)
even though it's a great idea.
• That has nothing to do with LC, it's an Apple thing.  Apple is also very
picky about what you can and cannot do when the phone is asleep and when
your app is not in the foreground.  AFA screen dimming, activity tracking,
muting, etc. you can't get there from here on ios.
• You also can't hope to keep your app in the foreground, keep it active
while the phone sleeps, and keep the app pinging your server from ios to
tell the server that the user's phone is not doing anything
• You will note that there are plenty of parental control apps for Android
that allow parents to kill devices between hours x and y.  On ios, there
are no such apps.

On Thu, May 4, 2017 at 2:02 PM, Matt Maier via use-livecode <
use-livecode@lists.runrev.com> wrote:

> What's a language token?
>
> On Thu, May 4, 2017 at 10:11 AM, Richard Gaskin via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Matt Maier wrote:
> >
> > > On Thu, May 4, 2017 at 8:39 AM, Richard Gaskin wrote:
> > >
> > >> Matt Maier wrote:
> > >> > Is there a concise list of what Livecode can do on mobile devices?
> > >>
> > >> I'm not sure, but filtering the Dictionary with "mobile" will reveal
> > >> language elements specific to those platforms.
> > >
> > > Okay, so am I doing it right if I find "mobileIdleTimerLocked()" and
> > > interpret it to mean that on both ios and android I can find out if
> > > the user has interacted with the phone because mobileIdleTimerLocked
> > > will be false. Or mobileComposeTextMessage will let us bring up a
> > > texting program with a message, but the user would still have to send
> > > it.
> > >
> > > I don't see much else.
> >
> > ...for that specific question.  For the original question of "what
> > LiveCode can do on mobile devices", when I filter the Dictionary with
> > "mobile" I see dozens of language tokens.
> >
> >
> > >> > Auto-reply - prewritten messages that go out when you're focusing
> > >> > to explain what you're doing and when you'll be done. Like "I'm at
> > >> > yoga. I'll check my phone at 5".
> > >>
> > >> That would be handled on the server, no?
> > >
> > > Wouldn't we need something on the phone to know that a call or text is
> > > coming in?
> >
> > Ah, I see. As worded it wasn't clear what the app would be replying to.
> >
> > I don't believe LC currently offers a built-in solution for altering how
> > incoming calls are handled, but if iOS provides an API for that you could
> > write a library for it with LC Builder.
> >
> >
> > --
> >  Richard Gaskin
> >  Fourth World Systems
> >  Software Design and Development for the Desktop, Mobile, and the Web
> >  
> >  ambassa...@fourthworld.comhttp://www.FourthWorld.com
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: develop a hybrid app

2017-05-04 Thread Richard Gaskin via use-livecode

Matt Maier wrote:

> What's a language token?

It's just a generic term for the superset of all language elements that 
include messages, functions, operators, control structures, etc.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.co

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


Calling a livecode executable -ui from LC server and get back a result.

2017-05-04 Thread Malte Brill via use-livecode
Hi all,

has anybody successfully done this? Especially on Windows? I would like to 
launch a livecode built application from a liveCode server script and get the 
output back (on a Server that I control) Is that possible? If so, how?

I tried a couple of things to no avail:

"
  put the time
  put ""
  put Quote & "thes.exe" & Quote &&"-ui" into tShell
  try
get shell(tShell)
put "Result:" && the result & cr &"It:" && it
put ""
open process tShell for binary read
   read from process tShell until EOF
   put "Result:" && the result & cr &"It:" && it
   put ""
  catch theErr
  put theErr
end try
put cr
put the time
put ""
?>

the helper app: In the stack script:

on startup
  send "boo" to me in 500 millisecs
  — to make sure all libs are loaded
end startup

on boo
  quit
end boo

on shutdown
  write "boo" to stdout
end shutdown

Thanks for all input I can get…

Malte


___
use-livecode mailing list
use-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: develop a hybrid app

2017-05-04 Thread Matt Maier via use-livecode
What's a language token?

On Thu, May 4, 2017 at 10:11 AM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Matt Maier wrote:
>
> > On Thu, May 4, 2017 at 8:39 AM, Richard Gaskin wrote:
> >
> >> Matt Maier wrote:
> >> > Is there a concise list of what Livecode can do on mobile devices?
> >>
> >> I'm not sure, but filtering the Dictionary with "mobile" will reveal
> >> language elements specific to those platforms.
> >
> > Okay, so am I doing it right if I find "mobileIdleTimerLocked()" and
> > interpret it to mean that on both ios and android I can find out if
> > the user has interacted with the phone because mobileIdleTimerLocked
> > will be false. Or mobileComposeTextMessage will let us bring up a
> > texting program with a message, but the user would still have to send
> > it.
> >
> > I don't see much else.
>
> ...for that specific question.  For the original question of "what
> LiveCode can do on mobile devices", when I filter the Dictionary with
> "mobile" I see dozens of language tokens.
>
>
> >> > Auto-reply - prewritten messages that go out when you're focusing
> >> > to explain what you're doing and when you'll be done. Like "I'm at
> >> > yoga. I'll check my phone at 5".
> >>
> >> That would be handled on the server, no?
> >
> > Wouldn't we need something on the phone to know that a call or text is
> > coming in?
>
> Ah, I see. As worded it wasn't clear what the app would be replying to.
>
> I don't believe LC currently offers a built-in solution for altering how
> incoming calls are handled, but if iOS provides an API for that you could
> write a library for it with LC Builder.
>
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  
>  ambassa...@fourthworld.comhttp://www.FourthWorld.com
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: develop a hybrid app

2017-05-04 Thread Richard Gaskin via use-livecode

Matt Maier wrote:

> On Thu, May 4, 2017 at 8:39 AM, Richard Gaskin wrote:
>
>> Matt Maier wrote:
>> > Is there a concise list of what Livecode can do on mobile devices?
>>
>> I'm not sure, but filtering the Dictionary with "mobile" will reveal
>> language elements specific to those platforms.
>
> Okay, so am I doing it right if I find "mobileIdleTimerLocked()" and
> interpret it to mean that on both ios and android I can find out if
> the user has interacted with the phone because mobileIdleTimerLocked
> will be false. Or mobileComposeTextMessage will let us bring up a
> texting program with a message, but the user would still have to send
> it.
>
> I don't see much else.

...for that specific question.  For the original question of "what 
LiveCode can do on mobile devices", when I filter the Dictionary with 
"mobile" I see dozens of language tokens.



>> > Auto-reply - prewritten messages that go out when you're focusing
>> > to explain what you're doing and when you'll be done. Like "I'm at
>> > yoga. I'll check my phone at 5".
>>
>> That would be handled on the server, no?
>
> Wouldn't we need something on the phone to know that a call or text is
> coming in?

Ah, I see. As worded it wasn't clear what the app would be replying to.

I don't believe LC currently offers a built-in solution for altering how 
incoming calls are handled, but if iOS provides an API for that you 
could write a library for it with LC Builder.


--
 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: put x into URL... error on Windows network drive

2017-05-04 Thread Paul Dupuis via use-livecode
On 5/4/2017 12:41 PM, Phil Davis via use-livecode wrote:
> Is there any possibility that the network drive has spun down? I
> haven't tried it in recent versions of LC, but long ago I found I
> could get "the detailed files" of some folder on a sleeping drive and
> that would cause it to wake up!
>
> Food for thought -
> Phil Davis 

Interesting suggestion. Thanks. This is a mid-size university, so my
guess is that the server is in a real data center with a fair number of
faculty and students accessing it. Timing out is a possibility we're
looking into. It could be server load related?


___
use-livecode mailing list
use-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 x into URL... error on Windows network drive

2017-05-04 Thread Phil Davis via use-livecode
Is there any possibility that the network drive has spun down? I haven't 
tried it in recent versions of LC, but long ago I found I could get "the 
detailed files" of some folder on a sleeping drive and that would cause 
it to wake up!


Food for thought -
Phil Davis


On 5/4/17 8:15 AM, Paul Dupuis via use-livecode wrote:

This is a long shot, but has anyone ever experienced any problems with:

put  into URL ("file:")

On network drives under Windows, specifically where the users entire
"home' drive is a network drive (using Active Directory).

An error occurs ("the result" is coming back non-empty), but I don;t
have the specific error - this occurs at a customer site and this
particular part of the code does not display the Operating System error
in "the result" to the customer

It does not occur every time, but frequently.

This is a standalone built under a pre-LC7 version of Livecode (so
pre-Unicode) so could it be a unicode character in the filespec?



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



--
Phil Davis


___
use-livecode mailing list
use-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: develop a hybrid app

2017-05-04 Thread Matt Maier via use-livecode
On Thu, May 4, 2017 at 8:39 AM, Richard Gaskin via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Matt Maier wrote:
>
> > Is there a concise list of what Livecode can do on mobile devices?
>
> I'm not sure, but filtering the Dictionary with "mobile" will reveal
> language elements specific to those platforms.


Okay, so am I doing it right if I find "mobileIdleTimerLocked()" and
interpret it to mean that on both ios and android I can find out if the
user has interacted with the phone because mobileIdleTimerLocked will be
false. Or mobileComposeTextMessage will let us bring up a texting program
with a message, but the user would still have to send it.

I don't see much else.


>
>
>
> > Auto-reply - prewritten messages that go out when you're focusing to
> > explain what you're doing and when you'll be done. Like "I'm at yoga.
> > I'll check my phone at 5".
>
> That would be handled on the server, no?
>

Wouldn't we need something on the phone to know that a call or text is
coming in?


>
> What are you using on the backend?


Bubble.is. It's just a web app right now. The idea is to make it "hybrid"
enough to access phone activity like incoming messages and interaction.


>
>
> --
>  Richard Gaskin
>  Fourth World Systems
>  Software Design and Development for the Desktop, Mobile, and the Web
>  
>  ambassa...@fourthworld.comhttp://www.FourthWorld.com
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


phx_dropboxLib and v1 deprecation

2017-05-04 Thread Mike Kerner via use-livecode
Has anyone come up with a migration guide to get to v2?  I know that we
have a v2 lib available, but has anyone moved a phx_dropboxLib-connected
app to v2?

-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: put x into URL... error on Windows network drive

2017-05-04 Thread Paul Dupuis via use-livecode
On 5/4/2017 11:37 AM, Richard Gaskin via use-livecode wrote:
> Paul Dupuis wrote:
>
> > This is a long shot, but has anyone ever experienced any problems
> > with:
> >
> > put  into URL ("file:")
> >
> > On network drives under Windows, specifically where the users entire
> > "home' drive is a network drive (using Active Directory).
> >
> > An error occurs ("the result" is coming back non-empty), but I don;t
> > have the specific error - this occurs at a customer site and this
> > particular part of the code does not display the Operating System
> > error in "the result" to the customer
> >
> > It does not occur every time, but frequently.
> >
> > This is a standalone built under a pre-LC7 version of Livecode (so
> > pre-Unicode) so could it be a unicode character in the filespec?
>
>
> With file I/O I've gotten into the habit of adding a call to the
> sysError function to let the OS provide the specific error code
> related to the failure, e.g.:
>
>   put tSomething into url tSomeFile
>   if the result is not empty then
>  answer the result && "(" & sysError() &")"
>  exit to top
>end if
>
Yes, I wholeheartedly agree. Even when trying to create very simple
explanatory error messages for consumption by "average" users, it is
good practice to add the actual error codes - even if in a small font at
the bottom of the message. Unfortunately, the error code/message got
left out in this one part of the code.



___
use-livecode mailing list
use-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: develop a hybrid app

2017-05-04 Thread Richard Gaskin via use-livecode

Matt Maier wrote:

> Is there a concise list of what Livecode can do on mobile devices?

I'm not sure, but filtering the Dictionary with "mobile" will reveal 
language elements specific to those platforms.



> Auto-reply - prewritten messages that go out when you're focusing to
> explain what you're doing and when you'll be done. Like "I'm at yoga.
> I'll check my phone at 5".

That would be handled on the server, no?

What are you using on the backend?

--
 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: put x into URL... error on Windows network drive

2017-05-04 Thread Richard Gaskin via use-livecode

Paul Dupuis wrote:

> This is a long shot, but has anyone ever experienced any problems
> with:
>
> put  into URL ("file:")
>
> On network drives under Windows, specifically where the users entire
> "home' drive is a network drive (using Active Directory).
>
> An error occurs ("the result" is coming back non-empty), but I don;t
> have the specific error - this occurs at a customer site and this
> particular part of the code does not display the Operating System
> error in "the result" to the customer
>
> It does not occur every time, but frequently.
>
> This is a standalone built under a pre-LC7 version of Livecode (so
> pre-Unicode) so could it be a unicode character in the filespec?


With file I/O I've gotten into the habit of adding a call to the 
sysError function to let the OS provide the specific error code related 
to the failure, e.g.:


  put tSomething into url tSomeFile
  if the result is not empty then
 answer the result && "(" & sysError() &")"
 exit to top
   end if

--
 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: develop a hybrid app

2017-05-04 Thread Matt Maier via use-livecode
Is there a concise list of what Livecode can do on mobile devices?

Activity tracking - some kind of awerenesses that the user interacted with
their phone during focus time. Did they turn the screen on, did they spend
time out if the lilspace app, did they send/receive messages. The idea is
to trigger a "not really focusing" flag. Stuff like music and photos would
be fine, 10 minutes on Facebook wouldn't.

Auto-reply - prewritten messages that go out when you're focusing to
explain what you're doing and when you'll be done. Like "I'm at yoga. I'll
check my phone at 5".


On May 4, 2017 06:37, "pink via use-livecode" 
wrote:

Access to phone functions is limited. On the iPhone is it extremely limited.

Can you be more specific about what you mean by "activity tracking" and
"auto-reply"?

Screen dimming and silent mode definitely cannot be triggered by an iPhone
app, I am not sure about Android but I doubt it can be done in LiveCode
without some sort of external being built. Your best bet would be to have
reminders setup to say "please switch on silent mode"

What else do you want such an app to do?



-
---
Greg (pink) Miller
mad, pink and dangerous to code
--
View this message in context: http://runtime-revolution.
278305.n4.nabble.com/develop-a-hybrid-app-tp4714468p4714472.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


put x into URL... error on Windows network drive

2017-05-04 Thread Paul Dupuis via use-livecode
This is a long shot, but has anyone ever experienced any problems with:

put  into URL ("file:")

On network drives under Windows, specifically where the users entire
"home' drive is a network drive (using Active Directory).

An error occurs ("the result" is coming back non-empty), but I don;t
have the specific error - this occurs at a customer site and this
particular part of the code does not display the Operating System error
in "the result" to the customer

It does not occur every time, but frequently.

This is a standalone built under a pre-LC7 version of Livecode (so
pre-Unicode) so could it be a unicode character in the filespec?



___
use-livecode mailing list
use-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 quit unexpectedly errors.

2017-05-04 Thread J. Landman Gay via use-livecode
I've had the same problem with 9.0dp6, unexpected crashes, sometimes a 
whole string of them, also not reliably or reproducably or predictably.


It may be just coincidence, but when I told the firewall to deny LC it 
seemed to get a little better. (I'm still getting asked about remote access 
on every launch.) After extended use something starts failing, always 
different each time, and if I continue anyway it will eventually crash. 
Sometimes menu keyboard shortcuts stop working, yesterday the message box 
refused to respond. Last week just clicking the Messages icon in the 
toolbar crashed LC five times in a row, today it works fine.


If I could reproduce it reliably I'd report it. I've learned that when a 
normal action fails I need to save everything and restart.


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



On May 4, 2017 8:38:40 AM Alex Tweedly via use-livecode 
 wrote:



On 04/05/2017 01:27, Jonathan Lynch via use-livecode wrote:

Is it a new installation?


No, it's 9.0.0DP6 which I've had installed and in use for a while.

It's a new-ish stack that I'm having trouble with - but sadly not
reliably or reproducably or even vaguely predictably.

I'll send in a crash log as Monte asked - now that I've google'd it and
know where to find them :-)
Bug 19653

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




___
use-livecode mailing list
use-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: develop a hybrid app

2017-05-04 Thread pink via use-livecode
Access to phone functions is limited. On the iPhone is it extremely limited.

Can you be more specific about what you mean by "activity tracking" and
"auto-reply"?

Screen dimming and silent mode definitely cannot be triggered by an iPhone
app, I am not sure about Android but I doubt it can be done in LiveCode
without some sort of external being built. Your best bet would be to have
reminders setup to say "please switch on silent mode"

What else do you want such an app to do?



-
---
Greg (pink) Miller
mad, pink and dangerous to code
--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/develop-a-hybrid-app-tp4714468p4714472.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


Re: LIvecode quit unexpectedly errors.

2017-05-04 Thread Alex Tweedly via use-livecode

On 04/05/2017 01:27, Jonathan Lynch via use-livecode wrote:

Is it a new installation?


No, it's 9.0.0DP6 which I've had installed and in use for a while.

It's a new-ish stack that I'm having trouble with - but sadly not 
reliably or reproducably or even vaguely predictably.


I'll send in a crash log as Monte asked - now that I've google'd it and 
know where to find them :-)

Bug 19653

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


[ANN] tinyDictionary 0_8_1_0

2017-05-04 Thread BNig via use-livecode
TinyDictionary is a small footprint dictionary for Livecode from version 8.1
and up.

New features are user added notes and import of notes. Some code
optimization and cleanup.
Should work on Mac, Windows and Linux.
See Help from Preferences Menu.

Probably best when used as plug-in. (put tinyDictionary stack into your
plugin folder and restart Livecode. Then select it from Development menu ->
Plugins)

http://livecodeshare.runrev.com/stack/825/TinyDictionary

Kind regards
Bernd



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/ANN-tinyDictionary-0-8-1-0-tp4714470.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


Native input and font seize

2017-05-04 Thread Ludovic via use-livecode
Hello,

I use this script to calculate the font size of an native input :
If the systempixelscale >= 1 and the systempixelscale < 1.5
Put 30 into v-fontsize 
Else put 15 into v-fontsize 

Work with some device but on other the visible font size is huge and text is 
very big.

How you handle this ?
Thanks

Ludovic

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