FROM : Ken Tozier
DATE : Sun Apr 03 12:45:16 2005
I played around with AppleScript a little and this script will get you
a list of all open documents for applications that respond to the
"documents" command. Resizing them will be a trickier as each app seems
to define width and height their own way and some apps don't allow
resizing. It might be a wash.
set docList to GetDocumentList()
on GetDocumentList()
set resultList to {}
tell application "Finder"
set appList to name of application processes
end tell
repeat with anApp in appList
try
tell application anApp
set docList to documents
set resultList to resultList & docList
end tell
end try
end repeat
return resultList
end GetDocumentList
Enjoy,
Ken
DATE : Sun Apr 03 12:45:16 2005
I played around with AppleScript a little and this script will get you
a list of all open documents for applications that respond to the
"documents" command. Resizing them will be a trickier as each app seems
to define width and height their own way and some apps don't allow
resizing. It might be a wash.
set docList to GetDocumentList()
on GetDocumentList()
set resultList to {}
tell application "Finder"
set appList to name of application processes
end tell
repeat with anApp in appList
try
tell application anApp
set docList to documents
set resultList to resultList & docList
end tell
end try
end repeat
return resultList
end GetDocumentList
Enjoy,
Ken
| Related mails | Author | Date |
|---|---|---|
| Benjamin Blonder | Apr 3, 00:55 | |
| Finlay Dobbie | Apr 3, 01:19 | |
| Ondra Cada | Apr 3, 01:40 | |
| Finlay Dobbie | Apr 3, 01:49 | |
| Bill Cheeseman | Apr 3, 02:00 | |
| Olivier Lanctôt | Apr 3, 07:02 | |
| Conrad Carlen | Apr 3, 07:18 | |
| Ken Tozier | Apr 3, 11:04 | |
| Mike Hall | Apr 3, 11:27 | |
| Ondra Cada | Apr 3, 11:54 | |
| Ken Tozier | Apr 3, 12:45 |






Cocoa mail archive

