views:

172

answers:

1

I want to invoke "svn add" on the current Word 2008 document. I've got a shell script that'll svn commit it later. I don't want that shell script to indiscriminately svn add files so I'd like to be able to do it from a button in Word 2008 tied a macro or appleScript.

A: 

Since Word 2008 doesn't have VBA, you'll need to use AppleScript.

Is there anything stopping you from using "do shell script" to do what you need?

You'll need the document path for svn add - see full name property in the document class

plutext