Table of Contents

What's PathInfo ?

Requirements

How to Display Help

Install

History

License
Donation

Kurita Tetsuro
scriptfactory@mac.com

Script factory

Read Me First

What's PathInfo ?

PathInfo is an AppleScript library which provides object oriented interface to deal with file references.

In AppleScript various kind of file references are used i.e. alias, File URL, HFS path and POSIX path. PathInfo allow to unified way to convert each others and to obtain various infomation from file references.

Requirements

System

  • OS X 10.9 or later

Depending Libraries

Required to install with PathInfo .

How to Display Help

The manual consisted of the reference generated by AppleScriptDoc and sample code is stored in the bundle of "PathInfo.scptd". After installation of OpenHelpBook.scptd, run "PathInfo" from Script menu.

The detail manual of "PathInfo" should be displayed in Help Viewer.

Install

Copy PathInfo.scptd into either following locations.

Your Home/Library/Script Libraries/

or

/Library/Script Libraries/

History

  • 1.3.2 -- 2020-04-20
    • Fixed : did not work on OS X 10.9
  • 1.3.1 -- 2020-02-04
    • Added as_NSURL handler.
  • 1.3 -- 2020-01-28
    • Use OpenHelpBook.osax instead of HelpBook.osax.
    • Added as_alias_without_update
    • OS X 10.9 or later is required.
  • 1.2.3 -- 2017-02-10
    • Mac OS X 10.6 or later is required, because the help book bundle is updated.
    • Update the help book.
  • 1.2.2 -- 2012-11-08
    • Fixed errors with AppleScriptObjC.
      • In AppleScriptObjC, POSX file "path to file" must be rewiritten to "path to file" as POSIX file.
  • 1.2.1 -- 2012-05-31
    • Added "clone".
  • 1.2 -- 2012-05-25
    • Added "normalized_posix_path"
  • 1.1 -- 2012-05-11
    • added "item_exists_without_update"
    • Update Help.
      • Improved layout for small windows of the Help Viewer.
      • Fixed : "Edit Link" and "Clipboard Icon" links does not work in Mac OS X 10.6.
  • 1.0.1 -- 2011-02-10
    • make_with handler can expand "~" as user's home directory.
  • 1.0 -- 2010-03-23
    • First release.