Re: macOS Ventura (13.x.x)...

2022-07-11 Thread Bob Sneidar via use-livecode
Like how did our stomaches evolve without a circulatory system, and without a 
circulatory system, how did we develop stomaches? 

Bob S


> On Jul 10, 2022, at 23:53 , Richmond Mathewson via use-livecode 
>  wrote:
> 
> Running RevMedia 4 on Xubuntu 22.04 serves as a reminder of some of the
> niggles relating to the elevator theory of human evolution.


___
use-livecode mailing list
use-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 is the best way to trigger an action at a certain time?

2022-07-11 Thread Bob Sneidar via use-livecode
Slight improvement: 

local lInterval
constant cInterval = 300

on openStack
   put cInterval into lInterval
   checkTime
end openStack

on checkTime
   -- your code
   send checkTime to me in lInterval  seconds
end checkTime

setProp interval, pInterval
   if pInterval is empty then
  ask "Enter a time interval in seconds:" as sheet
  if the result is not "Cancel" and it is an integer and it >0 then \
 put it into lInterval
   else
  put pInterval into lInterval
   end if
end interval

Bob S


> On Jul 11, 2022, at 04:43 , Tore Nilsen via use-livecode 
>  wrote:
> 
> For this I would use a recursive approach with «send in time» something like 
> this:
> 
> on openStack  
>checkTime
> end openStack
> 
> on checkTime
>  ## Do your routines of checking time, performing the required action etc.
>  send checkTime to me in 300 seconds. ## you set the interval to whatever is 
> best for you
> end checkTime
> 
> Best regards
> Tore Nilsen
> 
>> 11. jul. 2022 kl. 13:35 skrev Tim Selander via use-livecode 
>> :
>> 
>> Dear all,
>> 
>> I want to have an LC app running on a computer doing nothing but watching 
>> the time. At predetermined times, I then want it to run a command. A call to 
>> an API on a website.
>> 
>> In the old HC days, I remember using "on idle" to watch for a set time. But 
>> even then, using "on idle" was less than ideal. CPU hog. What is the 
>> preferred/LC way to have an app trigger a command at a specific time of day?
>> 
>> Any pointers appreciated!
>> 
>> Tim Selander
>> Tokyo, Japan
>> 
>> ___
>> use-livecode mailing list
>> use-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: Tree Widget: hilitedValue?

2022-07-11 Thread Mark Waddingham via use-livecode

On 2022-07-10 21:33, Richard Gaskin via use-livecode wrote:

Brian Milby wrote:


You could also turn the path into an array (but lose the error
checking above):

function getValue pArray, pPath
  split pPath by comma
  return pArray[pPath]
end getValue


Thanks, Brian. I keep forgetting we can use an array as an element 
specifier.


Has that been around the whole time, or was it added in recent years?


I added it before 6.0 - probably in 4.5 or 5.

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


Re: What is the best way to trigger an action at a certain time?

2022-07-11 Thread Mike Kerner via use-livecode
I've got a library for adding CRON functionality, if you want something
more elaborate.
https://github.com/macMikey/mikeys-cron-library

On Mon, Jul 11, 2022 at 7:48 AM Tim Selander via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Tore,
>
> Interesting! 'send in time' is a new one for me.
> Thanks!
>
> Tim
>
> On 2022.07.11 20:43, Tore Nilsen via use-livecode wrote:
> > For this I would use a recursive approach with «send in time» something
> like this:
> >
> > on openStack
> >  checkTime
> > end openStack
> >
> > on checkTime
> >## Do your routines of checking time, performing the required action
> etc.
> >send checkTime to me in 300 seconds. ## you set the interval to
> whatever is best for you
> > end checkTime
> >
> > Best regards
> > Tore Nilsen
> >
> >> 11. jul. 2022 kl. 13:35 skrev Tim Selander via use-livecode <
> use-livecode@lists.runrev.com>:
> >>
> >> Dear all,
> >>
> >> I want to have an LC app running on a computer doing nothing but
> watching the time. At predetermined times, I then want it to run a command.
> A call to an API on a website.
> >>
> >> In the old HC days, I remember using "on idle" to watch for a set time.
> But even then, using "on idle" was less than ideal. CPU hog. What is the
> preferred/LC way to have an app trigger a command at a specific time of day?
> >>
> >> Any pointers appreciated!
> >>
> >> Tim Selander
> >> Tokyo, Japan
> >>
> >> ___
> >> use-livecode mailing list
> >> use-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
>


-- 
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: macOS Ventura (13.x.x)...

2022-07-11 Thread Colin Holgate via use-livecode
In general, Ventura is going well.

> On Jul 11, 2022, at 12:53 AM, Richmond Mathewson via use-livecode 
>  wrote:
> 
> Well there go my plans for early adoption.
> 
> I do feel that the 'new OS a year' model means that ALL the versions are
> unfinished.
> 
> I could say the same about LiveCode versions.
> 
> Running RevMedia 4 on Xubuntu 22.04 serves as a reminder of some of the
> niggles relating to the elevator theory of human evolution.
> 
> On Mon, 11 Jul 2022, 08:46 Paul McClernan via use-livecode, <
> use-livecode@lists.runrev.com> wrote:
> 
>> The OSS "community" already had TONs of work to do.
>> 
>> Apparently a lot of other software is crashing with macOS Ventura as well.
>> I wonder why? Time to install Ventura and find out I guess.
>> 
>> Every year this former mac fan-boy inches closer to becoming a Linux
>> regular.
>> 
>> 
>> On Sun, Jul 10, 2022 at 4:50 PM J. Landman Gay via use-livecode
>>  wrote:
>>> 
>>> On 7/10/22 12:26 PM, Colin Holgate via use-livecode wrote:
 With 9.6.3 Community version, showing the message box, or the script
