简体   繁体   中英

Word 2008 macro to SVN ADD current document

I want to invoke "svn add" on the current Word 2008 document. I've got a shell script that will 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 to a macro or appleScript.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM