Hi,

OK , i confess, i cant hack this , i don't think i have the necessary skill 
to do what i want..

what i really want  is a  schedule where i can scooch over appointments to 
fit one in between existing ones , I think it would be a useful tool for 
anyone who hectic scheduled and is constantly required to reschedule 
appointments ,calls or tasks

so if you think this is easy  , or if you are remotely interested that 
would be great, if not, i am still very grateful for your help either way:)

My Idea was displaying a weeks schedule in  a list filter where every 
tiddler listed is a task with a start field value and end date field value, 
and tagged "task"... which i can do easily

then in parallel. have another schedule . again , represented in a list 
filter , but every tiddler listed is a "Call"with with a start date field 
value and and end date field value  , and tagged call

and the whole idea is to have some mechanism to work as follows

1-if a call is added in a non vacant slot , then push all tasks with a 
value equal to the duration of the call 
2-if a new task is added in a non vacant slot,   then push all tasks with a 
value equal to the duration of the task 

where 
vacant slot = a time space where a tiddler can only hold a start date and 
an end date value that are not overlapping with in other tiddlers tagged 
call or  task
non vacant slot= a time space where an existing tiddler already occupies 
Duration of a call or duration of a  task =  is the difference between the 
start and end date field values
Tasks = tiddlers tagged task
Calls =  tiddlers tagged Call

and

calls cannot over lap with other calls 
tasks cannot over lap with other tasks
Calls cannot over lap with tasks

also this all assumes there is a start and end and for a working day/week  
IE. 9 to 5  excluding sat and sunday

is this generally speaking achievable in tiddly wiki ?



On Tuesday, July 13, 2021 at 12:05:56 AM UTC+2 paulgilbert2000 wrote:

> Thanks again :)
>
> On Monday, July 12, 2021 at 4:07:08 AM UTC+2 Eric Shulman wrote:
>
>> On Sunday, July 11, 2021 at 2:07:23 PM UTC-7 [email protected] 
>> wrote:
>>
>>> 1-can i have this macro work for 2 fields at the same time , so same 
>>> button pushes an hour for 2 fields
>>>
>>
>> Just replicate the code to adjust each field, like this:
>> <$button> add an hour
>> <$vars time={{!!field1}} offset="+01:00">
>> <$wikify name="newtime" text=<<adjust_time>>>
>> <$action-setfield field1=<<newtime>> />
>> </$wikify>
>> </$vars>
>> <$vars time={{!!field2}} offset="+01:00">
>> <$wikify name="newtime" text=<<adjust_time>>>
>> <$action-setfield field2=<<newtime>> />
>> </$wikify>
>> </$vars>
>> </$button>
>>  
>>
>>> 2- can this work for all fields tagged a particular tag , so for example 
>>> list all tiddlers matching a criteria , then one push of a button adds an 
>>> hour to all listed tidlers
>>>
>>
>> The code works with a field from the current tiddler, so if you put it 
>> within a $list widget that finds all the desired tiddlers, it will update 
>> all the tiddlers with one button push:
>> <$button> add an hour
>> <$list filter="[tag[sometag]]">
>>    <$vars time={{!!somefield}} offset="+01:00">
>>    <$wikify name="newtime" text=<<adjust_time>>>
>>    <$action-setfield somefield=<<newtime>> />
>>    </$wikify>
>>    </$vars>
>> </$list>
>> </$button>
>>
>> enjoy,
>> -e 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0ad8057d-784d-42a1-8643-4fe39a1bec38n%40googlegroups.com.

Reply via email to