>> window of a button, crashes LiveCode right away.
>>> 
>>> Sounds like the OSS community has some work to do, if there is anyone
>> with the skills still there.
>>> 
>>> --
>>> 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
>> 
> ___
> use-livecode mailing list
> use-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 is the best way to trigger an action at a certain time?

2022-07-11 Thread Tim Selander via use-livecode

Tore,

Interesting! 'send in time' is a new one for me.
Thanks!

Tim

On 2022.07.11 20:43, Tore Nilsen via use-livecode wrote:

For this I would use a recursive approach with «send in time» something like 
this:

on openStack
 checkTime
end openStack

on checkTime
   ## Do your routines of checking time, performing the required action etc.
   send checkTime to me in 300 seconds. ## you set the interval to whatever is 
best for you
end checkTime

Best regards
Tore Nilsen


11. jul. 2022 kl. 13:35 skrev Tim Selander via use-livecode 
:

Dear all,

I want to have an LC app running on a computer doing nothing but watching the 
time. At predetermined times, I then want it to run a command. A call to an API 
on a website.

In the old HC days, I remember using "on idle" to watch for a set time. But even then, 
using "on idle" was less than ideal. CPU hog. What is the preferred/LC way to have an app 
trigger a command at a specific time of day?

Any pointers appreciated!

Tim Selander
Tokyo, Japan

___
use-livecode mailing list
use-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: What is the best way to trigger an action at a certain time?

2022-07-11 Thread Tore Nilsen via use-livecode
For this I would use a recursive approach with «send in time» something like 
this:

on openStack
checkTime
end openStack

on checkTime
  ## Do your routines of checking time, performing the required action etc.
  send checkTime to me in 300 seconds. ## you set the interval to whatever is 
best for you
end checkTime

Best regards
Tore Nilsen

> 11. jul. 2022 kl. 13:35 skrev Tim Selander via use-livecode 
> :
> 
> Dear all,
> 
> I want to have an LC app running on a computer doing nothing but watching the 
> time. At predetermined times, I then want it to run a command. A call to an 
> API on a website.
> 
> In the old HC days, I remember using "on idle" to watch for a set time. But 
> even then, using "on idle" was less than ideal. CPU hog. What is the 
> preferred/LC way to have an app trigger a command at a specific time of day?
> 
> Any pointers appreciated!
> 
> Tim Selander
> Tokyo, Japan
> 
> ___
> use-livecode mailing list
> use-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


What is the best way to trigger an action at a certain time?

2022-07-11 Thread Tim Selander via use-livecode

Dear all,

I want to have an LC app running on a computer doing nothing but 
watching the time. At predetermined times, I then want it to run 
a command. A call to an API on a website.


In the old HC days, I remember using "on idle" to watch for a set 
time. But even then, using "on idle" was less than ideal. CPU 
hog. What is the preferred/LC way to have an app trigger a 
command at a specific time of day?


Any pointers appreciated!

Tim Selander
Tokyo, Japan

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

2022-07-11 Thread Heather Laine via use-livecode
Kaveh and Co,

We have actually simplified the licensing in the move to Single Edition, which 
is what is causing the confusion here. There is no such thing as Indy or 
Business anymore. It's all just LiveCode. You pick the platforms you want and 
off you go...

However the new Enhancements Bundle widgets post-date Indy/Business and hence 
do not recognise it. The solution being simply to run the latest version. 9.6.8 
or 10 dp 4 will be just fine.

Best Regards,

Heather

Heather Laine
Customer Services Manager
LiveCode Ltd
www.livecode.com



> On 9 Jul 2022, at 12:41, Kaveh via use-livecode 
>  wrote:
> 
> Why does LiveCode make the licenses so complicated? I try to understand
> from time to time so I can repurchase, then give up...
> 
> On Sat, 9 Jul 2022 at 08:41, Matthias Rebbe via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> Mark,
>> What I forgot.
>> 
>> I assume you have a current subscription, right?
>> So why do you not try a newer LC release; one of the new editions without
>> Indy and business in the name? Anything higher than 9.63 should do.
>> 
>> Regards
>> Matthias
>> 
>> Von meinem iPhone gesendet
>> 
>>> Am 08.07.2022 um 21:01 schrieb matthias_livecode_150...@m-r-d.de:
>>> 
>>> Mark,
>>> 
>>> that seems to be a problem with Indy and Business licenses. I can
>> reproduce it here with an Indy license. Seems, the Enh.Pack needs to be
>> modified a little bit.;)
>>> 
>>> As you are on digest mode and i do not know when you read this, I've
>> filed a bug already to speed it up a little bit.
>>> 
>>> https://quality.livecode.com/show_bug.cgi?id=23799
>>> 
>>> Maybe you want to add yourself to the CC list.
>>> 
>>> Regards,
>>> Matthias
>>> 
>>> 
 Am 08.07.2022 um 19:21 schrieb Mark Clark via use-livecode <
>> use-livecode@lists.runrev.com>:
 
 I went ahead and purchased the megabundle, mostly for the LC
>> Enhancement piece. Got that download and clicked the install widgets and
>> the widgets all show “unlicensed.” Hmm, what?
 
 Tried to re-license and for some reason I only see my business license
>> as an option (also have the old commercial license whatever that maps to
>> now). So, np figure it out later, selected business license and LC starts
>> but the enhancements still show unlicensed. Is there something manual I’m
>> missing?
 
 TIA,
 Mark (on digest mode)
 ___
 use-livecode mailing list
 use-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
>> 
> 
> 
> -- 
> Kaveh Bazargan PhD
> Director
> River Valley Technologies  ● Twitter
>  ● LinkedIn
>  ● ORCID
> 
> *Accelerating the Communication of Research*
> ___
> use-livecode mailing list
> use-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