Re: Filtering by author and file
Re: Filtering by author and file
- Subject: Re: Filtering by author and file
- From: "John C. Welch" <email@hidden>
- Date: Wed, 22 Aug 2007 14:25:48 -0500
- Thread-topic: Filtering by author and file
On 8/21/07 19:03 PM, "Ignacio Russell" <email@hidden> wrote:
> I cannot find any commands regarding to authors, and my example does
> not compile. Can anyone help me?
Within Word 2004, it's pretty obscure, but from what I can see, (and Paul
Berkowitz should be correcting me if I'm wrong"), it's the value of
"document property 3"
Thank god for Script Debugger.
So sample code that's worked for me:
tell application "Microsoft Word"
set theDocument to active document
set theAuthor to value of document property 3 of theDocument
end tell
As far as PDF goes, that gets trickier, because you have to decide what
application you're scripting. The Finder/Standard additions only know about
the Unix owner of the file. For Acrobat, just use Javascript, it's
applescript implementation is teh suck.
--
"I think love is a snowmobile racing across the arctic tundra which suddenly
flips, pinning you underneath. At night, the ice-weasels come...."
Matt Groening
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden