Re: Intro, and a problem with a workflow.
Re: Intro, and a problem with a workflow.
- Subject: Re: Intro, and a problem with a workflow.
- From: Todd Fernandez <email@hidden>
- Date: Mon, 24 Mar 2008 10:47:32 -0700
On Mar 22, 2008, at 4:20 AM, hd wrote:
On 22 Mar, 2008, at 6:45, Ron J. wrote:
Hi everyone!
Hi Ron !
The workflow seems to execute just fine - no warnings. Problem
is, my final output, before processing it with Text-to-Speech, is a
text file with three copies of the selected PDF file's extracted
text in it! As you can well-imagine, if lengthly PDFs are selected
for processing, this renders even longer output for TTS
processing. Here are the steps in my workflow:
1. Get Confirmation action. ...
2. Ask for Text. ...
3. New Text File. ...
4. Ask For finder Items. ...
5. Extract PDF Text. ...
At this point the results of the previous actions are being passed
into Get Specified Finder Items, and combined with the two files you
specify. That's why you're getting the extra copies. You need to
"block" previous results from further processing.
One way is to insert a Run AppleScript Action that returns
"nothing". Delete all the ready-made content and make a one-line
AppleScript:
return {}
This will ensure that there is no input to step 6, and allow it to
process only the files which you specify.
You don't need to insert an extra bogus action. You can just tell the
step 6 Get Specified Finder Items action to ignore its input by
selecting it and choosing Ignore Input from either the Action menu or
the action's contextual menu.
Todd
6. Get Specified Finder Items....
7. Combine Text Files. ...
Hope this helps.
H
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden