How can I set a flag called ("~Evenings") to only that show that task after 18:00 in the evening.

163 views
Skip to first unread message

John . Smith

unread,
Feb 27, 2017, 8:58:36 AM2/27/17
to MyLifeOrganized
Hello

How can I create an Advanced filter to hide any tasks that have a flag is set (e.g. called "~Evenings"), except for if the time of day is 18:00 or greater?

i.e. To show tasks that have a flag called "~Evenings" only between 18:00 and 23:59.

Cheers

J

Andrei Bacean

unread,
Feb 27, 2017, 1:00:43 PM2/27/17
to MyLifeOrganized
Hi John

I'm afraid it is not possible out of the box.

You can achieve that with contexts.
You can set a hotkey to contexts to assign them quickly.
Also you can use autoformating to set an icon for those tasks.

As to flags. There is an workaround but you'll have to use autohotkey app.
You can create a script which will assign both the evening flag and the evening context at the same time. Then you'll create a view which will filter the tasks by contexts as per your needs.


Br
ab

Dwight

unread,
Feb 27, 2017, 6:05:56 PM2/27/17
to MyLifeOrganized
You can get close. You essentially want a filter that says
((flag is off) OR ((flag is on) AND (Now isGreaterThan Today+0.75)))

note that Today is the current date and time at Midnight, 0.75 = 18:00 because it's 18/24, and you dont have to test if the current time is later than today at 23:59 because it never is.
The problem is that the last phrase of this filter uses NOW before the operator isGreaterThan and you can only use field names there. You need a field name of CurrentDateTime and this would be feasible. I would be in favor of a request to implement CurrentDateTime, it would make a lot of stuff possible.

Meanwhile, back to reality, do what Andrei says.

John . Smith

unread,
Mar 1, 2017, 11:06:50 AM3/1/17
to MyLifeOrganized

OK I'm trying to go with the flow and use a Context instead.

If I go Tools ==> Manage Contexts ==> [select my context called "~EveningsOnly"] 

Now on the "Hours" I have painted the hours that I want (effectively after 6PM on Mon-Fri and All day Sat-Sun) and those times are now coloured, and the working week hours are dark grey.

So far so good. But it doesn't seem to stop my task from appearing during the day.

I tried ticking "Hide this context in the To-Do list filter"
and also ticking "Hide this context in the task properties context selector"

I even tried "inverse"-ing the hours, but nothing seems to stop my tasks which have an "~EveningsOnly" context from appearing. 

I tried making the workspace show "Active", show "Available"... but still nothing works.

What am I doing wrong?

J

Andrei Bacean

unread,
Mar 1, 2017, 1:43:59 PM3/1/17
to MyLifeOrganized
Hi John

As to:
[x] Hide this context in the To-Do list filter
and
[x] Hide this context in the task properties context selector
Both checkboxes will hide the context in the administrative menus.

First check box will hide the selected context in the Contexts Group which is placed on the View Edit pane.

The second checkbox will hide the selected context in the General group which is placed in the Task Properties Pane.

Let's return to Closed/Open contexts:
To force the view to filter by close/open hours do the following:
go to edit view pane.
expand the Contexts group
uncheck Include closed checkbox

br
ab


среда, 1 марта 2017 г., 18:06:50 UTC+2 пользователь John . Smith написал:

John . Smith

unread,
Mar 2, 2017, 6:19:27 AM3/2/17
to MyLifeOrganized
Hi Andrei

To be honest it took me a while to work out "pane" is which....

On closer inspection, it seems the second checkbox works on two places:
A) if you right-click on the Context column (in the middle of the page)
B) if you start typing into the right-hand column: Properties ==> General ==> Context
 
OK now I get it! I hadn't spotted the "Include closed" checkbox. 

I keep wishing that Flags had the same functionality... but yes, all of the above are at least slightly useful.

Many thanks

J

Andrei Bacean

unread,
Mar 2, 2017, 1:12:39 PM3/2/17
to MyLifeOrganized
Hi John
:)

Wish you a productive organizing.

Sorry for my english ;)


Br
ab

Andrei Bacean

unread,
Mar 2, 2017, 1:19:19 PM3/2/17
to MyLifeOrganized
Hi John

If you wish the flags to have open/closed hours you can open a feature request. Maybe other users will vote for it.
Also i think there may be a strong reason why the flags don't have it.
Sorry, can't think about the reasons now, too tired after a working day.

Br
ab

John . Smith

