[PowerShell] Mac下返回文件类型和创建者 →→→→→进入此内容的聊天室

来自 , 2020-05-19, 写在 PowerShell, 查看 122 次.
URL http://www.code666.cn/view/e894d787
  1. on open (fileList)
  2.         tell application "Finder"
  3.                 set myFile to item 1 of fileList
  4.                 if kind of myFile is not "folder" then display dialog
  5.                         "file creator: " & (the creator type of (myFile as alias)) & return &
  6.                         "file type: " & (the file type of (myFile as alias))
  7.         end tell
  8. end open
  9. //shell/2388

回复 "Mac下返回文件类型和创建者"

这儿你可以回复上面这条便签

captcha