• 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: Finder acting up
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder acting up


  • Subject: Re: Finder acting up
  • From: Emmanuel <email@hidden>
  • Date: Wed, 22 Dec 2004 09:22:25 +0100

At 11:34 PM -0700 21/12/04, Michelle Steiner wrote:
On Dec 21, 2004, at 1:36 PM, Autocat wrote:
Also, I spent a great deal of time trying to determine if a folder exists, and create one if it doesn't. I tried the various "folder exists" syntaxes to no avail.

This is something where the shell commands can help much, namely "mkdir", look:

set f to (path to desktop) as text
set f to f & "what:ever:folder:name:"
set f to POSIX path of f
-- this makes the folder and any intermediate folder needed (-p option)
do shell script "mkdir -p " & quoted form of f

Emmanuel

_______________________________________________
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


  • Follow-Ups:
    • Re: Finder acting up
      • From: Michelle Steiner <email@hidden>
References: 
 >Finder acting up (From: Autocat <email@hidden>)
 >Re: Finder acting up (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Unicode text and the annoying relic called "styled text"
  • Next by Date: Re: Finder acting up
  • Previous by thread: Re: Finder acting up
  • Next by thread: Re: Finder acting up
  • Index(es):
    • Date
    • Thread