More flaws in Acrobat 6.0.1 AppleScript....
More flaws in Acrobat 6.0.1 AppleScript....
- Subject: More flaws in Acrobat 6.0.1 AppleScript....
- From: David Crowe <email@hidden>
- Date: Tue, 3 Feb 2004 11:32:58 -0700
The script...
tell application "Acrobat"
"Count: " & (count windows) & ". Window 1 exists? " & (exists
window 1) & " Name of window 1: " & (name of window 1) & "."
end tell
Produces the result:
"Count: 1. Window 1 exists? false Name of window 1: ."
In other words, Acrobat knows how many windows there are open ... but
when asked individually it states that they don't exist, and it
doesn't know their name!
Substitute "PDF window" for "window" (but note that the plural form,
"PDF windows" generates an error) and it works.
This used to work with Acrobat 5.
- David Crowe
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.