Re: Confirming that a file is part of a Finder selection
Re: Confirming that a file is part of a Finder selection
- Subject: Re: Confirming that a file is part of a Finder selection
- From: Michelle Steiner <email@hidden>
- Date: Sat, 15 May 2010 15:27:30 -0700
On May 15, 2010, at 1:53 PM, Jens wrote:
> I am writing an Service in Automator that takes a selection from Finder and does a few things with them. However, I want to make sure that the file "info.xml" is included in that selection. (For example, that the user MUST have selected info.xml AND then optionally one ore more other files/folders.)
>
> How can I confirm this before moving on with my workflow?
>
First action would be "Get Selected Finder Items"
Second action would be "Filter Finder Items"
All of the following are true:
Name is info.xml
The result will be either the info.xml file or "no results produced". Feed that into your next action, but not knowing what that action is, I don't know how else to continue.
-- Michelle
--
Socializing with geeks is an oxymoron.
_______________________________________________
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