REVO2700AppleScript File Info@m 4P UVerdana UVerdana WVerdana UVerdana ULucida Grande WLucida Grande ULucida Grande WLucida GrandeULucida GrandeWLucida Grande cREVGeneralbreakpointconditions breakpointsbreakpointstatesstackfileversion2.7 @  AppleScript Commands)` V cREVGeneral revUniqueID 1280438429800  tell application "Finder" W set myFileString to "Macintosh HD:Users:username:Desktop:TestFile.txt" --change this ' copy myFileString as alias to myFile  ) --these items can be accessed directly # set myName to the name of myFile 4 set myCreationDate to the creation date of myFile < set myModificationDate to the modification date of myFile # set mySize to the size of myFile Q set myFolder to the folder of myFile --folder of folder of ... of startup disk 1 --set myAlias to the alias of myFile --boolean 8 --set myPackageFolder to the package folder of myFile + --set myVisible to the visible of myFile : set myExtensionHidden to the extension hidden of myFile 6 set myNameExtension to the name extension of myFile 6 set myDisplayedName to the displayed name of myFile B --set myDefaultApplication to the default application of myFile # set myKind to the kind of myFile , set myFileType to the file type of myFile 2 set myFileCreator to the creator type of myFile : --set myTypeIdentifier to the type identifier of myFile ' set myLocked to the locked of myFile 2 --set myBusyStatus to the busy status of myFile 6 --set myShortVersion to the short version of myFile 4 --set myLongVersion to the long version of myFile  I --to get the items that are commented out above, use the info property # --first, get everything at once: % set theInfo to the info for myFile - --then get the items from theInfo variable L --set theIsFolder to the folder of theInfo --boolean but it does not work 8 set theAliasBoolean to the alias of theInfo --boolean B set thePackageFolder to the package folder of theInfo --boolean 5 set theVisible to the visible of theInfo --boolean B set theDefaultApplication to the default application of theInfo : set theTypeIdentifier to the type identifier of theInfo < set theBusyStatus to the busy status of theInfo --boolean 6 set theShortVersion to the short version of theInfo 4 set theLongVersion to the long version of theInfo   --display the details + copy "Name: " & myName to theInfoDetails R set theInfoDetails to theInfoDetails & tab & "Creation Date: " & myCreationDate Z set theInfoDetails to theInfoDetails & tab & "Modification Date: " & myModificationDate A set theInfoDetails to theInfoDetails & tab & "Size: " & mySize E set theInfoDetails to theInfoDetails & tab & "Folder: " & myFolder X set theInfoDetails to theInfoDetails & tab & "Extension Hidden: " & myExtensionHidden T set theInfoDetails to theInfoDetails & tab & "Name Extension: " & myNameExtension T set theInfoDetails to theInfoDetails & tab & "Displayed Name: " & myDisplayedName A set theInfoDetails to theInfoDetails & tab & "Kind: " & myKind J set theInfoDetails to theInfoDetails & tab & "File Type: " & myFileType P set theInfoDetails to theInfoDetails & tab & "File Creator: " & myFileCreator E set theInfoDetails to theInfoDetails & tab & "Locked: " & myLocked K set theInfoDetails to theInfoDetails & tab & "Alias: " & theAliasBoolean U set theInfoDetails to theInfoDetails & tab & "Package Folder: " & thePackageFolder H set theInfoDetails to theInfoDetails & tab & "Visible: " & theVisible _ set theInfoDetails to theInfoDetails & tab & "Default Application: " & theDefaultApplication W set theInfoDetails to theInfoDetails & tab & "Type Identifier: " & theTypeIdentifier O set theInfoDetails to theInfoDetails & tab & "Busy Status: " & theBusyStatus S set theInfoDetails to theInfoDetails & tab & "Short Version: " & theShortVersion Q set theInfoDetails to theInfoDetails & tab & "Long Version: " & theLongVersion  return theInfoDetails end tell  `WExecute as AppleScriptpSon mouseUp put field "AppleScript Commands" into tScript do tScript as "applescript" put the result into tResults delete char 1 of tResults delete char -1 of tResults put the number of lines of tResults into message box replace tab with return in tResults put tResults into field "AppleScript Results" end mouseUp 50 cREVGeneralscripteditorvscroll0 revUniqueID 1280438451438scripteditorselection185 AppleScript Results)`gm cREVGeneral revUniqueID 1280438554391  Name: TestFile.txt 0Creation Date: Sunday, July 18, 2010 7:34:07 PM 4Modification Date: Sunday, July 25, 2010 3:00:20 PM Size: 701 -Folder: Macintosh HD:Users:username:Desktop: Extension Hidden: false Name Extension: txt Displayed Name: TestFile.txt Kind: Plain Text File Type: missing value File Creator: missing value Locked: false Alias: false Package Folder: false Visible: true =Default Application: Macintosh HD:Applications:TextEdit.app: #Type Identifier: public.plain-text Busy Status: false Short Version: Long Version:  `hk  Label Field !Nd cREVTable currentviewFile Information: cREVGeneral revUniqueID 1280443474974 File Information:  Instruction(H@:N cREVGeneral revUniqueID 1280443540581  9Change the file path at the top of the following script: Show Infowon mouseUp if the short name of me is "Show Info" then set the visible of field "Information" to true set the name of me to "Hide Info" else set the visible of field "Information" to false set the name of me to "Show Info" end if end mouseUp m @2 cREVGeneralscripteditorvscroll0 revUniqueID 1280443828586scripteditorselection252  Information!`0 cREVGeneral revUniqueID 1280444097951  ]This stack was developed to demonstrate the information that can be provided by AppleScript. 2Be sure to change the full path name of the file.  Prepared by: Bob Cole  Date: July 29, 2010 `1 HeaderH @0 G cREVGeneral revUniqueID 1280444784192  *File Information accessed via AppleScript revOnline | RunRev