Grammar
N4AI-drafted〜(よ)うとする
try to do / be about to do
Formation
V-意向形 + とする
Usage
Two related uses: making an effort to do something (〜ようとしている/〜ようとしない) and being just on the point of doing it (〜ようとした時). Note 〜ようとしない means someone stubbornly refuses to do it. It differs from 〜てみる, which means 'try doing to see the result'; 〜ようとする focuses on the attempt itself, which often fails or is interrupted.
Examples
赤ちゃんが立とうとしています。
あかちゃんがたとうとしています。
The baby is trying to stand up.
出かけようとした時、電話が鳴った。
でかけようとしたとき、でんわがなった。
Just as I was about to go out, the phone rang.
弟は何度言っても薬を飲もうとしない。
おとうとはなんどいってもくすりをのもうとしない。
No matter how often I tell him, my little brother won't take his medicine.