LNS Home
JavaScript OSA
JavaScript OSA Home
Download & Installation
QuickStart
Project Status
Documentation
 
Object Reference
 
Core
MacOS
MacOS.AEDesc
MacOS.AEApp
MacOS.AEClass
MacOS.AEColl
MacOS.FileSpec
MacOS.OSA
MacOS.MacOSError
Sending Raw AppleEvents
Responding to AppleEvents
AppleEvent to JavaScript Value Conversion
How-Tos
 
Open Handler
Folder Actions Handlers
Write Some Text
Calling JavaScript from REALbasic
Using JavaScript Libraries
FAQ
Mailing List
JavaScript Language Documentation & Links
Products
Affrus 1.0
x FaceSpan 4.3
Script Debugger 4.0
Site Contents
Home Page
bullet Mark’s Blog
Product Registration
Bug Reporting
x Freeware
Contacting Us

MacOS.FileSpec object

The MacOS.FileSpec object represents a MacOS file or folder specification.

Method/Property Description
MacOS.FileSpec(path)

constructor
Path specifies the file or folder

MacOS.FileSpec.toString()
MacOS.FileSpec.toSource()

returns the file or folder specification as a string

MacOS.FileSpec.name

read-only
returns the file/folder name

MacOS.FileSpec.container

read-only
returns a MacOS.FileSpec representing the file or folder containing this MacOS.FileSpec

MacOS.FileSpec.volume

read-only
returns the name of the volume on which the file resides

MacOS.FileSpec.folder

read-only
returns a boolean value indicating of the file specification is a folder (true) or not (false)

MacOS.FileSpec.alias read-only
returns a MacOS.AEDesc value containing an Alias referring to the file

 

 

 

 

 

 

 


Copyright © 1998-2007 Late Night Software Ltd. - All Rights Reserved.