Re: Problem getting Standard Doc Properties in Word 2011
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