Re: How to do some AppleScript inside a Perl program to label duplicates
Re: How to do some AppleScript inside a Perl program to label duplicates
- Subject: Re: How to do some AppleScript inside a Perl program to label duplicates
- From: Steve Hayman <email@hidden>
- Date: Mon, 19 Sep 2005 00:25:09 -0400
Can Automator pass names as NUL delimited, rather than \n or
whitespace
delimited? I'd be worried if I couldn't get from one step to the next
without the possibility of a misunderstanding.
In a run shell script action, there's a popup that lets you choose to
have the input items presented to your action either as lists of text
(e.g. file names) one per line, terminated by a newline, OR as
command-line arguments. The conversion actions would do the right
thing here when the previous action is producing a list of file
names; if you were worried that your script would need to cope with a
filename with a newline in it, you could ask for the input to be
passed as arguments and that should avoid that problem.
On the other hand, when the output of a shell script action is being
converted to a list of files for a subsequent action, it's assumed
that newlines are the separators and as far as I know there is no way
to specify NUL as a separator instead. I agree that that would be a
good idea and will see about filing an enhancement request.
_______________________________________________
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