Things are not recorded by the script listener

Upload Photoshop Scripts, download Photoshop Scripts, Discussion and Support of Photoshop Scripts

Moderators: Tom, Kukurykus

Nightshade

Things are not recorded by the script listener

Post by Nightshade »

I'm trying to make a script that restores the rotation (rotate tool > Esc) and the zoom (View > Actual pixels), but neither of these actions gets recorded by the script listener.
I've also tried recording this as an action but nothing is getting recorded there either.
What's the issue here?

EDIT: And I just realized I placed this thread in the wrong forum section. Sorry for that

EDIT 2: Found this by Mike Hale, which solves half the problem:
http://ps-scripts.com/bb/viewtopic.php?f=2&t=3262

EDIT 3: Since the rotate tool cannot be recorded as an action (nor by the script listener), how can I press the Esc key with javascript?