• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Using Automator Workflow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Automator Workflow


  • Subject: Re: Using Automator Workflow
  • From: "koenig.yvan" <email@hidden>
  • Date: Tue, 06 May 2014 20:49:52 +0200


Le 06/05/2014 à 20:37, Philip Ershler <email@hidden> a écrit :

Hi,
I am trying to build a workflow with automator to find some specific files in ~/Library/Preferences. The problem is "Find Files and Folders" returns "No Results". If I try most anywhere else in my home directory, I can find files without issue. Is there something special about  ~/Library/Preferences that blocks Automator? I hope this is an OK question to ask on this list, if not smack me.

Thanks, Phil



What need for Automator ?

This quick and dirty script may be useful :

set path2prefs to path to preferences folder from user domain as text

set wanted to {"com.apple.applescript.plist", "com.apple.desktop.plist"}

tell application "System Events"
tell folder path2prefs
repeat with aFile in wanted
if exists disk item aFile then
# Do what you want with the file here
display dialog "The file “" & aFile & "” exists in folder “" & path2prefs & "”."
end if
end repeat
end tell
end tell

Yvan KOENIG (VALLAURIS, France) mardi 6 mai 2014 20:49:46







 _______________________________________________
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

References: 
 >Using Automator Workflow (From: Philip Ershler <email@hidden>)

  • Prev by Date: Using Automator Workflow
  • Next by Date: Re: Using Automator Workflow
  • Previous by thread: Using Automator Workflow
  • Next by thread: Re: Using Automator Workflow
  • Index(es):
    • Date
    • Thread