« [NSURL] hasDirectoryPath | トップページ | [NSURL] homeDirectoryForUser »

[NSURL] temporaryDirectory

#!/usr/bin/env osascript
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
#
#
#
#
# com.cocolog-nifty.quicktimer.icefloe
----+----1----+----2----+-----3----+----4----+----5----+----6----+----7
##自分環境がos12なので2.8にしているだけです
use AppleScript version "2.8"
use framework "Foundation"
use scripting additions

######ログ表示
doLogView()

property objMe : a reference to current application
property objNSString : a reference to objMe's NSString
property objNSURL : a reference to objMe's NSURL


property objNSNotFound : a reference to 9.22337203685477E+18 + 5807

set objFileManager to objMe's NSFileManager's defaultManager()




set ocidTemporaryDirUrl to objFileManager's temporaryDirectory
log ocidTemporaryDirUrl as text
log className() of ocidTemporaryDirUrl as text
(*Macintosh HD:private:var:folders:XXXXXXX:XXXXXXXXXXXXXXXXXXX:T:*)
(*NSURL*)

|

« [NSURL] hasDirectoryPath | トップページ | [NSURL] homeDirectoryForUser »

AppleScript NSFileManager」カテゴリの記事

AppleScript NSURL File」カテゴリの記事