Opening tasks by script

Opening tasks by script

Hi,
Is it possible to open tasks by fields and form rules (by script)?