Re: Accessible count-down app?

2020-09-07 Thread 'Donna Goodin' via MacVisionaries
Hi Janina,

Thanks for this, but I was hoping for something that would be housed on my 
iPhone.
Cheers,
Donna


Sent from my iPad

> On Sep 7, 2020, at 3:56 AM, 'Janina Sajka' via MacVisionaries 
>  wrote:
> 
> There's probably a graphical application for calendrical calculations,
> but I do mine using a bash script I'm attaching. Hope attachments are
> allowed. If not, and anyone's interested in the "days-between" script,
> let me know, and I'll come up with another way to share it.
> 
> With this script in hand one can write oneself simple shell scripts to
> do stuff like the following:
> 
> 
> #!/bin/bash
> echo "We pray there are no more than $(/usr/local/bin/days-between `date 
> +%m/%d/%Y ` 01/20/2021) days of Trump before us,"
> echo "noting there are but $(/usr/local/bin/days-between `date +%m/%d/%Y ` 
> 11/03/2020) days to the election."
> 
> 
> Note: above code is three lines.
> 
> Best,
> 
> Janina
> 
> 'Donna Goodin' via MacVisionaries writes:
>> Hi all,
>> 
>> I’m looking for an app that will count down the days to an event. There are 
>> lots of them in the app store. Does anyone know of one that is accessible?
>> TIA,
>> Donna
>> 
>> 
>> Sent from my iPad
>> 
>> -- 
>> The following information is important for all members of the Mac 
>> Visionaries list.
>> 
>> If you have any questions or concerns about the running of this list, or if 
>> you feel that a member's post is inappropriate, please contact the owners or 
>> moderators directly rather than posting on the list itself.
>> 
>> Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
>> mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at 
>> caraqu...@caraquinn.com
>> 
>> The archives for this list can be searched at:
>> http://www.mail-archive.com/macvisionaries@googlegroups.com/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "MacVisionaries" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to macvisionaries+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/macvisionaries/D3D76086-AABB-40B5-8A8D-CE11D010277A%40me.com.
> 
> -- 
> 
> Janina Sajka
> https://linkedin.com/in/jsajka
> 
> Linux Foundation Fellow
> Executive Chair, Accessibility Workgroup:http://a11y.org
> 
> The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
> Co-Chair, Accessible Platform Architectureshttp://www.w3.org/wai/apa
> 
> -- 
> The following information is important for all members of the Mac Visionaries 
> list.
> 
> If you have any questions or concerns about the running of this list, or if 
> you feel that a member's post is inappropriate, please contact the owners or 
> moderators directly rather than posting on the list itself.
> 
> Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
> mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at 
> caraqu...@caraquinn.com
> 
> The archives for this list can be searched at:
> http://www.mail-archive.com/macvisionaries@googlegroups.com/
> --- 
> You received this message because you are subscribed to the Google Groups 
> "MacVisionaries" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to macvisionaries+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/macvisionaries/20200907085622.GR2181%40rednote.net.
> 

-- 
The following information is important for all members of the Mac Visionaries 
list.

If you have any questions or concerns about the running of this list, or if you 
feel that a member's post is inappropriate, please contact the owners or 
moderators directly rather than posting on the list itself.

Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at 
caraqu...@caraquinn.com

The archives for this list can be searched at:
http://www.mail-archive.com/macvisionaries@googlegroups.com/
--- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to macvisionaries+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/macvisionaries/4414A8B6-CD4D-4942-8DF8-165137A2F277%40me.com.


Re: Accessible count-down app?

2020-09-07 Thread 'Janina Sajka' via MacVisionaries
There's probably a graphical application for calendrical calculations,
but I do mine using a bash script I'm attaching. Hope attachments are
allowed. If not, and anyone's interested in the "days-between" script,
let me know, and I'll come up with another way to share it.

With this script in hand one can write oneself simple shell scripts to
do stuff like the following:


#!/bin/bash
echo "We pray there are no more than $(/usr/local/bin/days-between `date 
+%m/%d/%Y ` 01/20/2021) days of Trump before us,"
echo "noting there are but $(/usr/local/bin/days-between `date +%m/%d/%Y ` 
11/03/2020) days to the election."


Note: above code is three lines.

Best,

Janina

'Donna Goodin' via MacVisionaries writes:
> Hi all,
> 
> I’m looking for an app that will count down the days to an event. There are 
> lots of them in the app store. Does anyone know of one that is accessible?
> TIA,
> Donna
> 
> 
> Sent from my iPad
> 
> -- 
> The following information is important for all members of the Mac Visionaries 
> list.
> 
> If you have any questions or concerns about the running of this list, or if 
> you feel that a member's post is inappropriate, please contact the owners or 
> moderators directly rather than posting on the list itself.
> 
> Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
> mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at 
> caraqu...@caraquinn.com
> 
> The archives for this list can be searched at:
> http://www.mail-archive.com/macvisionaries@googlegroups.com/
> --- 
> You received this message because you are subscribed to the Google Groups 
> "MacVisionaries" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to macvisionaries+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/macvisionaries/D3D76086-AABB-40B5-8A8D-CE11D010277A%40me.com.

-- 

Janina Sajka
https://linkedin.com/in/jsajka

Linux Foundation Fellow
Executive Chair, Accessibility Workgroup:   http://a11y.org

The World Wide Web Consortium (W3C), Web Accessibility Initiative (WAI)
Co-Chair, Accessible Platform Architectures http://www.w3.org/wai/apa

-- 
The following information is important for all members of the Mac Visionaries 
list.

If you have any questions or concerns about the running of this list, or if you 
feel that a member's post is inappropriate, please contact the owners or 
moderators directly rather than posting on the list itself.

Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at 
caraqu...@caraquinn.com

The archives for this list can be searched at:
http://www.mail-archive.com/macvisionaries@googlegroups.com/
--- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to macvisionaries+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/macvisionaries/20200907085622.GR2181%40rednote.net.
#!/bin/bash
# days-between.sh:Number of days between two dates.
# Usage: ./days-between.sh [M]M/[D]D/ [M]M/[D]D/
#
# Note: Script modified to account for changes in Bash 2.05b
#+  that closed the loophole permitting large negative
#+  integer return values.

ARGS=2# Two command line parameters expected.
E_PARAM_ERR=65# Param error.

REFYR=1600# Reference year.
CENTURY=100
DIY=365
ADJ_DIY=367   # Adjusted for leap year + fraction.
MIY=12
DIM=31
LEAPCYCLE=4

MAXRETVAL=255 #  Largest permissable
  #+ positive return value from a function.

diff= # Declare global variable for date difference.
value=# Declare global variable for absolute value.
day=  # Declare globals for day, month, year.
month=
year=


Param_Error ()# Command line parameters wrong.
{
  echo "Usage: `basename $0` [M]M/[D]D/ [M]M/[D]D/"
  echo "   (date must be after 1/3/1600)"
  exit $E_PARAM_ERR
}  


Parse_Date () # Parse date from command line params.
{
  month=${1%%/**}
  dm=${1%/**} # Day and month.
  day=${dm#*/}
  let "year = `basename $1`"  # Not a filename, but works just the same.
}  


check_date () # Checks for invalid date(s) passed.
{
  [ "$day" -gt "$DIM" ] || [ "$month" -gt "$MIY" ] || [ "$year" -lt "$REFYR" ] 
&& Param_Error
  # Exit script on bad value(s).
  # Uses "or-list / and-list".
  #
  # Exercise: Implement more rigorous date checking.
}


strip_leading_zero () #  Better to strip possible leading zero(s)
{ #+ from day and/or month
  return ${1#0}   #+ since otherwise Bash will interpret them
} #+ as octal values (POSIX.2, sect 2.9.2.1).


day_index ()  # Gauss' 

Re: Accessible count-down app?

2020-09-06 Thread 'Donna Goodin' via MacVisionaries
I’ve already been doing it manually on my Vario ultra, I just thought it would 
be cool to have an app on my phone that would do it. There are lots of them out 
there, I just don’t want to buy one not knowing whether it’s accessible.
Cheers,
Donna

Sent from my iPhone

> On Sep 6, 2020, at 3:38 PM, michael dailey  wrote:
> 
> You could do it in a spreadsheet like Pages.
> 
> In A1 enter the fixed date.  In B1 enter =TODAY().  In c1 enter a1-b1.
> 
> You will probable have to format the cesll to look right but it seems to work.
> 
> 
> Mike Dailey
> mpd...@gmail.com
> 
> 
> 
> 
> 
>> On Sep 6, 2020, at 10:13 AM, 'Donna Goodin' via MacVisionaries 
>>  wrote:
>> 
>> Hi all,
>> 
>> I’m looking for an app that will count down the days to an event. There are 
>> lots of them in the app store. Does anyone know of one that is accessible?
>> TIA,
>> Donna
>> 
>> 
>> Sent from my iPad
>> 
>> -- 
>> The following information is important for all members of the Mac 
>> Visionaries list.
>> 
>> If you have any questions or concerns about the running of this list, or if 
>> you feel that a member's post is inappropriate, please contact the owners or 
>> moderators directly rather than posting on the list itself.
>> 
>> Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
>> mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at 
>> caraqu...@caraquinn.com
>> 
>> The archives for this list can be searched at:
>> http://www.mail-archive.com/macvisionaries@googlegroups.com/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "MacVisionaries" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to macvisionaries+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/macvisionaries/D3D76086-AABB-40B5-8A8D-CE11D010277A%40me.com.
> 
> -- 
> The following information is important for all members of the Mac Visionaries 
> list.
>  
> If you have any questions or concerns about the running of this list, or if 
> you feel that a member's post is inappropriate, please contact the owners or 
> moderators directly rather than posting on the list itself.
>  
> Your Mac Visionaries list moderator is Mark Taylor. You can reach mark at: 
> mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at 
> caraqu...@caraquinn.com
>  
> The archives for this list can be searched at:
> http://www.mail-archive.com/macvisionaries@googlegroups.com/
> --- 
> You received this message because you are subscribed to the Google Groups 
> "MacVisionaries" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to macvisionaries+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/macvisionaries/87089EF2-8417-4118-9222-7D3ECDB972AE%40gmail.com.

-- 
The following information is important for all members of the Mac Visionaries 
list.

If you have any questions or concerns about the running of this list, or if you 
feel that a member's post is inappropriate, please contact the owners or 
moderators directly rather than posting on the list itself.

Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at 
caraqu...@caraquinn.com

The archives for this list can be searched at:
http://www.mail-archive.com/macvisionaries@googlegroups.com/
--- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to macvisionaries+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/macvisionaries/1A3FCC74-34C3-45F8-8B4F-60223261EDE1%40me.com.


Re: Accessible count-down app?

2020-09-06 Thread michael dailey
You could do it in a spreadsheet like Pages.

In A1 enter the fixed date.  In B1 enter =TODAY().  In c1 enter a1-b1.

You will probable have to format the cesll to look right but it seems to work.


Mike Dailey
mpd...@gmail.com





> On Sep 6, 2020, at 10:13 AM, 'Donna Goodin' via MacVisionaries 
>  wrote:
> 
> Hi all,
> 
> I’m looking for an app that will count down the days to an event. There are 
> lots of them in the app store. Does anyone know of one that is accessible?
> TIA,
> Donna
> 
> 
> Sent from my iPad
> 
> -- 
> The following information is important for all members of the Mac Visionaries 
> list.
> 
> If you have any questions or concerns about the running of this list, or if 
> you feel that a member's post is inappropriate, please contact the owners or 
> moderators directly rather than posting on the list itself.
> 
> Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
> mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at 
> caraqu...@caraquinn.com
> 
> The archives for this list can be searched at:
> http://www.mail-archive.com/macvisionaries@googlegroups.com/
> --- 
> You received this message because you are subscribed to the Google Groups 
> "MacVisionaries" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to macvisionaries+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/macvisionaries/D3D76086-AABB-40B5-8A8D-CE11D010277A%40me.com.

-- 
The following information is important for all members of the Mac Visionaries 
list.

If you have any questions or concerns about the running of this list, or if you 
feel that a member's post is inappropriate, please contact the owners or 
moderators directly rather than posting on the list itself.

Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at 
caraqu...@caraquinn.com

The archives for this list can be searched at:
http://www.mail-archive.com/macvisionaries@googlegroups.com/
--- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to macvisionaries+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/macvisionaries/87089EF2-8417-4118-9222-7D3ECDB972AE%40gmail.com.


Accessible count-down app?

2020-09-06 Thread 'Donna Goodin' via MacVisionaries
Hi all,

I’m looking for an app that will count down the days to an event. There are 
lots of them in the app store. Does anyone know of one that is accessible?
TIA,
Donna


Sent from my iPad

-- 
The following information is important for all members of the Mac Visionaries 
list.

If you have any questions or concerns about the running of this list, or if you 
feel that a member's post is inappropriate, please contact the owners or 
moderators directly rather than posting on the list itself.

Your Mac Visionaries list moderator is Mark Taylor.  You can reach mark at:  
mk...@ucla.edu and your owner is Cara Quinn - you can reach Cara at 
caraqu...@caraquinn.com

The archives for this list can be searched at:
http://www.mail-archive.com/macvisionaries@googlegroups.com/
--- 
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to macvisionaries+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/macvisionaries/D3D76086-AABB-40B5-8A8D-CE11D010277A%40me.com.