Re: Split PDF and reduce file size - finished script in PDFTK
Re: Split PDF and reduce file size - finished script in PDFTK
- Subject: Re: Split PDF and reduce file size - finished script in PDFTK
- From: "Gary (Lists)" <email@hidden>
- Date: Fri, 12 Aug 2005 11:25:40 -0400
"Paul Berkowitz" wrote:
> On 8/11/05 11:36 PM, "Ian Cook" <email@hidden> wrote:
>
>> -When running from Applescript you have to use the POSIX path on the shell
>> command
>
> If there are spaces somewhere in the file name and/or file paths of input or
> output, would you not need 'quoted form'? Maybe it's safest to include it
> for general use?
Since you mention this, a couple of questions I've formed yesterday...
Some shell tools take a posix path, and some take a quoted form of
something. It's a bit maddening trying to figure it out, since 'man' pages
aren't dictionaries.
But, to the degree that I've already figured out what form to provide, I
also have the problem of spaces.
1. Do all spaces in posix paths need "\\ " in them?
'quoted form of' doesn't do that, but it is then sometimes the cause of
failure.
2. What's the best way to "encode" those spaces if 'quoted form' doesn't do
it?
Right now, for the shell tools that require a delimited quoted form I'm
using Smile's 'change' for myself and TIDs for vanilla applescript.
I'm confuse-ed about this and would appreciate any clarification on when
'posix path' vs. 'quoted form' (maybe of the p.p.) vs. space-delimted (maybe
quoted form of)...?
--
Gary
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden