>>269
用語辞書は知ってますよね。

set myWindows to windows
properties of front of myWindows

これで属性一覧を取得した中に id は入ってませんか?
これらが参照できる筈の属性なんですけど。