• 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
Re: Problem getting Standard Doc Properties in Word 2011
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem getting Standard Doc Properties in Word 2011


  • Subject: Re: Problem getting Standard Doc Properties in Word 2011
  • From: Shane Stanley <email@hidden>
  • Date: Tue, 15 Mar 2016 09:01:47 +1100

On 15 Mar 2016, at 6:15 AM, Dave <email@hidden> wrote:
>
> The Document ID is the Full Name of the Document as a POSIX Path. The outside world wants the this ID as a POSIX Path, but when I want to do something with it inside the a Script Handler I want the Mac Path, so I convert between the two. But if I run from from XCode this seems to fail?

My guess is that you're hitting an issue with specifiers. Try changing this:

	set myMacPath to POSIX file thePOSIXPath

to:

	set myMacPath to thePOSIXPath as POSIX file


> Also how can I log from with in AppleScript-ObjC Handler?

Use the log command, and it will show up in Console.app. Obviously you can only log bridgeable stuff this way.

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>


 _______________________________________________
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


  • Follow-Ups:
    • Re: Problem getting Standard Doc Properties in Word 2011
      • From: Dave <email@hidden>
References: 
 >Problem getting Standard Doc Properties in Word 2011 (From: Dave <email@hidden>)

  • Prev by Date: Re: Hoping for some advice
  • Next by Date: MS Word: quick way to get styled ranges?
  • Previous by thread: Problem getting Standard Doc Properties in Word 2011
  • Next by thread: Re: Problem getting Standard Doc Properties in Word 2011
  • Index(es):
    • Date
    • Thread