Re: collectdata
Re: collectdata
- Subject: Re: collectdata
- From: Shane Stanley <email@hidden>
- Date: Tue, 07 Mar 2017 10:05:16 +1100
On 7 Mar 2017, at 7:45 am, Christopher Stone <email@hidden> wrote:
>
> The ASObjC code returns RAW output and the layout of the pdf is significantly mangled.
That's true, but could be a good thing in this case. If you extract it this way page-by-page, you can find the point on the page where the text is by getting it's index in the returned string, and then calling -characterBoundsAtIndex:. With that information, it should in theory be possible to use ASObjC to add a highlight at that point on the page.
It's a bit of work, but might be worth considering in the absence of any alternative.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>
_______________________________________________
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