Re: LiveCode Server
GOOD NEWS - Got it to work. Someone should take note an issue with Apache 2 and LiveCode server SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1 For Linux in /etc/apache2/apache2.conf For Mac (using Homebrew) in /usr/local/etc/httpd/httpd.conf Adding this to .htaccess didn't work for some reason - only Apache config worked: RewriteEngine On RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule .* - [e=HTTP_AUTHORIZATION:%1] --Todd & Lagi ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
iOS 13.1.3 - Catelina
We are in software no-man's land… the last three days, mired in technical mud 1. Play beachball with Adobe InDesign (app hangs on every 10 key strokes, and you move to a new tool) Spent 2 hour screen sharing with a very savvy lad in New Delhi. No Go 2. iPhone pestering for an upgrade. I finally gave in. iOS 13.1.3 and now my iTunes and Audio library on the phone are missing! 3. Now about to release our app... just filing our iTunes submission forms, getting new screen shots... but now the mobileAudioPlayer controller has disappeared on the Listen Module... in iOS 13.1.3. Argh... other functions work, can play the audio, download it, when I place a translucent backdrop on the screen (we are using black for this module) when I download an audio... I see the player controller is there, but just like a black field, no play/pause forward or back control Look at 9.5 release notes. iOS 13+ plus is not supported, and only Mojave. Only two weeks out from the Jan 2020 deadline for Hinduism Today... we have team meeting tomorrow: I suspect we will have bit the bullet (we never upgrade this soon!) and to get Indesign working we have all have to move Catelina. Apple! "catch us if you can" A hard game to play... Brahmanathaswami ___ use-livecode mailing list use-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 there a command to display number of seconds as hrs:min:seconds?
(Ice cream cone hits forehead) -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Fri, Oct 18, 2019 at 2:24 PM JB via use-livecode < use-livecode@lists.runrev.com> wrote: > Here is a terminal example; > > on mouseUp > put shell( "date" ) into tData > answer question tData > end mouseUp > > JB > > > On Oct 18, 2019, at 11:12 AM, Tom Glod via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > Let me throw my hat into the ring here...lolI wrote this function to > > display time in a specific format > > > > function TimeDisplay HowManySeconds > > local final_output = " days ::" > > > > local running_second_count > > local next_calculation > > > > set itemdelimiter to "." -- we are looking at boths sides of the > > decimal place > > > > // 86,400 seconds in an day > > // 3600 in an hour > > // 60 seonds in a minute > > // replace counts as you go > > > > -- days > > > > put HowManySeconds / 86400 into next_calculation > > > > if next_calculation < 1 then > > put HowManySeconds into running_second_count > > replace "" with "0" in final_output > > else > > // how many days? > > replace "" with item 1 of next_calculation in final_output > > put (HowManySeconds) - (item 1 of next_calculation * 86400) into > > running_second_count > > end if > > > > -- hours > > > > put running_second_count / 3600 into next_calculation > > > > if next_calculation < 1 then > > replace "" with "00" in final_output > > else > > // how many hours? > > if the number of characters in item 1 of next_calculation = 1 then > > replace "" with "0" & item 1 of next_calculation in > > final_output > > else > > replace "" with item 1 of next_calculation in final_output > > end if > > > > put (running_second_count) - (item 1 of next_calculation * 3600) > into > > running_second_count > > end if > > > > > > -- minutes > > > > put running_second_count / 60 into next_calculation > > > > if next_calculation < 1 then > > replace "" with "00" in final_output > > else > > // how many minutes? > > if the number of characters in item 1 of next_calculation = 1 then > > replace "" with "0" & item 1 of next_calculation in > > final_output > > else > > replace "" with item 1 of next_calculation in final_output > > end if > > > > put (running_second_count) - (item 1 of next_calculation * 60) into > > running_second_count > > > > end if > > > > -- seconds > > > > put running_second_count into next_calculation > > > > if next_calculation < 1 then > > replace "" with "00" in final_output > > else > > // how many minutes? > > if the number of characters in item 1 of next_calculation = 1 then > > replace "" with "0" & next_calculation in final_output > > else > > replace "" with next_calculation in final_output > > end if > > end if > > > > return final_output > > end TimeDisplay > > > > On Fri, Oct 18, 2019 at 11:55 AM Dar Scott Consulting via use-livecode < > > use-livecode@lists.runrev.com> wrote: > > > >> I would +1 a deltaTime format, but we might not agree on hours over 24 > and > >> fractions of a second. > >> > >>> On Oct 17, 2019, at 10:25 PM, Bill Vlahos via use-livecode < > >> use-livecode@lists.runrev.com> wrote: > >>> > >>> All great suggestions. > >>> > >>> I mostly wanted to see if there already was such a function - which > >> there obviously isn’t. > >>> > >>> But it is great to see several easy ways to built your own. > >>> > >>> Thanks all. > >>> > >>> Bill Vlahos > >>> > >>> > On Oct 17, 2019, at 8:51 AM, Bob Sneidar via use-livecode < > >> use-livecode@lists.runrev.com> wrote: > > The problem with one-liners is that the genius is implicit, not > >> explicit. ;-) > > Bob S > > > > On Oct 17, 2019, at 08:44 , J. Landman Gay via use-livecode < > >> use-livecode@lists.runrev.com> wrote: > > > > Show-off. :-) > > -- > > Jacqueline Landman Gay | jac...@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 > >>
Re: Is there a command to display number of seconds as hrs:min:seconds?
Here is a terminal example; on mouseUp put shell( "date" ) into tData answer question tData end mouseUp JB > On Oct 18, 2019, at 11:12 AM, Tom Glod via use-livecode > wrote: > > Let me throw my hat into the ring here...lolI wrote this function to > display time in a specific format > > function TimeDisplay HowManySeconds > local final_output = " days ::" > > local running_second_count > local next_calculation > > set itemdelimiter to "." -- we are looking at boths sides of the > decimal place > > // 86,400 seconds in an day > // 3600 in an hour > // 60 seonds in a minute > // replace counts as you go > > -- days > > put HowManySeconds / 86400 into next_calculation > > if next_calculation < 1 then > put HowManySeconds into running_second_count > replace "" with "0" in final_output > else > // how many days? > replace "" with item 1 of next_calculation in final_output > put (HowManySeconds) - (item 1 of next_calculation * 86400) into > running_second_count > end if > > -- hours > > put running_second_count / 3600 into next_calculation > > if next_calculation < 1 then > replace "" with "00" in final_output > else > // how many hours? > if the number of characters in item 1 of next_calculation = 1 then > replace "" with "0" & item 1 of next_calculation in > final_output > else > replace "" with item 1 of next_calculation in final_output > end if > > put (running_second_count) - (item 1 of next_calculation * 3600) into > running_second_count > end if > > > -- minutes > > put running_second_count / 60 into next_calculation > > if next_calculation < 1 then > replace "" with "00" in final_output > else > // how many minutes? > if the number of characters in item 1 of next_calculation = 1 then > replace "" with "0" & item 1 of next_calculation in > final_output > else > replace "" with item 1 of next_calculation in final_output > end if > > put (running_second_count) - (item 1 of next_calculation * 60) into > running_second_count > > end if > > -- seconds > > put running_second_count into next_calculation > > if next_calculation < 1 then > replace "" with "00" in final_output > else > // how many minutes? > if the number of characters in item 1 of next_calculation = 1 then > replace "" with "0" & next_calculation in final_output > else > replace "" with next_calculation in final_output > end if > end if > > return final_output > end TimeDisplay > > On Fri, Oct 18, 2019 at 11:55 AM Dar Scott Consulting via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> I would +1 a deltaTime format, but we might not agree on hours over 24 and >> fractions of a second. >> >>> On Oct 17, 2019, at 10:25 PM, Bill Vlahos via use-livecode < >> use-livecode@lists.runrev.com> wrote: >>> >>> All great suggestions. >>> >>> I mostly wanted to see if there already was such a function - which >> there obviously isn’t. >>> >>> But it is great to see several easy ways to built your own. >>> >>> Thanks all. >>> >>> Bill Vlahos >>> >>> On Oct 17, 2019, at 8:51 AM, Bob Sneidar via use-livecode < >> use-livecode@lists.runrev.com> wrote: The problem with one-liners is that the genius is implicit, not >> explicit. ;-) Bob S > On Oct 17, 2019, at 08:44 , J. Landman Gay via use-livecode < >> use-livecode@lists.runrev.com> wrote: > > Show-off. :-) > -- > Jacqueline Landman Gay | jac...@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 >> > > > -- > Tom Glod > Founder & Developer > MakeShyft R.D.A (www.makeshyft.com) > Office:226-706-9339 > Mobile:226-706-9793 > ___ > use-livecode mailing list > use-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 P
Re: Is there a command to display number of seconds as hrs:min:seconds?
Let me throw my hat into the ring here...lolI wrote this function to display time in a specific format function TimeDisplay HowManySeconds local final_output = " days ::" local running_second_count local next_calculation set itemdelimiter to "." -- we are looking at boths sides of the decimal place // 86,400 seconds in an day // 3600 in an hour // 60 seonds in a minute // replace counts as you go -- days put HowManySeconds / 86400 into next_calculation if next_calculation < 1 then put HowManySeconds into running_second_count replace "" with "0" in final_output else // how many days? replace "" with item 1 of next_calculation in final_output put (HowManySeconds) - (item 1 of next_calculation * 86400) into running_second_count end if -- hours put running_second_count / 3600 into next_calculation if next_calculation < 1 then replace "" with "00" in final_output else // how many hours? if the number of characters in item 1 of next_calculation = 1 then replace "" with "0" & item 1 of next_calculation in final_output else replace "" with item 1 of next_calculation in final_output end if put (running_second_count) - (item 1 of next_calculation * 3600) into running_second_count end if -- minutes put running_second_count / 60 into next_calculation if next_calculation < 1 then replace "" with "00" in final_output else // how many minutes? if the number of characters in item 1 of next_calculation = 1 then replace "" with "0" & item 1 of next_calculation in final_output else replace "" with item 1 of next_calculation in final_output end if put (running_second_count) - (item 1 of next_calculation * 60) into running_second_count end if -- seconds put running_second_count into next_calculation if next_calculation < 1 then replace "" with "00" in final_output else // how many minutes? if the number of characters in item 1 of next_calculation = 1 then replace "" with "0" & next_calculation in final_output else replace "" with next_calculation in final_output end if end if return final_output end TimeDisplay On Fri, Oct 18, 2019 at 11:55 AM Dar Scott Consulting via use-livecode < use-livecode@lists.runrev.com> wrote: > I would +1 a deltaTime format, but we might not agree on hours over 24 and > fractions of a second. > > > On Oct 17, 2019, at 10:25 PM, Bill Vlahos via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > All great suggestions. > > > > I mostly wanted to see if there already was such a function - which > there obviously isn’t. > > > > But it is great to see several easy ways to built your own. > > > > Thanks all. > > > > Bill Vlahos > > > > > >> On Oct 17, 2019, at 8:51 AM, Bob Sneidar via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> > >> The problem with one-liners is that the genius is implicit, not > explicit. ;-) > >> > >> Bob S > >> > >> > >>> On Oct 17, 2019, at 08:44 , J. Landman Gay via use-livecode < > use-livecode@lists.runrev.com> wrote: > >>> > >>> Show-off. :-) > >>> -- > >>> Jacqueline Landman Gay | jac...@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 > -- Tom Glod Founder & Developer MakeShyft R.D.A (www.makeshyft.com) Office:226-706-9339 Mobile:226-706-9793 ___ use-livecode mailing list use-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 there a command to display number of seconds as hrs:min:seconds?
I would +1 a deltaTime format, but we might not agree on hours over 24 and fractions of a second. > On Oct 17, 2019, at 10:25 PM, Bill Vlahos via use-livecode > wrote: > > All great suggestions. > > I mostly wanted to see if there already was such a function - which there > obviously isn’t. > > But it is great to see several easy ways to built your own. > > Thanks all. > > Bill Vlahos > > >> On Oct 17, 2019, at 8:51 AM, Bob Sneidar via use-livecode >> wrote: >> >> The problem with one-liners is that the genius is implicit, not explicit. ;-) >> >> Bob S >> >> >>> On Oct 17, 2019, at 08:44 , J. Landman Gay via use-livecode >>> wrote: >>> >>> Show-off. :-) >>> -- >>> Jacqueline Landman Gay | jac...@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