Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var windows = app.activeDocument.windows,
- nbWindows = windows.length,
- i;
- for (i = 0; i < nbWindows; i += 1) {
- if (!windows[i].hasOwnProperty("zoom")) {
- // Let us presume that a window without a zoom method is a story editor window...
- alert("A story editor window is open");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement