Quote:
Originally Posted by henri
Thank you, gcrump! This is fantastic.
Here it is, edited to do what I want:
Thanks again, gcrump -- I would not have known how to get started, but what you sent me allowed me to get to what I needed with a little trial and error. Whew!
[/FONT][/FONT]
|
Henri,
Glad I could get you pointed in the right direction. I use this to create filters by who the task is assigned to. Now another thing you can do is use the unique ID of the row and create a "switch" script. That way you can go back to the original row if you just need to change the date or something. That would look like this:
set theRow to first selected row
set theID to the value of cell "OrgID" of theRow
if theID > "" then
set theTwinRow to the first row whose id is theID
set thelevel to the level of theTwinRow
if thelevel = 3 then
hoist ancestor -2 of theTwinRow
else
hoist the parent of theTwinRow
end if
select theTwinRow
End if
This assumes that you have stored the ID of the row in a column called OrgID when you create your Today! Filter.
George