unread,
Mar 2, 2017, 5:04:13 PM3/2/17
to MyLifeOrganized
Hi Andrei

Yes, it would certainly be useful for me. Can you remind us how to make such requests?
(I seem to remember it being rather technically challenging to formally make the request, but I may be incorrect.)

J

Andrei Bacean

unread,
Mar 2, 2017, 5:38:49 PM3/2/17
to MyLifeOrganized
Hi John

I mean, you can create a new thread here on this forum. Write in the title that this is a feature request. And explain in details what you request.
Let the users debate.
After that, if there will be strong arguments for adding open/closed hours for flags, someone from the beta-testing-team will post a feature request to the developers.
Then the MLO developers will decide what to do with it.

Br
ab

пятница, 3 марта 2017 г., 0:04:13 UTC+2 пользователь John . Smith написал:

John . Smith

unread,
Mar 3, 2017, 1:02:35 PM3/3/17
to MyLifeOrganized
Done  :)

J

John . Smith

unread,
Jan 17, 2018, 11:15:58 AM1/17/18
to MyLifeOrganized
Hello

I am still trying to set up tasks that are only shown after 18:00 in the evening.

Did "CurrentDateTime"  ever get implemented?

I would like to have time-of-day can be built into my Advanced Filters so that I can grey out tasks which are set for "~EveningsOnly", but have them go black in the evenings.

Thanks

J

Michael Emerald, CFA

unread,
Jan 17, 2018, 1:09:31 PM1/17/18
to mylifeo...@googlegroups.com

Hi John.

 

My answer will either be reasonable to you, or else insufficient for you, but here’s how I’d implement it.  Apologies if you already know this.

 

I’d set up a context with hours, called @Evenings, with hours open from 18:00 on.

 

If I needed to see what was upcoming but not yet active, I’d play with a couple of things.  Maybe a separate view that has “show closed contexts” on, grouped by context so that I can glance at it to see what’s upcoming in the evening, all the while my primary view has don’t show closed contexts, hence showing only active tasks.

 

Not what you’re looking for, and certainly not relating to timed flags, granted.

 

 

 

From: mylifeo...@googlegroups.com [mailto:mylifeo...@googlegroups.com] On Behalf Of John . Smith
Sent: Wednesday, January 17, 2018 11:16
To: MyLifeOrganized
Subject: [MLO] Re: How can I set a flag called ("~Evenings") to only that show that task after 18:00 in the evening.

 

Hello


I am still trying to set up tasks that are only shown after 18:00 in the evening.

 

Did "CurrentDateTime"  ever get implemented?

I would like to have time-of-day can be built into my Advanced Filters so that I can grey out tasks which are set for "~EveningsOnly", but have them go black in the evenings.

 

Thanks

 

J

 

 

 



On Monday, February 27, 2017 at 11:05:56 PM UTC, Dwight wrote:

You can get close. You essentially want a filter that says
((flag is off) OR ((flag is on) AND (Now isGreaterThan Today+0.75)))

note that Today is the current date and time at Midnight, 0.75 = 18:00 because it's 18/24, and you dont have to test if the current time is later than today at 23:59 because it never is

The problem is that the last phrase of this filter uses NOW before the operator isGreaterThan and you can only use field names there. You need a field name of CurrentDateTime and this would be feasible. I would be in favor of a request to implement CurrentDateTime, it would make a lot of stuff possible.

Meanwhile, back to reality, do what Andrei says.


On Monday, February 27, 2017 at 8:58:36 AM UTC-5, John . Smith wrote:

Hello

 

How can I create an Advanced filter to hide any tasks that have a flag is set (e.g. called "~Evenings"), except for if the time of day is 18:00 or greater?

 

i.e. To show tasks that have a flag called "~Evenings" only between 18:00 and 23:59.

 

Cheers

 

J

--
You received this message because you are subscribed to the Google Groups "MyLifeOrganized" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mylifeorganiz...@googlegroups.com.
To post to this group, send email to mylifeo...@googlegroups.com.
Visit this group at https://groups.google.com/group/mylifeorganized.
To view this discussion on the web visit https://groups.google.com/d/msgid/mylifeorganized/2b3608e3-3255-4652-bcf0-7065ef8fc56b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

John . Smith

unread,
Jan 24, 2018, 9:49:01 AM1/24/18
to MyLifeOrganized
Hi Emerald

Sorry I still don't quite understand Context "opening hours".
Are we saying that the Context filter will only work in the evenings?

Is there any way to using "opening hours" within an Advanced Filter so as to only show those tasks which have my "@EveningsOnly" context when the time is after (say) 6PM?

e.g. How would I write an Advanced Filter to show tasks all my tasks that are "@Errands" during the evenings, but to only show those which do not have"@EveningsOnly" during the day?

J

Andrei Bacean

unread,
Jan 24, 2018, 11:52:34 AM1/24/18
to MyLifeOrganized
Hi John
Context open/closed hours can be set only on Windows version for the time being.

Press f8 to open the contexts list.
In the context properties you can see a graphic time table. Click the cells inside of that table to change the open/closed state.

BR
Andrew

John . Smith

unread,
Jan 24, 2018, 12:41:49 PM1/24/18
to MyLifeOrganized


Hi Andrew

Yes I successfully worked out how to set up the Open/Closed hours. My question was how to use it...
Cheers

J

Dwight

unread,
Jan 24, 2018, 1:05:57 PM1/24/18
to mylifeo...@googlegroups.com

What you are trying to do is simple and easy but the way that you are trying to do it is very complex. If a task has multiple contexts and any one of them is open the task is considered active. So if you have a context, errands, that's always open and a different context, eveningsOnly, that's open in the evening, and you put them both on a task, then that task will always be active, because there is at least one context (errands) that's open. If you really wanted to do that you would have to build an advanced filter that passed is the context Errands was present, and either (eveningsOnly was absent OR eveningsOnly was present when considering context open/closed status) - that's complex and awkward.

Try this instead:

Create two contexts: Errands and EveningErrands

Errands is a normal context, always open, no special settings.

EveningErrands is open from 6pm to midnight (or other schedule of your choice), and is otherwise normal.

ErrandsAll is always open, and on the Properties tab has a check in the box for "hide this context in the task properties context selection.

Create a view that filters for context Errands or EveningErrands  together with any other filters you want. This view will show you all tasks from Errands or EveningErrands when those contexts are open. For Errands that's always. For EveningErrands that's evening.

On January 24, 2018 09:49:56 "John . Smith" <shi...@gmail.com> wrote:

Hi Emerald

Sorry I still don't quite understand Context "opening hours".
Are we saying that the Context filter will only work in the evenings?

Is there any way to using "opening hours" within an Advanced Filter so as to only show those tasks which have my "@EveningsOnly" context when the time is after (say) 6PM?

e.g. How would I write an Advanced Filter to show tasks all my tasks that are "@Errands" during the evenings, but to only show those which do not have"@EveningsOnly" during the day?

J



On Wednesday, January 17, 2018 at 6:09:31 PM UTC, Michael Emerald wrote:

Hi John.

 

My answer will either be reasonable to you, or else insufficient for you, but here’s how I’d implement it.  Apologies if you already know this.

 

I’d set up a context with hours, called @Evenings, with hours open from 18:00 on.

 

If I needed to see what was upcoming but not yet active, I’d play with a couple of things..  Maybe a separate view that has “show closed contexts” on, grouped by context so that I can glance at it to see what’s upcoming in the evening, all the while my primary view has don’t show closed contexts, hence showing only active tasks.


For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "MyLifeOrganized" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mylifeorganiz...@googlegroups.com.
To post to this group, send email to mylifeo...@googlegroups.com.
Visit this group at https://groups.google.com/group/mylifeorganized.

John . Smith

unread,
Jan 24, 2018, 1:43:59 PM1/24/18
to MyLifeOrganized


Hi Dwight,

OK I think I 90% understand that.

The problem is that I have about 8 contexts other than @Errands. Am I really supposed to create an evening version of each of them?! 

Following advice from elsewhere, I am now using Context to control the task's "executionable Status" too (e.g. SomedayMaybe, Soon, DoASAP, AsaBonus etc), as well as things like MajorProject, and LowEnergy / FreshMind  etc
 
So I would need an evening version of each them too?(!)
I can see that it would work but it would be somewhat messy, no?

And even worse would be if I decided to change what time of day I wanted to execute once the task was already in the system. 
e.g. "I have no time during the day to do this Work item, I'll do it this evening instead". Then maybe I change my mind and on the next day no, I no longer want to work on this during the evenings.  etc 

[ASIDE: This is part of why I was calling for additional user-definable fields.  Having physically separate fields for what in truth really are different types of data is vastly more powerful and avoids these kinds of workarounds...!]
 
J
Reply all
Reply to author
Forward
0 new messages