• 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: Rewrite simple Finder tell statement to "do shell script"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rewrite simple Finder tell statement to "do shell script"


  • Subject: Re: Rewrite simple Finder tell statement to "do shell script"
  • From: Luther Fuller <email@hidden>
  • Date: Tue, 11 Sep 2012 11:24:31 -0500

On Sep 11, 2012, at 9:39 AM, I wrote:

do shell script "find " & the result & " -name " & msgFileName

My script uses a msgFileName that I know does not contain spaces.
If the file name contains spaces, it will not work.
This will work, however ...

do shell script "find " & the result & " -name " & (quoted form of filename)



 _______________________________________________
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: 
 >Rewrite simple Finder tell statement to "do shell script" (From: Bert Groeneveld <email@hidden>)
 >Re: Rewrite simple Finder tell statement to "do shell script" (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Script Debugger 5: Duplicate Selection Handler
  • Next by Date: Re: Script Debugger 5: Duplicate Selection Handler
  • Previous by thread: Re: Rewrite simple Finder tell statement to "do shell script"
  • Next by thread: Use Spotlight to Archive Files
  • Index(es):
    • Date
    • Thread