• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Delete Custom Document Property in Word 2011
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Delete Custom Document Property in Word 2011


  • Subject: Delete Custom Document Property in Word 2011
  • From: Dave <email@hidden>
  • Date: Thu, 15 Oct 2015 14:53:46 +0100

Hi,

The following Script address a custom document property to a Word Document.

on run
	tell application id "com.microsoft.Word"
		activate

		set myDocument to the document of the front window
		set myStandardProperties to the document properties of myDocument

		make new custom document property at myDocument with properties {name:” LTWCustom1", value:"Value2", type:"text"}

		set myCustomProperties to the custom document properties of myDocument

		return "OK"
	end tell
end run


I’m now trying to figure out how to delete it, I’ve tried things like:

delete the custom document property of myDocument whose name = “LTWCustom1”

But nothing seems to work, anyone have any suggestions?

Thanks a lot.

All the Best
Dave


 _______________________________________________
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


References: 
 >What is the essential difference between ASOC on Script Editor and Xcode based ASOC app (From: Takaaki Naganoya <email@hidden>)

  • Prev by Date: New Recipient in Outlook 2011
  • Next by Date: Re: New Recipient in Outlook 2011
  • Previous by thread: Re: New Recipient in Outlook 2011
  • Next by thread: Re: New Recipient in Outlook 2011
  • Index(es):
    • Date
    • Thread