try{ var myTag=app.activeDocument.pageItems[0].tags.getByName("校正済チェック"); alert("該当するタグがあります"); }catch(e){ alert("そのようなタグはありません"); }