Monday, July 23, 2018

#1 2003-05-28 08:33:47 pm

Ray Barber
Site Admin
From:: Lake Dallas, Texas
Registered: 2002-11-20
Posts: 348
Website

Path to...

The 'path to' command will give you the location of a number of 'blessed'
directories, including Application Support.

Note, if you want the *system* Application Support directory (typically
/Library/Application Support/", remove the 'from user domain' part of the
path to command. The 'user domain' element makes sure you get the user's own
/Library path.


OS version: OS X

Applescript:

set appSupportPath to path to application support from user domain
tell application "Finder"
make new folder at appSupportPath with properties {name:"MyFolder"}
end tell


Ray Barber
Admin | MacScripter


Filed under: Finder

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)